File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
crates/bitwarden-exporters/src Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ pub struct Identity {
137
137
138
138
pub struct SshKey {
139
139
/// [OpenSSH private key](https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key), in PEM encoding.
140
- pub private_key : Option < String > ,
140
+ pub private_key : String ,
141
141
/// Ssh public key (ed25519/rsa) according to [RFC4253](https://datatracker.ietf.org/doc/html/rfc4253#section-6.6)
142
- pub public_key : Option < String > ,
142
+ pub public_key : String ,
143
143
/// SSH fingerprint using SHA256 in the format: `SHA256:BASE64_ENCODED_FINGERPRINT`
144
- pub fingerprint : Option < String > ,
144
+ pub fingerprint : String ,
145
145
}
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ impl TryFrom<CipherView> for crate::Cipher {
77
77
CipherType :: SshKey => {
78
78
let s = require ! ( value. ssh_key) ;
79
79
crate :: CipherType :: SshKey ( Box :: new ( crate :: SshKey {
80
- private_key : Some ( s. private_key ) ,
81
- public_key : Some ( s. public_key ) ,
82
- fingerprint : Some ( s. fingerprint ) ,
80
+ private_key : s. private_key ,
81
+ public_key : s. public_key ,
82
+ fingerprint : s. fingerprint ,
83
83
} ) )
84
84
}
85
85
} ;
You can’t perform that action at this time.
0 commit comments