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 details)
Built Distribution
File details
Details for the file sigilo-0.2.0.tar.gz
.
File metadata
- Download URL: sigilo-0.2.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b653ca448bc7a0f42068082506570278ad838bf52727ba4284bb7c2718b7f7de |
|
MD5 | a70c043e0c396b09e29321c5f4ba105f |
|
BLAKE2b-256 | 1d06cb3d578353e18d2ab28b9138137cf6cb893ba898f3a6a64481bfd8661207 |
File details
Details for the file sigilo-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sigilo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 616b42e3c84e33d5952adcc1a3d7731d400189b7695b1e783eedbe1fde30ecad |
|
MD5 | 14349de42402556a404c8e20db8c9d1a |
|
BLAKE2b-256 | 37d26671fc3a986340fbefb6da52216c71e39144c74823d8dbe2325b8bfc5802 |