Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Blog
  • Credits
  • RSS
  •   Interaction
  • Register
  • Statistics
  •   Help
  • Suggestions
  • Contact Us
  • How to Edit
  • Help



  • [Edit]


    In cryptography, CRAM-MD5 is a challenge-response authentication mechanism
    (hence "CRAM") defined in RFC 2195 based on the
    HMAC-MD5 MAC
    algorithm. It is employed by some
    SASL
    implementations, and it is quite often supported
    by SMTP-AUTH Mail submission agents.


        CRAM-MD5
            Protocol
            History
            See also

    top

    Protocol
    In CRAM-MD5 authentication the server first sends
    a challenge string to the client. The client
    responds with a username followed by a space
    character and then a 16-byte
    digest in hexadecimal notation.
    The digest is the output of HMAC-MD5 with
    the user's password as the secret key, and the
    server's original challenge as the message. The
    server also calculates its own digest with its
    notion of the user's password, and if the client's
    digest and the server's digest match then
    authentication was successful.

    top

    History

    CRAM-MD5 was originally defined in RFC 2095, later
    obsoleted by RFC 2195. In practice it's the only
    allowed and supported SASL-mechanism for
    ESMTPA without
    Transport Layer Security (TLS). CRAM-MD5 is
    required for On-Demand Mail Relay (ODMR)
    defined in RFC 2645.

    The also often supported SASL-mechanism plain
    for ESMTPA is officially not allowed outside
    of secure connections (TLS, the successor of SSL),
    and mechanism login is no SASL-mechanism at
    all - both transport unencrypted passwords, the
    Base64 encoding is no encryption.

    The Internet Assigned Numbers Authority (IANA)
    maintains two registries relevant for CRAM-MD5:

      SASL-mechanisms incl. CRAM-MD5 for limited use, PLAIN, and DIGEST-MD5
      Mail transmission protocol types incl. ESMTP, ESMPTA, ESMTPS, and ESMTPSA

    ESMTPA stands for ESMTP with SMTP-AUTH, and
    ESMTP is SMTP
    with Service Extensions as defined in RFC 2821.
    ESMTPS is ESMTP over a secure connection. ESMTPSA
    is both ESMTPA and ESMTPS - that's a constellation
    where SASL-mechanism plain is allowed.

    John Klensin was the editor or co-author of
    among many others RFCs 2095, 2195, 2476,
    2645, 2821, and 4409.

    top

    See also
     
    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.39
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "CRAM-MD5". link