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]
Metadata
Release files for sigilo 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sigilo-0.2.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sigilo-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / sigilo-0.2.0.tar.gz
| Download URL | sigilo-0.2.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b653ca448bc7a0f42068082506570278ad838bf52727ba4284bb7c2718b7f7de
|
|
BLAKE2b-256 checksum How to use checksums |
1d06cb3d578353e18d2ab28b9138137cf6cb893ba898f3a6a64481bfd8661207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Release files / sigilo-0.2.0-py3-none-any.whl
| Download URL | sigilo-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
616b42e3c84e33d5952adcc1a3d7731d400189b7695b1e783eedbe1fde30ecad
|
|
BLAKE2b-256 checksum How to use checksums |
37d26671fc3a986340fbefb6da52216c71e39144c74823d8dbe2325b8bfc5802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|