solo1-cli icon indicating copy to clipboard operation
solo1-cli copied to clipboard

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

Open aanno opened this issue 1 year ago • 2 comments

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 avatar Jul 14 '24 14:07 aanno

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

aanno avatar Jul 14 '24 14:07 aanno

A 👍🏻 to the draft PR above. I went the opposite direction and got things working by pinning to fido2 < 1.0.0.

See https://pastebin.com/FLdyy8dE

troysandal avatar Nov 20 '24 20:11 troysandal