Nitrokey / nitrokey-websmartcard-tests

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

Test failures #2

Closed robin-nitrokey closed 1 year ago

robin-nitrokey commented 1 year ago
============================================================================================= short test summary info =============================================================================================
FAILED test_comm.py::test_generate_from_data - assert False == True
FAILED test_comm.py::test_initialize - assert False == True
FAILED test_comm.py::test_restore[test_input0] - assert False == True
FAILED test_comm.py::test_restore[test_input1] - assert False == True
FAILED test_comm.py::test_restore[test_input2] - assert False == True
FAILED test_comm.py::test_logout - assert True == False
FAILED test_comm.py::test_factory_reset - assert False == True
========================================================================================== 7 failed, 62 passed in 20.34s ==========================================================================================

Environment:

Log: https://cloud.nitrokey.com/s/nyip4TwAesAwaff


Edit the same as local archives: webcrypt-report-fido2-usb.zip webcrypt-report-u2f-usb.zip

robin-nitrokey commented 1 year ago

Looks like the same errors occur with TRANSPORT=U2F: https://cloud.nitrokey.com/s/faWwi2MtY39Lqes

szszszsz commented 1 year ago

This looks like an old Webcrypt version was used. Can you link here the commit version of the firmware you used? I will add version string logging to the tests next time.

robin-nitrokey commented 1 year ago

Can you link here the commit version of the firmware you used?

I listed the firmware version in the issue description, it’s 9343983 in this case.