Using TLS to Secure QUIC
draft-ietf-quic-tls-27

Document Type Active Internet-Draft (quic WG)
Last updated 2020-02-21
Replaces draft-thomson-quic-tls
Stream IETF
Intended RFC status Proposed Standard
Formats plain text html xml pdf htmlized bibtex
Stream WG state WG Document (wg milestone: Jul 2020 - TLS 1.3 Mapping docu... )
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD (None)
Send notices to (None)
QUIC                                                     M. Thomson, Ed.
Internet-Draft                                                   Mozilla
Intended status: Standards Track                          S. Turner, Ed.
Expires: 24 August 2020                                            sn3rd
                                                        21 February 2020

                        Using TLS to Secure QUIC
                         draft-ietf-quic-tls-27

Abstract

   This document describes how Transport Layer Security (TLS) is used to
   secure QUIC.

Note to Readers

   Discussion of this draft takes place on the QUIC working group
   mailing list (quic@ietf.org), which is archived at
   https://mailarchive.ietf.org/arch/search/?email_list=quic
   (https://mailarchive.ietf.org/arch/search/?email_list=quic).

   Working Group information can be found at https://github.com/quicwg
   (https://github.com/quicwg); source code and issues list for this
   draft can be found at https://github.com/quicwg/base-drafts/labels/-
   tls (https://github.com/quicwg/base-drafts/labels/-tls).

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 https://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 24 August 2020.

Copyright Notice

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

Thomson & Turner         Expires 24 August 2020                 [Page 1]
Internet-Draft          Using TLS to Secure QUIC           February 2020

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Notational Conventions  . . . . . . . . . . . . . . . . . . .   4
     2.1.  TLS Overview  . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Protocol Overview . . . . . . . . . . . . . . . . . . . . . .   7
   4.  Carrying TLS Messages . . . . . . . . . . . . . . . . . . . .   8
     4.1.  Interface to TLS  . . . . . . . . . . . . . . . . . . . .  10
       4.1.1.  Handshake Complete  . . . . . . . . . . . . . . . . .  10
       4.1.2.  Handshake Confirmed . . . . . . . . . . . . . . . . .  10
       4.1.3.  Sending and Receiving Handshake Messages  . . . . . .  10
       4.1.4.  Encryption Level Changes  . . . . . . . . . . . . . .  12
       4.1.5.  TLS Interface Summary . . . . . . . . . . . . . . . .  13
     4.2.  TLS Version . . . . . . . . . . . . . . . . . . . . . . .  14
     4.3.  ClientHello Size  . . . . . . . . . . . . . . . . . . . .  15
     4.4.  Peer Authentication . . . . . . . . . . . . . . . . . . .  15
     4.5.  Enabling 0-RTT  . . . . . . . . . . . . . . . . . . . . .  16
     4.6.  Accepting and Rejecting 0-RTT . . . . . . . . . . . . . .  16
     4.7.  Validating 0-RTT Configuration  . . . . . . . . . . . . .  17
     4.8.  HelloRetryRequest . . . . . . . . . . . . . . . . . . . .  17
     4.9.  TLS Errors  . . . . . . . . . . . . . . . . . . . . . . .  18
     4.10. Discarding Unused Keys  . . . . . . . . . . . . . . . . .  18
       4.10.1.  Discarding Initial Keys  . . . . . . . . . . . . . .  19
       4.10.2.  Discarding Handshake Keys  . . . . . . . . . . . . .  19
       4.10.3.  Discarding 0-RTT Keys  . . . . . . . . . . . . . . .  19
   5.  Packet Protection . . . . . . . . . . . . . . . . . . . . . .  20
     5.1.  Packet Protection Keys  . . . . . . . . . . . . . . . . .  20
     5.2.  Initial Secrets . . . . . . . . . . . . . . . . . . . . .  20
     5.3.  AEAD Usage  . . . . . . . . . . . . . . . . . . . . . . .  21
     5.4.  Header Protection . . . . . . . . . . . . . . . . . . . .  23
       5.4.1.  Header Protection Application . . . . . . . . . . . .  23
       5.4.2.  Header Protection Sample  . . . . . . . . . . . . . .  25
       5.4.3.  AES-Based Header Protection . . . . . . . . . . . . .  26
       5.4.4.  ChaCha20-Based Header Protection  . . . . . . . . . .  26
Show full document text