summaryrefslogtreecommitdiff
path: root/src/mailman_pgp/commands/eml_key.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/commands/eml_key.py')
-rw-r--r--src/mailman_pgp/commands/eml_key.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman_pgp/commands/eml_key.py b/src/mailman_pgp/commands/eml_key.py
index 9c2de81..a298ea7 100644
--- a/src/mailman_pgp/commands/eml_key.py
+++ b/src/mailman_pgp/commands/eml_key.py
@@ -409,7 +409,7 @@ def _cmd_sign(pgp_list, mlist, msg, msgdata, arguments, results):
print('You are not allowed to sign the list key.', file=results)
return ContinueProcessing.no
- if pgp_list.key.key_material != key.key_material:
+ if pgp_list.pubkey.key_material != key.key_material:
print('You sent a wrong key.', file=results)
return ContinueProcessing.no
@@ -440,10 +440,10 @@ def _cmd_sign(pgp_list, mlist, msg, msgdata, arguments, results):
print('No new certifications found.', file=results)
return ContinueProcessing.no
- for uid, sigs in uid_sigs.values():
+ for uid, sigs in uid_sigs.items():
for sig in sigs:
uid |= sig
- pgp_list.key.fs_key.save()
+ pgp_list.fs_key.save()
print('List key updated with new signatures.', file=results)
return ContinueProcessing.yes