Hello together,
does some have the same problem?
❯ nitropy fido2 list-credentials ─╯
Command line tool to interact with Nitrokey devices 0.4.36
Please provide pin:
Critical error:
An unhandled exception occurred
Exception encountered: CtapError('CTAP error: 0x33 - PIN_AUTH_INVALID')
--------------------------------------------------------------------------------
Critical error occurred, exiting now
Unexpected? Is this a bug? Would you like to get support/help?
- You can report issues at: https://support.nitrokey.com/
- Writing an e-mail to support@nitrokey.com is also possible
- Please attach the log: '/tmp/nitropy.log.t64sk1x1' with any support/help request!
- Please check if you have udev rules installed: https://docs.nitrokey.com/nitrokey3/linux/firmware-update.html#troubleshooting
Something out of the log:
160 INFO pynitrokey.cli Timestamp: 2025-01-17 18:16:32.966580
160 INFO pynitrokey.cli OS: uname_result(system='Linux', node='Pc', release='6.8.0-51-generic', version='#52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2', machine='x86_64')
160 INFO pynitrokey.cli Python version: 3.10.12
170 INFO pynitrokey.cli pynitrokey version: 0.4.36
170 INFO pynitrokey.cli cryptography version: 36.0.2
171 INFO pynitrokey.cli ecdsa version: 0.18.0
171 INFO pynitrokey.cli fido2 version: 1.1.0
171 INFO pynitrokey.cli pyusb version: 1.2.1
171 INFO pynitrokey.cli spsdk version: 1.7.1
4479 DEBUG fido2.hid.linux Failed opening device /dev/hidraw0
Traceback (most recent call last):
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/hid/linux.py", line 98, in list_descriptors
devices.append(get_descriptor(hidraw))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/hid/linux.py", line 55, in get_descriptor
with open(path, "rb") as f:
PermissionError: [Errno 13] Permission denied: '/dev/hidraw0'
4479 DEBUG fido2.hid.linux Failed opening device /dev/hidraw1
Traceback (most recent call last):
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/hid/linux.py", line 98, in list_descriptors
devices.append(get_descriptor(hidraw))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/hid/linux.py", line 55, in get_descriptor
with open(path, "rb") as f:
PermissionError: [Errno 13] Permission denied: '/dev/hidraw1'
4479 DEBUG fido2.hid.linux Failed opening device /dev/hidraw2
Traceback (most recent call last):
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/hid/linux.py", line 98, in list_descriptors
devices.append(get_descriptor(hidraw))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/hid/linux.py", line 55, in get_descriptor
with open(path, "rb") as f:
PermissionError: [Errno 13] Permission denied: '/dev/hidraw2'
....................
4739 DEBUG fido2.hid Got keepalive status: 01
4787 DEBUG fido2.ctap2.pin Got PIN token for permissions: None
4799 WARNING pynitrokey.cli An unhandled exception occurred
Traceback (most recent call last):
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/pynitrokey/cli/__init__.py", line 129, in main
nitropy()
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/pynitrokey/cli/fido2.py", line 215, in list_credentials
cred_metadata = cred_manager.get_metadata()
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/credman.py", line 126, in get_metadata
return self._call(CredentialManagement.CMD.GET_CREDS_METADATA)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/credman.py", line 115, in _call
return self.ctap.credential_mgmt(**kwargs)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/base.py", line 475, in credential_mgmt
return self.send_cbor(
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/base.py", line 241, in send_cbor
raise CtapError(status)
fido2.ctap.CtapError: CTAP error: 0x33 - PIN_AUTH_INVALID
4800 DEBUG root print: Critical error:
4800 DEBUG root print: An unhandled exception occurred
4800 ERROR root CTAP error: 0x33 - PIN_AUTH_INVALID
Traceback (most recent call last):
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/pynitrokey/cli/__init__.py", line 129, in main
nitropy()
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/pynitrokey/cli/fido2.py", line 215, in list_credentials
cred_metadata = cred_manager.get_metadata()
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/credman.py", line 126, in get_metadata
return self._call(CredentialManagement.CMD.GET_CREDS_METADATA)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/credman.py", line 115, in _call
return self.ctap.credential_mgmt(**kwargs)
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/base.py", line 475, in credential_mgmt
return self.send_cbor(
File "/home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/fido2/ctap2/base.py", line 241, in send_cbor
raise CtapError(status)
fido2.ctap.CtapError: CTAP error: 0x33 - PIN_AUTH_INVALID
4801 DEBUG root listing all connected devices:
4807 DEBUG root :: 'Nitrokey FIDO2' keys
4807 DEBUG root :: 'Nitrokey Start' keys:
4831 DEBUG root :: 'Nitrokey 3' keys
5067 INFO libusbsio Loading SIO library: /home/j/.local/pipx/venvs/pynitrokey/lib/python3.10/site-packages/libusbsio/bin/linux_x86_64/libusbsio.so
5072 INFO libusbsio HID enumeration[94886967655840]: initialized
5072 DEBUG libusbsio HID enumeration[94886967655840]: device #0: ITE Device(8595)
5072 DEBUG libusbsio HID enumeration[94886967655840]: device #1: Nitrokey 3
...
5072 INFO libusbsio HID enumeration[94886967655840]: finished, total 10 devices
5099 DEBUG root /dev/hidraw10: Nitrokey 3 65A......................4
5099 DEBUG root print: --------------------------------------------------------------------------------
5099 DEBUG root print: Critical error occurred, exiting now
5099 DEBUG root print: Unexpected? Is this a bug? Would you like to get support/help?
5099 DEBUG root print: - You can report issues at: https://support.nitrokey.com/
5099 DEBUG root print: - Writing an e-mail to support@nitrokey.com is also possible
5099 DEBUG root print: - Please attach the log: '/tmp/nitropy.log.szvc062t' with any support/help request!
5099 DEBUG root print: - Please check if you have udev rules installed: https://docs.nitrokey.com/nitrokey3/linux/firmware-update.html#troubleshooting