Skip to main content

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

kombu-fernet-serializers-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file kombu-fernet-serializers-0.1.0.tar.gz.

File metadata

  • Download URL: kombu-fernet-serializers-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.5

File hashes

Hashes for kombu-fernet-serializers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ddd9d3dcad4faf831126dd17489462046c6de508f8ce58f410523297e150e420
MD5 24285e16073c3c757aa0e845b4317e2a
BLAKE2b-256 843f6ac40cc68b2bbfad1689ff5af6a1675f52f5e393341c40605de7baf7c220

See more details on using hashes here.

File details

Details for the file kombu_fernet_serializers-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kombu_fernet_serializers-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.5

File hashes

Hashes for kombu_fernet_serializers-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb6f58fa29be11caf088df24d7929dd289c283506e4d67933cad79df5ec5cdbf
MD5 65b81a54159dffaf6f84eda805563fba
BLAKE2b-256 0bcd9033d7d79daea8018f4dda22bdbc38e10c66d138248f470c449dcee510ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page