eu-digital-green-certificates / dgc-testdata

Repository for storing generated QR code data for testing.
Apache License 2.0
157 stars 218 forks source link

FI: uvci fixed to capital letters, CERTIFICATE added to json. #317

Closed lari-kannisto closed 3 years ago

lari-kannisto commented 3 years ago

Uvci fixed to capital letters # CERTIFICATE added to json (fix for pull request #312)

vanlooverenkoen commented 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]
lari-kannisto commented 3 years ago

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.