ministero-salute / it-dgc-gateway-client

EU Digital COVID Certificate Gateway Client is part of the national backends and periodically downloads the public keys that are distributed through the DGCG.
GNU Affero General Public License v3.0
6 stars 2 forks source link

[GENERAL] How to get certificates to decode codes yourself #20

Closed ybrodsky closed 3 years ago

ybrodsky commented 3 years ago

Hello, I know this is probably not the right place to ask but I can't find this anywhere. I am required to read QR codes and validate that the code is valid and the person is "ok".

As I understand I need some certificates to validate the data is correct, but I can't find how or from where get these certificates.

Any help would be appreciated.

lcfr-dev commented 3 years ago

Hi, I was in the same situation few days ago. This link can may be help you. You are asking about how get certificates, but in this case you don'have to. All the verification can be done offline, the only thing you need is list of valid identifier. You can get more information here. Here you can get all specs and document avaliable

astagi commented 3 years ago

Hi @ybrodsky @lcfr-dev we've just released DCC Utils library.

In the example section you can find a script that uses AT trust list. Hope it helps!