Skip to content

Applications hangs after key is connected #492

Description

@PureTryOut

[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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions