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

Document Type Active Internet-Draft (core WG)
Last updated 2017-11-20
Replaces draft-selander-ace-object-security
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream WG state WG Document (wg milestone: Dec 2017 - Object Security for ... )
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE Working Group                                           G. Selander
Internet-Draft                                               J. Mattsson
Intended status: Standards Track                            F. Palombini
Expires: May 24, 2018                                        Ericsson AB
                                                                L. Seitz
                                                        SICS Swedish ICT
                                                       November 20, 2017

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

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
   encryption, integrity and replay protection, as well as a secure
   message binding.  OSCORE is designed for constrained nodes and
   networks and can be used whereever CoAP can be used, and also with
   HTTP.  OSCORE may be used to protect group communications as is
   specified in a separate draft.

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 May 24, 2018.

Copyright Notice

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

Selander, et al.          Expires May 24, 2018                  [Page 1]
Internet-Draft                   OSCORE                    November 2017

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