Skip to main content

parse_authorized_keys_line

Function parse_authorized_keys_line 

Source
pub fn parse_authorized_keys_line(
    line: &str,
) -> Result<ParsedKey, SshKeyParseError>
Expand description

Parse a line in authorized_keys format (<type> <base64> [comment]).

ยงErrors

Returns SshKeyParseError::Parse when the input is not a valid OpenSSH public key.