irctest.server_tests.sasl

RegistrationTestCase

bahamut
bahamut-anope
bahamut-atheme
charybdis
ergo
hybrid
inspircd
inspircd-anope
inspircd-atheme
irc2
ircu2
nefarious
ngircd
ngircd-anope
ngircd-atheme
plexus4
sable
solanum
unrealircd
unrealircd-5
unrealircd-anope
unrealircd-atheme
testRegistrationd.....d..dddd.....dd..

SaslTestCase

bahamut
bahamut-anope
bahamut-atheme
charybdis
ergo
hybrid
inspircd
inspircd-anope
inspircd-atheme
irc2
ircu2
nefarious
ngircd
ngircd-anope
ngircd-atheme
plexus4
sable
solanum
unrealircd
unrealircd-5
unrealircd-anope
unrealircd-atheme
testMechanismNotAvailable
“If authentication fails, a 904 or 905 numeric will be sent”

-- <http://ircv3.net/specs/extensions/sasl-3.1.html#the-authenticate-command>

ddd..sd..ddddsss..dd..
testPlain

PLAIN authentication with correct username/password.

ddd..sd..ddddsss..dd..
testPlainFailure

PLAIN authentication with incorrect username/password.

ddd..sd..ddddsss..dd..
testPlainLarge
Test the client splits large AUTHENTICATE messages whose payload

is not a multiple of 400. <http://ircv3.net/specs/extensions/sasl-3.1.html#the-authenticate-command>

ddds.sd.sddddsss.sdd.s
testPlainLargeEquals400
Test the client splits large AUTHENTICATE messages whose payload

is not a multiple of 400. <http://ircv3.net/specs/extensions/sasl-3.1.html#the-authenticate-command>

ddds.sd.sddddsss.sdd.s
testPlainNoAuthzid

“message = [authzid] UTF8NUL authcid UTF8NUL passwd

[…]

Upon receipt of the message, the server will verify the presented (in the message) authentication identity (authcid) and password (passwd) with the system authentication database, and it will verify that the authentication credentials permit the client to act as the (presented or derived) authorization identity (authzid). If both steps succeed, the user is authenticated.

[…]

When no authorization identity is provided, the server derives an authorization identity from the prepared representation of the provided authentication identity string. This ensures that the derivation of different representations of the authentication identity produces the same authorization identity.” -- <https://tools.ietf.org/html/rfc4616#section-2>

ddd..sd..ddddsss..dd..
testPlainNonAsciiddd..sd..ddddsss..dd..
testScramSha256Failureddds.sdssddddsssssddss
testScramSha256Successddds.sdssddddsssssddss