Ephemeral Diffie-Hellman Over COSE (EDHOC)
draft-selander-ace-cose-ecdhe-10

Document Type Active Internet-Draft (individual)
Last updated 2018-09-18
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)
ACE Working Group                                            G. Selander
Internet-Draft                                               J. Mattsson
Intended status: Standards Track                            F. Palombini
Expires: March 22, 2019                                      Ericsson AB
                                                      September 18, 2018

               Ephemeral Diffie-Hellman Over COSE (EDHOC)
                    draft-selander-ace-cose-ecdhe-10

Abstract

   This document specifies Ephemeral Diffie-Hellman Over COSE (EDHOC), a
   very compact, and lightweight authenticated Diffie-Hellman key
   exchange with ephemeral keys that can be used over any layer.  EDHOC
   provides mutual authentication, perfect forward secrecy, and identity
   protection.  EDHOC uses CBOR and COSE, allowing reuse of existing
   libraries.

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 March 22, 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
   (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

Selander, et al.         Expires March 22, 2019                 [Page 1]
Internet-Draft Ephemeral Diffie-Hellman Over COSE (EDHOC) September 2018

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Terminology and Requirements Language . . . . . . . . . .   4
   2.  Background  . . . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  EDHOC Overview  . . . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  Ephemeral Public Keys . . . . . . . . . . . . . . . . . .   7
     3.2.  Key Derivation  . . . . . . . . . . . . . . . . . . . . .   8
   4.  EDHOC Authenticated with Asymmetric Keys  . . . . . . . . . .   9
     4.1.  Overview  . . . . . . . . . . . . . . . . . . . . . . . .   9
     4.2.  EDHOC Message 1 . . . . . . . . . . . . . . . . . . . . .  11
     4.3.  EDHOC Message 2 . . . . . . . . . . . . . . . . . . . . .  13
     4.4.  EDHOC Message 3 . . . . . . . . . . . . . . . . . . . . .  17
   5.  EDHOC Authenticated with Symmetric Keys . . . . . . . . . . .  19
     5.1.  Overview  . . . . . . . . . . . . . . . . . . . . . . . .  19
     5.2.  EDHOC Message 1 . . . . . . . . . . . . . . . . . . . . .  20
     5.3.  EDHOC Message 2 . . . . . . . . . . . . . . . . . . . . .  22
     5.4.  EDHOC Message 3 . . . . . . . . . . . . . . . . . . . . .  24
   6.  Error Handling  . . . . . . . . . . . . . . . . . . . . . . .  26
     6.1.  EDHOC Error Message . . . . . . . . . . . . . . . . . . .  26
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  27
     7.1.  The Well-Known URI Registry . . . . . . . . . . . . . . .  27
     7.2.  Media Types Registry  . . . . . . . . . . . . . . . . . .  27
     7.3.  CoAP Content-Formats Registry . . . . . . . . . . . . . .  28
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  28
     8.1.  Security Properties . . . . . . . . . . . . . . . . . . .  28
     8.2.  Cryptographic Considerations  . . . . . . . . . . . . . .  29
     8.3.  Unprotected Data  . . . . . . . . . . . . . . . . . . . .  29
     8.4.  Denial-of-Service . . . . . . . . . . . . . . . . . . . .  30
     8.5.  Implementation Considerations . . . . . . . . . . . . . .  30
     8.6.  Other Documents Referencing EDHOC . . . . . . . . . . . .  31
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  31
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  31
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  32
     9.3.  URIs  . . . . . . . . . . . . . . . . . . . . . . . . . .  34
   Appendix A.  Use of CBOR, CDDL and COSE in EDHOC  . . . . . . . .  34
     A.1.  CBOR and CDDL . . . . . . . . . . . . . . . . . . . . . .  34
Show full document text