aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/config
diff options
context:
space:
mode:
authorJ08nY2017-08-10 20:48:24 +0200
committerJ08nY2017-08-10 20:48:24 +0200
commitfc2ef7bf00a540b335ed6d75e7684e717774bfcf (patch)
tree6bc2003a36bac8c72c03575a870342cb30b77fcd /src/mailman_pgp/config
parenta973479205cec0d5fbf162030906ce405b3698b2 (diff)
downloadmailman-pgp-fc2ef7bf00a540b335ed6d75e7684e717774bfcf.tar.gz
mailman-pgp-fc2ef7bf00a540b335ed6d75e7684e717774bfcf.tar.zst
mailman-pgp-fc2ef7bf00a540b335ed6d75e7684e717774bfcf.zip
Diffstat (limited to 'src/mailman_pgp/config')
-rw-r--r--src/mailman_pgp/config/mailman_pgp.cfg7
-rw-r--r--src/mailman_pgp/config/schema.cfg4
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mailman_pgp/config/mailman_pgp.cfg b/src/mailman_pgp/config/mailman_pgp.cfg
index 6a65ad9..756d16e 100644
--- a/src/mailman_pgp/config/mailman_pgp.cfg
+++ b/src/mailman_pgp/config/mailman_pgp.cfg
@@ -86,3 +86,10 @@ in: in_default
[misc]
# The lifetime for `key change` request confirmation.
change_request_lifetime: 1d
+
+
+[rest]
+# Allow the acessing/modification of a list private key through the REST API?
+# This is necessary for the django-pgpmailman web ui to allow a list owner
+# to change/export the list private key.
+expose_private_key: yes \ No newline at end of file
diff --git a/src/mailman_pgp/config/schema.cfg b/src/mailman_pgp/config/schema.cfg
index 9967485..92c3f1a 100644
--- a/src/mailman_pgp/config/schema.cfg
+++ b/src/mailman_pgp/config/schema.cfg
@@ -54,3 +54,7 @@ in: str
[misc]
change_request_lifetime: lazr.config.as_timedelta
+
+
+[rest]
+expose_private_key: lazr.config.as_boolean \ No newline at end of file