Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "trustable": false #2

Closed
phildespres opened this issue Jul 14, 2021 · 3 comments
Closed

Getting "trustable": false #2

phildespres opened this issue Jul 14, 2021 · 3 comments

Comments

@phildespres
Copy link

Nice work/beau travail!

I am getting a "trustable": false when extracting data. I guess this part requires communication with covid19.quebec.ca ?

@obrassard
Copy link
Owner

Thanks ! Indeed, you are not the first asking me this question 😄 The Quebec government does not seem to have published (yet ?) the public keys that allows authenticity validation of the information contained in the QR code payload. So for now it is "normal" that the server returns "trustable": false. According to the Smart Health Cards standard the public keys are usually published under the url {issuer}/.well-known/jwks.json (with the issuer corresponding to the iss field in the payload), however I guess they didn't publish them to avoid that anybody starts validating QR codes.

So basically, either they haven't published the keys, or they published them at another address that we don't know.

@phildespres
Copy link
Author

En effet, je n'avais pas vu le billet fermé. Désolé!

@obrassard
Copy link
Owner

Aucun problème ! 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants