JSON Web Key (JWK) Thumbprint
draft-ietf-jose-jwk-thumbprint-06

The information below is for an old version of the document
Document Type Active Internet-Draft (jose WG)
Last updated 2015-07-02 (latest revision 2015-06-24)
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Stream WG state Submitted to IESG for Publication
Document shepherd Karen O'Donoghue
Shepherd write-up Show (last changed 2015-06-30)
IESG IESG state IESG Evaluation
Consensus Boilerplate Yes
Telechat date
Needs a YES. Needs 6 more YES or NO OBJECTION positions to pass.
Responsible AD Kathleen Moriarty
Send notices to "Karen O'Donoghue" <odonoghue@isoc.org>
IANA IANA review state Version Changed - Review Needed
IANA action state None
JOSE Working Group                                              M. Jones
Internet-Draft                                                 Microsoft
Intended status: Standards Track                             N. Sakimura
Expires: December 26, 2015                                           NRI
                                                           June 24, 2015

                     JSON Web Key (JWK) Thumbprint
                   draft-ietf-jose-jwk-thumbprint-06

Abstract

   This specification defines a method for computing a hash value over a
   JSON Web Key (JWK).  It defines which fields in a JWK are used in the
   hash computation, the method of creating a canonical form for those
   fields, and how to convert the resulting Unicode string into a byte
   sequence to be hashed.  The resulting hash value can be used for
   identifying or selecting the key represented by the JWK that is the
   subject of the thumbprint.

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 http://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 December 26, 2015.

Copyright Notice

   Copyright (c) 2015 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
   (http://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

Jones & Sakimura        Expires December 26, 2015               [Page 1]
Internet-Draft        JSON Web Key (JWK) Thumbprint            June 2015

   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.  Notational Conventions . . . . . . . . . . . . . . . . . .  3
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  3
   3.  JSON Web Key (JWK) Thumbprint  . . . . . . . . . . . . . . . .  3
     3.1.  Example JWK Thumbprint Computation . . . . . . . . . . . .  4
     3.2.  JWK Members Used in the Thumbprint Computation . . . . . .  5
       3.2.1.  JWK Thumbprint of a Private Key  . . . . . . . . . . .  6
       3.2.2.  Why Not Include Optional Members?  . . . . . . . . . .  6
     3.3.  Order and Representation of Members in Hash Input  . . . .  7
     3.4.  Selection of Hash Function . . . . . . . . . . . . . . . .  8
     3.5.  JWK Thumbprints of Keys Not in JWK Format  . . . . . . . .  8
   4.  Practical JSON and Unicode Considerations  . . . . . . . . . .  8
   5.  Relationship to Digests of X.509 Values  . . . . . . . . . . .  9
   6.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  9
   7.  Security Considerations  . . . . . . . . . . . . . . . . . . . 10
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 11
     8.1.  Normative References . . . . . . . . . . . . . . . . . . . 11
     8.2.  Informative References . . . . . . . . . . . . . . . . . . 12
   Appendix A.  Acknowledgements  . . . . . . . . . . . . . . . . . . 12
   Appendix B.  Document History  . . . . . . . . . . . . . . . . . . 12
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 13

Jones & Sakimura        Expires December 26, 2015               [Page 2]
Internet-Draft        JSON Web Key (JWK) Thumbprint            June 2015

1.  Introduction

   This specification defines a method for computing a hash value
   (a.k.a. digest) over a JSON Web Key (JWK) [JWK].  It defines which
   fields in a JWK are used in the hash computation, the method of
   creating a canonical form for those fields, and how to convert the
   resulting Unicode string into a byte sequence to be hashed.  The
   resulting hash value can be used for identifying or selecting the key
   represented by the JWK that is the subject of the thumbprint, for
   instance, by using the base64url-encoded JWK Thumbprint value as a
   "kid" (key ID) value.

1.1.  Notational Conventions

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
Show full document text