Overview of ssh-key capabilities
masterThe ssh-key crate is a pure Rust implementation of SSH key file format decoders and encoders. It supports formats described in RFC4251, RFC4253, and OpenSSH's PROTOCOL.key specification.
Key capabilities include:
- Encoding/Decoding: OpenSSH public keys, private keys (
BEGIN OPENSSH PRIVATE KEY), certificates, and signatures (sshsig). - Certificates: Support for OpenSSH certificates, including validation and Certificate Authority (CA) functionality (builder/signer).
- File Formats: Parsing of
authorized_keysandknown_hostsfiles. - Security: Constant-time Base64 encoding/decoding,
zeroizesupport for private keys, and private key encryption/decryption (usingbcrypt-pbkdf+aes256-ctr). - Hardware Keys: Support for FIDO/U2F keys (
sk-*) as specified inPROTOCOL.u2f. - Environments: Supports
no_stdtargets, including a 'heapless' profile forno-allocenvironments.