Closed saschaludwig closed 3 years ago
Okay, I realized that I missed the CBORTag. So I modified the code:
qrdata = b"HC1:"+base45.b45encode(zlib.compress(cbor2.dumps(cbor2.CBORTag(18, j))))
But that gives me an VC_HC_COSE_MESSAGE_INVALID.
Hi! The json is correct. I used https://github.com/ehn-dcc-development/ehn-sign-verify-python-trivial with small patches to make the pip modules load. I think the problem is that you miss to cbor tags 1,4,6, -260 which is expected by the kotlin cose code, although the tags are unused.
JFI: Found out that the QR Code from the readme doesn't work on iOS but works on Android. iOS Error Message while scanning the QR Code from the readme: VC_JSON_SCHEMA_INVALID
Hi
i tried the given json string with the following python code, but I always get an VC_HC_COSE_TAG_INVALID error in CWA.
What am I missing, or is the json format wrong?