Return-Path: <adam.w.montville@gmail.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 501031A8A0E;
 Wed, 24 Jun 2015 05:12:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44])
 by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id cNvex3SgnfBR; Wed, 24 Jun 2015 05:12:03 -0700 (PDT)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com
 [IPv6:2607:f8b0:4003:c06::22f])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id EBFE71A89FB;
 Wed, 24 Jun 2015 05:12:02 -0700 (PDT)
Received: by oiax193 with SMTP id x193so28247723oia.2;
 Wed, 24 Jun 2015 05:12:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; 
 h=content-type:mime-version:subject:from:in-reply-to:date:cc
 :message-id:references:to;
 bh=lo6xcEmpXTUKrVG8yN5UGZWH+K8fTeZGFlClQwBh+kY=;
 b=CZZJX+DB1JPiskbev95o6Ceojj6W9pPEFYV97Op/W8kAgwTEGFxHrRR/IHJ22/zyKC
 7KF8lqVfE3SGHSIPnokXCZ9W885JOCvWTUIB/dlJC0/VuNW+D5YeE1dVMU1au1zuqx0Q
 njaCHCaxw4kqtvgaElILT2AKulMNUs6APngjDeyZSQb9IBbceJBcB5Z7rr3hWwlSpWLU
 d8/Yp0c09HVQoRGFWe2G2zkMV/SfmSegE9wlsYdfGD409dSTAHbsX/KUrT/J97GPd93N
 Mu3N1P/bV5Dt36lWxfEAPiICQjF8UmgtHaVv1rB3hqeBiclZ1ty2zvMJiMiUF36DiCQ0
 F0bQ==
X-Received: by 10.202.87.134 with SMTP id l128mr8591043oib.83.1435147922407;
 Wed, 24 Jun 2015 05:12:02 -0700 (PDT)
Received: from adams-mac-mini.attlocal.net
 ([2602:306:3406:4830:b059:3770:4dda:970e])
 by mx.google.com with ESMTPSA id k129sm14032408oia.14.2015.06.24.05.11.59
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Wed, 24 Jun 2015 05:12:01 -0700 (PDT)
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_AFF50B74-E35C-4317-9037-F9F5CA66C996"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: "Adam W. Montville" <adam.w.montville@gmail.com>
In-Reply-To: <BY2PR03MB44275C31276DFF36611D67DF5AF0@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Wed, 24 Jun 2015 07:11:58 -0500
Message-Id: <C123F274-D6EA-4072-AE9C-5E6E11065C4E@gmail.com>
References: <A1BD2DB0-A7D9-4635-8A3B-074303AF2E55@gmail.com>
 <BY2PR03MB442BD780448D808BA10D657F5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
 <4CA0A65D-E5FD-408C-A6B9-6ECB12A81B7C@gmail.com>
 <BY2PR03MB44292335834F3354309E062F5A10@BY2PR03MB442.namprd03.prod.outlook.com>
 <E56D5AB3-AEA0-4E49-BADD-D7F86AA0BAFB@gmail.com>
 <BY2PR03MB44275C31276DFF36611D67DF5AF0@BY2PR03MB442.namprd03.prod.outlook.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/secdir/CuxgWtLES9RcoAO9-33_U6eooik>
Cc: "draft-ietf-jose-jwk-thumbprint.all@ietf.org"
 <draft-ietf-jose-jwk-thumbprint.all@ietf.org>, The IESG <iesg@ietf.org>,
 "jose@ietf.org" <jose@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
Subject: Re: [secdir] sector review of draft-ietf-jose-jwk-thumbprint-05
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>,
 <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>,
 <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jun 2015 12:12:06 -0000


--Apple-Mail=_AFF50B74-E35C-4317-9037-F9F5CA66C996
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Nat and Mike,

Thanks for your attention on this issue.  I see the following text in =
section 3.4:

Note that in many cases, only the party that creates a key will need
   to know the hash function used.  A typical usage is for the producer
   of the key to use the base64url-encoded JWK Thumbprint value as a
   "kid" (key ID) value.  The consumer of the "kid" treats it as an
   opaque value that it uses to select the key.  Only if multiple
   parties will be reproducing the JWK Thumbprint calculation for some
   reason, will parties other than the original producer of the JWK
   Thumbprint need to know which hash function was used.


Would it make the draft clearer if that last sentence were omitted?  The =
way this paragraph reads is such that draft considers and would allow =
for multiple parties generating key IDs, but then we=E2=80=99re back at =
not knowing which algorithm was chosen.  If that last sentence were =
omitted, this would be less of an issue. =20


> On Jun 24, 2015, at 3:40 AM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:
>=20
> Hi Adam,
> =20
> Thanks again for your review comments.  =
https://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-06 =
<https://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-06> has been =
posted to address them.  See sections 3.4 (Selection of Hash Function) =
and 6 (IANA Considerations).
> =20
>                                                             Thanks =
again,
>                                                             -- Nat and =
Mike
> =20
> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]=20
> Sent: Monday, June 22, 2015 12:51 PM
> To: Mike Jones
> Cc: Adam W. Montville; The IESG; secdir@ietf.org; =
draft-ietf-jose-jwk-thumbprint.all@ietf.org; jose@ietf.org
> Subject: Re: sector review of draft-ietf-jose-jwk-thumbprint-05
> =20
> Yes, thank you.
> Kathleen=20
>=20
> Sent from my iPhone
>=20
> On Jun 22, 2015, at 9:18 PM, Mike Jones <Michael.Jones@microsoft.com =
<mailto:Michael.Jones@microsoft.com>> wrote:
>=20
> I=E2=80=99d be glad to add the explanation below to the draft and to =
also include an IANA considerations section that states we are updating =
the expert review instructions for a registry, as Jim Schaad had =
suggested.  Chairs and Kathleen, do you want Nat and I to proceed to =
publish an updated draft?
> =20
>                                                                 -- =
Mike
> =20
> From: Adam W. Montville [mailto:adam.w.montville@gmail.com =
<mailto:adam.w.montville@gmail.com>]=20
> Sent: Friday, June 12, 2015 5:07 AM
> To: Mike Jones
> Cc: The IESG; secdir@ietf.org <mailto:secdir@ietf.org>; =
draft-ietf-jose-jwk-thumbprint.all@ietf.org =
<mailto:draft-ietf-jose-jwk-thumbprint.all@ietf.org>; jose@ietf.org =
<mailto:jose@ietf.org>
> Subject: Re: sector review of draft-ietf-jose-jwk-thumbprint-05
> =20
> =20
> On Jun 11, 2015, at 4:25 PM, Mike Jones <Michael.Jones@microsoft.com =
<mailto:Michael.Jones@microsoft.com>> wrote:
> =20
> Hi Adam,
>=20
> Thanks for the secdir review.
>=20
>=20
>=20
> From: Adam W. Montville [mailto:adam.w.montville@gmail.com =
<mailto:adam.w.montville@gmail.com>]
> Sent: Monday, June 08, 2015 8:46 AM
> To: The IESG; secdir@ietf.org <mailto:secdir@ietf.org>; =
draft-ietf-jose-jwk-thumbprint.all@ietf.org =
<mailto:draft-ietf-jose-jwk-thumbprint.all@ietf.org>
> Subject: sector review of draft-ietf-jose-jwk-thumbprint-05
>=20
>=20
>=20
> Hi,
>=20
>=20
>=20
> I have reviewed this document as part of the security directorate's =
ongoing effort to review all IETF documents being processed by the IESG. =
These comments were written primarily for the benefit of the security =
area directors. Document editors and WG chairs should treat these =
comments just like any other last call comments.
>=20
> I believe the document is ready with (potential) issues.  The =E2=80=9Cw=
ith issues=E2=80=9D might be due to ignorance on my part.  The draft =
does a very good job of explaining the canonical form of a JSON Web Key =
that can be used for establishing a thumbprint under varying =
circumstances, complete with what I found to be helpful examples.
>=20
> The primary issue I have is that it=E2=80=99s unclear how relying =
parties are going to know which hash algorithm has been used.  The =
examples use SHA-256, but I=E2=80=99m not seeing where SHA-256 might be =
specified as a MUST or even a SHOULD.  Moreover, the example output =
ultimately shows only the Base-64 encoding of the resulting hash, which =
says nothing about the algorithm used to identify a key.
>=20
> Earlier drafts had included fields whose names were intended to =
communicate the information about the hash function used - see the "jkt" =
field definitions in =
http://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-01#section-4 =
<http://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-01#section-4> =
- but several working group reviewers suggested that these fields were =
unnecessary and that the typical usage would be as "kid" (key ID) field =
values.  With that removal, it falls onto the application to specify the =
hash algorithm for its particular usage.
>=20
> This isn't as bad as you might think, however, because typically the =
consumer of the "kid" doesn't need to know the algorithm because it =
won't be reproducing the computation.  It just relies on the fact that a =
unique key ID value was generated for the key and compares "kid" values =
as opaque strings to find the appropriate key.  In this usage, the =
producer of the key is the only party that needs to know the hash =
algorithm that it is using.  I hope this helps.
> =20
> Yes, this does help, thank you.  It seems like something that could be =
easily added to the draft to explain why the generating algorithm =
needn=E2=80=99t be disclosed so that slow folk like myself get the =
picture straight away.
> =20
>=20
>=20
>=20
>=20
>=20
>=20
> Additionally, in Section 4, =E2=80=9CJSON and Unicode =
Considerations=E2=80=9D some =E2=80=9Cshould=E2=80=9Ds are used, but =
I=E2=80=99m not reading them as SHOULDs. Should they be SHOULDs?  For =
example, the start of the third paragraph in that section: =E2=80=9Cif =
new JWK members are defined that use non-ASCII member names, their =
definitions should specify the exact Unicode code point sequences used =
to represent them.=E2=80=9D  It=E2=80=99s not clear to me whether this =
is a strong statement or just a recommendation - it seems that this =
draft could help the future by making stronger statements to encourage =
future interoperability.
>=20
> For the other JOSE specifications, our chair Jim Schaad took the =
position that RFC 2119 keywords should be reserved for testable protocol =
behaviors and that other uses of the English word "should" should not =
use "SHOULD".  The authors followed that convention in this document.  I =
do understand that other authors and working groups have taken different =
positions in this regard.  If there are particular uses that you still =
feel should be changed to use RFC 2119 keywords, please call them out.
> =20
> This is all good, too.  I was simply pointing out that there are =
=E2=80=9Cshould=E2=80=9Ds around that may need to be considered as =
=E2=80=9CSHOULD=E2=80=9Ds. I also see Jim=E2=80=99s (and others=E2=80=99) =
subsequent notes on the subject, so this is good from my perspective.
>=20
>=20
>=20
>=20
>=20
>=20
> Kind regards,
> Adam
>=20
>                                                                 Thanks =
again!
>                                                                 -- =
Mike


--Apple-Mail=_AFF50B74-E35C-4317-9037-F9F5CA66C996
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi Nat and Mike,<div class=3D""><br class=3D""></div><div =
class=3D"">Thanks for your attention on this issue. &nbsp;I see the =
following text in section 3.4:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">Note that in many =
cases, only the party that creates a key will need</div><div =
class=3D"">&nbsp; &nbsp;to know the hash function used. &nbsp;A typical =
usage is for the producer</div><div class=3D"">&nbsp; &nbsp;of the key =
to use the base64url-encoded JWK Thumbprint value as a</div><div =
class=3D"">&nbsp; &nbsp;"kid" (key ID) value. &nbsp;The consumer of the =
"kid" treats it as an</div><div class=3D"">&nbsp; &nbsp;opaque value =
that it uses to select the key. &nbsp;Only if multiple</div><div =
class=3D"">&nbsp; &nbsp;parties will be reproducing the JWK Thumbprint =
calculation for some</div><div class=3D"">&nbsp; &nbsp;reason, will =
parties other than the original producer of the JWK</div><div =
class=3D"">&nbsp; &nbsp;Thumbprint need to know which hash function was =
used.</div></div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">Would it make the draft clearer if that =
last sentence were omitted? &nbsp;The way this paragraph reads is such =
that draft considers and would allow for multiple parties generating key =
IDs, but then we=E2=80=99re back at not knowing which algorithm was =
chosen. &nbsp;If that last sentence were omitted, this would be less of =
an issue. &nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jun 24, 2015, at 3:40 AM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" =
class=3D"">Michael.Jones@microsoft.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);" class=3D"">Hi Adam,<o:p =
class=3D""></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);" class=3D"">&nbsp;</span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;" class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">Thanks again for your =
review comments.&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-06" =
style=3D"color: purple; text-decoration: underline;" =
class=3D"">https://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-06</=
a><span class=3D"Apple-converted-space">&nbsp;</span>has been posted to =
address them.&nbsp; See sections 3.4 (Selection of Hash Function) and 6 =
(IANA Considerations).<o:p class=3D""></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" =
class=3D"">&nbsp;</span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);" =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Thanks again,<o:p class=3D""></o:p></span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;" class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Nat and Mike<o:p class=3D""></o:p></span></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">&nbsp;</span></div><div =
class=3D""><div style=3D"border-style: solid none none; =
border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: =
3pt 0in 0in;" class=3D""><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><b =
class=3D""><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;" class=3D"">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;" class=3D""><span =
class=3D"Apple-converted-space">&nbsp;</span>Kathleen Moriarty [<a =
href=3D"mailto:kathleen.moriarty.ietf@gmail.com" =
class=3D"">mailto:kathleen.moriarty.ietf@gmail.com</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""><b =
class=3D"">Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, June 22, 2015 12:51 =
PM<br class=3D""><b class=3D"">To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Mike Jones<br class=3D""><b =
class=3D"">Cc:</b><span class=3D"Apple-converted-space">&nbsp;</span>Adam =
W. Montville; The IESG; <a href=3D"mailto:secdir@ietf.org" =
class=3D"">secdir@ietf.org</a>; <a =
href=3D"mailto:draft-ietf-jose-jwk-thumbprint.all@ietf.org" =
class=3D"">draft-ietf-jose-jwk-thumbprint.all@ietf.org</a>; <a =
href=3D"mailto:jose@ietf.org" class=3D"">jose@ietf.org</a><br =
class=3D""><b class=3D"">Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: sector review of =
draft-ietf-jose-jwk-thumbprint-05<o:p =
class=3D""></o:p></span></div></div></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D""><o:p class=3D"">&nbsp;</o:p></div><div class=3D""><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D"">Yes, thank you.<o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D"">Kathleen&nbsp;<br class=3D""><br class=3D"">Sent from my =
iPhone<o:p class=3D""></o:p></div></div><div class=3D""><p =
class=3D"MsoNormal" style=3D"margin: 0in 0in 12pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><br class=3D"">On Jun 22, 2015, =
at 9:18 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" =
style=3D"color: purple; text-decoration: underline;" =
class=3D"">Michael.Jones@microsoft.com</a>&gt; wrote:<o:p =
class=3D""></o:p></p></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;" class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">I=E2=80=99d be glad to =
add the explanation below to the draft and to also include an IANA =
considerations section that states we are updating the expert review =
instructions for a registry, as Jim Schaad had suggested.&nbsp; Chairs =
and Kathleen, do you want Nat and I to proceed to publish an updated =
draft?</span><o:p class=3D""></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">&nbsp;</span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);" =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" =
class=3D"">&nbsp;</span><o:p class=3D""></o:p></div><div class=3D""><div =
style=3D"border-style: solid none none; border-top-color: rgb(181, 196, =
223); border-top-width: 1pt; padding: 3pt 0in 0in;" class=3D""><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><b class=3D""><span style=3D"font-size: =
10pt; font-family: Tahoma, sans-serif;" class=3D"">From:</span></b><span =
style=3D"font-size: 10pt; font-family: Tahoma, sans-serif;" =
class=3D""><span class=3D"Apple-converted-space">&nbsp;</span>Adam W. =
Montville [<a href=3D"mailto:adam.w.montville@gmail.com" style=3D"color: =
purple; text-decoration: underline;" =
class=3D"">mailto:adam.w.montville@gmail.com</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""><b =
class=3D"">Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Friday, June 12, 2015 5:07 =
AM<br class=3D""><b class=3D"">To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Mike Jones<br class=3D""><b =
class=3D"">Cc:</b><span class=3D"Apple-converted-space">&nbsp;</span>The =
IESG;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:secdir@ietf.org" style=3D"color: purple; text-decoration: =
underline;" class=3D"">secdir@ietf.org</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:draft-ietf-jose-jwk-thumbprint.all@ietf.org" =
style=3D"color: purple; text-decoration: underline;" =
class=3D"">draft-ietf-jose-jwk-thumbprint.all@ietf.org</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: purple; text-decoration: =
underline;" class=3D"">jose@ietf.org</a><br class=3D""><b =
class=3D"">Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: sector review of =
draft-ietf-jose-jwk-thumbprint-05</span><o:p =
class=3D""></o:p></div></div></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D"">&nbsp;<o:p class=3D""></o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D"">&nbsp;<o:p class=3D""></o:p></div><div class=3D""><blockquote =
style=3D"margin-top: 5pt; margin-bottom: 5pt;" class=3D""><div =
class=3D""><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;" class=3D"">On Jun 11, 2015, at =
4:25 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" =
style=3D"color: purple; text-decoration: underline;" =
class=3D"">Michael.Jones@microsoft.com</a>&gt; wrote:<o:p =
class=3D""></o:p></div></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D"">&nbsp;<o:p class=3D""></o:p></div><div class=3D""><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">Hi Adam,<br class=3D""><br=
 class=3D"">Thanks for the secdir review.<br class=3D""><br class=3D""><br=
 class=3D""><br class=3D""></span><o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">From: Adam W. Montville =
[<a href=3D"mailto:adam.w.montville@gmail.com" style=3D"color: purple; =
text-decoration: underline;" =
class=3D"">mailto:adam.w.montville@gmail.com</a>]<br class=3D"">Sent: =
Monday, June 08, 2015 8:46 AM<br class=3D"">To: The IESG;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:secdir@ietf.org" style=3D"color: purple; text-decoration: =
underline;" class=3D"">secdir@ietf.org</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:draft-ietf-jose-jwk-thumbprint.all@ietf.org" =
style=3D"color: purple; text-decoration: underline;" =
class=3D"">draft-ietf-jose-jwk-thumbprint.all@ietf.org</a><br =
class=3D"">Subject: sector review of =
draft-ietf-jose-jwk-thumbprint-05</span><o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D""><br =
class=3D""><br class=3D""></span><o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">Hi,</span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D""><br class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" class=3D"">I=
 have reviewed this document as part of the security directorate's =
ongoing effort to review all IETF documents being processed by the IESG. =
These comments were written primarily for the benefit of the security =
area directors. Document editors and WG chairs should treat these =
comments just like any other last call comments.<br class=3D""><br =
class=3D"">I believe the document is ready with (potential) issues. =
&nbsp;The =E2=80=9Cwith issues=E2=80=9D might be due to ignorance on my =
part. &nbsp;The draft does a very good job of explaining the canonical =
form of a JSON Web Key that can be used for establishing a thumbprint =
under varying circumstances, complete with what I found to be helpful =
examples.<br class=3D""><br class=3D"">The primary issue I have is that =
it=E2=80=99s unclear how relying parties are going to know which hash =
algorithm has been used. &nbsp;The examples use SHA-256, but I=E2=80=99m =
not seeing where SHA-256 might be specified as a MUST or even a SHOULD. =
&nbsp;Moreover, the example output ultimately shows only the Base-64 =
encoding of the resulting hash, which says nothing about the algorithm =
used to identify a key.</span><o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">Earlier =
drafts had included fields whose names were intended to communicate the =
information about the hash function used - see the "jkt" field =
definitions in<span class=3D"apple-converted-space">&nbsp;</span></span><a=
 =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-01#secti=
on-4" style=3D"color: purple; text-decoration: underline;" =
class=3D""><span style=3D"font-size: 9pt; font-family: Helvetica, =
sans-serif;" =
class=3D"">http://tools.ietf.org/html/draft-ietf-jose-jwk-thumbprint-01#se=
ction-4</span></a><span class=3D"apple-converted-space"><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D"">&nbsp;</span></span><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">- but several working =
group reviewers suggested that these fields were unnecessary and that =
the typical usage would be as "kid" (key ID) field values. &nbsp;With =
that removal, it falls onto the application to specify the hash =
algorithm for its particular usage.<br class=3D""><br class=3D"">This =
isn't as bad as you might think, however, because typically the consumer =
of the "kid" doesn't need to know the algorithm because it won't be =
reproducing the computation. &nbsp;It just relies on the fact that a =
unique key ID value was generated for the key and compares "kid" values =
as opaque strings to find the appropriate key. &nbsp;In this usage, the =
producer of the key is the only party that needs to know the hash =
algorithm that it is using. &nbsp;I hope this helps.</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D"">Yes, this does help, thank you. &nbsp;It seems like something =
that could be easily added to the draft to explain why the generating =
algorithm needn=E2=80=99t be disclosed so that slow folk like myself get =
the picture straight away.<o:p class=3D""></o:p></div></div><div =
class=3D""><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><br =
class=3D""><br class=3D""><br class=3D""><o:p class=3D""></o:p></div><div =
class=3D""><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D""><br class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D"">Additionally, in Section 4, =E2=80=9CJSON and Unicode =
Considerations=E2=80=9D some =E2=80=9Cshould=E2=80=9Ds are used, but =
I=E2=80=99m not reading them as SHOULDs. Should they be SHOULDs? =
&nbsp;For example, the start of the third paragraph in that section: =
=E2=80=9Cif new JWK members are defined that use non-ASCII member names, =
their definitions should specify the exact Unicode code point sequences =
used to represent them.=E2=80=9D &nbsp;It=E2=80=99s not clear to me =
whether this is a strong statement or just a recommendation - it seems =
that this draft could help the future by making stronger statements to =
encourage future interoperability.</span><o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">For the =
other JOSE specifications, our chair Jim Schaad took the position that =
RFC 2119 keywords should be reserved for testable protocol behaviors and =
that other uses of the English word "should" should not use "SHOULD". =
&nbsp;The authors followed that convention in this document. &nbsp;I do =
understand that other authors and working groups have taken different =
positions in this regard. &nbsp;If there are particular uses that you =
still feel should be changed to use RFC 2119 keywords, please call them =
out.</span><o:p class=3D""></o:p></div></div><div class=3D""><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D"">This is all good, too. &nbsp;I was simply pointing out that =
there are =E2=80=9Cshould=E2=80=9Ds around that may need to be =
considered as =E2=80=9CSHOULD=E2=80=9Ds. I also see Jim=E2=80=99s (and =
others=E2=80=99) subsequent notes on the subject, so this is good from =
my perspective.<o:p class=3D""></o:p></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;" class=3D""><br class=3D""><br class=3D""><br class=3D""><o:p =
class=3D""></o:p></div><div class=3D""><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D""><span style=3D"font-size: 9pt; font-family: Helvetica, =
sans-serif;" class=3D""><br class=3D""><br class=3D""><br =
class=3D""></span><o:p class=3D""></o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" =
class=3D""><span style=3D"font-size: 9pt; font-family: Helvetica, =
sans-serif;" class=3D"">Kind regards,<br class=3D"">Adam</span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D""><br class=3D""><span =
class=3D"apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span>Thanks again!<br =
class=3D""><span =
class=3D"apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span>-- =
Mike</span></div></div></div></div></blockquote></div></div></blockquote><=
/div><br class=3D""></div></body></html>=

--Apple-Mail=_AFF50B74-E35C-4317-9037-F9F5CA66C996--

