lucadentella / raspberry-dgc

Read and verify EU Digital Covid Certificates with Raspberry Pi and Pi Camera
49 stars 21 forks source link

Validate Swiss greenpass problem #24

Closed flagellarmirror closed 2 years ago

flagellarmirror commented 2 years ago

Hi, I have a problem with the validity of the greenpass of one of my Swiss employees. When I try to scan his green pass he tells me it is invalid. The server should validate all the greenpass not only the Italian ones, is that correct?

lucadentella commented 2 years ago

Hi, it should work: we faced some issues with the key used by swiss dgc but it was solved (see closed issues) Is it related to the signature validation or to business rules?

flagellarmirror commented 2 years ago

Hi, I solved it, in the end it was my fault that I was still using dcc-utils library 0.1.0 and had the old version of cose-js. I have updated the dcc-utils library to version 0.4.0 and everything works fine, thanks a lot.