Expand description
SSH public-key parsing and fingerprinting helpers.
Lives here (not in the daemon) so both the automation CLI
(nomisync ssh-key add --key-file …) and the eventual SSH daemon
compute fingerprints identically. Uses the ssh-key crate’s
OpenSSH wire format so the SHA-256 fingerprint matches
ssh-keygen -lf key.pub.
Structs§
- Parsed
Key - Parsed representation of an OpenSSH public key, ready to hand to
AddSshKey.
Enums§
Functions§
- parse_
authorized_ keys_ line - Parse a line in
authorized_keysformat (<type> <base64> [comment]). - parse_
public_ key_ file - Read and parse an OpenSSH public-key file (typically ending in
.pub).