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

recommended default: advertise SCRAM #2032

Merged
merged 1 commit into from
Jan 15, 2023
Merged

Conversation

slingamn
Copy link
Member

cc @jwheare

IRCCloud attempts SCRAM-SHA-256 when it is advertised and does not fall back to PLAIN on failure. This will break authentication for accounts that were created on Ergo 2.7 or earlier, then never logged into again until the first time SCRAM-SHA-256 was advertised (because we only have bcrypt-based credentials and no SCRAM credentials). This is an unacceptable compatibility break, but it's also a weird enough edge case that IRCCloud will probably never fix it.

Compromise: make advertising it a recommended default, but require old servers to opt in explicitly. On a related note, SCRAM is bad and clients should not implement it.

Fixes #1782

@slingamn slingamn added the IRCv3 label Jan 11, 2023
@slingamn slingamn added this to the v2.12.0 milestone Jan 11, 2023
@slingamn slingamn merged commit b208797 into ergochat:master Jan 15, 2023
@Neustradamus
Copy link

@slingamn: Good job!

Linked to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

advertising SCRAM-SHA-256 breaks irccloud and possibly other clients
2 participants