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.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

greenpass-1.1-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

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