Nitrokey / nitrokey-websmartcard-tests

A Python test suite for Nitrokey Webcrypt features
GNU General Public License v3.0
1 stars 2 forks source link

USB, FIDO2: Tests freeze #1

Open robin-nitrokey opened 1 year ago

robin-nitrokey commented 1 year ago

Most of the times, test execution freezes at different test cases, e. g. test_login_wrong_attempt_counter or test_ping.

Environment:

robin-nitrokey commented 1 year ago

Only occurs with TRANSPORT=FIDO2, not with TRANSPORT=U2F.

szszszsz commented 1 year ago

Does only test execution freeze, or the whole device stops due to a panic and needs to be power cycled?

robin-nitrokey commented 1 year ago

Only the test execution freezes. If I cancel it, I can start it again without a power cycle.

robin-nitrokey commented 1 year ago

Still occurs with tests 4871460, firmware 2136a72.

szszszsz commented 1 year ago

Can you add a report here as well, to pinpoint the exact step after which the execution stops?

robin-nitrokey commented 1 year ago

It’s happening in different test cases, e. g. in test_ping[test_data9].

/home/robin/.local/share/virtualenvs/nitrokey-webcrypt-tests-9V2q4MSs/lib/python3.9/site-packages/fido2/_pyu2f/linux.py:226: KeyboardInterrupt

webcrypt-fido2-usb.zip