Add binary OpenSSH KRL export

This commit is contained in:
Eric Wendland 2026-05-18 11:51:12 +02:00
commit b9e7c61e67
11 changed files with 209 additions and 20 deletions

View file

@ -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"),