Skip to main content

public_algorithm

Function public_algorithm 

Source
pub fn public_algorithm(public_openssh: &str) -> Result<KeyAlgorithm, CoreError>
Expand description

The algorithm of an OpenSSH public key string. Used to validate a public-only entry on add --public-key and to detect a mismatched op.