Expand description
§RustCrypto: SSH Protocol
§About
Pure Rust implementation of the SSH protocol as described in RFC4251/RFC4253 as well as OpenSSH-specific extensions (WIP).
Enable the mlkem768x25519-sha256 feature for the hybrid ML-KEM-768 and X25519 key exchange
described in RFC 10042. It works with default features disabled and requires no allocator.
§License
Licensed under either of:
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Re-exports§
pub use ssh_cipher;pub use ssh_encoding;pub use ssh_key;
Modules§
- kex
- SSH transport key exchange methods.
Structs§
- Certificate
alloc - OpenSSH certificate as specified in draft-ietf-sshm-cert.
- Decoder
- Decoder for SSH protocol data types over a byte
Reader. - Private
Key - SSH private key.
- Public
Key - SSH public key.
- Signature
alloc - Low-level digital signature (e.g. DSA, ECDSA, Ed25519).
Enums§
- Algorithm
- SSH key algorithms, i.e. digital signature algorithms used with SSH private/public keys.
- Cipher
- Cipher algorithms.
- Fingerprint
- SSH public key fingerprints.
- HashAlg
- Hashing algorithms a.k.a. digest functions.
- Kdf
- Key Derivation Functions (KDF).
- KdfAlg
- Key Derivation Function (KDF) algorithms.
Traits§
- Decode
- Decoding trait.
- Encode
- Encoding trait.
- Reader
- Byte reader for raw or incrementally decoded input.
- Writer
- Writer trait which encodes the SSH binary format to various output encodings.