CRAM-MD5 SASL Mechanism

Overview#

CRAM-MD5 SASL Mechanism is a SASL Authentication Method that provides a way for users to authenticate to the server using a password in a manner that does not expose the password itself.

CRAM-MD5 SASL Mechanism is similar to, but weaker than the DIGEST-MD5 SASL Mechanism and doesn't provide any way for ensuring connection integrity or confidentiality.

The CRAM-MD5 SASL Mechanism that provides a way for clients to Authentication to the Directory Server with a username and Password in a manner that does not expose the clear-text password, so it is significantly safer than Simple Authentication or the PLAIN SASL Mechanism when the connection between the client and the server is not secure.

The CRAM-MD5 SASL Mechanism is described in the RFC 2195. The process is as follows:

The CRAM-MD5 SASL Mechanism is very similar to DIGEST-MD5 SASL Mechanism, but it is somewhat weaker because CRAM-MD5 only includes random data from the server whereas DIGEST-MD5 includes random data from both the client and the server. DIGEST-MD5 also provides a provision for ensuring connection integrity and/or confidentiality, which CRAM-MD5 does not offer.

More Information#

There might be more information for this subject on one of the following: