nevans / net-sasl

Pluggable SASL mechanisms for ruby
MIT License
1 stars 1 forks source link

RFC6331: Moving DIGEST-MD5 to Historic #2

Open Neustradamus opened 2 years ago

Neustradamus commented 2 years ago

Dear @nevans,

In first, I wish you a Happy New Year!

20 November 2008: CRAM-MD5 to Historic:

29 June 2017: CRAM-MD5 to Historic:

July 2011: RFC6331: Moving DIGEST-MD5 to Historic:

August 2021: RFC9051: Internet Message Access Protocol (IMAP) - Version 4rev2: "Replaced DIGEST-MD5 SASL mechanism with SCRAM-SHA-256. DIGEST-MD5 was deprecated."

I add same about SCRAM-MD5.

There are now:

Soon:

nevans commented 2 years ago

100% Agreed. My plan is to keep this code in the repository, but not load it by default. In order to use it, users would need to do the following:

require "net/sasl/deprecated/cram-md5_authenticator"
require "net/sasl/deprecated/digest-md5_authenticator"
require "net/sasl/deprecated/login_authenticator"

Additionally a warning would be printed to $stderr when these mechanisms are loaded and every time they are used.