aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/config')
-rw-r--r--src/mailman_pgp/config/mailman_pgp.cfg32
1 files changed, 18 insertions, 14 deletions
diff --git a/src/mailman_pgp/config/mailman_pgp.cfg b/src/mailman_pgp/config/mailman_pgp.cfg
index 2582929..1f0999a 100644
--- a/src/mailman_pgp/config/mailman_pgp.cfg
+++ b/src/mailman_pgp/config/mailman_pgp.cfg
@@ -24,7 +24,7 @@ url = sqlite:////$DATA_DIR/pgp.db
[keydirs]
# Key directory used to store user public keys.
-user_keydir= $DATA_DIR/pgp/user_keydir/
+user_keydir = $DATA_DIR/pgp/user_keydir/
# Key directory used to store list keypairs.
list_keydir = $DATA_DIR/pgp/list_keydir/
@@ -34,22 +34,26 @@ archive_keydir = $DATA_DIR/pgp/archive_keydir/
[keypairs]
-# Whether to autogenerate
+# Whether to autogenerate the list key on list creation.
autogenerate = yes
-# Length of primary list key.
-key_length = 4096
+# Type of primary list key and its size.
+# Format: type:size
+# type is one of:
+# RSA, DSA, ECDSA.
+# size is the key size or curve name for ECDSA, which can be one of:
+# nistp256, nistp384, nistp521, brainpoolP256r1, brainpoolP384r1,
+# brainpoolP512r1, secp256k1
+primary_key = RSA:4096
-# Type of primary list key.
-# One of RSA, DSA, ECDSA.
-key_type = RSA
-
-# Length of list encryption subkey.
-subkey_length = 4096
-
-# Type of list encryption subkey.
-# One of RSA, ECDH.
-subkey_type = RSA
+# Type of list encryption subkey and its size.
+# Format: type:size
+# type is one of:
+# RSA, ECDH
+# size is the key size or curve name for ECDH, which can be one of:
+# nistp256, nistp384, nistp521, brainpoolP256r1, brainpoolP384r1,
+# brainpoolP512r1, secp256k1
+sub_key = RSA:4096
[queues]