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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: greenpass-1.1.tar.gz
  • Upload date:
  • Size: 7.0 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.1.tar.gz
Algorithm Hash digest
SHA256 1c02fbcb70e55aa56b35097d3aedbeea463a2ea27913e0a2066f1119e6cfccdc
MD5 8a50ec3ce6c32992d51991149a7b45a1
BLAKE2b-256 d4962d04a4c6b16ba09b97dd041cbfc3899fd9f9bcc7b08c1fe21b11bfa3e569

See more details on using hashes here.

File details

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

File metadata

  • Download URL: greenpass-1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 286efff289b2e8aad27b322e54e9195ea93fea5190d6d82633d2d080b8cafaa0
MD5 2ba2d089ba8264659bd1550de8d0dbbc
BLAKE2b-256 4c108c95dc28ab64b5390d88c43ed8e5dcdc2253665fef471506e165356dded3

See more details on using hashes here.

Supported by

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