Skip to main content

Module secret_file

Module secret_file 

Source
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§

AdministrativeSecretHandling
The handling of administrative secrets.
Error
An error that may occur when working with cryptographic types for Signstar.
NonAdministrativeSecretHandling
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 Passphrase to a secret file location of a system user.