mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 13:01:06 -05:00
Add as scram-sha-256 prefered SASL mechanism.
This commit is contained in:
parent
406369d53f
commit
5e2c2122aa
@ -430,8 +430,9 @@ def registerNetwork(name, password='', ssl=True, sasl_username='',
|
|||||||
The public key must be registered with NickServ for SASL
|
The public key must be registered with NickServ for SASL
|
||||||
ECDSA-NIST256P-CHALLENGE to work.""") % name, private=False))
|
ECDSA-NIST256P-CHALLENGE to work.""") % name, private=False))
|
||||||
registerGlobalValue(sasl, 'mechanisms', SpaceSeparatedListOfSaslMechanisms(
|
registerGlobalValue(sasl, 'mechanisms', SpaceSeparatedListOfSaslMechanisms(
|
||||||
['ecdsa-nist256p-challenge', 'external', 'plain'], _("""Determines
|
['scram-sha-256', 'external', 'ecdsa-nist256p-challenge', 'plain'],
|
||||||
what SASL mechanisms will be tried and in which order.""")))
|
_("""Determines what SASL mechanisms will be tried and in which order.
|
||||||
|
""")))
|
||||||
registerGlobalValue(sasl, 'required', registry.Boolean(False,
|
registerGlobalValue(sasl, 'required', registry.Boolean(False,
|
||||||
_("""Determines whether the bot will abort the connection if the
|
_("""Determines whether the bot will abort the connection if the
|
||||||
none of the enabled SASL mechanism succeeded.""")))
|
none of the enabled SASL mechanism succeeded.""")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user