pretix-passbook
===============
.. image:: https://img.shields.io/pypi/v/pretix-passbook.svg
:target: https://pypi.python.org/pypi/pretix-passbook
.. image:: https://travis-ci.org/pretix/pretix-passbook.svg?branch=master
:target: https://travis-ci.org/pretix/pretix-passbook
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
.. _Apple developer account: https://developer.apple.com/account/ios/certificate/
.. _pretix: https://github.com/pretix/pretix
.. _Code of Conduct: https://docs.pretix.eu/en/latest/development/contribution/codeofconduct.html
.. _pretix development setup: https://docs.pretix.eu/en/latest/development/setup.html
Raw data
{
"_id": null,
"home_page": null,
"name": "pretix-passbook",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "pretix team <support@pretix.eu>",
"keywords": "pretix",
"author": null,
"author_email": "pretix team <support@pretix.eu>, Tobias Kunze <rixx@cutebit.de>",
"download_url": "https://files.pythonhosted.org/packages/de/36/3bd740847fb8bc719a03037b8b47bcecdd300c6cea01a803f7d9feddb2ea/pretix_passbook-1.13.2.tar.gz",
"platform": null,
"description": "pretix-passbook\n===============\n\n.. image:: https://img.shields.io/pypi/v/pretix-passbook.svg\n :target: https://pypi.python.org/pypi/pretix-passbook\n\n.. image:: https://travis-ci.org/pretix/pretix-passbook.svg?branch=master\n :target: https://travis-ci.org/pretix/pretix-passbook\n\nThis is a plugin for `pretix`_. It allows to provide tickets in the passbook format supported by Apple Wallet and a\nnumber of Android apps.\n\nContributing\n------------\n\nIf you like to contribute to this project, you are very welcome to do so. If you have any\nquestions in the process, please do not hesitate to ask us.\n\nPlease note that we have a `Code of Conduct`_ in place that applies to all project contributions, including issues,\npull requests, etc.\n\nDevelopment setup\n^^^^^^^^^^^^^^^^^\n\n1. Make sure that you have a working `pretix development setup`_.\n\n2. Clone this repository, eg to ``local/pretix-passbook``.\n\n3. Activate the virtual environment you use for pretix development.\n\n4. Execute ``pip install -e .`` within this directory to register this application with pretix's plugin registry.\n\n5. Execute ``make`` within this directory to compile translations.\n\n6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in\n the 'plugins' tab in the settings.\n\n\nGenerating Passbook keys and configuring them in pretix\n-------------------------------------------------------\n\nYou can generate a key and CSR using::\n\n export CERT_NAME=pass-pretix\n openssl genrsa -out $CERT_NAME.key 2048\n openssl pkey -in $CERT_NAME.key -traditional > $CERT_NAME.key.pem\n openssl req -new -key $CERT_NAME.key -out $CERT_NAME.csr\n\nYou can then request a certificate using that CSR in your `Apple developer account`_. You can then convert the downloaded certificate like this::\n\n openssl x509 -inform der -in $CERT_NAME.cer -out $CERT_NAME.pem\n \nAfter generating the .pem file, upload it to pretix as passbook certificate.\nMake sure you have uploaded the key generated before (pass-pretix.key) and added the passbook CA of apple.\nNext 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. \nIf you have configured your private rsa key with a password you can provide it in pretix.\n\nClick on Save.\nEnjoy!\n\nLicense\n-------\n\nCopyright 2016 Tobias 'rixx' Kunze and Raphael Michel\n\nReleased under the terms of the Apache License 2.0\n\n\n.. _Apple developer account: https://developer.apple.com/account/ios/certificate/\n.. _pretix: https://github.com/pretix/pretix\n.. _Code of Conduct: https://docs.pretix.eu/en/latest/development/contribution/codeofconduct.html\n.. _pretix development setup: https://docs.pretix.eu/en/latest/development/setup.html\n",
"bugtrack_url": null,
"license": "Copyright 2016 Tobias 'rixx' Kunze and Raphael Michel Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ",
"summary": "Passbook tickets for pretix",
"version": "1.13.2",
"project_urls": {
"homepage": "https://github.com/pretix/pretix-passbook"
},
"split_keywords": [
"pretix"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8e8a64ec5be1418cae91cf09f2f79ff21baa948ce9b35ea61308553b742f96de",
"md5": "16db387b9400b2f861d16812e5e71a8b",
"sha256": "a64c46ea155218ea4b4c77efa221ed74d144db444cdc3cbec12f6868a28bb2ee"
},
"downloads": -1,
"filename": "pretix_passbook-1.13.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "16db387b9400b2f861d16812e5e71a8b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 162535,
"upload_time": "2024-05-24T08:23:27",
"upload_time_iso_8601": "2024-05-24T08:23:27.219813Z",
"url": "https://files.pythonhosted.org/packages/8e/8a/64ec5be1418cae91cf09f2f79ff21baa948ce9b35ea61308553b742f96de/pretix_passbook-1.13.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "de363bd740847fb8bc719a03037b8b47bcecdd300c6cea01a803f7d9feddb2ea",
"md5": "9227febedf0c1f6fc1e1b9e09bd2ff57",
"sha256": "3fa86d1e05961f7cdca8c9b54e0b4833a77c855eecd03d97da902a9385759cb8"
},
"downloads": -1,
"filename": "pretix_passbook-1.13.2.tar.gz",
"has_sig": false,
"md5_digest": "9227febedf0c1f6fc1e1b9e09bd2ff57",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 37453,
"upload_time": "2024-05-24T08:23:29",
"upload_time_iso_8601": "2024-05-24T08:23:29.384495Z",
"url": "https://files.pythonhosted.org/packages/de/36/3bd740847fb8bc719a03037b8b47bcecdd300c6cea01a803f7d9feddb2ea/pretix_passbook-1.13.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-24 08:23:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pretix",
"github_project": "pretix-passbook",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "pretix-passbook"
}