hey @daringer
Here’s the log
$ cat /tmp/nitropy.log.tv7_63dg
302 INFO pynitrokey.cli Timestamp: 2023-04-24 18:08:27.004385
302 INFO pynitrokey.cli OS: uname_result(system='Linux', node='nitro', release='5.10.90-1.fc32.qubes.x86_64', version='#1 SMP Thu Jan 13 20:46:58 CET 2022', machine='x86_64')
302 INFO pynitrokey.cli Python version: 3.9.2
304 INFO pynitrokey.cli pynitrokey version: 0.4.36
305 INFO pynitrokey.cli cryptography version: 36.0.2
306 INFO pynitrokey.cli ecdsa version: 0.18.0
307 INFO pynitrokey.cli fido2 version: 1.1.1
308 INFO pynitrokey.cli pyusb version: 1.2.1
309 INFO pynitrokey.cli spsdk version: 1.7.1
700 INFO libusbsio Loading SIO library: /home/user/.local/pipx/venvs/pynitrokey/lib/python3.9/site-packages/libusbsio/bin/linux_x86_64/libusbsio.so
701 INFO libusbsio HID enumeration[39676960]: initialized
701 DEBUG libusbsio HID enumeration[39676960]: device #0: Nitrokey 3
702 INFO libusbsio HID enumeration[39676960]: finished, total 1 devices
834 INFO pynitrokey.nk3.updates Firmware version before update: v1.2.0
834 INFO pynitrokey.nk3.updates Downloading firmare version v1.3.1-test.20230417
837 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): api.github.com:443
1556 DEBUG urllib3.connectionpool https://api.github.com:443 "GET /repos/Nitrokey/nitrokey-3-firmware/releases/tags/v1.3.1-test.20230417 HTTP/1.1" 200 None
1631 INFO pynitrokey.nk3.updates Current firmware version: v1.2.0
1631 INFO pynitrokey.nk3.updates Updated firmware version: v1.3.1-test.20230417
3646 INFO pynitrokey.nk3.updates Trying to download firmware update from URL: https://github.com/Nitrokey/nitrokey-3-firmware/releases/download/v1.3.1-test.20230417/firmware-nk3-v1.3.1-test.20230417.zip
3647 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): github.com:443
4980 DEBUG urllib3.connectionpool https://github.com:443 "GET /Nitrokey/nitrokey-3-firmware/releases/download/v1.3.1-test.20230417/firmware-nk3-v1.3.1-test.20230417.zip HTTP/1.1" 302 0
4981 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): objects.githubusercontent.com:443
5659 DEBUG urllib3.connectionpool https://objects.githubusercontent.com:443 "GET /github-production-release-asset-2e65be/366410832/67f5055f-a902-4b20-a81c-0b39673c0764?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230424T180832Z&X-Amz-Expires=300&X-Amz-Signature=adc6b0fd2898e2c6c8f3588d25dfb82b453c236611a482a42a6424c38f847988&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=366410832&response-content-disposition=attachment%3B%20filename%3Dfirmware-nk3-v1.3.1-test.20230417.zip&response-content-type=application%2Foctet-stream HTTP/1.1" 200 918277
6487 DEBUG root print: Current firmware version: v1.2.0
6487 DEBUG root print: Updated firmware version: v1.3.1-test.20230417
6487 DEBUG root print: Please do not remove the Nitrokey 3 or insert any other Nitrokey 3 devices during the update. Doing so may damage the Nitrokey 3.
8214 DEBUG root print: Please press the touch button to reboot the device into bootloader mode ...
10395 DEBUG pynitrokey.nk3.device./dev/hidraw0 ignoring OSError after reboot
Traceback (most recent call last):
File "/home/user/.local/pipx/venvs/pynitrokey/lib/python3.9/site-packages/pynitrokey/nk3/device.py", line 92, in reboot
self._call(Command.UPDATE)
File "/home/user/.local/pipx/venvs/pynitrokey/lib/python3.9/site-packages/pynitrokey/nk3/device.py", line 133, in _call
response = self.device.call(command.value, data=data)
File "/home/user/.local/pipx/venvs/pynitrokey/lib/python3.9/site-packages/fido2/hid/__init__.py", line 191, in call
recv = self._connection.read_packet()
File "/home/user/.local/pipx/venvs/pynitrokey/lib/python3.9/site-packages/fido2/hid/base.py", line 80, in read_packet
return os.read(self.handle, self.descriptor.report_size_in)
OSError: [Errno 5] Input/output error
10404 DEBUG pynitrokey.nk3.updates Trying to connect to bootloader (try 1 of 3)
10404 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 1 of 30)
10404 INFO libusbsio HID enumeration[39670272]: initialized
10404 INFO libusbsio HID enumeration[39670272]: finished, total 0 devices
10417 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
10917 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 2 of 30)
10918 INFO libusbsio HID enumeration[34679328]: initialized
10918 INFO libusbsio HID enumeration[34679328]: finished, total 0 devices
10923 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
11424 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 3 of 30)
11425 INFO libusbsio HID enumeration[38601360]: initialized
11425 INFO libusbsio HID enumeration[38601360]: finished, total 0 devices
11431 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
11931 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 4 of 30)
11932 INFO libusbsio HID enumeration[39253008]: initialized
11932 INFO libusbsio HID enumeration[39253008]: finished, total 0 devices
11937 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
12438 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 5 of 30)
12439 INFO libusbsio HID enumeration[39437072]: initialized
12439 INFO libusbsio HID enumeration[39437072]: finished, total 0 devices
12461 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
12962 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 6 of 30)
12962 INFO libusbsio HID enumeration[33996480]: initialized
12963 INFO libusbsio HID enumeration[33996480]: finished, total 0 devices
12979 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
13479 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 7 of 30)
13480 INFO libusbsio HID enumeration[35467696]: initialized
13480 INFO libusbsio HID enumeration[35467696]: finished, total 0 devices
13486 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
13987 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 8 of 30)
13987 INFO libusbsio HID enumeration[41360352]: initialized
13987 INFO libusbsio HID enumeration[41360352]: finished, total 0 devices
14002 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
14503 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 9 of 30)
14504 INFO libusbsio HID enumeration[39670272]: initialized
14504 INFO libusbsio HID enumeration[39670272]: finished, total 0 devices
14512 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
15013 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 10 of 30)
15013 INFO libusbsio HID enumeration[34679328]: initialized
15013 INFO libusbsio HID enumeration[34679328]: finished, total 0 devices
15017 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
15518 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 11 of 30)
15518 INFO libusbsio HID enumeration[38601360]: initialized
15519 INFO libusbsio HID enumeration[38601360]: finished, total 0 devices
15525 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
16026 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 12 of 30)
16027 INFO libusbsio HID enumeration[39253008]: initialized
16027 INFO libusbsio HID enumeration[39253008]: finished, total 0 devices
16041 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
16541 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 13 of 30)
16542 INFO libusbsio HID enumeration[39437072]: initialized
16542 INFO libusbsio HID enumeration[39437072]: finished, total 0 devices
16547 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
17048 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 14 of 30)
17048 INFO libusbsio HID enumeration[33996480]: initialized
17048 INFO libusbsio HID enumeration[33996480]: finished, total 0 devices
17054 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
17554 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 15 of 30)
17555 INFO libusbsio HID enumeration[35467696]: initialized
17555 INFO libusbsio HID enumeration[35467696]: finished, total 0 devices
17560 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
18061 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 16 of 30)
18062 INFO libusbsio HID enumeration[41360352]: initialized
18062 INFO libusbsio HID enumeration[41360352]: finished, total 0 devices
18073 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
18574 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 17 of 30)
18575 INFO libusbsio HID enumeration[39670272]: initialized
18576 INFO libusbsio HID enumeration[39670272]: finished, total 0 devices
18588 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
19089 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 18 of 30)
19090 INFO libusbsio HID enumeration[34679328]: initialized
19090 INFO libusbsio HID enumeration[34679328]: finished, total 0 devices
19104 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
19605 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 19 of 30)
19605 INFO libusbsio HID enumeration[38601360]: initialized
19605 INFO libusbsio HID enumeration[38601360]: finished, total 0 devices
19620 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
20121 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 20 of 30)
20122 INFO libusbsio HID enumeration[39253008]: initialized
20122 INFO libusbsio HID enumeration[39253008]: finished, total 0 devices
20126 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
20627 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 21 of 30)
20628 INFO libusbsio HID enumeration[39437072]: initialized
20628 INFO libusbsio HID enumeration[39437072]: finished, total 0 devices
20632 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
21133 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 22 of 30)
21133 INFO libusbsio HID enumeration[33996480]: initialized
21133 INFO libusbsio HID enumeration[33996480]: finished, total 0 devices
21138 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
21639 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 23 of 30)
21639 INFO libusbsio HID enumeration[35467696]: initialized
21639 INFO libusbsio HID enumeration[35467696]: finished, total 0 devices
21644 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
22145 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 24 of 30)
22145 INFO libusbsio HID enumeration[41360352]: initialized
22145 INFO libusbsio HID enumeration[41360352]: finished, total 0 devices
22150 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
22650 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 25 of 30)
22651 INFO libusbsio HID enumeration[39670272]: initialized
22651 INFO libusbsio HID enumeration[39670272]: finished, total 0 devices
22657 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
23158 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 26 of 30)
23158 INFO libusbsio HID enumeration[34679328]: initialized
23158 INFO libusbsio HID enumeration[34679328]: finished, total 0 devices
23164 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
23664 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 27 of 30)
23665 INFO libusbsio HID enumeration[38601360]: initialized
23665 INFO libusbsio HID enumeration[38601360]: finished, total 0 devices
23670 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
24171 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 28 of 30)
24172 INFO libusbsio HID enumeration[39253008]: initialized
24172 INFO libusbsio HID enumeration[39253008]: finished, total 0 devices
24177 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
24678 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 29 of 30)
24679 INFO libusbsio HID enumeration[39437072]: initialized
24679 INFO libusbsio HID enumeration[39437072]: finished, total 0 devices
24684 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
25185 DEBUG pynitrokey.cli.nk3 Searching Nitrokey 3 bootloader device (try 30 of 30)
25185 INFO libusbsio HID enumeration[33996480]: initialized
25185 INFO libusbsio HID enumeration[33996480]: finished, total 0 devices
25190 DEBUG pynitrokey.cli.nk3 No Nitrokey 3 bootloader device found, continuing
25190 DEBUG root print: Critical error:
25190 DEBUG root print: No Nitrokey 3 bootloader device found
25190 DEBUG root listing all connected devices:
25190 DEBUG root :: 'Nitrokey FIDO2' keys
25190 DEBUG root :: 'Nitrokey Start' keys:
25200 DEBUG root :: 'Nitrokey 3' keys
25201 INFO libusbsio HID enumeration[39437072]: initialized
25201 INFO libusbsio HID enumeration[39437072]: finished, total 0 devices
25207 DEBUG root print: --------------------------------------------------------------------------------
25207 DEBUG root print: Critical error occurred, exiting now
25207 DEBUG root print: Unexpected? Is this a bug? Would you like to get support/help?
25207 DEBUG root print: - You can report issues at: https://support.nitrokey.com/
25207 DEBUG root print: - Writing an e-mail to support@nitrokey.com is also possible
25207 DEBUG root print: - Please attach the log: '/tmp/nitropy.log.tv7_63dg' with any support/help request!
25207 DEBUG root print: - Please check if you have udev rules installed: https://docs.nitrokey.com/nitrokey3/linux/firmware-update.html#troubleshooting