Importing External PSKs for TLS 1.3
draft-wood-tls-external-psk-importer-00

Document Type Active Internet-Draft (individual)
Last updated 2018-10-22
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
tls                                                              C. Wood
Internet-Draft                                               Apple, Inc.
Intended status: Experimental                           October 22, 2018
Expires: April 25, 2019

                  Importing External PSKs for TLS 1.3
                draft-wood-tls-external-psk-importer-00

Abstract

   This document describes an interface for importing external PSK (Pre-
   Shared Key) into TLS 1.3.

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 April 25, 2019.

Copyright Notice

   Copyright (c) 2018 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.

Wood                     Expires April 25, 2019                 [Page 1]
Internet-Draft     Importing External PSKs for TLS 1.3      October 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions and Definitions . . . . . . . . . . . . . . . . .   2
   3.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   3
     3.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Key Import  . . . . . . . . . . . . . . . . . . . . . . . . .   3
   5.  Deprecating Hash Functions  . . . . . . . . . . . . . . . . .   4
   6.  TLS 1.2 Compatibility . . . . . . . . . . . . . . . . . . . .   4
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   9.  Normative References  . . . . . . . . . . . . . . . . . . . .   4
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .   5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   5

1.  Introduction

   TLS 1.3 [RFC8446] supports pre-shared key (PSK) resumption, wherein
   PSKs can be established via session tickets from prior connections or
   externally via some out-of-band mechanism.  The protocol mandates
   that each PSK only be used with a single hash function.  This was
   done to simplify protocol analysis.  TLS 1.2, in contrast, has no
   such requirement, as a PSK may be used with any hash algorithm and
   the TLS 1.2 PRF.  This means that external PSKs could possibly be re-
   used in two different contexts with the same hash functions during
   key derivation.  Moreover, it requires external PSKs to be
   provisioned for specific hash functions.

   To mitigate these problems, external PSKs can be bound to a specific
   hash function when used in TLS 1.3, even if they are associated with
   a different KDF (and hash function) when provisioned.  This document
   specifies an interface by which external PSKs may be imported for use
   in a TLS 1.3 connection to achieve this goal.  In particular, it
   describes how KDF-bound PSKs can be differentiated by different hash
   algorithms to produce a set of candidate PSKs, each of which are
   bound to a specific hash function.  This expands what would normally
   have been a single PSK identity into a set of PSK identities.
   However, it requires no change to the TLS 1.3 key schedule.

2.  Conventions and Definitions

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP
   14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

Wood                     Expires April 25, 2019                 [Page 2]
Internet-Draft     Importing External PSKs for TLS 1.3      October 2018

3.  Overview

   Intuitively, key importers mirror the concept of key exporters in TLS
   in that they diversify a key based on some contextual information
   before use in a connection.  In contrast to key exporters, wherein
Show full document text