aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/model/list.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/model/list.py')
-rw-r--r--src/mailman_pgp/model/list.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman_pgp/model/list.py b/src/mailman_pgp/model/list.py
index da542de..0163026 100644
--- a/src/mailman_pgp/model/list.py
+++ b/src/mailman_pgp/model/list.py
@@ -57,6 +57,7 @@ class PGPMailingList(Base):
# Encryption related properties
nonencrypted_msg_action = Column(Enum(Action), default=Action.reject)
+ encrypt_outgoing = Column(Boolean, default=True)
def __init__(self, mlist):
super().__init__()
@@ -103,7 +104,8 @@ class PGPMailingList(Base):
def generate_key(self, block=False):
self._key = None
- self._key_generator = ListKeyGenerator(config.pgp.keypair_config,
+ self._key_generator = ListKeyGenerator(config.pgp.primary_key_args,
+ config.pgp.sub_key_args,
self.mlist.display_name,
self.mlist.posting_address,
self.mlist.request_address,