Skip to main content

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]

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for sigilo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b653ca448bc7a0f42068082506570278ad838bf52727ba4284bb7c2718b7f7de
MD5 a70c043e0c396b09e29321c5f4ba105f
BLAKE2b-256 1d06cb3d578353e18d2ab28b9138137cf6cb893ba898f3a6a64481bfd8661207

See more details on using hashes here.

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

Hashes for sigilo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 616b42e3c84e33d5952adcc1a3d7731d400189b7695b1e783eedbe1fde30ecad
MD5 14349de42402556a404c8e20db8c9d1a
BLAKE2b-256 37d26671fc3a986340fbefb6da52216c71e39144c74823d8dbe2325b8bfc5802

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page