Skip to main content

pretix-passbook

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

Metadata

Release files for pretix-passbook 1.14.2

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.2
File Size Uploaded Provenance Actions
pretix_passbook-1.14.2.tar.gz 44.5 kB Without provenance Details for pretix_passbook-1.14.2.tar.gz

Built distribution (wheel)

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

Total release size: 234.3 kB

Release files / pretix_passbook-1.14.2.tar.gz

Download URL pretix_passbook-1.14.2.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4a6a353279b5728ce4dac64f0c6b61ad796a2f66842694024f0111668f0fab89
BLAKE2b-256 checksum
How to use checksums
9ba752fc1a4e38b897d9c2c26f62109e9b2691a12cc793e34b912a215c64be28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL pretix_passbook-1.14.2-py3-none-any.whl
Size 189.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68d2cb90146e3a5ca6cfbf4b5bf7383fef40454f80ab7929e62c05b8c48a23f0
BLAKE2b-256 checksum
How to use checksums
3f2af93bfd373d17fda2d51695434bd2b9d13b1e90ad2d6b1b0e0881f2815fe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for pretix-passbook 1.14.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.14.2 This release

2 release files No provenance

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