eu-digital-green-certificates / dgc-overview

This repository provides an overview over the EU Digital Green Certificates (DGC) project.
Apache License 2.0
209 stars 29 forks source link

How to validate/decode a QR code with recovery or vaccination? #59

Closed vinaybedre closed 2 years ago

vinaybedre commented 2 years ago

How to use DGC's service to validate/decode a QR code containing recovery or vaccination?

I came across https://www.npmjs.com/package/covid-certificate-parser with which we will be able to decode/parse a QR code with recovery/vaccination information offline.

What I am unable to understand is, how can I make use of DGC API/Service to validate/decode a QR code and check the authenticity of the QR code.

Is it possible? Does DGC provide some public APIs where a private company can connect to validate the authenticity of the QR code?

daniel-eder commented 2 years ago

The DCC Gateway is not available directly to third parties, it only interacts with national backends. It's the national backends that provide the public keys needed for verification to the applications.

See https://github.com/eu-digital-green-certificates/dgc-participating-countries/issues/10 for a discussion on how to access the national backends