Skip to main content

write_identity_file

Function write_identity_file 

Source
pub fn write_identity_file(
    path: &Path,
    key: &SigningKey,
    comment: &str,
) -> Result<bool>
Expand description

Writes key as an unencrypted OpenSSH private key, byte for byte the same for the same key and comment. Returns false when the file already held it.