diff options
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/commands/decrypt.rs | 2 | ||||
-rw-r--r-- | tool/src/commands/inspect.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs index 48b14e46..9906b583 100644 --- a/tool/src/commands/decrypt.rs +++ b/tool/src/commands/decrypt.rs @@ -58,7 +58,7 @@ impl<'a> Helper<'a> { None => format!("{}", tsk.fingerprint().to_keyid()), }; - if can_encrypt(tsk.primary().key(), tsk.primary_key_signature()) { + if can_encrypt(tsk.primary().key(), tsk.primary_key_signature(None)) { let id = tsk.fingerprint().to_keyid(); keys.insert(id.clone(), tsk.primary().key().clone().into()); identities.insert(id.clone(), tsk.fingerprint()); diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index 95fd07fa..bec79b1d 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -131,7 +131,7 @@ fn inspect_tpk(output: &mut io::Write, tpk: &openpgp::TPK, writeln!(output)?; writeln!(output, " Fingerprint: {}", tpk.fingerprint())?; inspect_revocation(output, "", tpk.revocation_status())?; - inspect_key(output, "", tpk.primary().key(), tpk.primary_key_signature(), + inspect_key(output, "", tpk.primary().key(), tpk.primary_key_signature(None), tpk.primary().certifications(), print_keygrips, print_certifications)?; writeln!(output)?; |