Skip to content

Commit

Permalink
Add documentation for ssh key export format
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Oct 1, 2024
1 parent eac218c commit b6723e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bitwarden-exporters/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ pub struct Identity {
}

pub struct SshKey {
/// Ssh private key (ed25519/rsa) in unencrypted openssh private key format https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key
pub private_key: Option<String>,
/// Ssh public key (ed25519/rsa) according to RFC4253 https://datatracker.ietf.org/doc/html/rfc4253#section-6.6
pub public_key: Option<String>,
/// Ssh fingerprint using SHA256 in the format: SHA256:BASE64_ENCODED_FINGERPRINT
pub fingerprint: Option<String>,
}

0 comments on commit b6723e5

Please sign in to comment.