COSE and JOSE Registrations for WebAuthn Algorithms
draft-ietf-cose-webauthn-algorithms-03

Document Type Active Internet-Draft (cose WG)
Last updated 2019-11-01
Replaces draft-jones-cose-additional-algorithms
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
COSE Working Group                                              M. Jones
Internet-Draft                                                 Microsoft
Intended status: Standards Track                        November 1, 2019
Expires: May 4, 2020

          COSE and JOSE Registrations for WebAuthn Algorithms
                 draft-ietf-cose-webauthn-algorithms-03

Abstract

   The W3C Web Authentication (WebAuthn) specification and the FIDO
   Alliance Client to Authenticator Protocol (CTAP) specification use
   CBOR Object Signing and Encryption (COSE) algorithm identifiers.
   This specification registers the following algorithms in the IANA
   "COSE Algorithms" registry, which are used by WebAuthn and CTAP
   implementations: RSASSA-PKCS1-v1_5 using SHA-256, SHA-384, SHA-512,
   and SHA-1, and ECDSA using the secp256k1 curve and SHA-256.  It
   registers the secp256k1 elliptic curve in the IANA "COSE Elliptic
   Curves" registry.  Also, for use with JSON Object Signing and
   Encryption (JOSE), it registers the algorithm ECDSA using the
   secp256k1 curve and SHA-256 in the IANA "JSON Web Signature and
   Encryption Algorithms" registry and the secp256k1 elliptic curve in
   the IANA "JSON Web Key Elliptic Curve" registry.

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

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Jones                      Expires May 4, 2020                  [Page 1]
Internet-Draft COSE & JOSE Registrations for WebAuthn Algs November 2019

   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 Notation and Conventions . . . . . . . . . .   3
   2.  RSASSA-PKCS1-v1_5 Signature Algorithm . . . . . . . . . . . .   3
   3.  Using secp256k1 with JOSE and COSE  . . . . . . . . . . . . .   4
     3.1.  JOSE and COSE secp256k1 Curve Key Representations . . . .   5
     3.2.  ECDSA Signature with secp256k1 Curve  . . . . . . . . . .   5
     3.3.  Other Uses of the secp256k1 Elliptic Curve  . . . . . . .   7
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  COSE Algorithms Registrations . . . . . . . . . . . . . .   7
     4.2.  COSE Elliptic Curves Registrations  . . . . . . . . . . .   8
     4.3.  JOSE Algorithms Registrations . . . . . . . . . . . . . .   8
     4.4.  JSON Web Key Elliptic Curves Registrations  . . . . . . .   8
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   9
     5.1.  RSA Key Size Security Considerations  . . . . . . . . . .   9
     5.2.  RSASSA-PKCS1-v1_5 with SHA-2 Security Considerations  . .   9
     5.3.  RSASSA-PKCS1-v1_5 with SHA-1 Security Considerations  . .   9
     5.4.  secp256k1 Security Considerations . . . . . . . . . . . .   9
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  10
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .  10
     6.2.  Informative References  . . . . . . . . . . . . . . . . .  11
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  12
   Document History  . . . . . . . . . . . . . . . . . . . . . . . .  12
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  13

1.  Introduction

   This specification defines how to use several algorithms with CBOR
   Object Signing and Encryption (COSE) [RFC8152] that are used by
   implementations of the W3C Web Authentication (WebAuthn) [WebAuthn]
   and FIDO Alliance FIDO2 Client to Authenticator Protocol (CTAP)
   [CTAP] specifications.  These specification registers these
   algorithms in the IANA "COSE Algorithms" registry
   [IANA.COSE.Algorithms] and registers an elliptic curve in the IANA
   "COSE Elliptic Curves" registry [IANA.COSE.Curves].  This
Show full document text