Skip to main content

No project description provided

Project description

Sigilo 🤫

Documentation PyPI GitHub

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


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)

Uploaded Source

Built Distribution

sigilo-0.2.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page