Ticket generator and verifier
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitignore
LICENSE.txt
README.md
apache.wsgi
config.example.json
events.py
test_ticket.py
ticket.py
webapp.py

README.md

Ticket generator

Setup

Generate a secret (symmetric) signing key, for example by running the command below.

$ dd if=/dev/random bs=16 count=2 | base64

Create a configuration file named config.json based on config.example.json and use the secret generated above there. The keys used for events must either exist as a writable subdirectory or the user running the Python process must have the privileges necessary to create subdirectories for web vending to work.

If you serve it over SSL, you can put information in plain text into a file named certinfo.txt, which will be displayed under /cert.

License

The whole project is available under MIT license.

Dependencies