WebAuthn Working Group | M. Jones |
Internet-Draft | Microsoft |
Intended status: Informational | March 23, 2018 |
Expires: September 24, 2018 |
COSE Algorithms for Web Authentication (WebAuthn)
draft-jones-webauthn-cose-algorithms-00
The W3C Web Authentication (WebAuthn) specification uses COSE algorithm identifiers. This specification registers algorithms in the IANA "COSE Algorithms" registry that are used by WebAuthn that are not already registered. Also, they are registered in the IANA "JSON Web Signature and Encryption Algorithms" registry, when not already registered there.
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 24, 2018.
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 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.
This specification defines how to use several algorithms with COSE [RFC8152] that are used by the W3C Web Authentication (WebAuthn) [WebAuthn] specification. These algorithms are registered in the IANA "COSE Algorithms" registry [IANA.COSE.Algorithms] and also in the IANA "JSON Web Signature and Encryption Algorithms" registry [IANA.JOSE.Algorithms], when not already registered there.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.
The RSASSA-PKCS1-v1_5 signature algorithm is defined in [RFC8017]. The RSASSA-PKCS1-v1_5 signature algorithm is parameterized with a hash function (h).
A key of size 2048 bits or larger MUST be used with these algorithms. Implementations need to check that the key type is 'RSA' when creating or verifying a signature.
The RSASSA-PKCS1-v1_5 algorithms specified in this document are in the following table.
Name | Value | Hash | Description |
---|---|---|---|
RS256 | TBD (requested assignment -257) | SHA-256 | RSASSA-PKCS1-v1_5 w/ SHA-256 |
RS384 | TBD (requested assignment -258) | SHA-384 | RSASSA-PKCS1-v1_5 w/ SHA-384 |
RS512 | TBD (requested assignment -259) | SHA-512 | RSASSA-PKCS1-v1_5 w/ SHA-512 |
RS1 | TBD (requested assignment -262) | SHA-1 | RSASSA-PKCS1-v1_5 w/ SHA-1 |
This section registers the following values in the IANA "COSE Algorithms" registry [IANA.COSE.Algorithms].
The security considerations on key sizes for RSA algorithms from Section 6.1 of [RFC8230] also apply to the RSA algorithms in this specification.
The security considerations on the use of RSASSA-PKCS1-v1_5 with SHA-2 hash functions from Section 8.3 of [RFC7518] also apply to their use in this specification. For that reason, these algorithms are registered as being "Not Recommended".
The security considerations on the use of the SHA-1 hash function from [RFC6194] apply in this specification. For that reason, the "RS1" algorithm is registered as "Not Recommended". It MUST NOT be used by COSE implementations.
A COSE algorithm identifier for this algorithm is nonetheless being registered because deployed TPMs continue to use it, and therefore WebAuthn implementations need a COSE algorithm identifier for "RS1" when TPM attestations using this algorithm are being represented.
[IANA.COSE.Algorithms] | IANA, "COSE Algorithms" |
[IANA.JOSE.Algorithms] | IANA, "JSON Web Signature and Encryption Algorithms" |
[WebAuthn] | Balfanz, D., Czeskis, A., Hodges, J., Jones, J., Jones, M., Kumar, A., Liao, A., Lindemann, R. and E. Lundberg, "Web Authentication: An API for accessing Public Key Credentials", Candidate Recommendation, World Wide Web Consortium (W3C) Recommendation-track, March 2018. |
TBD
[[ to be removed by the RFC Editor before publication as an RFC ]]
-00