Skip to main content

ssh_ed25519_key_eq

Function ssh_ed25519_key_eq 

Source
pub fn ssh_ed25519_key_eq(a: &str, b: &str) -> bool
Expand description

Whether two strings name the same ssh-ed25519 key, ignoring any trailing comment. Both must be ssh-ed25519 <base64> [comment]; only the key type and base64 blob are compared. Needed because recipients may be stored with a comment while an identity’s pubkey_string() drops it.