Add binary OpenSSH KRL export
This commit is contained in:
parent
5751748458
commit
b9e7c61e67
11 changed files with 209 additions and 20 deletions
|
|
@ -147,6 +147,7 @@ pub enum ControlRequest {
|
|||
SshRevocationExport {
|
||||
out: PathBuf,
|
||||
format: String,
|
||||
ca_public: Option<PathBuf>,
|
||||
},
|
||||
DbAdd {
|
||||
name: String,
|
||||
|
|
@ -469,6 +470,7 @@ mod tests {
|
|||
let request = ControlRequest::SshRevocationExport {
|
||||
out: PathBuf::from("revocations.krl-spec"),
|
||||
format: "openssh-krl-spec".to_owned(),
|
||||
ca_public: None,
|
||||
};
|
||||
assert_eq!(
|
||||
decode_request(&encode_request(&request).expect("encode")).expect("decode"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue