Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable SASL PLAIN authentication #16

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

Dunedan
Copy link
Collaborator

@Dunedan Dunedan commented Dec 7, 2023

This disables the PLAIN mechanism for SASL authentication which would transmit a users password as plain text during. Instead only the SCRAM-SHA-1 and SCRAM-SHA-1-PLUS mechanisms are supported now.

As SCRAM-SHA1 and SCRAM-SHA1-PLUS are mandatory to be supported by XMPP clients and servers and were prioritised higher than the PLAIN mechansim in the preference order by ejabberd before, this doesn't change how XMPP clients connect, but avoids unintentional use of the PLAIN mechanism in rare circumstances.

Please note that these changes only affect authentication of registered users. During inband registration the password is still submitted in plain text.

This disables the PLAIN mechanism for SASL authentication which would
transmit a users password as plain text during. Instead only the
SCRAM-SHA-1 and SCRAM-SHA-1-PLUS mechanisms are supported now.

As SCRAM-SHA1 and SCRAM-SHA1-PLUS are mandatory to be supported by XMPP
clients and servers and were prioritised higher than the PLAIN mechansim
in the preference order by ejabberd before, this doesn't change how XMPP
clients connect, but avoids unintentional use of the PLAIN mechanism in
rare circumstances.

Please note that these changes only affect authentication of registered
users. During inband registration the password is still submitted in
plain text.
@Dunedan Dunedan merged commit 5962e41 into 0ad:master Dec 11, 2023
1 check passed
@Dunedan Dunedan deleted the disable-sasl-plain-auth branch December 11, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant