fingerprint_openssh_pubkey

Function fingerprint_openssh_pubkey 

Source
pub fn fingerprint_openssh_pubkey(
    line: &str,
) -> Result<String, OpenSshParseError>
Expand description

base64(SHA-256(raw_pubkey)) - same shape as the bootstrap-token’s expected_pubkey_fingerprint field. Accepts an OpenSSH pubkey line directly so callers don’t double-parse.