diff options
Diffstat (limited to 'src/mailman_pgp/mta/bulk.py')
| -rw-r--r-- | src/mailman_pgp/mta/bulk.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman_pgp/mta/bulk.py b/src/mailman_pgp/mta/bulk.py index a2cc8c6..a01b5a7 100644 --- a/src/mailman_pgp/mta/bulk.py +++ b/src/mailman_pgp/mta/bulk.py @@ -97,6 +97,8 @@ class PGPBulkMixin: else: out = wrapped.sign(pgp_list.key) else: + # Definitely encrypt here, the case where we don't encrypt or sign + # is handled above at the start of the func. out = wrapped.encrypt(pgp_list.pubkey, *keys, throw_keyid=True) overwrite_message(out, msg) |
