Skip to main content

Scriptable green pass verifier

Project description

Green Pass Verifier

Scriptable green pass verifier. With this application you can automatize accesses based on green pass validity.

Installation

You need to have pip and libzbar to install the application.

You can install it using your favorite package manager, for instance in Ubuntu:

$ sudo apt install python3-pip libzbar0

If you want to install it from sources, install the python3 requirements using the following command:

$ pip3 install -r requirements.txt

Usage

You can feed the application with different file formats, for instance:

Green pass official PDFs

$ greenpass --pdf greenpass.pdf

QRCode images in PNG

$ greenpass --qr greenpass.png

Txt files with the content of the qrcode

$ greenpass --txt greenpass.txt

Standard input and pipes

$ zbarimg --raw greenpass.png | greenpass --txt -

The application returns an UNIX compatible code, therefore you can concatenate commands that will be executed only if the green pass is verified

$ greenpass --qr greenpass.png && echo "green pass ok"

You can also get the expiration configuration using --settings without other inputs.

$ greenpass --settings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

greenpass-1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

greenpass-1.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file greenpass-1.0.tar.gz.

File metadata

  • Download URL: greenpass-1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5

File hashes

Hashes for greenpass-1.0.tar.gz
Algorithm Hash digest
SHA256 b891b35b459495347f8725251200e84389a502cdff458ccfdf7bf1dcff82db51
MD5 dceb94e8b38c4f9a389728618133b5b7
BLAKE2b-256 14813a10040fe0230f35d4291da7dd0297f2bcc5207571d0c5c0a3a958125274

See more details on using hashes here.

File details

Details for the file greenpass-1.0-py3-none-any.whl.

File metadata

  • Download URL: greenpass-1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5

File hashes

Hashes for greenpass-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3ebc3204817d9951e622df1bca1f3599d655c74cec578ef0444f5b7dfa3639
MD5 cbef9094e64fc2fe7f5a7076c8c3fa0e
BLAKE2b-256 f0628d178a2ac2ebf1519ed73603b3d72ccc36b46dfe622a8146b90567f1ae71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page