Symmetrically encrypted serializers for Kombu
Project description
This library registers a set of Kombu serializers which take those built into Kombu and symmetrically encrypts them using Fernet.
The encryption key is accessed via the KOMBU_FERNET_KEY environment variable. To set the encryption key:
import os from cryptography.fernet import Fernet key = Fernet.generate_key() os.environ['KOMBU_FERNET_KEY'] = key
To try it out, start a redis server and from the example directory, run:
pip install celery redis celery -A tasks worker
Then from another shell:
python -c "from tasks import add; add.delay(1, 2)"
Project details
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
Close
Hashes for kombu-fernet-serializers-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef2b5fd4f571ce399eaeb8bf27179c052e1103eea9e26cb1a950029ef70ae53 |
|
MD5 | 3466362db5cb7e82b09528e64ffc2db5 |
|
BLAKE2b-256 | 7a6a540c2c0bb53a9120a52c5e83131154f3c63b6c03166b95c8dccab478616a |
Close
Hashes for kombu_fernet_serializers-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f76b93e82e9c923dbe4a05822e7eb6c5aa783d9a8223100a410f8fafc0ca7026 |
|
MD5 | 8d0c51e92aa08bd1c70552dc4d10c792 |
|
BLAKE2b-256 | 147395bae3bcceddaf945da148e0d83b2bc1f2d4d6c3ab22d24f06822530f381 |