4785
PROPOSED STANDARD

Pre-Shared Key (PSK) Ciphersuites with NULL Encryption for Transport Layer Security (TLS)

Authors: U. Blumenthal, P. Goel
Date: January 2007
Area: sec
Working Group: tls
Stream: IETF
Updated by: RFC 8996

Abstract

This document specifies authentication-only ciphersuites (with no encryption) for the Pre-Shared Key (PSK) based Transport Layer Security (TLS) protocol. These ciphersuites are useful when authentication and integrity protection is desired, but confidentiality is not needed or not permitted. [STANDARDS-TRACK]

RFC 4785: Pre-Shared Key (PSK) Ciphersuites with NULL Encryption for Transport Layer Security (TLS) [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

PROPOSED STANDARD
Updated by: 8996
Network Working Group                                      U. Blumenthal
Request for Comments: 4785                                       P. Goel
Category: Standards Track                              Intel Corporation
                                                            January 2007


      <span class="h1">Pre-Shared Key (PSK) Ciphersuites with NULL Encryption for</span>
                    <span class="h1">Transport Layer Security (TLS)</span>


Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The IETF Trust (2007).

Abstract

   This document specifies authentication-only ciphersuites (with no
   encryption) for the Pre-Shared Key (PSK) based Transport Layer
   Security (TLS) protocol.  These ciphersuites are useful when
   authentication and integrity protection is desired, but
   confidentiality is not needed or not permitted.

Table of Contents

   <a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
      <a href="#section-1.1">1.1</a>. Applicability Statement ....................................<a href="#page-2">2</a>
   <a href="#section-2">2</a>. Conventions Used in This Document ...............................<a href="#page-2">2</a>
   <a href="#section-3">3</a>. Cipher Usage ....................................................<a href="#page-3">3</a>
   <a href="#section-4">4</a>. Security Considerations .........................................<a href="#page-3">3</a>
   <a href="#section-5">5</a>. IANA Considerations .............................................<a href="#page-3">3</a>
   <a href="#section-6">6</a>. Acknowledgments .................................................<a href="#page-3">3</a>
   <a href="#section-7">7</a>. References ......................................................<a href="#page-4">4</a>
      <a href="#section-7.1">7.1</a>. Normative References .......................................<a href="#page-4">4</a>
      <a href="#section-7.2">7.2</a>. Informative References .....................................<a href="#page-4">4</a>









<span class="grey">Blumenthal & Goel           Standards Track                     [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc4785">RFC 4785</a>        PSK NULL Encryption Ciphersuites for TLS    January 2007</span>


<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   The RFC for Pre-Shared Key (PSK) based Transport Layer Security (TLS)
   [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>] specifies ciphersuites for supporting TLS using pre-shared
   symmetric keys.  However, all the ciphersuites defined in [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>]
   require encryption.  However there are cases when only authentication
   and integrity protection is required, and confidentiality is not
   needed.  There are also cases when confidentiality is not permitted -
   e.g., for implementations that must meet import restrictions in some
   countries.  Even though no encryption is used, these ciphersuites
   support authentication of the client and server to each other, and
   message integrity.  This document augments [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>] by adding three
   more ciphersuites (PSK, DHE_PSK, RSA_PSK) with authentication and
   integrity only - no encryption.  The reader is expected to become
   familiar with [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>] standards prior to studying this document.

<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>.  Applicability Statement</span>

   The ciphersuites defined in this document are intended for a rather
   limited set of applications, usually involving only a very small
   number of clients and servers.  Even in such environments, other
   alternatives may be more appropriate.

   If the main goal is to avoid Public-key Infrastructures (PKIs),
   another possibility worth considering is using self-signed
   certificates with public key fingerprints.  Instead of manually
   configuring a shared secret in, for instance, some configuration
   file, a fingerprint (hash) of the other party's public key (or
   certificate) could be placed there instead.

   It is also possible to use the Secure Remote Password (SRP)
   ciphersuites for shared secret authentication [<a href="#ref-SRP" title=""Using SRP for TLS Authentication"">SRP</a>].  SRP was
   designed to be used with passwords, and it incorporates protection
   against dictionary attacks.  However, it is computationally more
   expensive than the PSK ciphersuites in [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>].

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  Conventions Used in This Document</span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].










<span class="grey">Blumenthal & Goel           Standards Track                     [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc4785">RFC 4785</a>        PSK NULL Encryption Ciphersuites for TLS    January 2007</span>


<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>.  Cipher Usage</span>

   The three new ciphersuites proposed here match the three cipher
   suites defined in [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>], except that we define suites with null
   encryption.

   The ciphersuites defined here use the following options for key
   exchange and hash part of the protocol:

   CipherSuite                     Key Exchange   Cipher      Hash

   TLS_PSK_WITH_NULL_SHA           PSK            NULL        SHA
   TLS_DHE_PSK_WITH_NULL_SHA       DHE_PSK        NULL        SHA
   TLS_RSA_PSK_WITH_NULL_SHA       RSA_PSK        NULL        SHA

   For the meaning of the terms PSK, please refer to <a href="#section-1">section 1</a> in [TLS-
   PSK].  For the meaning of the terms DHE, RSA, and SHA, please refer
   to appendixes A.5 and B in [<a href="#ref-TLS" title=""The Transport Layer Security (TLS) Protocol Version 1.1"">TLS</a>].

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Security Considerations</span>

   As with all schemes involving shared keys, special care should be
   taken to protect the shared values and to limit their exposure over
   time.  As this document augments [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>], everything stated in its
   Security Consideration section applies here.  In addition, as cipher
   suites defined here do not support confidentiality, care should be
   taken not to send sensitive information (such as passwords) over
   connections protected with one of the ciphersuites defined in this
   document.

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  IANA Considerations</span>

   This document defines three new ciphersuites whose values are in the
   TLS Cipher Suite registry defined in [<a href="#ref-TLS" title=""The Transport Layer Security (TLS) Protocol Version 1.1"">TLS</a>].

   CipherSuite   TLS_PSK_WITH_NULL_SHA      = { 0x00, 0x2C };
   CipherSuite   TLS_DHE_PSK_WITH_NULL_SHA  = { 0x00, 0x2D };
   CipherSuite   TLS_RSA_PSK_WITH_NULL_SHA  = { 0x00, 0x2E };

<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>.  Acknowledgments</span>

   The ciphersuites defined in this document are an augmentation to and
   based on [<a href="#ref-TLS-PSK" title=""Pre-Shared Key Ciphersuites for Transport Layer Security (TLS)"">TLS-PSK</a>].








<span class="grey">Blumenthal & Goel           Standards Track                     [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc4785">RFC 4785</a>        PSK NULL Encryption Ciphersuites for TLS    January 2007</span>


<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>.  References</span>

<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>.  Normative References</span>

   [<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
             Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.

   [<a id="ref-TLS">TLS</a>]     Dierks, T. and E. Rescorla, "The Transport Layer Security
             (TLS) Protocol Version 1.1", <a href="./rfc4346">RFC 4346</a>, April 2006.

   [<a id="ref-TLS-PSK">TLS-PSK</a>] Eronen, P. and H. Tschofenig, "Pre-Shared Key Ciphersuites
             for Transport Layer Security (TLS)", <a href="./rfc4279">RFC 4279</a>, December
             2005.

<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>.  Informative References</span>

   [<a id="ref-SRP">SRP</a>]     Taylor, D., Wu, T., Mavrogiannopoulos, N., and T. Perrin,
             "Using SRP for TLS Authentication", Work in Progress,
             December 2006.

Authors' Addresses

   Uri Blumenthal
   Intel Corporation
   1515 State Route 10,
   PY2-1 10-4
   Parsippany, NJ 07054
   USA

   EMail: [email protected]


   Purushottam Goel
   Intel Corporation
   2111 N.E. 25 Ave.
   JF3-414
   Hillsboro, OR 97124
   USA

   EMail: [email protected]











<span class="grey">Blumenthal & Goel           Standards Track                     [Page 4]</span>

<span id="page-5" ></span>
<span class="grey"><a href="./rfc4785">RFC 4785</a>        PSK NULL Encryption Ciphersuites for TLS    January 2007</span>


Full Copyright Statement

   Copyright (C) The IETF Trust (2007).

   This document is subject to the rights, licenses and restrictions
   contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
   THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
   THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   <a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   [email protected].

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.







Blumenthal & Goel           Standards Track                     [Page 5]

Additional Resources