nitrokey-app icon indicating copy to clipboard operation
nitrokey-app copied to clipboard

Applications hangs after key is connected

Open PureTryOut opened this issue 1 year ago • 2 comments

[Please fill in below details as much as possible and remove this line and other unneded data. Please provide more details for issues occurring less often.]

  • Application version: 1.4.2
  • Operating system: Alpine Linux edge, kernel 6.1.7
  • Device model and firmware version: Pro 2, whatever firmware that came with as I don't think it's updateable
  • Connected USB port type: Both 2.0 and 3.0 fail
  • Issue occurrency: always

Expected behaviour

The application to function correctly and allow me to copy TOTP codes, etc.

Current behaviour

When the device is detected and I get the notification that it's connected, the application hangs and an error message starts appearing in the terminal.

Accepting response with CRC other than expected Command: 15 GET_USER_PASSWORD_RETRY_COUNT  Reported by response and expected: 1582915438!=4017010655

The key has recently fallen on the ground and the exterior is quite damaged (I had to reattach it, it has been weak for a while) and since then this started happening. I'm guessing this has to do with the issue? Strange it's still detected though.

Steps for reproduction

Preconditions

[Device reinserted, Application just started, Application used for almost 30 minutes etc.]

Steps

  1. Insert device with application running
  2. Wait for the "connected" notification to appear
  3. Try doing anything with the device for which you need the application

Logs

$ QT_QPA_PLATFORM=xcb nitrokey-app
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    run
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    Connection not established yet
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    run
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    Connection not established yet
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    run
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    Connection not established yet
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    run
[Tue Jan 24 09:46:27 2023][DEBUG_L2]    Connection not established yet
[Tue Jan 24 09:48:00 2023][WARNING]     Accepting response with CRC other than expected Command ID: 15 GET_USER_PASSWORD_RETRY_COUNT  Reported by response and expected: 1582915438!=682131385
[Tue Jan 24 09:48:43 2023][WARNING]     Accepting response with CRC other than expected Command ID: 15 GET_USER_PASSWORD_RETRY_COUNT  Reported by response and expected: 1582915438!=4017010655

PureTryOut avatar Jan 24 '23 09:01 PureTryOut