diff --git a/src/commands/pki/certify.rs b/src/commands/pki/certify.rs index ec170fc7..ac8bec9c 100644 --- a/src/commands/pki/certify.rs +++ b/src/commands/pki/certify.rs @@ -30,7 +30,7 @@ pub fn certify(sq: Sq, c: certify::Command) // XXX: Change this interface: it's dangerous to guess whether an // identifier is a file or a key handle. let cert = if let Ok(kh) = cert.parse::() { - sq.lookup_one(&kh, Some(KeyFlags::empty().set_certification()), true)? + sq.lookup_one(&kh, None, true)? } else { Cert::from_file(cert)? };