Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applications hangs after key is connected #492

Open
PureTryOut opened this issue Jan 24, 2023 · 2 comments
Open

Applications hangs after key is connected #492

PureTryOut opened this issue Jan 24, 2023 · 2 comments
Labels

Comments

@PureTryOut
Copy link

[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
@szszszsz
Copy link
Member

This hints a hardware problem, and seems like smart card connection is broken. Since you have access to the internals, can you check if it is inserted correctly into the SIM jacket?

@PureTryOut
Copy link
Author

PureTryOut commented Jan 24, 2023

Since you have access to the internals, can you check if it is inserted correctly into the SIM jacket?

Seems like it is yes.

I was afraid of it being a hardware problem yes 😢 I did order a new key (Nitrokey 3 while I'm at it, although it still lacks OpenPGP support 😢), but this key hosting my TOTP and that thus being unaccessible is an issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants