Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kombu-fernet-serializers

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kombu-fernet-serializers

Symmetrically encrypted serializers for Kombu

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
3

======================== Kombu Fernet Serializers

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)"

.. _Kombu: http://kombu.readthedocs.org/en/latest/ .. _Fernet: http://cryptography.readthedocs.org/en/latest/fernet/ .. _Celery: http://celery.readthedocs.org/en/latest/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc