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

can not upgrade NK3 #190

Closed
colttt opened this issue Dec 20, 2023 · 2 comments
Closed

can not upgrade NK3 #190

colttt opened this issue Dec 20, 2023 · 2 comments

Comments

@colttt
Copy link

colttt commented Dec 20, 2023

I try to updatemy NitroKey 3 on my Debian machine, but it fails.

580        INFO nitrokeyapp.logger Timestamp: 2023-12-20 14:46:16.214199
580        INFO nitrokeyapp.logger OS: uname_result(system='Linux', node='imperator', release='6.5.0-0.deb12.4-amd64', version='#1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23)', machine='x86_64')
580        INFO nitrokeyapp.logger Python version: 3.9.18
581        INFO nitrokeyapp.logger nitrokeyapp version: 2.1.5
581        INFO nitrokeyapp.logger pynitrokey version: 0.4.43
581        INFO nitrokeyapp.logger cryptography version: 41.0.7
582        INFO nitrokeyapp.logger ecdsa version: 0.18.0
582        INFO nitrokeyapp.logger fido2 version: 1.1.2
583        INFO nitrokeyapp.logger pyusb version: 1.2.1
583        INFO nitrokeyapp.logger spsdk version: 1.11.0
914        INFO nitrokeyapp.gui list of added: []
927        INFO nitrokeyapp.gui /dev/hidraw7: Nitrokey 3 C1FA3DB493BAA0549FC1680586FBDA57
983        INFO nitrokeyapp.gui nk3 connected
4906       INFO nitrokeyapp.update path: /dev/hidraw7
5109       INFO nitrokeyapp.device_data Failed to update Nitrokey 3 Error detecting the version of libcrypto
14690      INFO     otpapp Sending CCIDInstruction.Select '00a4040007a0000005272101'
14706      INFO     otpapp Received [9000] '7903040b007108d293e14e326bd7c28f04c1fa3db4'
14706      INFO     otpapp Decoded received: [b'\x04\x0b\x00', b'\xd2\x93\xe1N2k\xd7\xc2', b'\xc1\xfa=\xb4']
14718      INFO     otpapp Sending Instruction.List '00a100000101'
14730      INFO     otpapp Received [9000] b''
46683      INFO nitrokeyapp.update path: /dev/hidraw7
46708      INFO nitrokeyapp.device_data Failed to update Nitrokey 3 Error detecting the version of libcrypto
@robin-nitrokey
Copy link
Member

This looks like an instance of this problem: Nitrokey/pynitrokey#431 We are waiting for a release of the oscrypto dependency that would fix the problem. You can manually install the fixed version to work around it until the release.

@daringer
Copy link
Collaborator

closing in favor of Nitrokey/pynitrokey#431
please use the described workaround here for pynitrokey
or use the flathub package: https://flathub.org/apps/com.nitrokey.nitrokey-app2 (currently no nk3mini update is possible there)

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

No branches or pull requests

3 participants