crocs-muni / sec-certs

Tool for analysis of security certificates and their security targets (Common Criteria, NIST FIPS140-2...).
https://sec-certs.org
MIT License
9 stars 7 forks source link

Broken FIPS IUT from_web parsing #304

Closed adamjanovsky closed 1 year ago

adamjanovsky commented 1 year ago

Describe the bug

It seems that due to some change on FIPS IUT web, the parsing does not succeed. Output from tests:

FAILED tests/fips/test_fips_iut.py::test_iut_snapshot_from_web - ValueError: time data 'The IUT list is provided as a
marketing service for vendors who have a viable contract with an accredited laboratory for the testing of a cryptographic
module, and the module and required documentation is resident at the laboratory.\xa0 The CMVP does not have detailed
information about the specific cryptographic module or when the test report will be submitted to the CMVP for validation.
When the lab submits the test report to the CMVP, the module will transition from the IUT list to the MIP list. If you would
like more information about a specific cryptographic module or its schedule, please contact the vendor.' does not match
format 'Last Updated: %m/%d/%Y'

More at https://github.com/crocs-muni/sec-certs/actions/runs/3875233679/jobs/6607480604

Same error on my laptop as well.

To Reproduce

Run fips_iut.py/from_web test.

Expected behavior Passing test 🙃