solokeys / solo1-cli

Solo 1 library and CLI in Python
https://pypi.org/project/solo-python
Apache License 2.0
182 stars 69 forks source link

Class names changed in Python 3.10 #172

Open Kalrkloss opened 5 months ago

Kalrkloss commented 5 months ago

In ~/.local/lib/python3.10/site-packages/fido/ctap1.py, the class names CTAP1 and CTAP2 have changed to Ctap1 and Ctap2. Therefore, fido1 throws an import error. The class names have to be changed accordingly in /solo/cli/key.py

I don't know when the name changes have been introduced, but they are that way now.

innir commented 3 months ago

That problem is actually due to fido2 >= 1.0.0, not Python 3.10 - see e.g. #151 and #169.