solokeys / solo1-cli

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

[Question] Does not work with fido2 >= 1.0.0 ? #174

Open aanno opened 1 month ago

aanno commented 1 month ago

Can use and/or build with fido2 >= 1.0.0.

make
...
ImportError: cannot import name 'CTAP1' from 'fido2.ctap1' (/stratis/home/tpasch/dev/scm/github/solo1-cli/venv/lib/python3.11/site-packages/fido2/ctap1.py)
make: *** [Makefile:54: update-venv] Fehler 1

Same for using package from pypi (pip3 install --user solo1)

Work around:

python3 -m venv .venv
. .venv/bin/activate
pip3 install --force-reinstall -v "fido2==0.9.3" solo1

Also, see https://github.com/Nike-Inc/gimme-aws-creds/issues/355

aanno commented 1 month ago

Ah, https://github.com/solokeys/solo1-cli/pull/169 mentions the PR https://github.com/trustcrypto/onlykey-solo-python/pull/3/files that is still a draft.

Also see https://github.com/solokeys/solo1-cli/issues/172