solokeys / solo1

Solo 1 firmware in C
https://solokeys.com/
Other
2.3k stars 273 forks source link

Import Errors #635

Open lbm-services opened 11 months ago

lbm-services commented 11 months ago

ImportError: cannot import name 'CTAP1' from 'fido2.ctap1' (/home/hli/.venv/lib/python3.11/site-packages/fido2/ctap1.py)

The class is named Ctap1 NOT CTAP1.

ImportError: cannot import name 'CTAP2' from 'fido2.ctap2' (/home/hli/.venv/lib/python3.11/site-packages/fido2/ctap2/__init__.py)

Spelling Error like above. CTAP2 does not exist, replacing with Ctap2 does the trick.

Package Version


fido2 1.1.2