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.1.0.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file sigilo-0.1.0.tar.gz
.
File metadata
- Download URL: sigilo-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2c380dd54243ce202085eaaaf730078135bedb9dde23cbb7f114b24d1e54a7 |
|
MD5 | ebba91e0990997518026ead7ed1897b1 |
|
BLAKE2b-256 | 8987d3fce39e8088d24d0eb4de365a817873d008cf0d6467792a6ddc3725ea5c |
File details
Details for the file sigilo-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sigilo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe7ce38dce8f50689a6f74946458c5801288d54aee002cf1813d9aff9ca29aa3 |
|
MD5 | b5cf8919fd8bf1eeba12800efff7a799 |
|
BLAKE2b-256 | ab3b8eeb094700d79a2483bdad1db9260f9909cdf62d238b38e6a8e99451ed6e |