Skip to main content

Module passphrase_cache

Module passphrase_cache 

Source
Expand description

OS keychain-backed passphrase cache.

Stores and retrieves passphrases by key alias using the platform keychain. Separate from the main key storage — uses service name dev.auths.passphrase.

Structs§

NoopPassphraseCache
No-op cache that never stores or returns anything.

Traits§

PassphraseCache
Trait for storing/retrieving passphrases in the OS keychain.

Functions§

get_passphrase_cache
Returns the platform-appropriate passphrase cache.
parse_duration_str
Parses a human-friendly duration string into seconds.