No project description provided
Project description
Omniblack Secret
Classes for safer handling of secrets. We use libsodium to store secrets in memory that is protected by guard pages, a canary, and is set to readonly when the library is not reading from it. These protections should help mitigate exploits in other parts of the program allow for arbitrary reads of memory, and should reduce the risk of buffer overflows and similar memory writing bugs from corrupting the secret.
Further more Secret
instance's repr will not reveal the secret
so if a secret object is accidentally logged the secret value
will not be exposed, and the value is stored in a C slot not
in a python dict or slot so introspection tools like rich.inspect
will not reveal the secret.
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
File details
Details for the file omniblack.secret-0.0.12.tar.gz
.
File metadata
- Download URL: omniblack.secret-0.0.12.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2179203e8f580c2a004d1977cf7bb86e0807ad9d95641bc015c1fb190b6823fc |
|
MD5 | 5220778a0509f3fd82f12eb5270da212 |
|
BLAKE2b-256 | edcad68efd401f849c808b7226e881e643554684a0627c512cd8299f18b884a1 |