No project description provided
Project description
Sigilo 🤫
Sigilo provides a secure way to store and retrieve sensitive information like passwords, OAuth access tokens, credit card numbers, etc.
For example, to store a secret on redis using sigilo.Sigilo:
from sigilo import Sigilo
from sigilo.stores.redis import RedisStore
from sigilo.ciphers.fernet import FernetCipher
# Put this somewhere safe!
key = "Ds205mteCt42PaW35TQWtj5LgUB3A541EVf9wy8OyOI="
cipher = FernetCipher(key)
store = RedisStore("redis://localhost:6379/0")
sigilo = Sigilo(store=store, cipher=cipher)
sigilo.set("key1", b"secret value")
To retrieve the secret:
sigilo.get("key1")
# returns b"secret value"
Installation
Sigilo requires Python 3.8 or newer to run.
pip install sigilo[redis,cryptography]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sigilo-0.2.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
sigilo-0.2.0-py3-none-any.whl
(5.1 kB
view hashes)