Closed lari-kannisto closed 3 years ago
It looks like there are some tests still failing for FI
FAILED tests/test_ehealth_certs.py::test_expiration_check[FI/2DCode/raw/2.json]
FAILED tests/test_ehealth_certs.py::test_expiration_check[FI/2DCode/raw/5.json]
FAILED tests/test_ehealth_certs.py::test_expiration_check[FI/2DCode/raw/3.json]
FAILED tests/test_ehealth_certs.py::test_expiration_check[FI/2DCode/raw/1.json]
FAILED tests/test_ehealth_certs.py::test_expiration_check[FI/2DCode/raw/4.json]
FAILED tests/test_ehealth_certs.py::test_expected_key_usage[FI/2DCode/raw/2.json]
FAILED tests/test_ehealth_certs.py::test_expected_key_usage[FI/2DCode/raw/5.json]
FAILED tests/test_ehealth_certs.py::test_expected_key_usage[FI/2DCode/raw/3.json]
FAILED tests/test_ehealth_certs.py::test_expected_key_usage[FI/2DCode/raw/1.json]
FAILED tests/test_ehealth_certs.py::test_expected_key_usage[FI/2DCode/raw/4.json]
As the https://ec.europa.eu/health/sites/default/files/ehealth/docs/digital-green-certificates_v1_en.pdf states in Appendix A.4, the ExtendedKeyUsage OIDs are not mandatory. "In absence of any key usage extension, this certificate can be used to validate any type of HCERT." We are using this same DSC in all DCC types.
Uvci fixed to capital letters # CERTIFICATE added to json (fix for pull request #312)