CBOR Object Signing and Encryption (COSE): Additional Algorithms
draft-schaad-cose-more-algs-01

Document Type Active Internet-Draft (individual)
Author Jim Schaad 
Last updated 2020-05-22
Stream (None)
Intended RFC status (None)
Formats plain text html 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. Schaad
Internet-Draft                                            August Cellars
Intended status: Informational                               22 May 2020
Expires: 23 November 2020

    CBOR Object Signing and Encryption (COSE): Additional Algorithms
                     draft-schaad-cose-more-algs-01

Abstract

   The CBOR Object Signing and Encryption (COSE) syntax
   [I-D.ietf-cose-rfc8152bis-struct] allows for adding additional
   algorithms to the registries.  This document adds one additional key
   wrap algorithm to the registry using the AES Wrap with Padding
   Algorithm [RFC5649].  This document adds Keccak Message
   Authentication Code (KMAC) algorithms as well as using KMAC as a Key
   Derivation Function (KDF).

Contributing to this document

   This note is to be removed before publishing as an RFC.

   The source for this draft is being maintained in GitHub.  Suggested
   changes should be submitted as pull requests at https://github.com/
   cose-wg/X509 Editorial changes can be managed in GitHub, but any
   substantial issues need to be discussed on the COSE mailing list.

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 23 November 2020.

Schaad                  Expires 23 November 2020                [Page 1]
Internet-Draft               COSE Algorithms                    May 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
     1.1.  Requirements Terminology  . . . . . . . . . . . . . . . .   3
     1.2.  Open Issues . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Signature Algorithms  . . . . . . . . . . . . . . . . . . . .   3
   3.  Message Authentication Code (MAC) Algorithms  . . . . . . . .   3
     3.1.  Keccak Message Authentication Code (KMAC) . . . . . . . .   4
   4.  AES Key Wrap with Padding . . . . . . . . . . . . . . . . . .   5
     4.1.  Security Considerations for AES-KW with Padding . . . . .   6
   5.  Key Derivation Functions (KDFs) . . . . . . . . . . . . . . .   6
     5.1.  KMAC KDF  . . . . . . . . . . . . . . . . . . . . . . . .   6
   6.  Content Key Distribution Methods  . . . . . . . . . . . . . .   8
     6.1.  Direct Key with KDF . . . . . . . . . . . . . . . . . . .   8
       6.1.1.  Security Considerations . . . . . . . . . . . . . . .   9
     6.2.  Direct ECDH . . . . . . . . . . . . . . . . . . . . . . .   9
     6.3.  ECDH with Key Wrap  . . . . . . . . . . . . . . . . . . .  10
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
     8.1.  Changes to the Algorithm Table  . . . . . . . . . . . . .  12
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  12
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  13

1.  Introduction

   The CBOR Object Signing and Encryption (COSE) syntax
   [I-D.ietf-cose-rfc8152bis-struct] is defined to have an object based
   set of security primitives using CBOR [I-D.ietf-cbor-7049bis] for use
   in constrained environments.  COSE has algorithm agility so that
   documents like this one can register algorithms which are needed.

   In this document we add:

Schaad                  Expires 23 November 2020                [Page 2]
Internet-Draft               COSE Algorithms                    May 2020

   *  The AES Wrap with Padding algorithm.

   *  Keccak Message Authentication Code (KMAC) algorithms.

   *  KMAC as a Key Derivation Function (KDF) for direct and key
Show full document text