Skip to main content

cache_passphrase

Function cache_passphrase 

Source
pub fn cache_passphrase(
    repo_path: &str,
    passphrase: String,
    timeout: Option<Duration>,
)
Expand description

Store passphrase in cache with timeout SECURITY: Passphrase stored in Zeroizing wrapper for automatic memory clearing