Skip to main content

SCRAM-SHA-256 and SCRAM-SHA-256-PLUS SASL Mechanisms
draft-hansen-scram-sha256-00

The information below is for an old version of the document.
Document Type
This is an older version of an Internet-Draft that was ultimately published as RFC 7677.
Author Tony Hansen
Last updated 2014-04-11
RFC stream (None)
Formats
Reviews
Additional resources
Stream Stream state (No stream defined)
Consensus boilerplate Unknown
RFC Editor Note (None)
IESG IESG state Became RFC 7677 (Proposed Standard)
Telechat date (None)
Responsible AD (None)
Send notices to (None)
draft-hansen-scram-sha256-00
Kitten                                                         T. Hansen
Internet-Draft                                         AT&T Laboratories
Updates: 5802 (if approved)                               April 11, 2014
Intended status: Informational
Expires: October 13, 2014

          SCRAM-SHA-256 and SCRAM-SHA-256-PLUS SASL Mechanisms
                      draft-hansen-scram-sha256-00

Abstract

   This document registers the SASL mechanisms SCRAM-SHA-256 and SCRAM-
   SHA-256-PLUS.  It also updates RFC 5802 in minor ways.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on October 13, 2014.

Copyright Notice

   Copyright (c) 2014 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Hansen                  Expires October 13, 2014                [Page 1]
Internet-Draft    SASL SCRAM-SHA-256/SCRAM-SHA-256-PLUS       April 2014

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  SCRAM-SHA-256 and SCRAM-SHA-256-PLUS  . . . . . . . . . . . .   2
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   3
   4.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   4
   5.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   4
     5.1.  Normative References  . . . . . . . . . . . . . . . . . .   4
     5.2.  Informative References  . . . . . . . . . . . . . . . . .   4
     5.3.  URIs  . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   4

1.  Introduction

   This document registers the SASL mechanisms SCRAM-SHA-256 and SCRAM-
   SHA-256-PLUS.

   The registration form for the SCRAM is also updated.

   Note: this paragraph may be removed before publication.
   This document was written because [RFC5802] requires that new SASL
   mechanisms in the SCRAM family be subject to IETF review.  This
   document is being discussed on the kitten@ietf.org [1] mailing list.

2.  SCRAM-SHA-256 and SCRAM-SHA-256-PLUS

   The SCRAM-SHA-256 and SCRAM-SHA-256-PLUS SASL mechanism are defined
   in the same way that SCRAM-SHA-1 and SCRAM-SHA-1-PLUS are defined in
   [RFC5802], except that the hash function for HMAC() and H() uses
   SHA-256 instead of SHA-1 [RFC6234].

   For the SCRAM-SHA-256/SCRAM-SHA-256-PLUS SASL mechanisms, servers
   SHOULD announce a hash iteration-count of at least 4096.
   !!!!!!!!!!!!!!!! Note that the appropriate value to specify here is
   being actively discussed. !!!!!!!!!!!!!!!!

   The GSS-API mechanism OID for SCRAM-SHA-256 is [to be assigned by
   IANA] (see Section 3).

   This is a simple example of a SCRAM-SHA-256 authentication exchange
   when the client doesn't support channel bindings (username 'user' and
   password 'pencil' are used):

   C: n,,n=user,r=rOprNGfwEbeRWgbNEkqO

   S: r=rOprNGfwEbeRWgbNEkqO%hvYDpWUa2RaTCAfuxFIlj)hNlF$k0,
      s=W22ZaJ0SNY7soEsUEjb6gQ==,i=4096

Hansen                  Expires October 13, 2014                [Page 2]
Internet-Draft    SASL SCRAM-SHA-256/SCRAM-SHA-256-PLUS       April 2014

   C: c=biws,r=rOprNGfwEbeRWgbNEkqO%hvYDpWUa2RaTCAfuxFIlj)hNlF$k0,
      p=dHzbZapWIk4jUhN+Ute9ytag9zjfMHgsqmmiz7AndVQ=

   S: v=6rriTRBi23WpRR/wtup+mMhUZUn/dB5nLTJRsjl95G4=

3.  IANA Considerations

   The IANA registry for the SCRAM family of SASL mechanisms is updated
   as follows:

      To: iana@iana.org
      Subject: Registration of a new SASL family SCRAM

      SASL mechanism name (or prefix for the family): SCRAM-*
      Security considerations: Section 7 of [RFC5802]
      Published specification (optional, recommended): [RFC5802]
      Person & email address to contact for further information: IETF
      KITTEN WG kitten@ietf.org
      Intended usage: COMMON
      Owner/Change controller: IESG iesg@ietf.org
      Note: Members of this family MUST be explicitly registered using
      the "IETF Review" [RFC5226] registration procedure.  Reviews MUST
      be requested on the KITTEN mailing list kitten@ietf.org (or a
      successor designated by the responsible Security AD).

      Note to future SCRAM-mechanism designers: each new SCRAM-SASL
      mechanism MUST be explicitly registered with IANA and MUST comply
      with SCRAM-mechanism naming convention defined in Section 4 of
      [RFC5802].

      IANA has added the following entries to the SASL Mechanism
      registry established by [RFC4422]:

      To: iana@iana.org
      Subject: Registration of a new SASL mechanism SCRAM-SHA-256

      SASL mechanism name (or prefix for the family): SCRAM-SHA-256
      Security considerations: Section 7 of [RFC5802]
      Published specification (optional, recommended): [RFC5802]
      Person & email address to contact for further information: IETF
      KITTEN WG kitten@ietf.org
      Intended usage: COMMON
      Owner/Change controller: IESG iesg@ietf.org
      Note:

      To: iana@iana.org
      Subject: Registration of a new SASL mechanism SCRAM-SHA-256-PLUS

Hansen                  Expires October 13, 2014                [Page 3]
Internet-Draft    SASL SCRAM-SHA-256/SCRAM-SHA-256-PLUS       April 2014

      SASL mechanism name (or prefix for the family): SCRAM-SHA-256-PLUS
      Security considerations: Section 7 of [RFC5802]
      Published specification (optional, recommended): [RFC5802]
      Person & email address to contact for further information: IETF
      KITTEN WG kitten@ietf.org
      Intended usage: COMMON
      Owner/Change controller: IESG iesg@ietf.org
      Note:

      IANA needs to assign a GSS-API mechanism OID for SCRAM-SHA-256
      from the iso.org.dod.internet.security.mechanisms prefix (see the
      "SMI Security for Mechanism Codes" registry).

4.  Acknowledgements

   This document benefited from discussions on the KITTEN WG mailing
   list.  The author would like to specially thank ...

5.  References

5.1.  Normative References

   [RFC5802]  Newman, C., Menon-Sen, A., Melnikov, A., and N. Williams,
              "Salted Challenge Response Authentication Mechanism
              (SCRAM) SASL and GSS-API Mechanisms", RFC 5802, July 2010.

   [RFC6234]  Eastlake, D. and T. Hansen, "US Secure Hash Algorithms
              (SHA and SHA-based HMAC and HKDF)", RFC 6234, May 2011.

5.2.  Informative References

   [RFC4422]  Melnikov, A. and K. Zeilenga, "Simple Authentication and
              Security Layer (SASL)", RFC 4422, June 2006.

   [RFC5226]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", BCP 26, RFC 5226,
              May 2008.

5.3.  URIs

   [1] mailto:kitten@ietf.org

Author's Address

Hansen                  Expires October 13, 2014                [Page 4]
Internet-Draft    SASL SCRAM-SHA-256/SCRAM-SHA-256-PLUS       April 2014

   Tony Hansen
   AT&T Laboratories
   200 Laurel Ave. South
   Middletown, NJ  07748
   USA

   Email: tony+scramsha256@maillennium.att.com

Hansen                  Expires October 13, 2014                [Page 5]