Issue in Pico-fido-tool.py #37

Closed
opened 2024-02-21 19:42:55 +08:00 by Aadinthosh · 3 comments
Aadinthosh commented 2024-02-21 19:42:55 +08:00 (Migrated from github.com)

I am trying to use pico-fido-tool.py file for accessing the pico-fido board with the pin and while doing so I am getting this error message
AttributeError: 'NoneType' object has no attribute 'capabilities'

I am trying to use pico-fido-tool.py file for accessing the pico-fido board with the pin and while doing so I am getting this error message **AttributeError: 'NoneType' object has no attribute 'capabilities'**
polhenarejos commented 2024-02-21 21:20:06 +08:00 (Migrated from github.com)

I'd need more debug, like the entire traceback, which firmware version, etc.

I'd need more debug, like the entire traceback, which firmware version, etc.
Aadinthosh commented 2024-02-22 01:12:23 +08:00 (Migrated from github.com)

@polhenarejos
I am using the firmware version pico_fido_pico-5.8.uf2 and I am using the Pico H board for experimentation. The exception traceback is mentioned below

D:\IoT-Projects\pico-fido\tools> python3 .\pico-fido-tool.py -p 12345678
Pico Fido Tool v1.6
Author: Pol Henarejos
Report bugs to https://github.com/polhenarejos/pico-fido/issues

Traceback (most recent call last):
File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 469, in
run()
File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 466, in run
main(args)
File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 452, in main
ctap = Ctap2Vendor(dev)
File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 111, in init
super().init(device=device, strict_cbor=strict_cbor)
File "C:\Users\santh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\fido2\ctap2\base.py", line 204, in init
if not device.capabilities & CAPABILITY.CBOR:
AttributeError: 'NoneType' object has no attribute 'capabilities'

@polhenarejos I am using the firmware version pico_fido_pico-5.8.uf2 and I am using the Pico H board for experimentation. The exception traceback is mentioned below D:\IoT-Projects\pico-fido\tools> python3 .\pico-fido-tool.py -p 12345678 Pico Fido Tool v1.6 Author: Pol Henarejos Report bugs to https://github.com/polhenarejos/pico-fido/issues Traceback (most recent call last): File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 469, in <module> run() File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 466, in run main(args) File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 452, in main ctap = Ctap2Vendor(dev) File "D:\IoT-Projects\pico-fido\tools\pico-fido-tool.py", line 111, in __init__ super().__init__(device=device, strict_cbor=strict_cbor) File "C:\Users\santh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\fido2\ctap2\base.py", line 204, in __init__ if not device.capabilities & CAPABILITY.CBOR: AttributeError: 'NoneType' object has no attribute 'capabilities'
polhenarejos commented 2024-02-22 04:56:50 +08:00 (Migrated from github.com)

False alarm. FIDO2 devices in Windows need Admin privileges. Try to open a new Console with Admin privileges and call it again. It should work.

False alarm. FIDO2 devices in Windows need Admin privileges. Try to open a new Console with Admin privileges and call it again. It should work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#37