Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fidotests not working #41

Open
jolo1581 opened this issue Apr 6, 2020 · 8 comments
Open

Fidotests not working #41

jolo1581 opened this issue Apr 6, 2020 · 8 comments

Comments

@jolo1581
Copy link

jolo1581 commented Apr 6, 2020

Hi,

just installed the latest fido tests. Now they don't work.
I tried a solo hacker and a solo hacker on nucleo board.

I tired pytest tests/vendor -s and pytest -k "hmac_secret" -s. At both the first test works. All following tests fail.

I use Manjaro Linux with latest git of libfido2.

@conorpp
Copy link
Collaborator

conorpp commented Apr 6, 2020

Are you using >=4.0.0 firmware?

@jolo1581
Copy link
Author

jolo1581 commented Apr 6, 2020

Yes.
Build from actual master

@sullof
Copy link

sullof commented Jan 13, 2021

I have the same problem from when I upgraded MacOS to BigSur.
BTW, I used some of the code in your examples to add support for Solokeys in Secrez, now it is not working, causing a lot of troubles to the users. I investigated the issue and finally I cloned again this repo and repeated the process. Testing, now, I have the same errors. Can you take a look, please?

@nickray
Copy link
Member

nickray commented Jan 13, 2021

Can you attach some kind of log? Or link to a gist with your traceback?

@sullof
Copy link

sullof commented Jan 13, 2021

@nickray At this link there is the output of the tests
https://www.dropbox.com/s/bbf7qcwq9xrzf47/test-result.txt?dl=0

@nickray
Copy link
Member

nickray commented Jan 13, 2021

It seems like fido2.hid.CtapHidDevice.list_devices() is not working, which is Yubico's Python FIDO2 library that we use. I doubt it's the thing that's broken, as I've been using Python3.8 and now Python3.9 on Linux myself.

Can you absolutely rule out that during this OS upgrade you ended up with a mix of libraries for Python 3.8 and whatever version of Python you had before? With Python, minor version changes are essentially incompatible languages.

Perhaps you can pip install fido2 in a clean virtual environment and check if just this list_devices command works?

@sullof
Copy link

sullof commented Jan 14, 2021

Consider that I followed the instructions, so I installed a clean Python using make venv and activate it. I am not sure that it is related with the upgrade to Big Sur, I just noticed the problem now.

@sullof
Copy link

sullof commented Jan 14, 2021

@nickray I repeated the entire process on my old macbook and there are the same errors. So, it is a problem with Python 3.8, I guess. Maybe you could open an issue on https://github.com/Yubico/python-fido2/issues
I am sure you can be more precise than me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants