Skip to content

Fix services error handling on AUTHENTICATE commands#175

Merged
spb merged 3 commits into
Libera-Chat:masterfrom
progval:invalid-sasl-username
Feb 8, 2026
Merged

Fix services error handling on AUTHENTICATE commands#175
spb merged 3 commits into
Libera-Chat:masterfrom
progval:invalid-sasl-username

Conversation

@progval
Copy link
Copy Markdown
Collaborator

@progval progval commented Jan 25, 2026

No description provided.

…ices

https://ircv3.net/specs/extensions/sasl-3.1 says: "ERR_SASLABORTED is sent when the SASL authentication is aborted because the client sent an AUTHENTICATE command with * as the parameter"
Previously, this returned a generic error to sable_ircd (which it does not know how to handle gracefully) and did not clean up the session state on the sable_services side

An example case where this is expected is when clients use an invalid nickname as authcid (eg. empty string), which caused this message to be returned: Ok(Error("Unknown error: Invalid value for Nickname: "))
Comment thread sable_services/src/server/command/sasl_commands.rs Outdated
@spb spb merged commit 920297a into Libera-Chat:master Feb 8, 2026
3 checks passed
@progval progval deleted the invalid-sasl-username branch February 8, 2026 13:58
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.

2 participants