ruby / net-imap

Ruby client api for Internet Message Access Protocol
https://ruby.github.io/net-imap
Other
49 stars 25 forks source link

πŸ”’ SASL DIGEST-MD5: realm, host, service_name, etc #284

Closed nevans closed 4 days ago

nevans commented 1 month ago

(This work in this commit was done about 18 months ago, as part of #78. In fact, the work done in this PR was used to guide the style of all of the new authenticators. I wasn't sure whether it was worth submitting as a PR, but for the sake of completeness: here it is.)


Yes, DIGEST-MD5 is deprecated! But that also means that it was lower risk for experimenting with other SASL changes. Its complexity vs most other mechanisms made it a good test-bed for the completeness of net-imap's SASL implementation. For example:

I improved the existing authenticator in several ways:

However... it's still deprecated, so don't use it! πŸ™ƒ