Skip to content

recommended default: advertise SCRAM#2032

Merged
slingamn merged 1 commit intoergochat:masterfrom
slingamn:scram.1
Jan 15, 2023
Merged

recommended default: advertise SCRAM#2032
slingamn merged 1 commit intoergochat:masterfrom
slingamn:scram.1

Conversation

@slingamn
Copy link
Copy Markdown
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
Copy Markdown

@slingamn: Good job!

Linked to:

@slingamn slingamn deleted the scram.1 branch January 28, 2025 07:29
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