diff options
| author | J08nY | 2017-08-10 02:43:41 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-10 02:43:41 +0200 |
| commit | dc30efedb9445dee5a04e53e356d8afde0f61e52 (patch) | |
| tree | feed841fd419cc8997a1a9a06a1e664759b0454a /src/mailman_pgp/commands/eml_key.py | |
| parent | c3aba5bef7652b9fad509ba52a795c119646fff7 (diff) | |
| download | mailman-pgp-dc30efedb9445dee5a04e53e356d8afde0f61e52.tar.gz mailman-pgp-dc30efedb9445dee5a04e53e356d8afde0f61e52.tar.zst mailman-pgp-dc30efedb9445dee5a04e53e356d8afde0f61e52.zip | |
Diffstat (limited to 'src/mailman_pgp/commands/eml_key.py')
| -rw-r--r-- | src/mailman_pgp/commands/eml_key.py | 6 |
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 |
