Object Security for Constrained RESTful Environments (OSCORE)
draft-ietf-core-object-security-08

Document Type Active Internet-Draft (core WG)
Last updated 2018-02-16 (latest revision 2018-01-22)
Replaces draft-selander-ace-object-security
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication (wg milestone: Dec 2017 - Object Security for ... )
Document shepherd Carsten Bormann
IESG IESG state In Last Call (ends 2018-03-02)
Consensus Boilerplate Yes
Telechat date On agenda of 2018-03-08 IESG telechat
Responsible AD Alexey Melnikov
Send notices to Carsten Bormann <cabo@tzi.org>
IANA IANA review state IANA - Review Needed
IANA action state None
CoRE Working Group                                           G. Selander
Internet-Draft                                               J. Mattsson
Intended status: Standards Track                            F. Palombini
Expires: July 26, 2018                                       Ericsson AB
                                                                L. Seitz
                                                               RISE SICS
                                                        January 22, 2018

     Object Security for Constrained RESTful Environments (OSCORE)
                   draft-ietf-core-object-security-08

Abstract

   This document defines Object Security for Constrained RESTful
   Environments (OSCORE), a method for application-layer protection of
   the Constrained Application Protocol (CoAP), using CBOR Object
   Signing and Encryption (COSE).  OSCORE provides end-to-end protection
   between endpoints communicating using CoAP or CoAP-mappable HTTP.
   OSCORE is designed for constrained nodes and networks supporting a
   range of proxy operations, including translation between different
   transport protocols.

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 July 26, 2018.

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

Selander, et al.          Expires July 26, 2018                 [Page 1]
Internet-Draft                   OSCORE                     January 2018

   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  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   6
   2.  The CoAP Object-Security Option . . . . . . . . . . . . . . .   6
   3.  The Security Context  . . . . . . . . . . . . . . . . . . . .   7
     3.1.  Security Context Definition . . . . . . . . . . . . . . .   7
     3.2.  Establishment of Security Context Parameters  . . . . . .   9
     3.3.  Requirements on the Security Context Parameters . . . . .  11
   4.  Protected Message Fields  . . . . . . . . . . . . . . . . . .  12
     4.1.  CoAP Payload  . . . . . . . . . . . . . . . . . . . . . .  13
     4.2.  CoAP Options  . . . . . . . . . . . . . . . . . . . . . .  14
     4.3.  CoAP Header . . . . . . . . . . . . . . . . . . . . . . .  20
     4.4.  Signaling Messages  . . . . . . . . . . . . . . . . . . .  21
   5.  The COSE Object . . . . . . . . . . . . . . . . . . . . . . .  22
     5.1.  Kid Context . . . . . . . . . . . . . . . . . . . . . . .  23
     5.2.  Nonce . . . . . . . . . . . . . . . . . . . . . . . . . .  24
     5.3.  Plaintext . . . . . . . . . . . . . . . . . . . . . . . .  24
     5.4.  Additional Authenticated Data . . . . . . . . . . . . . .  25
   6.  OSCORE Compression  . . . . . . . . . . . . . . . . . . . . .  26
     6.1.  Encoding of the Object-Security Value . . . . . . . . . .  26
     6.2.  Encoding of the OSCORE Payload  . . . . . . . . . . . . .  27
     6.3.  Examples of Compressed COSE Objects . . . . . . . . . . .  28
   7.  Sequence Numbers, Replay, Message Binding, and Freshness  . .  29
     7.1.  Message Binding . . . . . . . . . . . . . . . . . . . . .  29
     7.2.  AEAD Nonce Uniqueness . . . . . . . . . . . . . . . . . .  29
     7.3.  Freshness . . . . . . . . . . . . . . . . . . . . . . . .  30
     7.4.  Replay Protection . . . . . . . . . . . . . . . . . . . .  30
     7.5.  Losing Part of the Context State  . . . . . . . . . . . .  31
   8.  Processing  . . . . . . . . . . . . . . . . . . . . . . . . .  32
     8.1.  Protecting the Request  . . . . . . . . . . . . . . . . .  32
     8.2.  Verifying the Request . . . . . . . . . . . . . . . . . .  33
     8.3.  Protecting the Response . . . . . . . . . . . . . . . . .  34
Show full document text