Skip to content

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Nov 21, 2022

NOTE: This PR started as a big rough-draft for many of the other PRs listed below. Rather than close the PR and create a new tracking issue, I've been keeping the branch around as a set of experimental implementations for some of the TODO list items, while cherry-picking parts of it into their own PRs when they are ready.

@nevans nevans requested review from hsbt and shugo November 21, 2022 17:44
@nevans
Copy link
Collaborator Author

nevans commented Nov 21, 2022

n.b this PR is currently based on #70, #71, #72, #73, #74, #75, and #76. I can rebase part of all of this on master, but I think those will be merged before this is.

Also, it's currently failing 2.6, because I used some numbered parameters in a few places. As discussed on #68, we can remove support for 2.6.

@Neustradamus
Copy link

@nevans: Good job!

@nevans nevans changed the base branch from docs-etc to docs December 1, 2022 22:27
@nevans nevans force-pushed the sasl-sasl-sasl branch 2 times, most recently from 87a0365 to 26b4d74 Compare December 1, 2022 23:29
@nevans nevans deleted the branch master December 20, 2022 17:36
@nevans nevans closed this Dec 20, 2022
@nevans nevans reopened this Dec 20, 2022
@nevans nevans changed the base branch from docs to client-docs December 20, 2022 19:49
nevans added a commit that referenced this pull request Dec 21, 2022
The documentation on these methods is meant to complement a new
SASL::Authenticator base class and new documentation on each of the
individual authenticator classes.  See #78 and #82.

That base class is added in another PR (#78), but the documentation for
these methods can be updated without it.

Also, somehow I misremembered `LOGINDISABLED`: it only applies to
`LOGIN`, not `AUTHENTICATE`!  This fixes that error.
Base automatically changed from client-docs to master December 22, 2022 15:05
@Neustradamus
Copy link

@nevans: Happy New Year!

Little question, have you a timeline?

@nevans nevans added the SASL 🔒 Authentication and authentication mechanisms label Feb 12, 2023
@nevans nevans force-pushed the sasl-sasl-sasl branch 2 times, most recently from 078ea33 to fd56ca3 Compare June 13, 2023 22:35
@nevans nevans force-pushed the sasl-sasl-sasl branch 2 times, most recently from 43180a5 to 1a8deb3 Compare July 29, 2023 14:54
@Neustradamus
Copy link

@nevans: I think that you can remove CRAM-MD5, DIGEST-MD5, LOGIN from all.

@nevans nevans force-pushed the sasl-sasl-sasl branch 3 times, most recently from 3076a03 to 0af0c6d Compare September 13, 2023 12:56
@nevans nevans force-pushed the sasl-sasl-sasl branch 4 times, most recently from 52c19d6 to de7fea5 Compare September 25, 2023 13:01
@nevans nevans force-pushed the sasl-sasl-sasl branch 2 times, most recently from efcfcf4 to 9222f15 Compare September 26, 2023 06:44
@nevans nevans force-pushed the sasl-sasl-sasl branch 2 times, most recently from 9a837d7 to b398b46 Compare June 22, 2024 16:08
@Neustradamus
Copy link

@nevans: Thanks to work on this important part!

I hope that this part can be official soon ^^

@nevans
Copy link
Collaborator Author

nevans commented Oct 13, 2024

@Neustradamus the majority of this was split off into other PRs and released with v0.4.0 (or later releases) a little over a year ago.

@Neustradamus
Copy link

@nevans: Yes yes but not all yet and net-sasl has not been updated yet too...

These are further changes I made while working on the SASL
authenticators that never got merged...

However... it's still deprecated, so don't use it! 🙃
The question is: do we even want to this?
@Neustradamus
Copy link

@nevans: Good job but net-sasl has not been updated:

Where is the code?

@nevans
Copy link
Collaborator Author

nevans commented Dec 17, 2024

@Neustradamus This PR was for net-imap. Every significant piece of code that was originally in this PR has already been merged, and is available from Net::IMAP::SASL.

I'd like to sync net-sasl with the current net-imap sometime early next year. Currently, that gem is basically just a preliminary experiment, so I haven't prioritized it. But if you want to make an issue on that repo, I'll update it when it's done.

In the meantime, net-imap is bundled with ruby, and the Net::IMAP::SASL API is stable (with a few minor exceptions, which should be documented). If and when net-sasl is updated, there should be little to no functional difference between Net::SASL and Net::IMAP::SASL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SASL 🔒 Authentication and authentication mechanisms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants