Skip to main content
https://img.shields.io/pypi/v/pretix-passbook.svg https://travis-ci.org/pretix/pretix-passbook.svg?branch=master

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

  1. Make sure that you have a working pretix development setup.

  2. Clone this repository, eg to local/pretix-passbook.

  3. Activate the virtual environment you use for pretix development.

  4. Execute pip install -e . within this directory to register this application with pretix’s plugin registry.

  5. Execute make within this directory to compile translations.

  6. 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

Release files for pretix-passbook 1.14.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-passbook 1.14.1
File Size Uploaded
pretix_passbook-1.14.1.tar.gz 42.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-passbook 1.14.1
File Interpreter ABI Platform
pretix_passbook-1.14.1-py3-none-any.whl Python 3 none any Details

Total release size: 222.8 kB

Release files / pretix_passbook-1.14.1.tar.gz

Download URL pretix_passbook-1.14.1.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
86cc7a04c22bf036e9322c74db5c06910512c374480ab568add99eaa22b03426
BLAKE2b-256 checksum
How to use checksums
10b8abaa281cf1e361210ab4200f5988177082d208751edadd2fd5bc98288fd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / pretix_passbook-1.14.1-py3-none-any.whl

Download URL pretix_passbook-1.14.1-py3-none-any.whl
Size 180.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
031a5e79ebc15f0b19345b0beba29ae6fe666c8281aedb62249b0edcfd944252
BLAKE2b-256 checksum
How to use checksums
e32806ef76953c02ca7e31af7f6e6bb7db68d39e5da52ec2ef3000497f5ad11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.14.1 This release

2 release files

1.14.0

2 release files

1.13.3

2 release files

1.13.2

2 release files

1.13.1

2 release files

1.13.0

2 release files

1.12.2

2 release files

1.12.0

2 release files

1.11.1

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page