Expand description
Creation and loading of secrets from files.
Modules§
- admin 🔒
- Reading and writing of administrative secrets.
- common 🔒
- Common functionality for the creation and loading of secrets from files.
- error 🔒
- Error type for secret file writing and reading.
- non_
admin 🔒 - Reading and writing of non-administrative secrets.
Enums§
- Administrative
Secret Handling - The handling of administrative secrets.
- Error
- An error that may occur when working with cryptographic types for Signstar.
- NonAdministrative
Secret Handling - The handling of non-administrative secrets.
Constants§
- SSS_
DEFAULT_ NUMBER_ OF_ SHARES - The default number of shares for Shamir’s Secret Sharing (SSS).
- SSS_
DEFAULT_ THRESHOLD - The default number of shares required for decrypting secrets encrypted using Shamir’s Secret Sharing (SSS).
Functions§
- load_
passphrase_ from_ secrets_ file - Reads a secret from a secret file location of a user and returns it as a
Passphrase. - write_
passphrase_ to_ secrets_ file - Writes a
Passphraseto a secret file location of a system user.