Passbook tickets for pretix
Project description
This is a plugin for pretix. It allows to provide tickets in the passbook format supported by Apple Wallet and a number of Android apps.
Contributing
If you like to contribute to this project, you are very welcome to do so. If you have any questions in the process, please do not hesitate to ask us.
Please note that we have a Code of Conduct in place that applies to all project contributions, including issues, pull requests, etc.
Development setup
Make sure that you have a working pretix development setup.
Clone this repository, eg to local/pretix-passbook.
Activate the virtual environment you use for pretix development.
Execute pip install -e . within this directory to register this application with pretix’s plugin registry.
Execute make within this directory to compile translations.
Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the ‘plugins’ tab in the settings.
Generating Passbook keys and configuring them in pretix
You can generate a key and CSR using:
export CERT_NAME=pass-pretix openssl genrsa -out $CERT_NAME.key 2048 openssl pkey -in $CERT_NAME.key -traditional > $CERT_NAME.key.pem openssl req -new -key $CERT_NAME.key -out $CERT_NAME.csr
You can then request a certificate using that CSR in your Apple developer account. You can then convert the downloaded certificate like this:
openssl x509 -inform der -in $CERT_NAME.cer -out $CERT_NAME.pem
After generating the .pem file, upload it to pretix as passbook certificate. Make sure you have uploaded the key generated before (pass-pretix.key) and added the passbook CA of apple. Next add your Team ID in pretix and the passbook type id. The passbook type id is your identifier, as example pass.pretix.example. The Team ID can be found under “Organizational Unit” when opening the passbook certificate, e.g. with Keychain on MacOS. If you have configured your private rsa key with a password you can provide it in pretix.
Click on Save. Enjoy!
License
Copyright 2016 Tobias ‘rixx’ Kunze and Raphael Michel
Released under the terms of the Apache License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pretix_passbook-1.13.2.tar.gz
.
File metadata
- Download URL: pretix_passbook-1.13.2.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa86d1e05961f7cdca8c9b54e0b4833a77c855eecd03d97da902a9385759cb8 |
|
MD5 | 9227febedf0c1f6fc1e1b9e09bd2ff57 |
|
BLAKE2b-256 | de363bd740847fb8bc719a03037b8b47bcecdd300c6cea01a803f7d9feddb2ea |
File details
Details for the file pretix_passbook-1.13.2-py3-none-any.whl
.
File metadata
- Download URL: pretix_passbook-1.13.2-py3-none-any.whl
- Upload date:
- Size: 162.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64c46ea155218ea4b4c77efa221ed74d144db444cdc3cbec12f6868a28bb2ee |
|
MD5 | 16db387b9400b2f861d16812e5e71a8b |
|
BLAKE2b-256 | 8e8a64ec5be1418cae91cf09f2f79ff21baa948ce9b35ea61308553b742f96de |