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

🔒 Enforce LOGINDISABLED requirement #307

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Jun 27, 2024

This may be considered a "breaking change", but it should have no negative effect on well behaved servers. This should merely change a NoResponseError into a LoginDisabledError.

However, some broken servers have been known to hang indefinitely when issued a CAPABILITY command prior to authentication. To workaround the limitations of those servers, we offer the enforce_logindisabled config option.

Fixes #32.

@nevans nevans force-pushed the enforce_logindisabled branch 2 times, most recently from ad3e0fa to 9bf5338 Compare June 27, 2024 02:59
@nevans nevans added this to the v0.5 milestone Jun 27, 2024
This may be considered a "breaking change", but it should have no
negative effect on well behaved servers.  This should merely change a
NoResponseError into a LoginDisabledError.

However, some broken servers have been known to hang indefinitely when
issued a `CAPABILITY` command prior to authentication.  For those
servers, we offer the `enforce_logindisabled` config option.

Fixes #32.
@nevans nevans force-pushed the enforce_logindisabled branch from 9bf5338 to 8316d44 Compare June 27, 2024 03:49
@nevans nevans merged commit 8e9a213 into master Jun 28, 2024
18 checks passed
@nevans nevans deleted the enforce_logindisabled branch June 28, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

LOGINDISABLED capability: MUST not allow LOGIN
1 participant