From 5e2c2122aaa1a76ea52485aea3976ab315682b44 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 31 Jul 2021 11:40:28 +0200 Subject: [PATCH] Add as scram-sha-256 prefered SASL mechanism. --- src/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/conf.py b/src/conf.py index a384a4b0c..8f61bd544 100644 --- a/src/conf.py +++ b/src/conf.py @@ -430,8 +430,9 @@ def registerNetwork(name, password='', ssl=True, sasl_username='', The public key must be registered with NickServ for SASL ECDSA-NIST256P-CHALLENGE to work.""") % name, private=False)) registerGlobalValue(sasl, 'mechanisms', SpaceSeparatedListOfSaslMechanisms( - ['ecdsa-nist256p-challenge', 'external', 'plain'], _("""Determines - what SASL mechanisms will be tried and in which order."""))) + ['scram-sha-256', 'external', 'ecdsa-nist256p-challenge', 'plain'], + _("""Determines what SASL mechanisms will be tried and in which order. + """))) registerGlobalValue(sasl, 'required', registry.Boolean(False, _("""Determines whether the bot will abort the connection if the none of the enabled SASL mechanism succeeded.""")))