summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/decrypt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src/commands/decrypt.rs')
-rw-r--r--tool/src/commands/decrypt.rs2
1 files changed, 1 insertions, 1 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());