CBOR Object Signing and Encryption (COSE): Headers for Carrying CBOR Compressed Certificates
draft-mattsson-cose-cbor-cert-compress-00

Document Type Active Internet-Draft (individual)
Last updated 2020-03-09
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized 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. Preuss Mattsson
Internet-Draft                                               G. Selander
Updates: draft-ietf-cose-x509 (if                            Ericsson AB
         approved)                                               S. Raza
Intended status: Standards Track                             J. Hoeglund
Expires: September 10, 2020                                      RISE AB
                                                              M. Furuhed
                                                             Nexus Group
                                                          March 09, 2020

  CBOR Object Signing and Encryption (COSE): Headers for Carrying CBOR
                        Compressed Certificates
               draft-mattsson-cose-cbor-cert-compress-00

Abstract

   Certificate chains often take up the majority of the bytes
   transmitted in COSE message that carry certificates.  Large messages
   can cause problems, particularly in constrained IoT environments.
   RFC 7925 defines a certificate profile for constrained IoT.  General
   purpose compression algorithms can in many cases not compress RFC
   7925 profiled certificates at all.  By using the fact that the
   certificates are profiled, the CBOR certificate compression
   algorithms can in many cases compress RFC 7925 profiled certificates
   with over 50%. This document specifies the CBOR certificate
   compression algorithm for use with COSE.

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 10, 2020.

Preuss Mattsson, et al.Expires September 10, 2020               [Page 1]
Internet-Draft    CBOR Certificate Compression for COSE       March 2020

Copyright Notice

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

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Notational Conventions  . . . . . . . . . . . . . . . . . . .   3
   3.  CBOR Certificate Compression Algorithm  . . . . . . . . . . .   3
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   4
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .   4
     6.2.  Informative References  . . . . . . . . . . . . . . . . .   5
   Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . .   5
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   5

1.  Introduction

   [I-D.ietf-cose-x509] provides attributes that refer to or contain
   X.509 certificates.  X.509 certificates often take up the majority of
   the bytes transmitted in COSE messages that carry certificates.
   Large messages negatively affect latency, but can also result in that
   the security protocol cannot be completed [I-D.ietf-emu-eaptlscert].

   Large messages is particularly a problem for constrained IoT
   environments [RFC7228] [I-D.ietf-lake-reqs].  [RFC7925] defines a
   X.509 certificate profile for constrained IoT.  The certificate
   profile in [RFC7925] is defined for TLS/DTLS 1.2 but works well also
   for COSE and other protocols.  For such RFC 7925 profiled IoT
   certificates, general purpose compression algorithms can in many
   cases only provide negliable or no compression at all.
   [I-D.raza-ace-cbor-certificates] therefore defines a CBOR [RFC7049]
   compression algorithm for RFC 7925 profiled certificates.  The
   algorithm works for all RFC 7925 profiled certificates and provide
   significant reduction in size, in many cases over 50%.

Preuss Mattsson, et al.Expires September 10, 2020               [Page 2]
Show full document text