1 Commits

Author SHA1 Message Date
de17d2b2c0 Fix support for Anope >= Anope 2.1.12
Anope now rejects passwords too long for bcrypt to handle:
d460b267e3
2025-01-26 20:20:25 +01:00

View File

@ -82,7 +82,7 @@ class SaslTestCase(cases.BaseServerTestCase):
@cases.mark_specifications("IRCv3")
@cases.skipUnlessHasMechanism("PLAIN")
def testPlainNonAscii(self):
password = "é" * 100
password = "é" * 30
authstring = base64.b64encode(
b"\x00".join([b"foo", b"foo", password.encode()])
).decode()