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

Try SASL by default #624

Open
4e554c4c opened this issue Oct 21, 2024 · 0 comments
Open

Try SASL by default #624

4e554c4c opened this issue Oct 21, 2024 · 0 comments
Labels

Comments

@4e554c4c
Copy link
Contributor

SASL PLAIN should be tried by default before USER/PASS authentication, so that authentication can be completed pre-registration. Halloy could detect whether SASL is allowed by doing capability negotation, or by opening an initial connection to test caps before the main connection (this approach is taken by goguma).

This would be nice so that instead of a config like

[servers.foo]
...
[servers.foo.sasl.plain]
username = "..."
password = "..."

one could just do

[servers.foo]
username = "..."
password = "..."

SASL is required for several things, including soju.im/bouncer-networks (#77). So if we want people to be able to easily use this feature, we should make SASL easier to use

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

No branches or pull requests

2 participants