skip to navigation
skip to content

Not Logged In

kombu-fernet-serializers 0.0.5

Symmetrically encrypted serializers for Kombu

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)"
 
File Type Py Version Uploaded on Size
kombu-fernet-serializers-0.0.5.tar.gz (md5) Source 2014-10-17 3KB
  • Downloads (All Versions):
  • 13 downloads in the last day
  • 69 downloads in the last week
  • 332 downloads in the last month
  • Author: David Gouldin
  • Home Page: https://github.com/heroku/kombu-fernet-serializers
  • License:
    Copyright (c) 2014 David Gouldin
    
    MIT License
    
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    
    The above copyright notice and this permission notice shall be
    included in all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Package Index Owner: dgouldin
  • DOAP record: kombu-fernet-serializers-0.0.5.xml