TLS Handshake in CBOR
draft-schaad-ace-tls-cbor-handshake-00

Document Type Active Internet-Draft (individual)
Last updated 2019-03-05
Stream (None)
Intended RFC status (None)
Formats plain text xml 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)
Network Working Group                                          J. Schaad
Internet-Draft                                             March 5, 2019
Intended status: Experimental
Expires: September 6, 2019

                         TLS Handshake in CBOR
                 draft-schaad-ace-tls-cbor-handshake-00

Abstract

   None

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 September 6, 2019.

Copyright Notice

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

Schaad                  Expires September 6, 2019               [Page 1]
Internet-Draft            TLS Handshake in CBOR               March 2019

Table of Contents

   1.  Summary . . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Handshake Protocol  . . . . . . . . . . . . . . . . . . . . .   4
   3.  Client Hello  . . . . . . . . . . . . . . . . . . . . . . . .   5
   4.  Server Hello  . . . . . . . . . . . . . . . . . . . . . . . .   5
   5.  Extensions  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     5.1.  Supported Versions  . . . . . . . . . . . . . . . . . . .   7
     5.2.  Cookie  . . . . . . . . . . . . . . . . . . . . . . . . .   7
     5.3.  Signature Algorithms  . . . . . . . . . . . . . . . . . .   7
     5.4.  Certificate Authorities . . . . . . . . . . . . . . . . .   9
     5.5.  OID Filters . . . . . . . . . . . . . . . . . . . . . . .   9
     5.6.  Post-Handshake Client Authentication  . . . . . . . . . .   9
     5.7.  Supported Groups  . . . . . . . . . . . . . . . . . . . .   9
     5.8.  Key Share . . . . . . . . . . . . . . . . . . . . . . . .  10
       5.8.1.  ECDHE Parameters  . . . . . . . . . . . . . . . . . .  11
     5.9.  Pre-Shared Key Exchange Modes . . . . . . . . . . . . . .  11
     5.10. Early Data Indication . . . . . . . . . . . . . . . . . .  12
     5.11. Pre-Shared Key Extension  . . . . . . . . . . . . . . . .  12
     5.12. Other Extensions  . . . . . . . . . . . . . . . . . . . .  13
   6.  Server Parameters . . . . . . . . . . . . . . . . . . . . . .  13
     6.1.  Encrypted Extensions  . . . . . . . . . . . . . . . . . .  13
   7.  Certificate Request . . . . . . . . . . . . . . . . . . . . .  14
   8.  Authentication Messages . . . . . . . . . . . . . . . . . . .  14
     8.1.  Certificate . . . . . . . . . . . . . . . . . . . . . . .  14
     8.2.  Certificate Verify  . . . . . . . . . . . . . . . . . . .  15
     8.3.  Finish  . . . . . . . . . . . . . . . . . . . . . . . . .  15
   9.  Record Protocol . . . . . . . . . . . . . . . . . . . . . . .  15
     9.1.  Record Layer  . . . . . . . . . . . . . . . . . . . . . .  15
     9.2.  Record Payload Protection . . . . . . . . . . . . . . . .  16
   10. CBOR Slashed Version  . . . . . . . . . . . . . . . . . . . .  17
   11. Transport with CoAP . . . . . . . . . . . . . . . . . . . . .  17
   12. Informational . . . . . . . . . . . . . . . . . . . . . . . .  18
   Appendix A.  Sample Messages  . . . . . . . . . . . . . . . . . .  18
     A.1.  Standard TLS for X25519 and Ed25519 . . . . . . . . . . .  18
     A.2.  Pre-shared key for authentication w/ ephemeral DH . . . .  20
     A.3.  Stripped TLS w/ Ed25519 . . . . . . . . . . . . . . . . .  22
     A.4.  Stripped TLS w/ PSK . . . . . . . . . . . . . . . . . . .  24
   Appendix B.  Open ideas for ways to make things smaller . . . . .  25
   Appendix C.  EDHOC issues that worry me . . . . . . . . . . . . .  26
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  26

1.  Summary

   There are two measures that can be looked at when measuring how good
   the different options presented below are going to be.
Show full document text