Open nickray opened 5 years ago
Happened to me too.
If you had not hidraw devices attached sinced boot, the directory
/sys/class/hidraw
may be missing. Thefido2
library complains withFile "/home/nicolas/.local/lib/python3.7/site-packages/solo/cli/__init__.py", line 129, in ls solos = solo.client.find_all() File "/home/nicolas/.local/lib/python3.7/site-packages/solo/client.py", line 52, in find_all hid_devices = list(CtapHidDevice.list_devices()) File "/usr/lib/python3.7/site-packages/fido2/hid.py", line 136, in list_devices for d in hidtransport.hid.Enumerate(): File "/usr/lib/python3.7/site-packages/fido2/_pyu2f/linux.py", line 183, in Enumerate for hidraw in os.listdir('/sys/class/hidraw'): FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/hidraw
We should catch this.
If you had not hidraw devices attached sinced boot, the directory
/sys/class/hidraw
may be missing. Thefido2
library complains withWe should catch this.