Skip to main content

load_or_create_key

Function load_or_create_key 

Source
pub fn load_or_create_key(path: &Path) -> CliResult<Zeroizing<String>>
Expand description

Reads the private key in path, creating a random one (mode 0600) on first use.