Closed martin-lindstrom closed 2 years ago
Any updates on this one? I am having some issues as well.
We should have a verifier service (similar to the JSON Schema verifier) to make sure the CBOR content is correctly assembled with CWT + Payload between all the different implementations since most of them are assembling and unassembling the CWT by hand.
@vitorpamplona would be perfect if you could add any edge cases, ideas on test cases in the following document, we are just creating the JSONs for those test cases. https://github.com/eu-digital-green-certificates/dgc-testdata/pull/16
the idea is the creation of a common test set for validators, so that valid/invalid cases can be unit tested by such apps
I'll add some QR-codes with and without tagging asap.
@asitplus-pteufl great effort! This helps to build a test data set for new verifiers and a debug server for issuers.
perfect, we already have some test cases of those in the table here https://github.com/ehn-digital-green-development/hcert-kotlin/tree/feature/testgen/src/test/resources but they are still being created. i hope that we can check them in tomorrow and provide the links in the table. your input on the test cases and additions is very appreciated, I suppose we are still missing many edge cases.
The test repository is now horribly outdated. Test cases are provided by all onboarded countries in https://github.com/eu-digital-green-certificates/dcc-quality-assurance
During interop-testing we have run into a few possible interop-problems.
Section 4.2 of RFC8152 states the following:
In my meaning our context is clear, and there is no need for a tag. However, other implementations even require the tag. We should be specific in the spec. about this.
Next, section 6 in RFC8392 states:
I read this that our spec. should explicitly point out that no CWT CBOR tag should be used.