summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2017-11-24 22:20:32 +0100
committerClément Lassieur <clement@lassieur.org>2017-11-26 15:30:57 +0100
commite30038dae14d7cfb6372c44e9f4dfc96c205c29e (patch)
treebd0711283b91acf3102e2b998d5a35d21d679b71 /gnu
parent274b9500d1d204a06a610da304a61d5b27bcce3e (diff)
downloadguix-e30038dae14d7cfb6372c44e9f4dfc96c205c29e.tar.gz
services: prosody: Add support for disable-sasl-mechanisms.
* doc/guix.texi (Messaging Services): Update accordingly.
* gnu/services/messaging.scm (prosody-configuration)[disable-sasl-mechanisms]:
New field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/messaging.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index b66d6ddb96..c75c715850 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -391,6 +391,12 @@ using them.  See @url{http://prosody.im/doc/advanced_ssl_config}."
 See @url{http://prosody.im/doc/modules/mod_tls}."
      common)
 
+    (disable-sasl-mechanisms
+     (string-list '("DIGEST-MD5"))
+     "Set of mechanisms that will never be offered.  See
+@url{https://prosody.im/doc/modules/mod_saslauth}."
+     common)
+
     (s2s-require-encryption?
      (boolean #f)
      "Whether to force all server-to-server connections to be encrypted or not.