diff options
| author | J08nY | 2017-08-10 18:32:22 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-10 18:32:22 +0200 |
| commit | a973479205cec0d5fbf162030906ce405b3698b2 (patch) | |
| tree | a4b84cdc6988ab953ba6f99dae9f920d3522c39f /src/mailman_pgp/config | |
| parent | 5fc418fe1be80e1fe8170919c0caf1dae63d4275 (diff) | |
| download | mailman-pgp-a973479205cec0d5fbf162030906ce405b3698b2.tar.gz mailman-pgp-a973479205cec0d5fbf162030906ce405b3698b2.tar.zst mailman-pgp-a973479205cec0d5fbf162030906ce405b3698b2.zip | |
Diffstat (limited to 'src/mailman_pgp/config')
| -rw-r--r-- | src/mailman_pgp/config/mailman_pgp.cfg | 13 | ||||
| -rw-r--r-- | src/mailman_pgp/config/schema.cfg | 4 |
2 files changed, 16 insertions, 1 deletions
diff --git a/src/mailman_pgp/config/mailman_pgp.cfg b/src/mailman_pgp/config/mailman_pgp.cfg index 0828b3d..6a65ad9 100644 --- a/src/mailman_pgp/config/mailman_pgp.cfg +++ b/src/mailman_pgp/config/mailman_pgp.cfg @@ -63,9 +63,20 @@ primary_key: RSA:4096 # brainpoolP512r1, secp256k1 sub_key: RSA:4096 -# Shred keys on list deletion? +# Shred keypair on list deletion? Shredding tries to securely erase the file +# by overwriting it with random data many times. Will be only performed if +# the `delete` option is also set to yes. shred: yes +# A command, that is run when shredding the list key (if shred is set). +# It is passed the list key path as an argument. +# If empty, mailman-pgp will try to shred the listkey itself. +# Some Linux distributions provide the `shred` command from GNU coreutils, or +# similar. +shred_command: + +# Delete list keypair on list deletion? +delete: yes [queues] # The queue to which processed incoming messages are passed. diff --git a/src/mailman_pgp/config/schema.cfg b/src/mailman_pgp/config/schema.cfg index feed0b6..9967485 100644 --- a/src/mailman_pgp/config/schema.cfg +++ b/src/mailman_pgp/config/schema.cfg @@ -43,6 +43,10 @@ sub_key: (RSA:\d{3,4}|ECDH:(nistp256|nistp384|nistp521|brainpoolP256r1|brainpool shred: lazr.config.as_boolean +shred_command: mailman_pgp.utils.config.expandable_str + +delete: lazr.config.as_boolean + [queues] in: str |
