Skip to content

Scan and verify Green Pass QR code, using the Israel Ministry of Health RSA and ECDSA public keys

License

Notifications You must be signed in to change notification settings

trianglee/greenpass-verify

Repository files navigation

Overview

Scan and verify Green Pass QR code, using the Israel Ministry of Health RSA or ECDSA public keys.

No data is sent anywhere, signature verification is done entirely off-line in the browser.
In any case, don't put sensitive data into this page without reading the code first!

Live Demo

Live demo is accessible as https://trianglee.github.io/greenpass-verify/.

Origins

Based on the details and verification code provided by Ministry of Health in https://github.com/MohGovIL/Ramzor, and on the reverse-engeering work done by Yuval Adam in https://github.com/yuvadm/greenpass.

QR Code scanning by https://github.com/zxing-js/library.

Public Keys

Hard-coded Ministry of Health public keys (see RAMZOR_PUBLIC_KEYS_PEM in the code) are from -

A PEM public key can be extracted from a DER certificate using -

openssl x509 -pubkey -in XXX.der -inform der -outform pem -noout

License

Apache License 2.0.

Development

Initialize node -

npm install

Generate package for distribution using webpack, into output directory dist -

npm run build

Watch for changes are re-generate output -

npm run watch

Deployment

dist directory is automatically deployed to dist branch by a GitHub action, on every push to master branch.

About

Scan and verify Green Pass QR code, using the Israel Ministry of Health RSA and ECDSA public keys

Resources

License

Stars

Watchers

Forks