diff options
| author | Yuval Adam <_@yuv.al> | 2021-12-31 11:45:52 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-12-31 11:45:52 +0200 |
| commit | 2679e6c3ebc181677acdd077df409bf73b7dc048 (patch) | |
| tree | 771ff696194fb777c5cfe5615675351914679314 /README.md | |
| parent | abef9a61beef6f55772a1230b0d520009227ce5e (diff) | |
Lots of refactoring WIP
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 23 |
1 files changed, 10 insertions, 13 deletions
@@ -1,14 +1,11 @@ -# Green Pass - התו הירוק +# Green Pass -Signature verification for the Green Pass (התו הירוק). +COVID pass verification library and CLI. Implements verification for: -As (not really) specified in https://github.com/MohGovIL/Ramzor + - [EU Digital COVID certificates](https://ec.europa.eu/health/ehealth/covid-19_en) + - [Legacy Israeli Green Pass certificates](https://github.com/MohGovIL/Ramzor) -## Verification Script - -A pythonic implementation of the verification process can be found in [`verify.py`](verify.py). - -### Setup +## Setup Install [`pipenv`](https://pipenv.pypa.io/en/latest/) and sync the required dependencies: @@ -16,11 +13,11 @@ Install [`pipenv`](https://pipenv.pypa.io/en/latest/) and sync the required depe $ pipenv sync ``` -### Usage +### CLI Usage -Generate a Green Pass or Vaccination Certificate at https://corona.health.gov.il/green-pass/ +The CLI tool accepts PDF files, PNG images and raw QR code decoded contents. -#### Option 1 - from PDF +#### PDF Certificates Directly verify your `GreenPass.pdf` or `VaccinationCertificate.pdf`: @@ -28,7 +25,7 @@ Directly verify your `GreenPass.pdf` or `VaccinationCertificate.pdf`: $ pipenv run greenpass -p GreenPass.pdf ``` -#### Option 2 - from QR code image +#### QR Code Images Save the QR code as a `.png` file (e.g. from screenshot) and execute: @@ -36,7 +33,7 @@ Save the QR code as a `.png` file (e.g. from screenshot) and execute: $ pipenv run greenpass -i green_pass_image.png ``` -#### Option 3 - from QR code decoded textual content +#### Decoded QR Code Content Decode the QR code payload yourself, put it in a txt file and then execute: |
