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

βœ¨πŸ”’ Add SASL-IR support #90

Merged
merged 2 commits into from
Aug 5, 2023
Merged

βœ¨πŸ”’ Add SASL-IR support #90

merged 2 commits into from
Aug 5, 2023

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Dec 21, 2022

Fixes #34.

I decided to enable SASL-IR by default. Because it checks server capabilities (both capable?("SASL-IR") #auth_capable?(mechanism)), this should be safe.

This is the first command in Net::IMAP to change its behavior based on #capabilities (but not the last).

@nevans nevans changed the title Add SASL-IR support βœ¨πŸ”’ Add SASL-IR support Dec 23, 2022
Base automatically changed from require-2.7.3 to master January 6, 2023 22:02
@nevans nevans added the SASL πŸ”’ Authentication and authentication mechanisms label Feb 12, 2023
@nevans nevans force-pushed the sasl-ir branch 6 times, most recently from 637c62e to 9eca34f Compare July 29, 2023 15:03
I decided to enable SASL-IR by default.  Because we check server
capabilities (including #auth_capable?), this should be safe.  This is
the first (but not the last) command in Net::IMAP that changes its
behavior based on #capabilities.
I haven't reproduced these eriors locally!  But they occur regularly in
CI.  Perhaps there is a race condition?
@nevans nevans marked this pull request as ready for review August 5, 2023 02:41
@nevans nevans merged commit 92dabbb into master Aug 5, 2023
@nevans nevans deleted the sasl-ir branch August 5, 2023 02:50
@nevans nevans added the IMAP4rev2 Requirement for IMAP4rev2, RFC9051 label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IMAP4rev2 Requirement for IMAP4rev2, RFC9051 SASL πŸ”’ Authentication and authentication mechanisms
Development

Successfully merging this pull request may close these issues.

RFC4959 (2007): SASL-IR (included in IMAP4rev2)
1 participant