eu-digital-green-certificates / dgca-verifier-app-android

Repository for the dgca verifier android app.
Apache License 2.0
103 stars 117 forks source link

NFC specification #246

Open craftbyte opened 2 years ago

craftbyte commented 2 years ago

Since the technical specification doesn't say that the NFC data should be ZLIB encoded, wouldn't the correct storage that the app reads be the CWT directly binary encoded (no Base45 and zlib)?

See Electronic Health Certificates 2021-04-18 section 4.1 and 4.2. I believe NFC falls under 4.1

daniel-eder commented 2 years ago

@SchulzeStTSI can you answer this?

craftbyte commented 2 years ago

Any updates on this? Are there at least internal discussions, @daniel-eder?

daniel-eder commented 2 years ago

@craftbyte I have not received an update on it, but just got in touch with @SchulzeStTSI to see if there is an update. We'll post here once there's an answer

SchulzeStTSI commented 2 years ago

@craftbyte We transmit the DCC as entire HC1 string, because we dont want to make assumptions about the receivers (which must be able to encode/zip it). The entire string can be consumed directly, and rendered as QR code without any other actions. If some receivers wants to store it binary, they can strip off the additional layers.