GithubHelp home page GithubHelp logo

perryflynn / fastpass Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 715 KB

COVID certificate check and contact data collection for events - completely offline

License: GNU Affero General Public License v3.0

Standard ML 0.29% Python 99.71%
covid-19 contact-tracing covid-certificate qrcode-scanner keepass2

fastpass's Introduction

fastpass

Verify german COVID vaccination certificates and collect contact data on events.

Project Status: First prototype, please test!

demo

Features

  • Works offline with PC + QR Code scanner
  • Contact data collection in KeePass database from QR Code
  • Database unlock with passphrase QR Code
  • Check COVID vaccination certificates

System dependencies

apt install python3 python3-wheel python3-setuptools rust-all

Python 3 dependencies

cd src
pip install --no-cache-dir -r requirements.txt

Installation

  • Install dependencies
  • Create KeePass DB in this directory as demo.kdbx (will be configurable in future)
  • Generate QR Code for passphrase
# qrencode is included in ubuntu package repos
# passphrase as json, base64 encoded
echo '{ "passphrase": "Yei3aphah8aebeimee6oiv4e" }' | base64 -w0 | qrencode -t UTF8 -o -
  • Adjust scanner device path in main.py (will be configurable in future)
devaddr = '/dev/input/by-id/usb-NT_USB_Keyboard_6D14C8760000-event-kbd'

Start

  • Start script
cd src/
python3 main.py
  • Unlock KeePass database by scanning passphrase QR Code

Contact data

The scanner expects a QR Code in the following format:

# qrencode is included in ubuntu package repos
# base64 encoded json
echo '{ "city":"", "firstname":"", "lastname":"", "phone":"", "street":" " }' | base64 -w0 | qrencode -o - -t UTF8

Web App for event visitors to generate that QR Code client-side:

https://kontakt.lan.mudkips.de/

Technology

The following components are used for this project:

fastpass's People

Contributors

perryflynn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.