
From trac+jose@trac.tools.ietf.org  Fri Jan  3 14:28:34 2014
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B78901ADFC5 for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 14:28:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.438
X-Spam-Level: 
X-Spam-Status: No, score=-2.438 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.538] 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 TTuWFwUEtEYf for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 14:28:33 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id C14811ADFD7 for <jose@ietf.org>; Fri,  3 Jan 2014 14:28:32 -0800 (PST)
Received: from localhost ([127.0.0.1]:54792 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VzDE4-0007ME-2C; Fri, 03 Jan 2014 23:28:20 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 03 Jan 2014 22:28:20 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/183#comment:1
Message-ID: <076.e773df6e8032121a26918154e0208c52@trac.tools.ietf.org>
References: <061.be7ceb43ef76d1c8535140449cb25438@trac.tools.ietf.org>
X-Trac-Ticket-ID: 183
In-Reply-To: <061.be7ceb43ef76d1c8535140449cb25438@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #183: Use table to assoicate sizes of keys, hashes, other algorithms
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jan 2014 22:28:34 -0000

#183: Use table to assoicate sizes of keys, hashes, other algorithms

Changes (by ietf@augustcellars.com):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I find this more readable, the only question would be it makes more sense
 to break down the columns in more detail. - I.E in section 3.5 - might
 have columns "alg", "Group", "Hash".
 However I don't think this is necessary.

-- 
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  draft-ietf-jose-json-web-
  ietf@augustcellars.com |  algorithms@tools.ietf.org
     Type:  defect       |      Status:  closed
 Priority:  major        |   Milestone:
Component:  json-web-    |     Version:
  algorithms             |  Resolution:  fixed
 Severity:  -            |
 Keywords:               |
-------------------------+-------------------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/183#comment:1>
jose <http://tools.ietf.org/jose/>


From trac+jose@trac.tools.ietf.org  Fri Jan  3 14:30:34 2014
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28E661ADFDA for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 14:30:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.438
X-Spam-Level: 
X-Spam-Status: No, score=-2.438 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.538] 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 TdM-ZF7mH1kg for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 14:30:32 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 8855B1ADFD7 for <jose@ietf.org>; Fri,  3 Jan 2014 14:30:32 -0800 (PST)
Received: from localhost ([127.0.0.1]:54897 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VzDG2-0001Hd-On; Fri, 03 Jan 2014 23:30:22 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 03 Jan 2014 22:30:22 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/77#comment:2
Message-ID: <076.3f70ba5df36bd5e51aa7817b8c67d6cd@trac.tools.ietf.org>
References: <061.64be8e18ed91ced2474af6cbff88b7a3@trac.tools.ietf.org>
X-Trac-Ticket-ID: 77
In-Reply-To: <061.64be8e18ed91ced2474af6cbff88b7a3@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #77: Section 3.7 "x5c" (X.509 Certificate Chain) Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jan 2014 22:30:34 -0000

#77: Section 3.7 "x5c" (X.509 Certificate Chain) Parameter

Changes (by ietf@augustcellars.com):

 * status:  new => closed
 * resolution:   => fixed


-- 
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  draft-ietf-jose-json-web-
  ietf@augustcellars.com |  key@tools.ietf.org
     Type:  defect       |      Status:  closed
 Priority:  Editorial    |   Milestone:
Component:  json-web-    |     Version:
  key                    |  Resolution:  fixed
 Severity:  -            |
 Keywords:               |
-------------------------+-------------------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/77#comment:2>
jose <http://tools.ietf.org/jose/>


From ietf@augustcellars.com  Fri Jan  3 15:14:51 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD0751ADFEF for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 15:14:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 TWo880mbBbC4 for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 15:14:50 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 1976D1ADFD6 for <jose@ietf.org>; Fri,  3 Jan 2014 15:14:50 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 3E19338F3F for <jose@ietf.org>; Fri,  3 Jan 2014 15:14:42 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Fri, 3 Jan 2014 15:13:10 -0800
Message-ID: <03ea01cf08d9$5ee3b320$1cab1960$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_03EB_01CF0896.50C13670"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac8I09z5up8KyipkQ66Ef0/ZIcMHYg==
Content-Language: en-us
Subject: [jose] Web-Signature-10 - Appendix D - Notes on validation key selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jan 2014 23:14:52 -0000

This is a multipart message in MIME format.

------=_NextPart_000_03EB_01CF0896.50C13670
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I am not happy with the text a that is in this section.  I think it
completely misses what I was suggesting to do in the mail message that I
sent and I am not sure that it captures what Richard suggested either.
Among other things it seems to talk about a number of algorithms but there
are no actual algorithms presented in the text.  Nor does it deal with any
of the issues about needing to filter based on attributes and algorithms in
any meaningful way.

 

Jim

 


------=_NextPart_000_03EB_01CF0896.50C13670
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I am not =
happy with the text a that is in this section.&nbsp; I think it =
completely misses what I was suggesting to do in the mail message that I =
sent and I am not sure that it captures what Richard suggested =
either.&nbsp; Among other things it seems to talk about a number of =
algorithms but there are no actual algorithms presented in the =
text.&nbsp; Nor does it deal with any of the issues about needing to =
filter based on attributes and algorithms in any meaningful =
way.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Jim<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_03EB_01CF0896.50C13670--


From Michael.Jones@microsoft.com  Fri Jan  3 16:51:52 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D6FF1AE000 for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 16:51:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.702
X-Spam-Level: 
X-Spam-Status: No, score=-0.702 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 r4mu_A9I9zhb for <jose@ietfa.amsl.com>; Fri,  3 Jan 2014 16:51:50 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0153.outbound.protection.outlook.com [207.46.163.153]) by ietfa.amsl.com (Postfix) with ESMTP id E95371ADFFE for <jose@ietf.org>; Fri,  3 Jan 2014 16:51:49 -0800 (PST)
Received: from BLUPR03CA034.namprd03.prod.outlook.com (10.141.30.27) by BLUPR03MB004.namprd03.prod.outlook.com (10.255.208.38) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sat, 4 Jan 2014 00:51:41 +0000
Received: from BL2FFO11FD016.protection.gbl (2a01:111:f400:7c09::191) by BLUPR03CA034.outlook.office365.com (2a01:111:e400:879::27) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sat, 4 Jan 2014 00:51:41 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD016.mail.protection.outlook.com (10.173.160.224) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 4 Jan 2014 00:51:40 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.03.0158.002; Sat, 4 Jan 2014 00:51:10 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Web-Signature-10 - Appendix D - Notes on validation key selection
Thread-Index: Ac8I09z5up8KyipkQ66Ef0/ZIcMHYgAEpHDg
Date: Sat, 4 Jan 2014 00:51:10 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD9AADF@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <03ea01cf08d9$5ee3b320$1cab1960$@augustcellars.com>
In-Reply-To: <03ea01cf08d9$5ee3b320$1cab1960$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD9AADFTK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(199002)(189002)(46102001)(59766001)(54356001)(77982001)(50986001)(56816005)(76786001)(81542001)(63696002)(74366001)(47446002)(77096001)(33656001)(79102001)(81686001)(85852003)(56776001)(4396001)(76796001)(20776003)(47976001)(53806001)(47736001)(19300405004)(66066001)(55846006)(512954002)(15975445006)(54316002)(90146001)(80022001)(76482001)(84326002)(81342001)(31966008)(49866001)(74706001)(83072002)(74662001)(85806002)(74502001)(224313003)(51856001)(80976001)(87936001)(16297215004)(85306002)(44976005)(224303002)(83322001)(87266001)(15202345003)(65816001)(81816001)(71186001)(19580395003)(16236675002)(6806004)(69226001)(2656002)(19580405001)(74876001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB004; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 008184426E
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] Web-Signature-10 - Appendix D - Notes on validation key	selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2014 00:51:52 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CD9AADFTK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The algorithms are the combinatorial combinations of the key selection step=
s in the bullets of http://tools.ietf.org/html/draft-ietf-jose-json-web-sig=
nature-19#appendix-D, including applying them in different orders.  As I se=
e it, suggesting a particular order or requiring that particular steps be p=
erformed would be going too far, as it would appear to be verging on normat=
ive requirements, where there actually are none.

If you want us to say that the algorithms are as described in the first sen=
tence of this note, if you believe that would make things more clear, I can=
 do that.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Friday, January 03, 2014 3:13 PM
To: jose@ietf.org
Subject: [jose] Web-Signature-10 - Appendix D - Notes on validation key sel=
ection

I am not happy with the text a that is in this section.  I think it complet=
ely misses what I was suggesting to do in the mail message that I sent and =
I am not sure that it captures what Richard suggested either.  Among other =
things it seems to talk about a number of algorithms but there are no actua=
l algorithms presented in the text.  Nor does it deal with any of the issue=
s about needing to filter based on attributes and algorithms in any meaning=
ful way.

Jim


--_000_4E1F6AAD24975D4BA5B16804296739437CD9AADFTK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The algorithms are the=
 combinatorial combinations of the key selection steps in the bullets of
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19=
#appendix-D">
http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#appendix-D=
</a>, including applying them in different orders.&nbsp; As I see it, sugge=
sting a particular order or requiring that particular steps be performed wo=
uld be going too far, as it would appear
 to be verging on normative requirements, where there actually are none.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">If you want us to say =
that the algorithms are as described in the first sentence of this note, if=
 you believe that would make things more clear, I can do that.<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Friday, January 03, 2014 3:13 PM<br>
<b>To:</b> jose@ietf.org<br>
<b>Subject:</b> [jose] Web-Signature-10 - Appendix D - Notes on validation =
key selection<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am not happy with the text a that is in this secti=
on.&nbsp; I think it completely misses what I was suggesting to do in the m=
ail message that I sent and I am not sure that it captures what Richard sug=
gested either.&nbsp; Among other things it seems
 to talk about a number of algorithms but there are no actual algorithms pr=
esented in the text.&nbsp; Nor does it deal with any of the issues about ne=
eding to filter based on attributes and algorithms in any meaningful way.<o=
:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Jim<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD9AADFTK5EX14MBXC286r_--

From ietf@augustcellars.com  Sat Jan  4 12:00:58 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 160B91AE09B for <jose@ietfa.amsl.com>; Sat,  4 Jan 2014 12:00:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 qQfASxgHnoXa for <jose@ietfa.amsl.com>; Sat,  4 Jan 2014 12:00:55 -0800 (PST)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id 442211AE099 for <jose@ietf.org>; Sat,  4 Jan 2014 12:00:55 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 5C4582C9EE; Sat,  4 Jan 2014 12:00:47 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>
References: <03ea01cf08d9$5ee3b320$1cab1960$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CD9AADF@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD9AADF@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Sat, 4 Jan 2014 11:58:28 -0800
Message-ID: <044c01cf0987$7244a510$56cdef30$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_044D_01CF0944.64224F70"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQH+CEmbCKpUxf5v/M8eLLZ4ScrXfwFGxCtQmgzBSgA=
Content-Language: en-us
Subject: Re: [jose] Web-Signature-10 - Appendix D - Notes on validation key	selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2014 20:00:58 -0000

This is a multipart message in MIME format.

------=_NextPart_000_044D_01CF0944.64224F70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I don't see why this cannot be addressed by good introductory text.

 

This is an information appendix that presents one of a large number of
possible ways to deal with determining which keys  are to be used for
communicating with other individuals for both encrypting messages and
validating signed and MAC messages. The algorithm that is presented here is
designed to be relatively complete in order to give good guidance about the
types of issues that need to be considered in performing the selection of
keys and additional criteria that may need to be included in the process of
selecting keys.  The order and inclusion of steps in this algorithm does not
mean that they need to be performed in this order or that they are required
in all contexts.   Specific applications will frequently have a much simpler
method of determining the keys as there may be one or two choices that are
profiled for use. 

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Friday, January 03, 2014 4:51 PM
To: Jim Schaad; jose@ietf.org
Subject: RE: [jose] Web-Signature-10 - Appendix D - Notes on validation key
selection

 

The algorithms are the combinatorial combinations of the key selection steps
in the bullets of
http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#appendix-D,
including applying them in different orders.  As I see it, suggesting a
particular order or requiring that particular steps be performed would be
going too far, as it would appear to be verging on normative requirements,
where there actually are none.

 

If you want us to say that the algorithms are as described in the first
sentence of this note, if you believe that would make things more clear, I
can do that.

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Friday, January 03, 2014 3:13 PM
To: jose@ietf.org
Subject: [jose] Web-Signature-10 - Appendix D - Notes on validation key
selection

 

I am not happy with the text a that is in this section.  I think it
completely misses what I was suggesting to do in the mail message that I
sent and I am not sure that it captures what Richard suggested either.
Among other things it seems to talk about a number of algorithms but there
are no actual algorithms presented in the text.  Nor does it deal with any
of the issues about needing to filter based on attributes and algorithms in
any meaningful way.

 

Jim

 


------=_NextPart_000_044D_01CF0944.64224F70
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>I don&#8217;t see why this cannot be addressed =
by good introductory text.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>This is an information =
appendix that presents one of a large number of possible ways to deal =
with determining which keys &nbsp;are to be used for communicating with =
other individuals for both encrypting messages and validating signed and =
MAC messages. The algorithm that is presented here is designed to be =
relatively complete in order to give good guidance about the types of =
issues that need to be considered in performing the selection of keys =
and additional criteria that may need to be included in the process of =
selecting keys.&nbsp; The order and inclusion of steps in this algorithm =
does not mean that they need to be performed in this order or that they =
are required in all contexts.&nbsp;&nbsp; Specific applications will =
frequently have a much simpler method of determining the keys as there =
may be one or two choices that are profiled for use. =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> Friday, =
January 03, 2014 4:51 PM<br><b>To:</b> Jim Schaad; =
jose@ietf.org<br><b>Subject:</b> RE: [jose] Web-Signature-10 - Appendix =
D - Notes on validation key =
selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>The algorithms are the combinatorial =
combinations of the key selection steps in the bullets of <a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#=
appendix-D">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature=
-19#appendix-D</a>, including applying them in different orders.&nbsp; =
As I see it, suggesting a particular order or requiring that particular =
steps be performed would be going too far, as it would appear to be =
verging on normative requirements, where there actually are =
none.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>If you want us to say =
that the algorithms are as described in the first sentence of this note, =
if you believe that would make things more clear, I can do =
that.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'>&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;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Jim Schaad<br><b>Sent:</b> Friday, January 03, 2014 =
3:13 PM<br><b>To:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> =
[jose] Web-Signature-10 - Appendix D - Notes on validation key =
selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I am not =
happy with the text a that is in this section.&nbsp; I think it =
completely misses what I was suggesting to do in the mail message that I =
sent and I am not sure that it captures what Richard suggested =
either.&nbsp; Among other things it seems to talk about a number of =
algorithms but there are no actual algorithms presented in the =
text.&nbsp; Nor does it deal with any of the issues about needing to =
filter based on attributes and algorithms in any meaningful =
way.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Jim<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_044D_01CF0944.64224F70--


From Michael.Jones@microsoft.com  Sat Jan  4 12:51:27 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 748801AE0A0 for <jose@ietfa.amsl.com>; Sat,  4 Jan 2014 12:51:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 k0_aNIfPiRT6 for <jose@ietfa.amsl.com>; Sat,  4 Jan 2014 12:51:24 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0158.outbound.protection.outlook.com [207.46.163.158]) by ietfa.amsl.com (Postfix) with ESMTP id 5C6501AE087 for <jose@ietf.org>; Sat,  4 Jan 2014 12:51:24 -0800 (PST)
Received: from DM2PR03CA008.namprd03.prod.outlook.com (10.141.52.156) by BN1PR03MB284.namprd03.prod.outlook.com (10.255.200.26) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sat, 4 Jan 2014 20:51:14 +0000
Received: from BN1AFFO11FD005.protection.gbl (2a01:111:f400:7c10::177) by DM2PR03CA008.outlook.office365.com (2a01:111:e400:2414::28) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Sat, 4 Jan 2014 20:51:14 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 4 Jan 2014 20:51:13 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([157.54.7.154]) with mapi id 14.03.0158.002; Sat, 4 Jan 2014 20:50:38 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Web-Signature-10 - Appendix D - Notes on validation	key selection
Thread-Index: AQHPCYfAZqDKUVhOykSLxGyCTef9hJp1ChPQ
Date: Sat, 4 Jan 2014 20:50:38 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD9DCF9@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <03ea01cf08d9$5ee3b320$1cab1960$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CD9AADF@TK5EX14MBXC286.redmond.corp.microsoft.com> <044c01cf0987$7244a510$56cdef30$@augustcellars.com>
In-Reply-To: <044c01cf0987$7244a510$56cdef30$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD9DCF9TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(189002)(199002)(66066001)(65816001)(53806001)(512954002)(51856001)(47446002)(46102001)(56816005)(15202345003)(54356001)(90146001)(2656002)(33656001)(20776003)(63696002)(76482001)(74502001)(74662001)(16297215004)(80022001)(15975445006)(31966008)(74706001)(76786001)(76796001)(224303002)(59766001)(81342001)(54316002)(77096001)(6806004)(69226001)(44976005)(49866001)(74876001)(85306002)(71186001)(4396001)(87936001)(79102001)(16236675002)(81686001)(81542001)(81816001)(87266001)(19580405001)(83322001)(47976001)(84326002)(19580395003)(50986001)(74366001)(55846006)(83072002)(19300405004)(224313003)(85806002)(56776001)(80976001)(47736001)(77982001)(85852003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB284; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 008184426E
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] Web-Signature-10 - Appendix D - Notes on validation	key	selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2014 20:51:27 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CD9DCF9TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

That's good text - thanks.  I'll incorporate it in the next revision.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Saturday, January 04, 2014 11:58 AM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] Web-Signature-10 - Appendix D - Notes on validation key=
 selection

I don't see why this cannot be addressed by good introductory text.

This is an information appendix that presents one of a large number of poss=
ible ways to deal with determining which keys  are to be used for communica=
ting with other individuals for both encrypting messages and validating sig=
ned and MAC messages. The algorithm that is presented here is designed to b=
e relatively complete in order to give good guidance about the types of iss=
ues that need to be considered in performing the selection of keys and addi=
tional criteria that may need to be included in the process of selecting ke=
ys.  The order and inclusion of steps in this algorithm does not mean that =
they need to be performed in this order or that they are required in all co=
ntexts.   Specific applications will frequently have a much simpler method =
of determining the keys as there may be one or two choices that are profile=
d for use.

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Friday, January 03, 2014 4:51 PM
To: Jim Schaad; jose@ietf.org<mailto:jose@ietf.org>
Subject: RE: [jose] Web-Signature-10 - Appendix D - Notes on validation key=
 selection

The algorithms are the combinatorial combinations of the key selection step=
s in the bullets of http://tools.ietf.org/html/draft-ietf-jose-json-web-sig=
nature-19#appendix-D, including applying them in different orders.  As I se=
e it, suggesting a particular order or requiring that particular steps be p=
erformed would be going too far, as it would appear to be verging on normat=
ive requirements, where there actually are none.

If you want us to say that the algorithms are as described in the first sen=
tence of this note, if you believe that would make things more clear, I can=
 do that.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Friday, January 03, 2014 3:13 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] Web-Signature-10 - Appendix D - Notes on validation key sel=
ection

I am not happy with the text a that is in this section.  I think it complet=
ely misses what I was suggesting to do in the mail message that I sent and =
I am not sure that it captures what Richard suggested either.  Among other =
things it seems to talk about a number of algorithms but there are no actua=
l algorithms presented in the text.  Nor does it deal with any of the issue=
s about needing to filter based on attributes and algorithms in any meaning=
ful way.

Jim


--_000_4E1F6AAD24975D4BA5B16804296739437CD9DCF9TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">That&#8217;s good text=
 &#8211; thanks.&nbsp; I&#8217;ll incorporate it in the next revision.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Saturday, January 04, 2014 11:58 AM<br>
<b>To:</b> Mike Jones; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] Web-Signature-10 - Appendix D - Notes on validat=
ion key selection<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I don&#8217;t see why =
this cannot be addressed by good introductory text.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">This is an information=
 appendix that presents one of a large number of possible ways to deal with=
 determining which keys &nbsp;are to be used for communicating with other i=
ndividuals for both encrypting messages and
 validating signed and MAC messages. The algorithm that is presented here i=
s designed to be relatively complete in order to give good guidance about t=
he types of issues that need to be considered in performing the selection o=
f keys and additional criteria that
 may need to be included in the process of selecting keys.&nbsp; The order =
and inclusion of steps in this algorithm does not mean that they need to be=
 performed in this order or that they are required in all contexts.&nbsp;&n=
bsp; Specific applications will frequently have
 a much simpler method of determining the keys as there may be one or two c=
hoices that are profiled for use.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mike Jon=
es [<a href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@mic=
rosoft.com</a>]
<br>
<b>Sent:</b> Friday, January 03, 2014 4:51 PM<br>
<b>To:</b> Jim Schaad; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> RE: [jose] Web-Signature-10 - Appendix D - Notes on validat=
ion key selection<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The algorithms are the=
 combinatorial combinations of the key selection steps in the bullets of
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19=
#appendix-D">
http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#appendix-D=
</a>, including applying them in different orders.&nbsp; As I see it, sugge=
sting a particular order or requiring that particular steps be performed wo=
uld be going too far, as it would appear
 to be verging on normative requirements, where there actually are none.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">If you want us to say =
that the algorithms are as described in the first sentence of this note, if=
 you believe that would make things more clear, I can do that.<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Friday, January 03, 2014 3:13 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] Web-Signature-10 - Appendix D - Notes on validation =
key selection<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am not happy with the text a that is in this secti=
on.&nbsp; I think it completely misses what I was suggesting to do in the m=
ail message that I sent and I am not sure that it captures what Richard sug=
gested either.&nbsp; Among other things it seems
 to talk about a number of algorithms but there are no actual algorithms pr=
esented in the text.&nbsp; Nor does it deal with any of the issues about ne=
eding to filter based on attributes and algorithms in any meaningful way.<o=
:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Jim<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD9DCF9TK5EX14MBXC286r_--

From ve7jtb@ve7jtb.com  Mon Jan  6 16:43:27 2014
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C47821AD9A9 for <jose@ietfa.amsl.com>; Mon,  6 Jan 2014 16:43:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 3zduLK7uZZ2w for <jose@ietfa.amsl.com>; Mon,  6 Jan 2014 16:43:19 -0800 (PST)
Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by ietfa.amsl.com (Postfix) with ESMTP id 33D551AD986 for <jose@ietf.org>; Mon,  6 Jan 2014 16:43:19 -0800 (PST)
Received: by mail-ve0-f180.google.com with SMTP id jz11so9817845veb.11 for <jose@ietf.org>; Mon, 06 Jan 2014 16:43:10 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=pkwGTpCbi0Li5u6ednU3vMgLbR8kZDpCGnOU7U3Yw28=; b=ACyGv8cOqKZyttchRyfpLUSnq/3/vfDLKW+bYaO2/FAZCHvLmIIn2l/AA7e+qs2FOo VLOlNlhwW75k3veUV8+fqmQdMELYA2XDjqVZVEC4YXv53Z3LsNLSLOu9/WkODDXHa0ix CdGEVlTcoipOREk/nbAdERswSnw/DQYkpH8832vZu9Xxk1QtRef/mj4Duf3SXcyXkOgu 9OBcYaL+YWmoe72l4Knadpyx3CNFS1BcK3dcFloPKEeygQ4vItN+HJo5eDff6E6davN3 +M5rVlBM2u4ajK6cxjZz4kx+gaS1wG1accQPVhhCcQxfeHUgDy6EteWifr7J8e+VR3EX jIYQ==
X-Gm-Message-State: ALoCoQmKO8q8nwbH65FGohCYcfxxIO8p/SXMAxcKE/b5aQkDM7MmcLe5cTubJUWfOXei8jfx4S+z
X-Received: by 10.52.31.227 with SMTP id d3mr172177vdi.38.1389055390254; Mon, 06 Jan 2014 16:43:10 -0800 (PST)
Received: from [192.168.1.216] (190-20-53-26.baf.movistar.cl. [190.20.53.26]) by mx.google.com with ESMTPSA id xx10sm71169678vdc.7.2014.01.06.16.43.04 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 16:43:07 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_32E5E063-911A-4119-BF0E-49609075E780"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD86718@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 6 Jan 2014 21:43:00 -0300
Message-Id: <D5C09BE4-F972-4D3E-BC3A-EDCAE9977859@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com> <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com> <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B1680429 6739437CD81B45@TK5EX14MBXC286.redmond.corp.microsoft.com> <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD86718@TK5EX14MBXC286.redmond.corp.microsoft.com>
To: Michael Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1827)
Cc: Richard Barnes <rlb@ipv.sx>, "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 00:43:28 -0000

--Apple-Mail=_32E5E063-911A-4119-BF0E-49609075E780
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_31B88B85-B574-4CBD-AE51-B8D03250F55B"


--Apple-Mail=_31B88B85-B574-4CBD-AE51-B8D03250F55B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Use was originally optional so going back to that is fine.

Having the Web Crypto WG sort out meta-data for key usage by the crypto =
subsystem and or secure storage with other elements is fine with me.

I think they are different use cases one for private or secret keys and =
the other for public keys.

I do think that for storage restricting the alg will be required if =
disclosure to the application layer is to be prevented, but the WC WG =
can work on that without holding up the JWK spec as long as they have =
the extension point.

John B.

On Dec 31, 2013, at 4:18 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

> The context that some participants may not be keeping in mind is that =
when =93use=94 was defined, JWKs were intentionally limited to =
representing public keys.  The =93use=94 field is used for =
distinguishing between public signing keys and encryption keys.  The use =
case where a set of public keys is publicly advertised for use by a =
protocol participant is quite common.  =93use=94 is intentionally =
designed for that use case and works great there.
> =20
> Sometime later, we added the ability to represent private and =
symmetric keys to JWK =96 at the request of the WebCrypto WG.  This =
expanded the possible use cases for JWKs to include transporting =
non-public keys between protocol participants.  With the addition of =
non-public keys, additional key uses became possible, including the =
possibility of the same key being legally used for two things =
(signing/verification, etc.).  The =93use_details=94 representation =
makes sense for those use cases.
> =20
> I=92d be fine relaxing the language saying that =93use=94 must be =
present, because I agree it=92s not a good fit if non-public keys are =
present.  I suspect not requiring =93use=94 would make people happier in =
the non-public use cases.  And we could explicitly say that =93use=94 is =
intended for use cases where only public keys are present.  Do people =
agree with this change?
> =20
> Given our goal of keeping simple things simple, I believe that =93use=94=
 should be retained as-is for the very common use case of sets of public =
keys.  It already works great there.
> =20
> I=92d also be fine saying that applications should specify which of =
=93use=94 and =93use_details=94 they will use and that the other will be =
ignored.  I=92m also fine changing the name of =93use_details=94 to =
=93eku=94 (extended key usages) or something similar =96 reflecting the =
fact that then =93use=94 and =93eku=94 aren=92t intended to be used =
together.  And we would say that this field is intended for use cases =
where both public and non-public keys may be present.  Do people agree =
with this change?  If so, what name do you want us to use for the =
expanded key usages field?
> =20
>                                                             -- Mike
> From: Richard Barnes [mailto:rlb@ipv.sx]=20
> Sent: Tuesday, December 31, 2013 9:03 AM
> To: Mike Jones
> Cc: ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> Subject: Re: [jose] Two proposed JOSE spec actions to more closely =
coordinate with WebCrypto
> =20
> However, in advocating for two, parallel extensions to JWK for =
essentially the same purpose, you're basically arguing that "use" is not =
generally applicable to JWK -- it applies to OpenID/SAML-like stuff, but =
not much more broadly.  (You can't really say the same thing about the =
more detailed version, since it's a superset.)  But if "use" is not a =
generally useful feature of JWK, then it shouldn't be part of the spec.
> =20
> In other words, if a feature is going to be part of the JWK spec, then =
it needs to meet the requirements that participants in this group put =
forth.  If we're choosing not to meet those requirements (as "use" does =
not), then it needs to come out of the spec.
>=20
> I think there's still room for compromise here (see my other reply on =
the proposal directly).  But if there's no compromise, then there's no =
consensus, and "use" needs to go.
> =20
> --Richard
>=20
>=20
>=20
> =20
>=20
> On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones =
<Michael.Jones@microsoft.com> wrote:
> There's nothing wrong with different use cases with different needs =
supplying different key metadata.
>=20
> The ability to do that is an indication of the versatility and =
usefulness of the JWK format - not a deficiency.
> From: Ryan Sleevi
> Sent: 12/30/2013 1:55 PM
> To: Mike Jones
> Cc: Mike Jones; ryan-ietf@sleevi.com; Richard Barnes; John Bradley; =
jose@ietf.org
>=20
> Subject: Re: [jose] Two proposed JOSE spec actions to more closely =
coordinate with WebCrypto
>=20
> On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:
> >  ... and lest there be any confusion, the JWK spec doesn't require =
the use
> >  of "use".  WebCrypto can specify that it not be used and require =
the use
> >  of "use_details" if that best meets the needs of your use case.
>=20
> So you're still arguing for two, incompatible ways of expressing use
> within the base spec. The current draft (-19) proposes that "A 'use'
> member SHOULD be present, unless the application uses another means or
> convention to determine the intended key usage".
>=20
> That is, if draft-19 were pushed to WGLC, it would leave authors =
confused
> as to when to use either. As specified, the language still strongly
> prefers "use", and continues to suggest "use_details" as a subset, =
when
> it's not really.
>=20
> Richard's solution is much more sensible, in that it makes it clear =
that
> there is a single clean way to communicate use going forward, and a
> deprecated way from existing specs. Existing keys can continue to be
> imported into new versions of the spec - it's only an issue when a new
> version of the spec is used to interoperate with an older version. I =
don't
> think it's fair to suggest that's "backwards compatibility" - that's =
an
> issue of "forwards compatibility", and one that is far trickier to get
> right, and arguably far less important here - and one that can be
> addressed in *new* implementations by choice or config.
>=20
> Let me try to state the problem differently:
>=20
> Is "use" generically suitable for use cases of JWK? Can you envision =
other
> scenarios where it can be gracefully extended?
>=20
> As I see it, the answer is clearly "no", as already evidenced by
> WebCrypto's intended use, but also demonstrated by Axel's example of =
"do
> not want" (which is X.509's 'extended key usages' field). As such, we
> should try to fix that spec before finalizing, rather than bolt-on
> additions and try to rush things through WGLC, or we should accept =
that
> this is a problem the spec/spec authors are not interested in solving
> cleanly, and WebCrypto can move to a solution that does.
>=20
> Both specs are still in their infancy of both implementation and =
adoption
> and we should try to do things right while we can.
>=20
> >  ________________________________
> >  From: Mike Jones<mailto:Michael.Jones@microsoft.com>
> >  Sent: =FD12/=FD30/=FD2013 1:12 PM
> >  To: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>
> >  Cc: Richard Barnes<mailto:rlb@ipv.sx>; John
> >  Bradley<mailto:ve7jtb@ve7jtb.com>; =
jose@ietf.org<mailto:jose@ietf.org>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >  Ryan, this isn't an either-or situation. JWK is intended to be a =
general
> >  key representation format. It's extensible exactly so information =
for any
> >  use cases that need info not in the base spec can add it.  I'm =
still
> >  puzzled why some in WebCrypo felt uncomfortable using this =
extensibility
> >  by defining and registering a new field for WebCrypyo's =
representation of
> >  use info. But observing that to be the case, I'm attempting to be =
as clear
> >  as possible (through spec actions!) that there's absolutely no =
reason for
> >  WebCrypto not to use JWK.
> >
> >  There's no plans to "continue to evolve JWK to parallel the SAML
> >  workflows" that I'm aware of. Rather, I believe the only further =
addition
> >  being considered before completing the spec is one motivated by
> >  WebCrypto's use case rather than SAML - "use_details".
> >
> >  I believe that the current JWK spec already meets WebCrypto's needs =
as-is.
> >   Is there any reason not to just use it and move on to addressing =
other
> >  issues needed to be resolved to complete both JOSE and WebCrypto, =
both of
> >  which I see as being complementary and important to the industry?
> >
> >  -- Mike
> >  ________________________________
> >  From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com>
> >  Sent: =FD12/=FD30/=FD2013 12:47 PM
> >  To: Mike Jones<mailto:Michael.Jones@microsoft.com>
> >  Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; Richard
> >  Barnes<mailto:rlb@ipv.sx>; John Bradley<mailto:ve7jtb@ve7jtb.com>;
> >  jose@ietf.org<mailto:jose@ietf.org>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >  On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
> > >  As further background for the discussion, the current "use" =
definition
> > > is
> > >  based on widely deployed existing practice - the SAML metadata
> > >  specification
> > >  =
(http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf),
> > >  which defines "use" as follows in section 2.4.1.1:
> > >  use [Optional]
> > >  Optional attribute specifying the purpose of the key being =
described.
> > >  Values are drawn from the
> > >
> > >  KeyTypes enumeration, and consist of the values encryption and =
signing.
> > >
> > >
> > >
> > >  This has been shown to be sufficient in practice for its intended
> > > purpose,
> > >  as has the JWK "use" field.
> > >
> >
> >  Mike,
> >
> >  I feel like you're arguing all the more strongly for WebCrypto not =
to use
> >  JWK, in that you're arguing that JWK's "intended purpose" is to =
match
> >  SAML. I can understand where this fits within the JWT and OpenID =
Connect
> >  workflows, but as a "JSON key description" format, it is =
unquestionably
> >  much more restrictive and ill-suited.
> >
> >  If the goal is to continue to evolve JWK to parallel the SAML =
workflows,
> >  then I don't see how WebCrypto can in good conscience encourage =
JWK.
> >
> >  There's nothing preventing authors from translating JWK into any =
sort of
> >  API form that WebCrypto requires - much in the same way that they =
can
> >  translate the composite JWA algorithms (which are suitable for =
transport)
> >  into WebCrypto's broader, more generic algorithms (which are =
suitable for
> >  an API targeting application development).
> >
> >  Arguably, the only reasons to use JWK are to prevent introducing =
"yet
> >  another key format". While laudable, if JWK is trying to mirror =
SAML, then
> >  it would seem that JWK is not trying to be a key format, per se, =
and such
> >  risk would be low.
> >
> >  Again, I'm perfectly fine if JOSE would rather that JWK be kept as =
minimal
> >  and as specific for the JWT use case, and we can easily use a =
descriptive
> >  WebIDL within WebCrypto to describe the key formats it operates =
with (in
> >  addition to SPKI and PKCS#8). Comments so far from this WG give me =
the
> >  sense that there's strong opposition by some to seeing JWK evolve =
to be as
> >  flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
> >  extensibility that WebCrypto wants, and if JWK isn't it, we can use
> >  something else. OpenID Connect and JWT can continue to use JWK as =
suited
> >  for their needs, and if for some reason someone wants to use JS to
> >  interact with these, they can use a translation shim, just as they =
would
> >  for JWE/JWS or for *any other* cryptographic application, since =
WebCrypto
> >  is "just" an API.
> >
> > >
> > >
> > >  I understand your point, Ryan, that for the WebCrypto API use =
case,
> > > there
> > >  is sometimes value in distinguishing between the producer and =
consumer
> > >  operations for a key.  That's part of why I proposed adding
> > > "use_details",
> > >  so those distinctions can be made for the use cases where they do =
make
> > > a
> > >  difference.
> > >
> > >
> > >
> > >  As for Richard's proposal, the problem with it is that it would =
be a
> > >  breaking change, since if "ku" was present, his proposal would =
require
> > >  different treatment of the "use" field (ignoring it).  My =
proposal is
> > > not
> > >  a breaking change, since "use" continues to mean what it always =
has.
> > >  Furthermore, my proposal requires that "use" and "use_details" =
convey
> > >  consistent information, if both are present.  That seems =
significantly
> > >  simpler for consumers of JWKs use than requiring conditional =
behaviors,
> > > as
> > >  Richard's proposal does.
> > >
> > >
> > >
> > >                                                              Best
> > > wishes,
> > >
> > >                                                              -- =
Mike
> > >
> > >
> > >
> > >  -----Original Message-----
> > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> > >  Sent: Monday, December 30, 2013 10:25 AM
> > >  To: Richard Barnes
> > >  Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> > >  Subject: Re: [jose] Two proposed JOSE spec actions to more =
closely
> > >  coordinate with WebCrypto
> > >
> > >
> > >
> > >  On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:
> > >
> > > >  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones
> > >
> > > >  =
<Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>wrote:
> > >
> > > >
> > >
> > > > > It's my sense of the JOSE working group that most are strongly
> > >
> > > > > opposed to breaking changes at this point.
> > >
> > > >
> > >
> > > >
> > >
> > > >  Please don't claim to represent the WG.  There is a significant
> > >
> > > > contingent  who care about breaking changes, but also a =
significant
> > >
> > > > group who would  prefer the best, most usable spec we can make,
> > >
> > > > regardless of the sins of  the past.
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > > However, I also believe that most JOSE participants share the
> > >
> > > > > sentiment of many WebCrypto participants that it would be =
better for
> > >
> > > > > all for WebCrypto to use real JWKs, rather than something
> > >
> > > > > "JWK-like".
> > >
> > > > >
> > >
> > > >
> > >
> > > >   How about this for a compromise proposal:
> > >
> > > >  -- Leave "use" in for backward compatibility.
> > >
> > > >  -- Define a new field "ku" (Key Usage, or something similar) =
that has
> > >
> > > > detailed key usage information.
> > >
> > > >  -- Deprecate "use", recommending that new applications use =
"ku"; if
> > >
> > > > both  are present, "use" MUST be ignored.
> > >
> > > >  -- Define the expansion of "use" values to "ku" values
> > >
> > > >
> > >
> > > >  That doesn't break backward compatibilty, but makes detailed =
control
> > >
> > > > the  default going forward.
> > >
> > > >
> > >
> > > >  --Richard
> > >
> > >
> > >
> > >  As I expressed within WebCrypto, this to me strikes a much more
> > > sensible
> > >  balance of backwards compatibility and extensibility, and =
hopefully in
> > > a
> > >  way that allows existing deployments to cleanly transition while
> > > allowing
> > >  new deployments to avoid the limitations of the current drafts.
> > >
> > >
> > >
> > >  I very much prefer this over use_details for Web Crypto's use =
cases.
> > >
> > >
> > >
> > > >
> > >
> > > >  I believe my proposal is the best-available solution, given the
> > >
> > > > current
> > >
> > > > > realistic constraints.  It might have made better sense for a
> > >
> > > > > WebCrypto spec to define "use_details" than JOSE, but if =
WebCrypto
> > >
> > > > > isn't going to do it, I believe that we'll all be better off =
in the
> > >
> > > > > long run if JOSE then does and WebCrypto uses it.
> > >
> > > > >
> > >
> > > > >                                 Cheers,
> > >
> > > > >                                 -- Mike
> > >
> > > > >
> > >
> > > > > -----Original Message-----
> > >
> > > > > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> > >
> > > > > Sent: Friday, December 27, 2013 6:46 PM
> > >
> > > > > To: Mike Jones
> > >
> > > > > Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; John =
Bradley;
> > > > jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > > > Subject: Re: [jose] Two proposed JOSE spec actions to more =
closely
> > >
> > > > > coordinate with WebCrypto
> > >
> > > > >
> > >
> > > > > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> > >
> > > > > >  I disagree that "use" allows multiple uses.  Sign/Verify =
both use
> > >
> > > > > > the same  algorithm with the same key - just in a
> > > producer/consumer
> > > > role.
> > >
> > > > > > There  would only be a security problem if the same key was =
used
> > >
> > > > > > with
> > >
> > > > > > *different*  algorithms.
> > >
> > > > > >
> > >
> > > > > >  For symmetric keys, Sign/Verify operations are actually the =
same,
> > >
> > > > > > so in  that case, this is a distinction without a =
difference.
> > >
> > > > > >
> > >
> > > > > >  You may consider the producer/consumer distinction to be =
multiple
> > >
> > > > > > uses,  but only in an academic sense.  You have to perform =
both
> > >
> > > > > > with the same key  pair or symmetric key for the end-to-end
> > >
> > > > > > cryptography to
> > >
> > > > > be meaningful.
> > >
> > > > > >  Doing one without the other is incomplete.  (What good is =
signing
> > >
> > > > > > if the  signature is never verified?)
> > >
> > > > >
> > >
> > > > > Hi Mike,
> > >
> > > > >
> > >
> > > > > I don't think it's fair to compare them as the same, and it's =
very
> > >
> > > > > much a practical, and not an academic case.
> > >
> > > > >
> > >
> > > > > In a Sign() operation, the input is arbitrary plaintext and =
the
> > >
> > > > > output is a signature corresponding to that plaintext; an =
oracle, if
> > >
> > > > > you will - as you would want.
> > >
> > > > >
> > >
> > > > > In an API (although not necessarily in JWE/JWS, and =
understandably
> > >
> > > > > so), a
> > >
> > > > > Verify() operation permits arbitrary plaintext as the input, =
but
> > >
> > > > > also requires the signature to be verified. The only output is =
a
> > >
> > > > > boolean - whether or not the signature is correct.
> > >
> > > > >
> > >
> > > > > The goal of "restricting" the uses here would be to allow key
> > >
> > > > > storage not necessarily under the control of the caller. In
> > >
> > > > > WebCrypto, this is the distinction between the executing JS =
(served
> > >
> > > > > by the web page) and the UA implementation. It's a concept =
borrowed
> > >
> > > > > from any number of other good cryptographic APIs (eg: those =
that are
> > >
> > > > > designed with the notion of opaque key storage)
> > >
> > > > >
> > >
> > > > > With a symmetric key only permitted for a "Verify" operation, =
the
> > >
> > > > > only way to generate a signature for an arbitrary message is
> > >
> > > > > a) Compromise the key storage
> > >
> > > > > b) Iterate through all possible signature combinations until =
you get
> > >
> > > > > "true" as the Verify() result.
> > >
> > > > >
> > >
> > > > > b) may be aided by any number of implementation issues (eg:
> > >
> > > > > non-constant time comparisons, among others), but is =
ultimately
> > >
> > > > > "tricky". a) is dependent on implementations, and can be aided =
or
> > >
> > > > > harmed through a variety of means.
> > >
> > > > >
> > >
> > > > > Combining these two usages into a single use case - which, I =
agree,
> > >
> > > > > is probably perfectly acceptable if imagining as a =
transport-only
> > >
> > > > > exchange
> > >
> > > > > -
> > >
> > > > > can thus have real and meaningful differences when used at an =
API
> > > > level.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make =
producer/consumer
> > >
> > > > > > distinctions, but also only use a single key with a single
> > >
> > > > > > algorithm - therefore no security problem.
> > >
> > > > > >
> > >
> > > > > >  =3D=3D=3D=3D
> > >
> > > > > >
> > >
> > > > > >  For what it's worth, I think the different key use =
representation
> > >
> > > > > > choices  stems from JOSE being a high-level API that tries =
to make
> > >
> > > > > > simple things  simple and WebCrypto being a low-level API =
that
> > >
> > > > > > tries
> > >
> > > > > to
> > >
> > > > > be complete.
> > >
> > > > > >  Both are valid and useful.  These differences show up in =
lots of
> > >
> > > > > > places  besides just key usage representations.
> > >
> > > > >
> > >
> > > > > Absolutely agree here. This is why WebCrypto explored whether =
we
> > >
> > > > > should do something "JWK-like", but suitable at an API layer =
and for
> > >
> > > > > it's goals, and "trivially" convertable with JWK - but by =
script
> > >
> > > > > authors. The WebCrypto WG wasn't fond of it, which is
> > >
> > > > > understandable, and why I'm here.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  Anyway, the purpose of my proposal is to try to make things
> > >
> > > > > > easier for  WebCrypto.  I hope people will get behind it.  =
Yes,
> > >
> > > > > > having both simple and  detailed key usage representations =
seems
> > > odd
> > > > at first.
> > >
> > > > > > But they're  designed to address different goals for =
different
> > >
> > > > > > kinds
> > >
> > > > > of
> > >
> > > > > applications.
> > >
> > > > > >  The alternatives (such as "signOnly,verifyOnly", etc.) that =
are
> > >
> > > > > > currently  being considered are much worse.
> > >
> > > > > >
> > >
> > > > > >                               -- Mike
> > >
> > > > >
> > >
> > > > > I agree that changing to an array will almost certainly break =
every
> > >
> > > > > implementation to date.
> > >
> > > > >
> > >
> > > > > I agree that comma-separated is horribad and should be =
avoided, even
> > >
> > > > > if it "solves" the backwards compat issue.
> > >
> > > > >
> > >
> > > > > I think your solution is a reasonable attempt to mediate the =
issues
> > >
> > > > > of backwards compatibility with the use cases of WebCrypto. =
However,
> > >
> > > > > I'm still on the fence as to whether or not it really is
> > >
> > > > > unreasonable to "break"
> > >
> > > > > backwards compatibility here - there seems to be a compelling =
case
> > >
> > > > > here as to why even something like ["sign", "verify"] should =
be
> > >
> > > > > distinct usages.
> > >
> > > > > I
> > >
> > > > > know the bar is incredibly high right now, given JOSE's =
momentum,
> > >
> > > > > but I didn't think that JOSE was past the point of no return.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  -----Original Message-----
> > >
> > > > > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> > >
> > > > > >  Sent: Friday, December 27, 2013 2:13 PM
> > >
> > > > > >  To: John Bradley
> > >
> > > > > >  Cc: Mike Jones; jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > > > >  Subject: Re: [jose] Two proposed JOSE spec actions to more
> > >
> > > > > > closely coordinate with WebCrypto
> > >
> > > > > >
> > >
> > > > > >  I'm sorry, John, but by your logic, JOSE is not following =
your
> > >
> > > > > > own
> > >
> > > > > advice.
> > >
> > > > > >
> > >
> > > > > >  "enc" is already a multiple-use for a key - it allows for =
both
> > >
> > > > > > encryption  and decryption. For that matter, wrap and =
unwrap,
> > >
> > > > > > which are supposed to be  inferred based on algorithm, which =
is a
> > >
> > > > > > JWE/JWS specific aspect, and not  an intrinsic aspect of
> > >
> > > > > JWK-as-key-representation.
> > >
> > > > > >
> > >
> > > > > >  Likewise, "sig" implies sign AND verify, which is meant to =
be
> > >
> > > > > > unambiguous,  because the assumption is always that you sign =
with
> > >
> > > > > > a private key and  verify with a public key, but as a =
conceptual
> > >
> > > > > > framework breaks down for  schemes like HMAC, which =
ostensibly
> > >
> > > > > > have sign and verify (or MAC and  verify, if you prefer, but =
we're
> > >
> > > > > splitting
> > >
> > > > > hairs here).
> > >
> > > > > >
> > >
> > > > > >  WebCrypto desires to be *more* precise than JOSE's =
imprecise and
> > >
> > > > > > overly  broad, implicitly multi-use syntax. That "enc" means =
four
> > >
> > > > > > possible uses,  or that "sig" means two , is a clear sign =
that
> > >
> > > > > > JOSE is already actively  encouraging multiple uses for the =
same
> > > > key.
> > >
> > > > > >
> > >
> > > > > >  Mike's proposal is basically an admission that the ship has
> > >
> > > > > > sailed on this  implicit, multi-valued usage semantic - =
which, I
> > >
> > > > > > can understand and  sympathize with, in the name of =
backwards
> > >
> > > > > > compatibility for an in-draft  spec, but let's recognize =
that as
> > >
> > > > > > spec'd today, JOSE is preferring and  encouraging multiple =
uses
> > >
> > > > > > for the same key in ways that will  unquestionably encourage
> > >
> > > > > > people to make bad mistakes (such as multiple  parties using =
the
> > >
> > > > > > same encryption key for traffic in either direction -  =
requiring
> > >
> > > > > > some degree of IV sync)
> > >
> > > > > >
> > >
> > > > > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> > >
> > > > > > >  Having it be an array encourages multiple uses for the =
same
> > >
> > > > > > > key.  I have  stated many times that encouraging people to =
do
> > >
> > > > > > > that is not a good idea,  and making it easy makes people =
think
> > > it
> > > > is a good idea.
> > >
> > > > > > >
> > >
> > > > > > >  You can use the single value field and have multiple =
entries
> > >
> > > > > > > with different key containing the same or different keys =
to do
> > >
> > > > > > > the same thing.
> > >
> > > > > > >
> > >
> > > > > > >  On the practical side "use_details" is better than =
creating
> > >
> > > > > > > crazy dot separated como uses.
> > >
> > > > > > >
> > >
> > > > > > >  John B.
> > >
> > > > > > >
> > >
> > > > > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> > >
> > > > > > > =
<Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>
> > >
> > > > > > >  wrote:
> > >
> > > > > > >
> > >
> > > > > > > > Hi all,
> > >
> > > > > > > >
> > >
> > > > > > > > Having reflected upon discussions among WebCrypto and =
JOSE
> > >
> > > > > > > > participants about JWK usage by WebCrypto over the =
holidays,
> > >
> > > > > > > > I'd like to propose the two JOSE spec actions to more =
closely
> > >
> > > > > > > > coordinate
> > >
> > > > > > > with WebCrypto:
> > >
> > > > > > > >
> > >
> > > > > > > > 1.  Change the JWA registry field name from =
"Implementation
> > >
> > > > > > > > Requirements" to "JOSE Implementation Requirements" in =
the
> > >
> > > > > > > > JSON Web Signature and Encryption Algorithms Registry (
> > >
> > > > > =
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se
> > >
> > > > > ction-7.1
> > >
> > > > > ).
> > >
> > > > > > > >  This will make it clearer that the Implementation
> > >
> > > > > > > > Requirements apply only to JWS and JWE implementations - =
and
> > >
> > > > > > > > not other uses of JWK (such as WebCrypto).  This changes =
only
> > >
> > > > > > > > non-normative text and is
> > >
> > > > > > > non-breaking.
> > >
> > > > > > > >
> > >
> > > > > > > > 2.  Define the new JWK field "use_details" for recording
> > >
> > > > > > > > intended fine-grained key usage information.  This would
> > >
> > > > > > > > enable WebCrypto KeyUsage
> > >
> > > > > > > > =
(https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi
> > >
> > > > > > > > ew.h
> > >
> > > > > > > > tm
> > >
> > > > > > > > l#key-interface) values to be used directly with JWK.  =
The
> > >
> > > > > > > > proposed definition is:
> > >
> > > > > > > >
> > >
> > > > > > > > 3.3.  "use_details" (Key Use Details) Parameter
> > >
> > > > > > > >    The "use_details" (key use details) member identifies
> > >
> > > > > fine-grained
> > >
> > > > > > > >    details the intended use of the key.  Its value is an =
array
> > > > of
> > >
> > > > > > > >    key use details values.  Values defined by this
> > >
> > > > > > > > specification
> > >
> > > > > are:
> > >
> > > > > > > >
> > >
> > > > > > > >    o  "sign" (compute signature or MAC)
> > >
> > > > > > > >    o  "verify" (verify signature or MAC)
> > >
> > > > > > > >    o  "encrypt" (encrypt content)
> > >
> > > > > > > >    o  "decrypt" (decrypt content and verify decryption, =
if
> > >
> > > > > applicable)
> > >
> > > > > > > >    o  "wrap" (encrypt key)
> > >
> > > > > > > >    o  "unwrap" (decrypt key and verify decryption, if
> > > > applicable)
> > >
> > > > > > > >    o  "deriveKey" (derive key)
> > >
> > > > > > > >    o  "deriveBits" (derive bits not to be used as a key)
> > >
> > > > > > > >
> > >
> > > > > > > >    Other values MAY be used.  Key Use Details values can =
be
> > >
> > > > > registered
> > >
> > > > > > > >    in the IANA JSON Web Key Use Details registry defined =
in
> > >
> > > > > > > > Section
> > >
> > > > > > > 7.3.
> > >
> > > > > > > >    The use details values are case-sensitive strings.
> > >
> > > > > > > >    Duplicate use details values MUST NOT be present in =
the
> > > > array.
> > >
> > > > > > > >    Use of the "use_details" member is OPTIONAL, unless =
the
> > >
> > > > > application
> > >
> > > > > > > >    requires use this member to record fine-grained key =
usage
> > >
> > > > > details.
> > >
> > > > > > > >    (Note that the "use_details" values intentionally =
match the
> > >
> > > > > > > > "KeyUsage"
> > >
> > > > > > > >    values defined in the WebCrypto [WebCrypto] =
specification.)
> > >
> > > > > > > >
> > >
> > > > > > > >    If both "use" and "use_details" JWK members are =
present,
> > >
> > > > > > > > the
> > >
> > > > > usages
> > >
> > > > > > > >    specified by them MUST be consistent.  In particular, =
the
> > > > "use"
> > >
> > > > > > > value
> > >
> > > > > > > >    "sig" corresponds to "sign" and/or "verify".  The =
"use"
> > > value
> > >
> > > > > > > >    "enc" corresponds to all other values defined above.
> > >
> > > > > > > >    If "use_details" values corresponding to both "sig" =
and
> > > "enc"
> > >
> > > > > > > >    "use" values are present, the "use" member SHOULD NOT =
be
> > >
> > > > > present,
> > >
> > > > > > > >    and if present, its value MUST NOT be either "sig" or
> > > "enc".
> > >
> > > > > > > >
> > >
> > > > > > > > This is a non-breaking change - allowing simple =
applications
> > >
> > > > > > > > that want to distinguish between signing and encryption
> > >
> > > > > > > > operations to continue doing so as they do today, while =
also
> > >
> > > > > > > > providing a multi-valued key usage details field to be =
used by
> > >
> > > > > > > > applications that want to record fine-grained =
distinctions
> > >
> > > > > > > > among potential key usages, including distinguishing =
between
> > >
> > > > > > > > producer and consumer
> > >
> > > > > operations.
> > >
> > > > > > > >
> > >
> > > > > > > > As I see it, while having two related key usage
> > >
> > > > > > > > representations isn't ideal, it's far better than having
> > > > WebCrypto overload "use"
> > >
> > > > > > > > with multi-valued values encoded in strings, such as
> > >
> > > > > > > > "signOnly,verifyOnly", which I believe is their current =
plan
> > >
> > > > > > > > of
> > >
> > > > > > > record.
> > >
> > > > > > > >
> > >
> > > > > > > > Comments?
> > >
> > > > > > > >
> > >
> > > > > > > >                                                          =
   --
> > >
> > > > > > > > Mike
> > >
> > > > > > > >
> > >
> > > > > > > > P.S.  This proposal was already discussed on the =
WebCrypto
> > >
> > > > > > > > list in the thread
> > >
> > > > > > > > =
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
> > >
> > > > > > > > ht ml and no objections were raised there that I'm aware =
of.
> > >
> > > > > > > >
> > >
> > > > > > > > _______________________________________________
> > >
> > > > > > > > jose mailing list
> > >
> > > > > > > > jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > > > > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > > >
> > >
> > > > > > >  _______________________________________________
> > >
> > > > > > >  jose mailing list
> > >
> > > > > > >  jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > > > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > > >
> > >
> > > > > >  _______________________________________________
> > >
> > > > > >  jose mailing list
> > >
> > > > > >  jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > >
> > >
> > > > >
> > >
> > > > > _______________________________________________
> > >
> > > > > jose mailing list
> > >
> > > > > jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > >
> > >
> > > >  _______________________________________________
> > >
> > > >  jose mailing list
> > >
> > > >  jose@ietf.org<mailto:jose@ietf.org>
> > >
> > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > >
> > >
> > >
> > >
> > >
> > >  _______________________________________________
> > >  jose mailing list
> > >  jose@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> >
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>=20


--Apple-Mail=_31B88B85-B574-4CBD-AE51-B8D03250F55B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Use =
was originally optional so going back to that is =
fine.<div><br></div><div>Having the Web Crypto WG sort out meta-data for =
key usage by the crypto subsystem and or secure storage with other =
elements is fine with me.</div><div><br></div><div>I think they are =
different use cases one for private or secret keys and the other for =
public keys.</div><div><br></div><div>I do think that for storage =
restricting the alg will be required if disclosure to the application =
layer is to be prevented, but the WC WG can work on that without holding =
up the JWK spec as long as they have the extension =
point.</div><div><br></div><div>John B.</div><div><br><div><div>On Dec =
31, 2013, at 4:18 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a=
>&gt; wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
style=3D"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 class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">The context that some participants may not be keeping =
in mind is that when =93use=94 was defined, JWKs were intentionally =
limited to representing public keys.&nbsp; The =93use=94 field is used =
for distinguishing between public signing keys and encryption =
keys.&nbsp; The use case where a set of public keys is publicly =
advertised for use by a protocol participant is quite common. =
&nbsp;=93use=94 is intentionally designed for that use case and works =
great there.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Sometime later, we added the ability to represent =
private and symmetric keys to JWK =96 at the request of the WebCrypto =
WG.&nbsp; This expanded the possible use cases for JWKs to include =
transporting non-public keys between protocol participants.&nbsp; With =
the addition of non-public keys, additional key uses became possible, =
including the possibility of the same key being legally used for two =
things (signing/verification, etc.).&nbsp; The =93use_details=94 =
representation makes sense for those use =
cases.<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I=92d be fine relaxing the language saying that =93use=94=
 must be present, because I agree it=92s not a good fit if non-public =
keys are present.&nbsp; I suspect not requiring =93use=94 would make =
people happier in the non-public use cases.&nbsp; And we could =
explicitly say that =93use=94 is intended for use cases where only =
public keys are present.&nbsp; Do people agree with this =
change?<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Given our goal of keeping simple things simple, I =
believe that =93use=94 should be retained as-is for the very common use =
case of sets of public keys.&nbsp; It already works great =
there.<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I=92d also be fine saying that applications should =
specify which of =93use=94 and =93use_details=94 they will use and that =
the other will be ignored.&nbsp; I=92m also fine changing the name of =
=93use_details=94 to =93eku=94 (extended key usages) or something =
similar =96 reflecting the fact that then =93use=94 and =93eku=94 aren=92t=
 intended to be used together.&nbsp; And we would say that this field is =
intended for use cases where both public and non-public keys may be =
present.&nbsp; Do people agree with this change?&nbsp; If so, what name =
do you want us to use for the expanded key usages =
field?<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);"><o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>Richard Barnes [<a =
href=3D"mailto:rlb@ipv.sx">mailto:rlb@ipv.sx</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Tuesday, December 31, 2013 =
9:03 AM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Mike =
Jones<br><b>Cc:</b><span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf@sleevi.com</a>; John =
Bradley; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [jose] Two proposed =
JOSE spec actions to more closely coordinate with =
WebCrypto<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div><div><div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">However, in advocating for two, parallel extensions to JWK for =
essentially the same purpose, you're basically arguing that "use" is not =
generally applicable to JWK -- it applies to OpenID/SAML-like stuff, but =
not much more broadly.&nbsp; (You can't really say the same thing about =
the more detailed version, since it's a superset.)&nbsp; But if "use" is =
not a generally useful feature of JWK, then it shouldn't be part of the =
spec.<o:p></o:p></div></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><p class=3D"MsoNormal" =
style=3D"margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New =
Roman', serif;">In other words, if a feature is going to be part of the =
JWK spec, then it needs to meet the requirements that participants in =
this group put forth.&nbsp; If we're choosing not to meet those =
requirements (as "use" does not), then it needs to come out of the =
spec.<o:p></o:p></p></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;">I think there's =
still room for compromise here (see my other reply on the proposal =
directly).&nbsp; But if there's no compromise, then there's no =
consensus, and "use" needs to go.<o:p></o:p></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><o:p>&nbsp;</o:p></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">--Richard<o:p></o:p></div><div><p class=3D"MsoNormal" =
style=3D"margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New =
Roman', serif;"><br><br><o:p></o:p></p></div></div><div><p =
class=3D"MsoNormal" style=3D"margin: 0in 0in 12pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></p><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;">On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">Michael.Jones@microsoft.com</a>&gt; =
wrote:<o:p></o:p></div><div><div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">There's =
nothing wrong with different use cases with different needs supplying =
different key metadata.<br><br>The ability to do that is an indication =
of the versatility and usefulness of the JWK format - not a =
deficiency.<o:p></o:p></span></div></div><div><div class=3D"MsoNormal" =
align=3D"center" style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif; text-align: center;"><hr size=3D"3"=
 width=3D"100%" align=3D"center"></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">From:<span =
class=3D"Apple-converted-space">&nbsp;</span></span></b><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;"><a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">Ryan Sleevi</a></span><br><b><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">Sent:<span =
class=3D"Apple-converted-space">&nbsp;</span></span></b><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">12/30/2013 =
1:55 PM</span><br><b><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">To:<span =
class=3D"Apple-converted-space">&nbsp;</span></span></b><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;"><a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: underline;">Mike =
Jones</a></span><br><b><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">Cc:<span =
class=3D"Apple-converted-space">&nbsp;</span></span></b><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;"><a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: underline;">Mike =
Jones</a>;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">ryan-ietf@sleevi.com</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a href=3D"mailto:rlb@ipv.sx"=
 target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">Richard Barnes</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">John Bradley</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: =
underline;">jose@ietf.org</a></span><o:p></o:p></div><div><p =
class=3D"MsoNormal" style=3D"margin: 0in 0in 12pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><br><b><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif;">Subject:<span =
class=3D"Apple-converted-space">&nbsp;</span></span></b><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">Re: [jose] =
Two proposed JOSE spec actions to more closely coordinate with =
WebCrypto</span><o:p></o:p></p></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin: 0in 0in 12pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: =
10pt;">On Mon, December 30, 2013 1:29 pm, Mike Jones =
wrote:<br>&gt;&nbsp; ... and lest there be any confusion, the JWK spec =
doesn't require the use<br>&gt;&nbsp; of "use".&nbsp; WebCrypto can =
specify that it not be used and require the use<br>&gt;&nbsp; of =
"use_details" if that best meets the needs of your use case.<br><br>So =
you're still arguing for two, incompatible ways of expressing =
use<br>within the base spec. The current draft (-19) proposes that "A =
'use'<br>member SHOULD be present, unless the application uses another =
means or<br>convention to determine the intended key usage".<br><br>That =
is, if draft-19 were pushed to WGLC, it would leave authors =
confused<br>as to when to use either. As specified, the language still =
strongly<br>prefers "use", and continues to suggest "use_details" as a =
subset, when<br>it's not really.<br><br>Richard's solution is much more =
sensible, in that it makes it clear that<br>there is a single clean way =
to communicate use going forward, and a<br>deprecated way from existing =
specs. Existing keys can continue to be<br>imported into new versions of =
the spec - it's only an issue when a new<br>version of the spec is used =
to interoperate with an older version. I don't<br>think it's fair to =
suggest that's "backwards compatibility" - that's an<br>issue of =
"forwards compatibility", and one that is far trickier to get<br>right, =
and arguably far less important here - and one that can be<br>addressed =
in *new* implementations by choice or config.<br><br>Let me try to state =
the problem differently:<br><br>Is "use" generically suitable for use =
cases of JWK? Can you envision other<br>scenarios where it can be =
gracefully extended?<br><br>As I see it, the answer is clearly "no", as =
already evidenced by<br>WebCrypto's intended use, but also demonstrated =
by Axel's example of "do<br>not want" (which is X.509's 'extended key =
usages' field). As such, we<br>should try to fix that spec before =
finalizing, rather than bolt-on<br>additions and try to rush things =
through WGLC, or we should accept that<br>this is a problem the =
spec/spec authors are not interested in solving<br>cleanly, and =
WebCrypto can move to a solution that does.<br><br>Both specs are still =
in their infancy of both implementation and adoption<br>and we should =
try to do things right while we can.<br><br>&gt;&nbsp; =
________________________________<br>&gt;&nbsp; From: Mike Jones&lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">mailto:Michael.Jones@microsoft.com</a>&gt;<br>&gt;&nbsp; =
Sent: =FD12/=FD30/=FD2013 1:12 PM<br>&gt;&nbsp; To:<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">ryan-ietf@sleevi.com</a>&lt;mailto:<a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">ryan-ietf@sleevi.com</a>&gt;<br>&gt;&nbsp; Cc: Richard =
Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">mailto:rlb@ipv.sx</a>&gt;; =
John<br>&gt;&nbsp; Bradley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" =
target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">mailto:ve7jtb@ve7jtb.com</a>&gt;;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt;&nbsp; =
Subject: Re: [jose] Two proposed JOSE spec actions to more =
closely<br>&gt;&nbsp; coordinate with WebCrypto<br>&gt;<br>&gt;&nbsp; =
Ryan, this isn't an either-or situation. JWK is intended to be a =
general<br>&gt;&nbsp; key representation format. It's extensible exactly =
so information for any<br>&gt;&nbsp; use cases that need info not in the =
base spec can add it.&nbsp; I'm still<br>&gt;&nbsp; puzzled why some in =
WebCrypo felt uncomfortable using this extensibility<br>&gt;&nbsp; by =
defining and registering a new field for WebCrypyo's representation =
of<br>&gt;&nbsp; use info. But observing that to be the case, I'm =
attempting to be as clear<br>&gt;&nbsp; as possible (through spec =
actions!) that there's absolutely no reason for<br>&gt;&nbsp; WebCrypto =
not to use JWK.<br>&gt;<br>&gt;&nbsp; There's no plans to "continue to =
evolve JWK to parallel the SAML<br>&gt;&nbsp; workflows" that I'm aware =
of. Rather, I believe the only further addition<br>&gt;&nbsp; being =
considered before completing the spec is one motivated by<br>&gt;&nbsp; =
WebCrypto's use case rather than SAML - =
"use_details".<br>&gt;<br>&gt;&nbsp; I believe that the current JWK spec =
already meets WebCrypto's needs as-is.<br>&gt;&nbsp;&nbsp; Is there any =
reason not to just use it and move on to addressing other<br>&gt;&nbsp; =
issues needed to be resolved to complete both JOSE and WebCrypto, both =
of<br>&gt;&nbsp; which I see as being complementary and important to the =
industry?<br>&gt;<br>&gt;&nbsp; -- Mike<br>&gt;&nbsp; =
________________________________<br>&gt;&nbsp; From: Ryan Sleevi&lt;<a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">mailto:ryan-ietf@sleevi.com</a>&gt;<br>&gt;&nbsp; Sent: =
=FD12/=FD30/=FD2013 12:47 PM<br>&gt;&nbsp; To: Mike Jones&lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">mailto:Michael.Jones@microsoft.com</a>&gt;<br>&gt;&nbsp; =
Cc:<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">ryan-ietf@sleevi.com</a>&lt;mailto:<a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">ryan-ietf@sleevi.com</a>&gt;; =
Richard<br>&gt;&nbsp; Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" =
target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">mailto:rlb@ipv.sx</a>&gt;; John Bradley&lt;<a =
href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">mailto:ve7jtb@ve7jtb.com</a>&gt;;<br>&gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt;&nbsp; =
Subject: Re: [jose] Two proposed JOSE spec actions to more =
closely<br>&gt;&nbsp; coordinate with WebCrypto<br>&gt;<br>&gt;&nbsp; On =
Mon, December 30, 2013 11:40 am, Mike Jones wrote:<br>&gt; &gt;&nbsp; As =
further background for the discussion, the current "use" =
definition<br>&gt; &gt; is<br>&gt; &gt;&nbsp; based on widely deployed =
existing practice - the SAML metadata<br>&gt; &gt;&nbsp; =
specification<br>&gt; &gt;&nbsp; (<a =
href=3D"http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os=
.pdf" target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.=
0-os.pdf</a>),<br>&gt; &gt;&nbsp; which defines "use" as follows in =
section<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://2.4.1.1/" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">2.4.1.1</a>:<br>&gt; &gt;&nbsp; use =
[Optional]<br>&gt; &gt;&nbsp; Optional attribute specifying the purpose =
of the key being described.<br>&gt; &gt;&nbsp; Values are drawn from =
the<br>&gt; &gt;<br>&gt; &gt;&nbsp; KeyTypes enumeration, and consist of =
the values encryption and signing.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt;&nbsp; This has been shown to be sufficient in practice =
for its intended<br>&gt; &gt; purpose,<br>&gt; &gt;&nbsp; as has the JWK =
"use" field.<br>&gt; &gt;<br>&gt;<br>&gt;&nbsp; =
Mike,<br>&gt;<br>&gt;&nbsp; I feel like you're arguing all the more =
strongly for WebCrypto not to use<br>&gt;&nbsp; JWK, in that you're =
arguing that JWK's "intended purpose" is to match<br>&gt;&nbsp; SAML. I =
can understand where this fits within the JWT and OpenID =
Connect<br>&gt;&nbsp; workflows, but as a "JSON key description" format, =
it is unquestionably<br>&gt;&nbsp; much more restrictive and =
ill-suited.<br>&gt;<br>&gt;&nbsp; If the goal is to continue to evolve =
JWK to parallel the SAML workflows,<br>&gt;&nbsp; then I don't see how =
WebCrypto can in good conscience encourage JWK.<br>&gt;<br>&gt;&nbsp; =
There's nothing preventing authors from translating JWK into any sort =
of<br>&gt;&nbsp; API form that WebCrypto requires - much in the same way =
that they can<br>&gt;&nbsp; translate the composite JWA algorithms =
(which are suitable for transport)<br>&gt;&nbsp; into WebCrypto's =
broader, more generic algorithms (which are suitable for<br>&gt;&nbsp; =
an API targeting application development).<br>&gt;<br>&gt;&nbsp; =
Arguably, the only reasons to use JWK are to prevent introducing =
"yet<br>&gt;&nbsp; another key format". While laudable, if JWK is trying =
to mirror SAML, then<br>&gt;&nbsp; it would seem that JWK is not trying =
to be a key format, per se, and such<br>&gt;&nbsp; risk would be =
low.<br>&gt;<br>&gt;&nbsp; Again, I'm perfectly fine if JOSE would =
rather that JWK be kept as minimal<br>&gt;&nbsp; and as specific for the =
JWT use case, and we can easily use a descriptive<br>&gt;&nbsp; WebIDL =
within WebCrypto to describe the key formats it operates with =
(in<br>&gt;&nbsp; addition to SPKI and PKCS#8). Comments so far from =
this WG give me the<br>&gt;&nbsp; sense that there's strong opposition =
by some to seeing JWK evolve to be as<br>&gt;&nbsp; flexible or generic =
as SPKI/PKCS#8. That's fine by me, but that's<br>&gt;&nbsp; =
extensibility that WebCrypto wants, and if JWK isn't it, we can =
use<br>&gt;&nbsp; something else. OpenID Connect and JWT can continue to =
use JWK as suited<br>&gt;&nbsp; for their needs, and if for some reason =
someone wants to use JS to<br>&gt;&nbsp; interact with these, they can =
use a translation shim, just as they would<br>&gt;&nbsp; for JWE/JWS or =
for *any other* cryptographic application, since WebCrypto<br>&gt;&nbsp; =
is "just" an API.<br>&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&nbsp; I =
understand your point, Ryan, that for the WebCrypto API use =
case,<br>&gt; &gt; there<br>&gt; &gt;&nbsp; is sometimes value in =
distinguishing between the producer and consumer<br>&gt; &gt;&nbsp; =
operations for a key.&nbsp; That's part of why I proposed adding<br>&gt; =
&gt; "use_details",<br>&gt; &gt;&nbsp; so those distinctions can be made =
for the use cases where they do make<br>&gt; &gt; a<br>&gt; &gt;&nbsp; =
difference.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&nbsp; As =
for Richard's proposal, the problem with it is that it would be =
a<br>&gt; &gt;&nbsp; breaking change, since if "ku" was present, his =
proposal would require<br>&gt; &gt;&nbsp; different treatment of the =
"use" field (ignoring it).&nbsp; My proposal is<br>&gt; &gt; not<br>&gt; =
&gt;&nbsp; a breaking change, since "use" continues to mean what it =
always has.<br>&gt; &gt;&nbsp; Furthermore, my proposal requires that =
"use" and "use_details" convey<br>&gt; &gt;&nbsp; consistent =
information, if both are present.&nbsp; That seems significantly<br>&gt; =
&gt;&nbsp; simpler for consumers of JWKs use than requiring conditional =
behaviors,<br>&gt; &gt; as<br>&gt; &gt;&nbsp; Richard's proposal =
does.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 Best<br>&gt; &gt; wishes,<br>&gt; &gt;<br>&gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 -- Mike<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&nbsp; =
-----Original Message-----<br>&gt; &gt;&nbsp; From: Ryan Sleevi [<a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">mailto:ryan-ietf@sleevi.com</a>]<br>&gt; &gt;&nbsp; Sent: =
Monday, December 30, 2013 10:25 AM<br>&gt; &gt;&nbsp; To: Richard =
Barnes<br>&gt; &gt;&nbsp; Cc: Mike Jones;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">ryan-ietf@sleevi.com</a>; John =
Bradley;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a><br>&gt; &gt;&nbsp; =
Subject: Re: [jose] Two proposed JOSE spec actions to more =
closely<br>&gt; &gt;&nbsp; coordinate with WebCrypto<br>&gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&nbsp; On Sat, December 28, =
2013 3:12 pm, Richard Barnes wrote:<br>&gt; &gt;<br>&gt; &gt; &gt;&nbsp; =
On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<br>&gt; &gt;<br>&gt; &gt; =
&gt;&nbsp; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">Michael.Jones@microsoft.com</a>&lt;mailto:<a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">Michael.Jones@microsoft.com</a>&gt;&gt;wrote:<br>&gt; =
&gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; It's my sense =
of the JOSE working group that most are strongly<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; opposed to breaking changes at this point.<br>&gt; =
&gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt;&nbsp; Please don't claim to represent the =
WG.&nbsp; There is a significant<br>&gt; &gt;<br>&gt; &gt; &gt; =
contingent&nbsp; who care about breaking changes, but also a =
significant<br>&gt; &gt;<br>&gt; &gt; &gt; group who would&nbsp; prefer =
the best, most usable spec we can make,<br>&gt; &gt;<br>&gt; &gt; &gt; =
regardless of the sins of&nbsp; the past.<br>&gt; &gt;<br>&gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; However, I also believe that =
most JOSE participants share the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
sentiment of many WebCrypto participants that it would be better =
for<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; all for WebCrypto to use real =
JWKs, rather than something<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
"JWK-like".<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp; How about this for =
a compromise proposal:<br>&gt; &gt;<br>&gt; &gt; &gt;&nbsp; -- Leave =
"use" in for backward compatibility.<br>&gt; &gt;<br>&gt; &gt; =
&gt;&nbsp; -- Define a new field "ku" (Key Usage, or something similar) =
that has<br>&gt; &gt;<br>&gt; &gt; &gt; detailed key usage =
information.<br>&gt; &gt;<br>&gt; &gt; &gt;&nbsp; -- Deprecate "use", =
recommending that new applications use "ku"; if<br>&gt; &gt;<br>&gt; =
&gt; &gt; both&nbsp; are present, "use" MUST be ignored.<br>&gt; =
&gt;<br>&gt; &gt; &gt;&nbsp; -- Define the expansion of "use" values to =
"ku" values<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt;&nbsp; That doesn't break backward compatibilty, but makes detailed =
control<br>&gt; &gt;<br>&gt; &gt; &gt; the&nbsp; default going =
forward.<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt;&nbsp; --Richard<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt;&nbsp; As I expressed within WebCrypto, this to me strikes a much =
more<br>&gt; &gt; sensible<br>&gt; &gt;&nbsp; balance of backwards =
compatibility and extensibility, and hopefully in<br>&gt; &gt; a<br>&gt; =
&gt;&nbsp; way that allows existing deployments to cleanly transition =
while<br>&gt; &gt; allowing<br>&gt; &gt;&nbsp; new deployments to avoid =
the limitations of the current drafts.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt;&nbsp; I very much prefer this over use_details for Web =
Crypto's use cases.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt;&nbsp; I believe my proposal is the =
best-available solution, given the<br>&gt; &gt;<br>&gt; &gt; &gt; =
current<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; realistic constraints.&nbsp; =
It might have made better sense for a<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; WebCrypto spec to define "use_details" than JOSE, but if =
WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; isn't going to do it, I =
believe that we'll all be better off in the<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; long run if JOSE then does and WebCrypto uses it.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cheers,<br>&gt; =
&gt;<br>&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
-----Original Message-----<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; From: =
Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">mailto:ryan-ietf@sleevi.com</a>]<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; To: Mike Jones<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
Cc:<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">ryan-ietf@sleevi.com</a>&lt;mailto:<a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">ryan-ietf@sleevi.com</a>&gt;; John =
Bradley;<br>&gt; &gt; &gt;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec =
actions to more closely<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; coordinate =
with WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones =
wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; I disagree that =
"use" allows multiple uses.&nbsp; Sign/Verify both use<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; the same&nbsp; algorithm with the same =
key - just in a<br>&gt; &gt; producer/consumer<br>&gt; &gt; &gt; =
role.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; There&nbsp; would only be =
a security problem if the same key was used<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; with<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
*different*&nbsp; algorithms.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; For symmetric keys, =
Sign/Verify operations are actually the same,<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; so in&nbsp; that case, this is a distinction without a =
difference.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; You may consider the =
producer/consumer distinction to be multiple<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; uses,&nbsp; but only in an academic sense.&nbsp; You have =
to perform both<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; with the same =
key&nbsp; pair or symmetric key for the end-to-end<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; cryptography to<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
be meaningful.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; Doing one =
without the other is incomplete.&nbsp; (What good is signing<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; if the&nbsp; signature is never =
verified?)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; Hi Mike,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; I don't think it's fair to compare them as =
the same, and it's very<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; much a =
practical, and not an academic case.<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; In a Sign() operation, the =
input is arbitrary plaintext and the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
output is a signature corresponding to that plaintext; an oracle, =
if<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; you will - as you would =
want.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; In an API (although not necessarily in JWE/JWS, and =
understandably<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; so), a<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; Verify() operation permits arbitrary =
plaintext as the input, but<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; also =
requires the signature to be verified. The only output is a<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; boolean - whether or not the signature is =
correct.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; The goal of "restricting" the uses here would be to allow =
key<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; storage not necessarily under =
the control of the caller. In<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
WebCrypto, this is the distinction between the executing JS =
(served<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; by the web page) and the UA =
implementation. It's a concept borrowed<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; from any number of other good cryptographic APIs (eg: those that =
are<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; designed with the notion of =
opaque key storage)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; With a symmetric key only permitted for a =
"Verify" operation, the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; only way to =
generate a signature for an arbitrary message is<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; a) Compromise the key storage<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; b) Iterate through all possible signature combinations until =
you get<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; "true" as the Verify() =
result.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; b) may be aided by any number of implementation issues =
(eg:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; non-constant time comparisons, =
among others), but is ultimately<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
"tricky". a) is dependent on implementations, and can be aided =
or<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; harmed through a variety of =
means.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; Combining these two usages into a single use case - which, I =
agree,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; is probably perfectly =
acceptable if imagining as a transport-only<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; exchange<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; -<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; can thus have real and meaningful =
differences when used at an API<br>&gt; &gt; &gt; level.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; Likewise, =
Encrypt/Decrypt and Wrap/Unwrap make producer/consumer<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; distinctions, but also only use a =
single key with a single<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
algorithm - therefore no security problem.<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; =
=3D=3D=3D=3D<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; For what it's worth, I think the =
different key use representation<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; choices&nbsp; stems from JOSE being a high-level API that tries to =
make<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; simple things&nbsp; simple =
and WebCrypto being a low-level API that<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; tries<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; to<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; be complete.<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt;&nbsp; Both are valid and useful.&nbsp; These differences show =
up in lots of<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; places&nbsp; =
besides just key usage representations.<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; Absolutely agree here. This is =
why WebCrypto explored whether we<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
should do something "JWK-like", but suitable at an API layer and =
for<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; it's goals, and "trivially" =
convertable with JWK - but by script<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
authors. The WebCrypto WG wasn't fond of it, which is<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; understandable, and why I'm here.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; Anyway, the purpose =
of my proposal is to try to make things<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; easier for&nbsp; WebCrypto.&nbsp; I hope people will get =
behind it.&nbsp; Yes,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; having =
both simple and&nbsp; detailed key usage representations seems<br>&gt; =
&gt; odd<br>&gt; &gt; &gt; at first.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; But they're&nbsp; designed to address different goals for =
different<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; kinds<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; of<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
applications.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; The =
alternatives (such as "signOnly,verifyOnly", etc.) that are<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; currently&nbsp; being considered are =
much worse.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; I agree that changing to =
an array will almost certainly break every<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; implementation to date.<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; I agree that comma-separated is =
horribad and should be avoided, even<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
if it "solves" the backwards compat issue.<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; I think your solution is a =
reasonable attempt to mediate the issues<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; of backwards compatibility with the use cases of WebCrypto. =
However,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; I'm still on the fence as =
to whether or not it really is<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
unreasonable to "break"<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; backwards =
compatibility here - there seems to be a compelling case<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; here as to why even something like ["sign", =
"verify"] should be<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; distinct =
usages.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; I<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; know the bar is incredibly high right now, given JOSE's =
momentum,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; but I didn't think that =
JOSE was past the point of no return.<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt;&nbsp; -----Original Message-----<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt;&nbsp; From: Ryan Sleevi [<a =
href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">mailto:ryan-ietf@sleevi.com</a>]<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt;&nbsp; Sent: Friday, December 27, 2013 2:13 PM<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; To: John Bradley<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; Cc: Mike Jones;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; Subject: Re: [jose] Two proposed =
JOSE spec actions to more<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
closely coordinate with WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; I'm sorry, John, but =
by your logic, JOSE is not following your<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; own<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; advice.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;&nbsp; "enc" is already a multiple-use for a key - it allows for =
both<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; encryption&nbsp; and =
decryption. For that matter, wrap and unwrap,<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; which are supposed to be&nbsp; inferred based on =
algorithm, which is a<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; JWE/JWS =
specific aspect, and not&nbsp; an intrinsic aspect of<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; JWK-as-key-representation.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;&nbsp; Likewise, "sig" implies sign AND verify, which is meant to =
be<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; unambiguous,&nbsp; because =
the assumption is always that you sign with<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; a private key and&nbsp; verify with a public key, but as =
a conceptual<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; framework breaks =
down for&nbsp; schemes like HMAC, which ostensibly<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; have sign and verify (or MAC and&nbsp; verify, if =
you prefer, but we're<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
splitting<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; hairs here).<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt;&nbsp; WebCrypto desires to be *more* precise than JOSE's imprecise =
and<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; overly&nbsp; broad, =
implicitly multi-use syntax. That "enc" means four<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; possible uses,&nbsp; or that "sig" means two , is a =
clear sign that<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; JOSE is already =
actively&nbsp; encouraging multiple uses for the same<br>&gt; &gt; &gt; =
key.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt;&nbsp; Mike's proposal is basically an admission that the =
ship has<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; sailed on this&nbsp; =
implicit, multi-valued usage semantic - which, I<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; can understand and&nbsp; sympathize with, in the =
name of backwards<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; compatibility =
for an in-draft&nbsp; spec, but let's recognize that as<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; spec'd today, JOSE is preferring =
and&nbsp; encouraging multiple uses<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; for the same key in ways that will&nbsp; unquestionably =
encourage<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; people to make bad =
mistakes (such as multiple&nbsp; parties using the<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; same encryption key for traffic in either direction =
-&nbsp; requiring<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; some degree =
of IV sync)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp; On Tue, December 24, 2013 4:27 =
pm, John Bradley wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp; Having it be an array encourages multiple uses for the =
same<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; key.&nbsp; I =
have&nbsp; stated many times that encouraging people to do<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; that is not a good idea,&nbsp; and =
making it easy makes people think<br>&gt; &gt; it<br>&gt; &gt; &gt; is a =
good idea.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; You can use the single value =
field and have multiple entries<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; with different key containing the same or different keys to =
do<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; the same thing.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt;&nbsp; On the practical side "use_details" is better than =
creating<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; crazy dot =
separated como uses.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; John B.<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt;&nbsp; On Dec 24, 2013, at 8:26 PM, Mike Jones<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">Michael.Jones@microsoft.com</a>&lt;mailto:<a =
href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">Michael.Jones@microsoft.com</a>&gt;&gt;<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt;&nbsp; wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi =
all,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon =
discussions among WebCrypto and JOSE<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt; participants about JWK usage by WebCrypto over the =
holidays,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; I'd like to =
propose the two JOSE spec actions to more closely<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt; coordinate<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; with WebCrypto:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; 1.&nbsp; =
Change the JWA registry field name from "Implementation<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements" to "JOSE =
Implementation Requirements" in the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt; JSON Web Signature and Encryption Algorithms Registry =
(<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#=
se" target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms=
-18#se</a><br>&gt; &gt;<br>&gt; &gt; &gt; &gt; ction-7.1<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; ).<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt;&nbsp; This will make it clearer that the =
Implementation<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
Requirements apply only to JWS and JWE implementations - and<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such =
as WebCrypto).&nbsp; This changes only<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt; non-normative text and is<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; non-breaking.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
2.&nbsp; Define the new JWK field "use_details" for recording<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; intended fine-grained key =
usage information.&nbsp; This would<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt; enable WebCrypto KeyUsage<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt; (<a =
href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi" =
target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi<=
/a><br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; tm<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used directly =
with JWK.&nbsp; The<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
proposed definition is:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; 3.3.&nbsp; =
"use_details" (Key Use Details) Parameter<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The "use_details" (key use =
details) member identifies<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
fine-grained<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; details the intended use of the key.&nbsp; Its =
value is an array<br>&gt; &gt; &gt; of<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; key use details values.&nbsp; =
Values defined by this<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt; specification<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; are:<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; "sign" (compute =
signature or MAC)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; o&nbsp; "verify" (verify signature or =
MAC)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; o&nbsp; "encrypt" (encrypt content)<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; =
"decrypt" (decrypt content and verify decryption, if<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; applicable)<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; "wrap" (encrypt =
key)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; o&nbsp; "unwrap" (decrypt key and verify =
decryption, if<br>&gt; &gt; &gt; applicable)<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; "deriveKey" (derive =
key)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; o&nbsp; "deriveBits" (derive bits not to be used =
as a key)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Other =
values MAY be used.&nbsp; Key Use Details values can be<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; registered<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; in the IANA JSON Web Key Use =
Details registry defined in<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt; Section<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
7.3.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; The use details values are case-sensitive =
strings.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; Duplicate use details values MUST NOT be present =
in the<br>&gt; &gt; &gt; array.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt;&nbsp;&nbsp;&nbsp; Use of the "use_details" member is OPTIONAL, =
unless the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; application<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; requires =
use this member to record fine-grained key usage<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; details.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; (Note that the "use_details" values intentionally =
match the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
"KeyUsage"<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; values defined in the WebCrypto [WebCrypto] =
specification.)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; If both "use" and "use_details" JWK members are =
present,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; the<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; usages<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; specified by them MUST be =
consistent.&nbsp; In particular, the<br>&gt; &gt; &gt; "use"<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; value<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; "sig" corresponds to "sign" =
and/or "verify".&nbsp; The "use"<br>&gt; &gt; value<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; "enc" corresponds to all =
other values defined above.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt;&nbsp;&nbsp;&nbsp; If "use_details" values corresponding to =
both "sig" and<br>&gt; &gt; "enc"<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; "use" values are present, the "use" =
member SHOULD NOT be<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
present,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; and if present, its value MUST NOT be either =
"sig" or<br>&gt; &gt; "enc".<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; This is a =
non-breaking change - allowing simple applications<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt; that want to distinguish between signing =
and encryption<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
operations to continue doing so as they do today, while also<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; providing a multi-valued key =
usage details field to be used by<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &gt; applications that want to record fine-grained =
distinctions<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; among =
potential key usages, including distinguishing between<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; operations.<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
As I see it, while having two related key usage<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt; representations isn't ideal, it's far =
better than having<br>&gt; &gt; &gt; WebCrypto overload "use"<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; with multi-valued values =
encoded in strings, such as<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt; "signOnly,verifyOnly", which I believe is their current =
plan<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; of<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; record.<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt; Comments?<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
--<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Mike<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt; P.S.&nbsp; This proposal was already discussed =
on the WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; list =
in the thread<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052"=
 target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0=
052</a>.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; ht ml and no =
objections were raised there that I'm aware of.<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt; _______________________________________________<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt;&nbsp; =
_______________________________________________<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt;&nbsp; =
_______________________________________________<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt;&nbsp;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
_______________________________________________<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; jose mailing list<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;&nbsp; =
_______________________________________________<br>&gt; &gt;<br>&gt; =
&gt; &gt;&nbsp; jose mailing list<br>&gt; &gt;<br>&gt; &gt; =
&gt;&nbsp;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a>&lt;<a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">mailto:jose@ietf.org</a>&gt;<br>&gt; =
&gt;<br>&gt; &gt; &gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt;<br>&gt; &gt;&nbsp; =
_______________________________________________<br>&gt; &gt;&nbsp; jose =
mailing list<br>&gt; &gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a><br>&gt; &gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp; =
_______________________________________________<br>&gt;&nbsp; jose =
mailing list<br>&gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a><br>&gt;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt;</span><=
/p></div></div></div></div></div></div></blockquote></div><br></div></body=
></html>=

--Apple-Mail=_31B88B85-B574-4CBD-AE51-B8D03250F55B--

--Apple-Mail=_32E5E063-911A-4119-BF0E-49609075E780
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFy
dENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAMsohUWcASz7GfKrpTOMKqANy9BV7V0igWdGxA8IU77L3aTxErQ+
fcxtDYZ36Z6GH0YFn7fq5RADteP0AYzrCA+EQTfi8q1+kA3m0nwtwXG94M5sIqsvs7lRP1aycBke
/s5g9hJHryZ2acScnzczjBCAo7X1v5G3yw8MDP2m2RCye0KfgZ4nODerZJVzhAlOD9YejvAXZqHk
sw56HzElVIoYSZ3q4+RJuPXXfIoyby+Y2m1E+YzX5iCZXBx05gk6MKAW1vaw4/v2OOLy6FZH3XHH
tOkzUreG//CsFnB9+uaYSlR65cdGzTsmoIK8WH1ygoXhRBm98SD7Hf/r3FELNvUCAwEAAaOCAa0w
ggGpMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSuVYNv7DHKufcd
+q9rMfPIHeOsuzAfBgNVHSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRa
MFgwJwYIKwYBBQUHMAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYh
aHR0cDovL3d3dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6
Ly93d3cuc3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5j
b20vc2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBADqpJw3I07QW
ke9plNBpxUxcffc7nUrIQpJHDci91DFG7fVhHRkMZ1J+BKg5UNUxIFJ2Z9B90Micc/NXcs7kPBRd
n6XGO/vPc87Y6R+cWS9Nc9+fp3Enmsm94OxOwI9wn8qnr/6o3mD4noP9JphwUPTXwHovjavRnhUQ
HLfo/i2NG0XXgTHXS2Xm0kVUozXqpYpAdumMiB/vezj1QHQJDmUdPYMcp+reg9901zkyT3fDW/iv
JVv6pWtkh6Pw2ytZT7mvg7YhX3V50Nv860cV11mocUVcqBLv0gcT+HBDYtbuvexNftwNQKD5193A
7zN4vG7CTYkXxytSjKuXrpEatEiFPxWgb84nVj25SU5q/r1Xhwby6mLhkbaXslkVtwEWT3Van49r
KjlK4XrUKYYWtnfzq6aSak5u0Vpxd1rY79tWhD3EdCvOhNz/QplNa+VkIsrcp7+8ZhP1l1b2U6Ma
xIVteuVMD3X0vziIwr7jxYae9FZjbxlpUemqXjcC0QaFfN7qI0JsQMALL7iGRBg7K0CoOBzECdD3
fuZil5kU/LP9cr1BK31U0Uy651bFnAMMMkqhAChIbn0ei72VnbpSsrrSdF0BAGYQ8vyHae5aCg+H
75dVCV33K6FuxZrf09yTz+Vx/PkdRUYkXmZz/OTfyJXsUOUXrym6KvI2rYpccSk5MIIHtTCCBp2g
AwIBAgICHlwwDQYJKoZIhvcNAQEFBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENv
bSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYD
VQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTAeFw0x
MjAzMTgwNDMyNDhaFw0xNDAzMTkxMTA3MzJaMIGbMRkwFwYDVQQNExBHclRNNkxTN1gzNTc3OHM5
MQswCQYDVQQGEwJDTDEiMCAGA1UECBMZTWV0cm9wb2xpdGFuYSBkZSBTYW50aWFnbzEWMBQGA1UE
BxMNSXNsYSBkZSBNYWlwbzEVMBMGA1UEAxMMSm9obiBCcmFkbGV5MR4wHAYJKoZIhvcNAQkBFg9q
YnJhZGxleUBtZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCySuUEj3esFMs5
AZLAhPpyjp0DD+vAM+tFeXr8XahzgoOf5A3oJ0V4ejTwfzjpUlL0IOMsq+cr2NvHGzjBip6cp09v
eODO3yhztv1le1aQ6CzGAx/p0Fn8g+biVYGkJtKvex4MYNcSmITaVNleejtzbk6C5HgTpBqFykcA
FmN4RYrrmYwfbmCahF/kxjWTeq67nL4UJgIcTaLBTmPOr6YjceYbn35QwUvHV+NX7NOyVHDbpxAM
L+56nCN5hKnxLbqF9aKlVbBCPiOz8LtGg+2+3aLJ5T4tIfzWMbjCUBae2I4bVa2hdS5dZJwTGFyI
p4pYKd6bL2qqbFF8moFE54aVAgMBAAGjggQOMIIECjAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAd
BgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwHQYDVR0OBBYEFD8Dv8LEoSfOmqZmUvP2JpAz
Lbh5MB8GA1UdIwQYMBaAFK5Vg2/sMcq59x36r2sx88gd46y7MH4GA1UdEQR3MHWBD2picmFkbGV5
QG1lLmNvbYEPamJyYWRsZXlAbWUuY29tgRBqYnJhZGxleUBtYWMuY29tgRF2ZTdqdGJAdmU3anRi
LmNvbYETamJyYWRsZXlAd2luZ2FhLmNvbYEXam9obi5icmFkbGV5QHdpbmdhYS5jb20wggIhBgNV
HSAEggIYMIICFDCCAhAGCysGAQQBgbU3AQICMIIB/zAuBggrBgEFBQcCARYiaHR0cDovL3d3dy5z
dGFydHNzbC5jb20vcG9saWN5LnBkZjA0BggrBgEFBQcCARYoaHR0cDovL3d3dy5zdGFydHNzbC5j
b20vaW50ZXJtZWRpYXRlLnBkZjCB9wYIKwYBBQUHAgIwgeowJxYgU3RhcnRDb20gQ2VydGlmaWNh
dGlvbiBBdXRob3JpdHkwAwIBARqBvlRoaXMgY2VydGlmaWNhdGUgd2FzIGlzc3VlZCBhY2NvcmRp
bmcgdG8gdGhlIENsYXNzIDIgVmFsaWRhdGlvbiByZXF1aXJlbWVudHMgb2YgdGhlIFN0YXJ0Q29t
IENBIHBvbGljeSwgcmVsaWFuY2Ugb25seSBmb3IgdGhlIGludGVuZGVkIHB1cnBvc2UgaW4gY29t
cGxpYW5jZSBvZiB0aGUgcmVseWluZyBwYXJ0eSBvYmxpZ2F0aW9ucy4wgZwGCCsGAQUFBwICMIGP
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQIaZExpYWJpbGl0eSBhbmQg
d2FycmFudGllcyBhcmUgbGltaXRlZCEgU2VlIHNlY3Rpb24gIkxlZ2FsIGFuZCBMaW1pdGF0aW9u
cyIgb2YgdGhlIFN0YXJ0Q29tIENBIHBvbGljeS4wNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2Ny
bC5zdGFydHNzbC5jb20vY3J0dTItY3JsLmNybDCBjgYIKwYBBQUHAQEEgYEwfzA5BggrBgEFBQcw
AYYtaHR0cDovL29jc3Auc3RhcnRzc2wuY29tL3N1Yi9jbGFzczIvY2xpZW50L2NhMEIGCCsGAQUF
BzAChjZodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9zdWIuY2xhc3MyLmNsaWVudC5jYS5j
cnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20vMA0GCSqGSIb3DQEBBQUAA4IB
AQARx8Pg+Yetf5bfNo/8qxHiDAsAvRRNozPXhIieDpr0XeRvxkNtNSd5L25uCmp4lA/YgVzRTmBC
cndd4Ifqn0jzya+bU2opDDxa9+CVLRohLX29+lOBclI90g7Ykk9GpoG1d/fOR1cnByRf3900yssZ
4a9oVP19Q11B0dTgEjWlVSmAqvv3pPstNz8RF8fyIWnX4KZ1WQnpjaIl1ZSniHXteZvFshPQJ1Lh
JKT9VbwsWyf+ZXPqEHvdW2HCMawiS7nhanilG6rUpf6kBOdGTekdFrXPebEkyars4RcQ1wJWb5sC
fJSthtSKU1L1RVNhLz/d1WwqI26kFo5k7686AmpUMYIDbDCCA2gCAQEwgZMwgYwxCzAJBgNVBAYT
AklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0
aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJt
ZWRpYXRlIENsaWVudCBDQQICHlwwCQYFKw4DAhoFAKCCAa0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3
DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwMTA3MDA0MzAxWjAjBgkqhkiG9w0BCQQxFgQUYSZOuJio
8l/Z7K5/Bmm9oBYaBiUwgaQGCSsGAQQBgjcQBDGBljCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNV
BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xp
ZW50IENBAgIeXDCBpgYLKoZIhvcNAQkQAgsxgZaggZMwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK
Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQQICHlwwDQYJKoZIhvcNAQEBBQAEggEANXBKW5XL8FaXQRuUSnI7vIP6SRleWolkZMFBwnp7
qqsVrFX1xFxsp8VKt4gmoRu5n81XLHFDgdm6Y285qHXhPrQVqBFFmQxWbcEtHEGbSZ+7olUhfaZz
PeIk44xRJHfIKVdMFNxmZZexXFjjfSPNRMQCrcPhW7EhQ3olsoiw8zeM8JsToULDL4libqAHinNB
s3JUWDy8h8k3OEKu0f0j/uvlyQEGS5f0Pp0l+ZHn8XIdpCS5XpscV0M84M2USHxG8RwyTRE+jFx9
aOjJcvm2JvjR+vg7UDrRHeC0aVB2m+ofU6xVf/jkTCsoIMONtI3BVVopA0U0rQOrmumMle8scAAA
AAAAAA==

--Apple-Mail=_32E5E063-911A-4119-BF0E-49609075E780--

From anders.rundgren.net@gmail.com  Tue Jan  7 00:33:41 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2FAA1ADFF7 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 00:33:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 4MoXkGPSVkls for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 00:33:40 -0800 (PST)
Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 540FD1AD687 for <jose@ietf.org>; Tue,  7 Jan 2014 00:33:40 -0800 (PST)
Received: by mail-wg0-f42.google.com with SMTP id a1so3383255wgh.5 for <jose@ietf.org>; Tue, 07 Jan 2014 00:33:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=EXiYAQPzV1caAUP9/A51VQy/bQLpoaqkvLZgiNFpZKs=; b=IZtDstPFyxOIwqL5CNEbC1uFiiYF3vLyeChIOm7IUdb4Curz/F0H5SkkZCsRbAYtIG TW9eV1/30CLnd7WZzhuvVAQJTVeVwZGl+Wm+tuSA/hbQtIYzALL+vuHY839oWgNKJCQv IQpzm++dkt4y31Bv2jl8MM3ry3u8CPK/OcJyoGtgkCNOugCB4UdRCWCvmOYHCsE0NK4r BPIcoTQelyn9d1r5y2UovH6C4m0LJoOHw7eEErVYNufZBS2f9qxtoqpfRR+WafOf5wND kvLfPmR8mbMt59+HphSWP3E6f7aFbK9p5PSdnFnmuI+4G1QbBprvqW4HF4H95VVHfC+V q0lQ==
X-Received: by 10.194.48.74 with SMTP id j10mr50883913wjn.41.1389083610776; Tue, 07 Jan 2014 00:33:30 -0800 (PST)
Received: from [192.168.1.33] (177.42.14.81.rev.sfr.net. [81.14.42.177]) by mx.google.com with ESMTPSA id at5sm2341586wic.1.2014.01.07.00.33.30 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jan 2014 00:33:30 -0800 (PST)
Message-ID: <52CBBBD6.3060708@gmail.com>
Date: Tue, 07 Jan 2014 09:33:26 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 08:33:42 -0000

This spec. describes an ultra-simple JSON canonicalization scheme:
https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html

An equally simple parser supporting this scheme can be found here:
https://code.google.com/p/openkeystore/source/browse/javascript/trunk/src/jsonparser/JSONParser.js

This (IMO) verifies my claim that cleartext JSON signatures is a viable alternative to JWS for applications
where the payload is complex which were not really the case for the original JOSE scenarios.

thanx,
Anders


From cabo@tzi.org  Tue Jan  7 01:12:47 2014
Return-Path: <cabo@tzi.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 266411ADFB2 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 01:12:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=no
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 fcm2_k5dysEt for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 01:12:45 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 9605A1ADF53 for <jose@ietf.org>; Tue,  7 Jan 2014 01:12:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id s079CYdD014664; Tue, 7 Jan 2014 10:12:34 +0100 (CET)
Received: from [192.168.217.105] (p54891941.dip0.t-ipconnect.de [84.137.25.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 040FCD5F; Tue,  7 Jan 2014 10:12:33 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
Content-Type: text/plain; charset=windows-1252
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <52CBBBD6.3060708@gmail.com>
Date: Tue, 7 Jan 2014 10:12:32 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org>
References: <52CBBBD6.3060708@gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Mailer: Apple Mail (2.1827)
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 09:12:47 -0000

On 07 Jan 2014, at 09:33, Anders Rundgren =
<anders.rundgren.net@gmail.com> wrote:

> This spec. describes an ultra-simple JSON canonicalization scheme:
> https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html

That=92s not JSON.
("Parsing Restrictions:=94 "=95 The original property order must be =
preserved.=94)

(Members of the JSON WG will be painfully aware that, yes, this can be =
done in currently deployed in-Browser JavaScript implementations if =
certain key values are not being used, but it cannot be done in JSON in =
general.)

Gr=FC=DFe, Carsten


From anders.rundgren.net@gmail.com  Tue Jan  7 01:31:30 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0ED8C1AE038 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 01:31:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 UjR5jEe59krN for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 01:31:28 -0800 (PST)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 315F51ADEC8 for <jose@ietf.org>; Tue,  7 Jan 2014 01:31:28 -0800 (PST)
Received: by mail-wi0-f171.google.com with SMTP id bz8so3857938wib.4 for <jose@ietf.org>; Tue, 07 Jan 2014 01:31:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=dDx7fvjxoP8ngbSrtOH0ldCm86r45f7zNSCZP3XZwi8=; b=iAEqnBHnmMtZDiuxNnTeDhHMv3/1NrlZcQ7Htg/svYw/eWr6Ma/7WLPiIz9fi2nWC2 0CQkurN7aZQ8qYVrPKqIEBFNEjVCe74Z+zEAAmTMvA7AiSgtWEz3M0drj3FNqcgoJGlB 9JsK4n+j4uxMZX8cezGYMXXVvc3hE+u+XNcikyMsy+3+nzQiCcqGtDZwdd5OfMkyfKVE N/xqFGi8StVM+GhI3uEtU1b7rPiHX9+k7Aearavc9vblKdj4zSRIYMeAmiW1i7VDGf9S 7gvkxysa+n9QywwCrY3MI9t8QDLyex4Kg716IbSnBZO9lQxh23ZpmRoawAL6Tq9Jayby Tr4A==
X-Received: by 10.194.82.68 with SMTP id g4mr4260259wjy.85.1389087078971; Tue, 07 Jan 2014 01:31:18 -0800 (PST)
Received: from [192.168.1.33] (177.42.14.81.rev.sfr.net. [81.14.42.177]) by mx.google.com with ESMTPSA id dm2sm2531016wib.8.2014.01.07.01.31.18 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jan 2014 01:31:18 -0800 (PST)
Message-ID: <52CBC964.5010300@gmail.com>
Date: Tue, 07 Jan 2014 10:31:16 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <52CBBBD6.3060708@gmail.com> <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org>
In-Reply-To: <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 09:31:30 -0000

On 2014-01-07 10:12, Carsten Bormann wrote:
> On 07 Jan 2014, at 09:33, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
> 
>> This spec. describes an ultra-simple JSON canonicalization scheme:
>> https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html
> 
> That’s not JSON.
> ("Parsing Restrictions:” "• The original property order must be preserved.”)

It is a correct but [somewhat] restricted JSON syntax.

This restriction is probably a minor problem (since it should be easy to
support), while the "cheap trick" canonicalization method preserving
non-normalized numbers like 4.50 was the thing that _required_ an upgraded
parser.  But as the latter turned out to be quite simple, I (FWIW) didn't
see that as a showstopper.  It was [almost] fun to write :-)

Regards,
Anders

> 
> (Members of the JSON WG will be painfully aware that, yes, this can be done in 
> currently deployed in-Browser JavaScript implementations if certain key values
> are not being used, but it cannot be done in JSON in general.)


> 
> Grüße, Carsten
> 


From cabo@tzi.org  Tue Jan  7 01:47:34 2014
Return-Path: <cabo@tzi.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDF331ADFA4 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 01:47:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=no
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 jPdy023bVIPH for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 01:47:33 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id B9D301ADF8A for <jose@ietf.org>; Tue,  7 Jan 2014 01:47:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id s079lKOR024210; Tue, 7 Jan 2014 10:47:21 +0100 (CET)
Received: from [192.168.217.105] (p54891941.dip0.t-ipconnect.de [84.137.25.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 5E99ADCC; Tue,  7 Jan 2014 10:47:20 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
Content-Type: text/plain; charset=windows-1252
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <52CBC964.5010300@gmail.com>
Date: Tue, 7 Jan 2014 10:47:18 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <21C162B5-4F00-46B7-892A-CC2F264C7934@tzi.org>
References: <52CBBBD6.3060708@gmail.com> <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org> <52CBC964.5010300@gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Mailer: Apple Mail (2.1827)
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 09:47:34 -0000

On 07 Jan 2014, at 10:31, Anders Rundgren =
<anders.rundgren.net@gmail.com> wrote:

>> That=92s not JSON.
>> ("Parsing Restrictions:=94 "=95 The original property order must be =
preserved.=94)
>=20
> It is a correct but [somewhat] restricted JSON syntax.

The syntax conformance is not the point.

In my version of a =93somewhat restricted JSON syntax", a double newline =
in front of a string means that the string is a binary string in =
base64url decoding.  Fully conforming.  And, I=92m expecting all of your =
implementations to heed this and automatically decode those binaries, of =
course.  Oh, and decode strings starting with \u003a as a symbol, while =
continuing to decode strings starting with an unescaped colon as a =
string.

That=92s just not the way JSON works.

If you need a special parser for a syntax, it=92s no longer JSON.

Gr=FC=DFe, Carsten


From anders.rundgren.net@gmail.com  Tue Jan  7 02:38:11 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C9DA1AD9B8 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 02:38:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 F6IV6EA-0sW4 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 02:38:10 -0800 (PST)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by ietfa.amsl.com (Postfix) with ESMTP id BF1831AD66E for <jose@ietf.org>; Tue,  7 Jan 2014 02:38:09 -0800 (PST)
Received: by mail-wi0-f179.google.com with SMTP id z2so510325wiv.0 for <jose@ietf.org>; Tue, 07 Jan 2014 02:38:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DC9vzKOfem8/xisl+E0+Cl93JPVLCaz8cJLDQjUW+n0=; b=Q0JE5N4JT+5S/buk3rJC4rHxB2sOxVcUkPmlAhzImVqvsg7P0cYKHVt60ncUGJGqMn TWqY1yeH9V6X30d+qatqkQ+Id5Gq18eTygF6iOhEUwttWLe99+DuNKyY6mMWmm5H3u+j zuQX5Yho/9BC3RYLPFS+8v9co55GIPtq9uvGcoDLM7vHGEEHiWuDl3xpz+PK7rr6mYtj LfTVIrGPc1JiDddtrVq+vcYK8ZfzZER9iyrXQfc+P+tgCmCC0FVXJYKT++kcBh/7RsxS 0g0uZifoRdWRRR3i1ebLLa8hFiykGKLP6/X46FKOYvX8e25V/yQOfD6V44Ne9il1h0a0 EkLA==
X-Received: by 10.180.108.240 with SMTP id hn16mr16107464wib.5.1389091080605;  Tue, 07 Jan 2014 02:38:00 -0800 (PST)
Received: from [192.168.1.33] (199.42.14.81.rev.sfr.net. [81.14.42.199]) by mx.google.com with ESMTPSA id j9sm44994902wjx.18.2014.01.07.02.37.59 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jan 2014 02:38:00 -0800 (PST)
Message-ID: <52CBD905.1060703@gmail.com>
Date: Tue, 07 Jan 2014 11:37:57 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <52CBBBD6.3060708@gmail.com> <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org> <52CBC964.5010300@gmail.com> <21C162B5-4F00-46B7-892A-CC2F264C7934@tzi.org>
In-Reply-To: <21C162B5-4F00-46B7-892A-CC2F264C7934@tzi.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 10:38:11 -0000

On 2014-01-07 10:47, Carsten Bormann wrote:
> On 07 Jan 2014, at 10:31, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
>
>>> That’s not JSON.
>>> ("Parsing Restrictions:” "• The original property order must be preserved.”)
>> It is a correct but [somewhat] restricted JSON syntax.
> The syntax conformance is not the point.
>
> In my version of a “somewhat restricted JSON syntax", a double newline in front of a string means that the string is a binary string in base64url decoding.  Fully conforming.  And, I’m expecting all of your implementations to heed this and automatically decode those binaries, of course.  Oh, and decode strings starting with \u003a as a symbol, while continuing to decode strings starting with an unescaped colon as a string.
>
> That’s just not the way JSON works.
>
> If you need a special parser for a syntax, it’s no longer JSON.

I'm sorry Carsten but my brain doesn't parse what you are writing :-)

The parser in question reads the JSON syntax as specified in the RFC.  At least that was the goal.

What's not described in the RFC is the way a JSON parser deal with the parsed data.
It is clear that no other parser out there can be used to verify signatures based on JCS.
If this makes the entire concept invalid that's a valid opinion, however it is not a fact.

Backward compatibility at any cost is at least not my recipe for success.

BTW, the whole JS-thing looks extremely odd, not even "long" and BigInteger are supported!
The XML syntax added in ES4 look quite ridiculous.  Who asked for that?

I'm actually quite happy with the "cheap trick canonicalization" scheme.  Even a third-rate
programmer should be able to get it right :-)

Regards,
Anders


>
> Grüße, Carsten
>


From cabo@tzi.org  Tue Jan  7 03:04:55 2014
Return-Path: <cabo@tzi.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0D131ADF4B for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 03:04:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=no
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 1bVjKqrcp0cE for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 03:04:54 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id C2B1B1ADF7A for <jose@ietf.org>; Tue,  7 Jan 2014 03:04:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id s07B4dPc000026; Tue, 7 Jan 2014 12:04:39 +0100 (CET)
Received: from dynamic-218-u.informatik.uni-bremen.de (dynamic-218-u.informatik.uni-bremen.de [134.102.218.220]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 63C6CEB9; Tue,  7 Jan 2014 12:04:39 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
Content-Type: text/plain; charset=windows-1252
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <52CBD905.1060703@gmail.com>
Date: Tue, 7 Jan 2014 12:04:38 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <3B72B035-4608-42F5-A8B0-A95B559DF3BF@tzi.org>
References: <52CBBBD6.3060708@gmail.com> <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org> <52CBC964.5010300@gmail.com> <21C162B5-4F00-46B7-892A-CC2F264C7934@tzi.org> <52CBD905.1060703@gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Mailer: Apple Mail (2.1827)
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 11:04:56 -0000

On 07 Jan 2014, at 11:37, Anders Rundgren =
<anders.rundgren.net@gmail.com> wrote:

> If this makes the entire concept invalid that's a valid opinion, =
however it is not a fact.

It=92s not the concept that is invalid.

When people read =93JSON=94, they expect to be able to make use of the =
vast JSON ecosystem.
That is not the case with the syntax that you are proposing.
So it is more honest not to call it JSON.
(Not beyond =93leveraging JSON syntax for a new data interchange =
format=94, that is.)

Gr=FC=DFe, Carsten


From watsonm@netflix.com  Tue Jan  7 13:04:41 2014
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9328A1AE089 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:04:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, SPF_PASS=-0.001] autolearn=no
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 ii-bzYcZOXWJ for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:04:35 -0800 (PST)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id C51101AE183 for <jose@ietf.org>; Tue,  7 Jan 2014 13:04:34 -0800 (PST)
Received: by mail-we0-f177.google.com with SMTP id u56so661940wes.22 for <jose@ietf.org>; Tue, 07 Jan 2014 13:04:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OcvopDhqJ60sK5JfHo+yoKUxBRvSynEcxBqr2/QF+yM=; b=i/PmW12jupWNXVN+Xg540FfNtOGiDvBol3NLDl2hbXV3qa0hkccF8pT89EzzwBFSXf /76OzE3lBFPMZkZXgoIko+HZOHKduwI351UIdZiR7HyvoR8vok7VR8V2ghsOcYCx0hIF b+dpQ65ZU12qgOG2jh8YC9Dss1FBy935+xecY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=OcvopDhqJ60sK5JfHo+yoKUxBRvSynEcxBqr2/QF+yM=; b=ZCrWJjURRtI1DvMzuy4yDz38UQnbwLW2Lngk83JjLy2jvmHT7rwSrKztHUx6j8tSYY TxwQGcwScwcWMPx0IQtdPdTiW9N+ED3QulQANMRgbaZfUIuqGVKLt9CjUtHX7qwOfokj XoyPSeXWcXe47auadeQlPnAq7FIoGgYEOePu0RFR9RatH6RK1yrtN9EZFrKB5Rjdxpkq eaHsW3jxuRoXdtlibKqxHy9HElifQ2Golun8tD37qg5kCcctQxPHJnUKF3fZ0oCpfimj 7Axw8IyvNg1Qz99Q/VoGiWtQbPEzU7PGiw949/VCePHnbCB1/EoWzS8hLeHd6nuStwy9 MzfQ==
X-Gm-Message-State: ALoCoQnMNYJjfnUHNB+SpQUKZ8cJuR+70FtklnMnr/jMJvOgoUhsMdfBn85QEfrwVn8w9nIEVGy5
MIME-Version: 1.0
X-Received: by 10.181.12.20 with SMTP id em20mr18789352wid.0.1389128665305; Tue, 07 Jan 2014 13:04:25 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Tue, 7 Jan 2014 13:04:25 -0800 (PST)
In-Reply-To: <D5C09BE4-F972-4D3E-BC3A-EDCAE9977859@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com> <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com> <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com> <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD86718@TK5EX14MBXC286.redmond.corp.microsoft.com> <D5C09BE4-F972-4D3E-BC3A-EDCAE9977859@ve7jtb.com>
Date: Tue, 7 Jan 2014 13:04:25 -0800
Message-ID: <CAEnTvdAjzrkazqpxbYFCYMRUvOtxXgUyF=2xboKHeASsJnUKow@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary=f46d043bdfa2a4a2c804ef67b8ec
Cc: Richard Barnes <rlb@ipv.sx>, "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 21:04:41 -0000

--f46d043bdfa2a4a2c804ef67b8ec
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

So, where are we with this one ?

I am fine with either Mike's proposal or Richard's (revised) proposal.
Defining a new attribute was what I originally proposed in WebCrypto. The
objections to that were related to backwards-compatibility and consistency
between the two attributes, however I think if JOSE specifies the new
attribute and the interaction with the existing one (as discussed in this
thread) then those concerns may be mitigated. Or, if appropriate, WebCrypto
could register a new attribute with guidance on those issues from JOSE.

...Mark


On Mon, Jan 6, 2014 at 4:43 PM, John Bradley <ve7jtb@ve7jtb.com> wrote:

> Use was originally optional so going back to that is fine.
>
> Having the Web Crypto WG sort out meta-data for key usage by the crypto
> subsystem and or secure storage with other elements is fine with me.
>
> I think they are different use cases one for private or secret keys and
> the other for public keys.
>
> I do think that for storage restricting the alg will be required if
> disclosure to the application layer is to be prevented, but the WC WG can
> work on that without holding up the JWK spec as long as they have the
> extension point.
>
> John B.
>
> On Dec 31, 2013, at 4:18 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
>
> The context that some participants may not be keeping in mind is that whe=
n
> =93use=94 was defined, JWKs were intentionally limited to representing pu=
blic
> keys.  The =93use=94 field is used for distinguishing between public sign=
ing
> keys and encryption keys.  The use case where a set of public keys is
> publicly advertised for use by a protocol participant is quite common.
>  =93use=94 is intentionally designed for that use case and works great th=
ere.
>
> Sometime later, we added the ability to represent private and symmetric
> keys to JWK =96 at the request of the WebCrypto WG.  This expanded the
> possible use cases for JWKs to include transporting non-public keys betwe=
en
> protocol participants.  With the addition of non-public keys, additional
> key uses became possible, including the possibility of the same key being
> legally used for two things (signing/verification, etc.).  The
> =93use_details=94 representation makes sense for those use cases.
>
> I=92d be fine relaxing the language saying that =93use=94 must be present=
,
> because I agree it=92s not a good fit if non-public keys are present.  I
> suspect not requiring =93use=94 would make people happier in the non-publ=
ic use
> cases.  And we could explicitly say that =93use=94 is intended for use ca=
ses
> where only public keys are present.  Do people agree with this change?
>
> Given our goal of keeping simple things simple, I believe that =93use=94
> should be retained as-is for the very common use case of sets of public
> keys.  It already works great there.
>
> I=92d also be fine saying that applications should specify which of =93us=
e=94
> and =93use_details=94 they will use and that the other will be ignored.  =
I=92m
> also fine changing the name of =93use_details=94 to =93eku=94 (extended k=
ey usages)
> or something similar =96 reflecting the fact that then =93use=94 and =93e=
ku=94 aren=92t
> intended to be used together.  And we would say that this field is intend=
ed
> for use cases where both public and non-public keys may be present.  Do
> people agree with this change?  If so, what name do you want us to use fo=
r
> the expanded key usages field?
>
>                                                             -- Mike
> *From:* Richard Barnes [mailto:rlb@ipv.sx <rlb@ipv.sx>]
> *Sent:* Tuesday, December 31, 2013 9:03 AM
> *To:* Mike Jones
> *Cc:* ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> *Subject:* Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
> However, in advocating for two, parallel extensions to JWK for essentiall=
y
> the same purpose, you're basically arguing that "use" is not generally
> applicable to JWK -- it applies to OpenID/SAML-like stuff, but not much
> more broadly.  (You can't really say the same thing about the more detail=
ed
> version, since it's a superset.)  But if "use" is not a generally useful
> feature of JWK, then it shouldn't be part of the spec.
>
>
> In other words, if a feature is going to be part of the JWK spec, then it
> needs to meet the requirements that participants in this group put forth.
> If we're choosing not to meet those requirements (as "use" does not), the=
n
> it needs to come out of the spec.
> I think there's still room for compromise here (see my other reply on the
> proposal directly).  But if there's no compromise, then there's no
> consensus, and "use" needs to go.
>
> --Richard
>
>
>
>
> On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
> There's nothing wrong with different use cases with different needs
> supplying different key metadata.
>
> The ability to do that is an indication of the versatility and usefulness
> of the JWK format - not a deficiency.
> ------------------------------
> *From: *Ryan Sleevi <ryan-ietf@sleevi.com>
> *Sent: *12/30/2013 1:55 PM
> *To: *Mike Jones <Michael.Jones@microsoft.com>
> *Cc: *Mike Jones <Michael.Jones@microsoft.com>; ryan-ietf@sleevi.com; Ric=
hard
> Barnes <rlb@ipv.sx>; John Bradley <ve7jtb@ve7jtb.com>; jose@ietf.org
>
>
> *Subject: *Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
> On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:
> >  ... and lest there be any confusion, the JWK spec doesn't require the
> use
> >  of "use".  WebCrypto can specify that it not be used and require the u=
se
> >  of "use_details" if that best meets the needs of your use case.
>
> So you're still arguing for two, incompatible ways of expressing use
> within the base spec. The current draft (-19) proposes that "A 'use'
> member SHOULD be present, unless the application uses another means or
> convention to determine the intended key usage".
>
> That is, if draft-19 were pushed to WGLC, it would leave authors confused
> as to when to use either. As specified, the language still strongly
> prefers "use", and continues to suggest "use_details" as a subset, when
> it's not really.
>
> Richard's solution is much more sensible, in that it makes it clear that
> there is a single clean way to communicate use going forward, and a
> deprecated way from existing specs. Existing keys can continue to be
> imported into new versions of the spec - it's only an issue when a new
> version of the spec is used to interoperate with an older version. I don'=
t
> think it's fair to suggest that's "backwards compatibility" - that's an
> issue of "forwards compatibility", and one that is far trickier to get
> right, and arguably far less important here - and one that can be
> addressed in *new* implementations by choice or config.
>
> Let me try to state the problem differently:
>
> Is "use" generically suitable for use cases of JWK? Can you envision othe=
r
> scenarios where it can be gracefully extended?
>
> As I see it, the answer is clearly "no", as already evidenced by
> WebCrypto's intended use, but also demonstrated by Axel's example of "do
> not want" (which is X.509's 'extended key usages' field). As such, we
> should try to fix that spec before finalizing, rather than bolt-on
> additions and try to rush things through WGLC, or we should accept that
> this is a problem the spec/spec authors are not interested in solving
> cleanly, and WebCrypto can move to a solution that does.
>
> Both specs are still in their infancy of both implementation and adoption
> and we should try to do things right while we can.
>
> >  ________________________________
> >  From: Mike Jones<mailto:Michael.Jones@microsoft.com<Michael.Jones@micr=
osoft.com>
> >
> >  Sent: =FD12/=FD30/=FD2013 1:12 PM
> >  To: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>
> >  Cc: Richard Barnes<mailto:rlb@ipv.sx <rlb@ipv.sx>>; John
> >  Bradley<mailto:ve7jtb@ve7jtb.com <ve7jtb@ve7jtb.com>>; jose@ietf.org<
> mailto:jose@ietf.org <jose@ietf.org>>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >  Ryan, this isn't an either-or situation. JWK is intended to be a gener=
al
> >  key representation format. It's extensible exactly so information for
> any
> >  use cases that need info not in the base spec can add it.  I'm still
> >  puzzled why some in WebCrypo felt uncomfortable using this extensibili=
ty
> >  by defining and registering a new field for WebCrypyo's representation
> of
> >  use info. But observing that to be the case, I'm attempting to be as
> clear
> >  as possible (through spec actions!) that there's absolutely no reason
> for
> >  WebCrypto not to use JWK.
> >
> >  There's no plans to "continue to evolve JWK to parallel the SAML
> >  workflows" that I'm aware of. Rather, I believe the only further
> addition
> >  being considered before completing the spec is one motivated by
> >  WebCrypto's use case rather than SAML - "use_details".
> >
> >  I believe that the current JWK spec already meets WebCrypto's needs
> as-is.
> >   Is there any reason not to just use it and move on to addressing othe=
r
> >  issues needed to be resolved to complete both JOSE and WebCrypto, both
> of
> >  which I see as being complementary and important to the industry?
> >
> >  -- Mike
> >  ________________________________
> >  From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com <ryan-ietf@sleevi.com>>
> >  Sent: =FD12/=FD30/=FD2013 12:47 PM
> >  To: Mike Jones<mailto:Michael.Jones@microsoft.com<Michael.Jones@micros=
oft.com>
> >
> >  Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; Richard
> >  Barnes<mailto:rlb@ipv.sx <rlb@ipv.sx>>; John Bradley<
> mailto:ve7jtb@ve7jtb.com <ve7jtb@ve7jtb.com>>;
> >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >  On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
> > >  As further background for the discussion, the current "use" definiti=
on
> > > is
> > >  based on widely deployed existing practice - the SAML metadata
> > >  specification
> > >  (
> http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf),
> > >  which defines "use" as follows in section 2.4.1.1:
> > >  use [Optional]
> > >  Optional attribute specifying the purpose of the key being described=
.
> > >  Values are drawn from the
> > >
> > >  KeyTypes enumeration, and consist of the values encryption and
> signing.
> > >
> > >
> > >
> > >  This has been shown to be sufficient in practice for its intended
> > > purpose,
> > >  as has the JWK "use" field.
> > >
> >
> >  Mike,
> >
> >  I feel like you're arguing all the more strongly for WebCrypto not to
> use
> >  JWK, in that you're arguing that JWK's "intended purpose" is to match
> >  SAML. I can understand where this fits within the JWT and OpenID Conne=
ct
> >  workflows, but as a "JSON key description" format, it is unquestionabl=
y
> >  much more restrictive and ill-suited.
> >
> >  If the goal is to continue to evolve JWK to parallel the SAML workflow=
s,
> >  then I don't see how WebCrypto can in good conscience encourage JWK.
> >
> >  There's nothing preventing authors from translating JWK into any sort =
of
> >  API form that WebCrypto requires - much in the same way that they can
> >  translate the composite JWA algorithms (which are suitable for
> transport)
> >  into WebCrypto's broader, more generic algorithms (which are suitable
> for
> >  an API targeting application development).
> >
> >  Arguably, the only reasons to use JWK are to prevent introducing "yet
> >  another key format". While laudable, if JWK is trying to mirror SAML,
> then
> >  it would seem that JWK is not trying to be a key format, per se, and
> such
> >  risk would be low.
> >
> >  Again, I'm perfectly fine if JOSE would rather that JWK be kept as
> minimal
> >  and as specific for the JWT use case, and we can easily use a
> descriptive
> >  WebIDL within WebCrypto to describe the key formats it operates with (=
in
> >  addition to SPKI and PKCS#8). Comments so far from this WG give me the
> >  sense that there's strong opposition by some to seeing JWK evolve to b=
e
> as
> >  flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
> >  extensibility that WebCrypto wants, and if JWK isn't it, we can use
> >  something else. OpenID Connect and JWT can continue to use JWK as suit=
ed
> >  for their needs, and if for some reason someone wants to use JS to
> >  interact with these, they can use a translation shim, just as they wou=
ld
> >  for JWE/JWS or for *any other* cryptographic application, since
> WebCrypto
> >  is "just" an API.
> >
> > >
> > >
> > >  I understand your point, Ryan, that for the WebCrypto API use case,
> > > there
> > >  is sometimes value in distinguishing between the producer and consum=
er
> > >  operations for a key.  That's part of why I proposed adding
> > > "use_details",
> > >  so those distinctions can be made for the use cases where they do ma=
ke
> > > a
> > >  difference.
> > >
> > >
> > >
> > >  As for Richard's proposal, the problem with it is that it would be a
> > >  breaking change, since if "ku" was present, his proposal would requi=
re
> > >  different treatment of the "use" field (ignoring it).  My proposal i=
s
> > > not
> > >  a breaking change, since "use" continues to mean what it always has.
> > >  Furthermore, my proposal requires that "use" and "use_details" conve=
y
> > >  consistent information, if both are present.  That seems significant=
ly
> > >  simpler for consumers of JWKs use than requiring conditional
> behaviors,
> > > as
> > >  Richard's proposal does.
> > >
> > >
> > >
> > >                                                              Best
> > > wishes,
> > >
> > >                                                              -- Mike
> > >
> > >
> > >
> > >  -----Original Message-----
> > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com <ryan-ietf@sleevi.com=
>
> ]
> > >  Sent: Monday, December 30, 2013 10:25 AM
> > >  To: Richard Barnes
> > >  Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> > >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> > >  coordinate with WebCrypto
> > >
> > >
> > >
> > >  On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:
> > >
> > > >  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones
> > >
> > > >  <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com
> >>wrote:
> > >
> > > >
> > >
> > > > > It's my sense of the JOSE working group that most are strongly
> > >
> > > > > opposed to breaking changes at this point.
> > >
> > > >
> > >
> > > >
> > >
> > > >  Please don't claim to represent the WG.  There is a significant
> > >
> > > > contingent  who care about breaking changes, but also a significant
> > >
> > > > group who would  prefer the best, most usable spec we can make,
> > >
> > > > regardless of the sins of  the past.
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > > However, I also believe that most JOSE participants share the
> > >
> > > > > sentiment of many WebCrypto participants that it would be better
> for
> > >
> > > > > all for WebCrypto to use real JWKs, rather than something
> > >
> > > > > "JWK-like".
> > >
> > > > >
> > >
> > > >
> > >
> > > >   How about this for a compromise proposal:
> > >
> > > >  -- Leave "use" in for backward compatibility.
> > >
> > > >  -- Define a new field "ku" (Key Usage, or something similar) that
> has
> > >
> > > > detailed key usage information.
> > >
> > > >  -- Deprecate "use", recommending that new applications use "ku"; i=
f
> > >
> > > > both  are present, "use" MUST be ignored.
> > >
> > > >  -- Define the expansion of "use" values to "ku" values
> > >
> > > >
> > >
> > > >  That doesn't break backward compatibilty, but makes detailed contr=
ol
> > >
> > > > the  default going forward.
> > >
> > > >
> > >
> > > >  --Richard
> > >
> > >
> > >
> > >  As I expressed within WebCrypto, this to me strikes a much more
> > > sensible
> > >  balance of backwards compatibility and extensibility, and hopefully =
in
> > > a
> > >  way that allows existing deployments to cleanly transition while
> > > allowing
> > >  new deployments to avoid the limitations of the current drafts.
> > >
> > >
> > >
> > >  I very much prefer this over use_details for Web Crypto's use cases.
> > >
> > >
> > >
> > > >
> > >
> > > >  I believe my proposal is the best-available solution, given the
> > >
> > > > current
> > >
> > > > > realistic constraints.  It might have made better sense for a
> > >
> > > > > WebCrypto spec to define "use_details" than JOSE, but if WebCrypt=
o
> > >
> > > > > isn't going to do it, I believe that we'll all be better off in t=
he
> > >
> > > > > long run if JOSE then does and WebCrypto uses it.
> > >
> > > > >
> > >
> > > > >                                 Cheers,
> > >
> > > > >                                 -- Mike
> > >
> > > > >
> > >
> > > > > -----Original Message-----
> > >
> > > > > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com<ryan-ietf@sleevi.c=
om>
> ]
> > >
> > > > > Sent: Friday, December 27, 2013 6:46 PM
> > >
> > > > > To: Mike Jones
> > >
> > > > > Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; John
> Bradley;
> > > > jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > Subject: Re: [jose] Two proposed JOSE spec actions to more closel=
y
> > >
> > > > > coordinate with WebCrypto
> > >
> > > > >
> > >
> > > > > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> > >
> > > > > >  I disagree that "use" allows multiple uses.  Sign/Verify both
> use
> > >
> > > > > > the same  algorithm with the same key - just in a
> > > producer/consumer
> > > > role.
> > >
> > > > > > There  would only be a security problem if the same key was use=
d
> > >
> > > > > > with
> > >
> > > > > > *different*  algorithms.
> > >
> > > > > >
> > >
> > > > > >  For symmetric keys, Sign/Verify operations are actually the
> same,
> > >
> > > > > > so in  that case, this is a distinction without a difference.
> > >
> > > > > >
> > >
> > > > > >  You may consider the producer/consumer distinction to be
> multiple
> > >
> > > > > > uses,  but only in an academic sense.  You have to perform both
> > >
> > > > > > with the same key  pair or symmetric key for the end-to-end
> > >
> > > > > > cryptography to
> > >
> > > > > be meaningful.
> > >
> > > > > >  Doing one without the other is incomplete.  (What good is
> signing
> > >
> > > > > > if the  signature is never verified?)
> > >
> > > > >
> > >
> > > > > Hi Mike,
> > >
> > > > >
> > >
> > > > > I don't think it's fair to compare them as the same, and it's ver=
y
> > >
> > > > > much a practical, and not an academic case.
> > >
> > > > >
> > >
> > > > > In a Sign() operation, the input is arbitrary plaintext and the
> > >
> > > > > output is a signature corresponding to that plaintext; an oracle,
> if
> > >
> > > > > you will - as you would want.
> > >
> > > > >
> > >
> > > > > In an API (although not necessarily in JWE/JWS, and understandabl=
y
> > >
> > > > > so), a
> > >
> > > > > Verify() operation permits arbitrary plaintext as the input, but
> > >
> > > > > also requires the signature to be verified. The only output is a
> > >
> > > > > boolean - whether or not the signature is correct.
> > >
> > > > >
> > >
> > > > > The goal of "restricting" the uses here would be to allow key
> > >
> > > > > storage not necessarily under the control of the caller. In
> > >
> > > > > WebCrypto, this is the distinction between the executing JS (serv=
ed
> > >
> > > > > by the web page) and the UA implementation. It's a concept borrow=
ed
> > >
> > > > > from any number of other good cryptographic APIs (eg: those that
> are
> > >
> > > > > designed with the notion of opaque key storage)
> > >
> > > > >
> > >
> > > > > With a symmetric key only permitted for a "Verify" operation, the
> > >
> > > > > only way to generate a signature for an arbitrary message is
> > >
> > > > > a) Compromise the key storage
> > >
> > > > > b) Iterate through all possible signature combinations until you
> get
> > >
> > > > > "true" as the Verify() result.
> > >
> > > > >
> > >
> > > > > b) may be aided by any number of implementation issues (eg:
> > >
> > > > > non-constant time comparisons, among others), but is ultimately
> > >
> > > > > "tricky". a) is dependent on implementations, and can be aided or
> > >
> > > > > harmed through a variety of means.
> > >
> > > > >
> > >
> > > > > Combining these two usages into a single use case - which, I agre=
e,
> > >
> > > > > is probably perfectly acceptable if imagining as a transport-only
> > >
> > > > > exchange
> > >
> > > > > -
> > >
> > > > > can thus have real and meaningful differences when used at an API
> > > > level.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consum=
er
> > >
> > > > > > distinctions, but also only use a single key with a single
> > >
> > > > > > algorithm - therefore no security problem.
> > >
> > > > > >
> > >
> > > > > >  =3D=3D=3D=3D
> > >
> > > > > >
> > >
> > > > > >  For what it's worth, I think the different key use
> representation
> > >
> > > > > > choices  stems from JOSE being a high-level API that tries to
> make
> > >
> > > > > > simple things  simple and WebCrypto being a low-level API that
> > >
> > > > > > tries
> > >
> > > > > to
> > >
> > > > > be complete.
> > >
> > > > > >  Both are valid and useful.  These differences show up in lots =
of
> > >
> > > > > > places  besides just key usage representations.
> > >
> > > > >
> > >
> > > > > Absolutely agree here. This is why WebCrypto explored whether we
> > >
> > > > > should do something "JWK-like", but suitable at an API layer and
> for
> > >
> > > > > it's goals, and "trivially" convertable with JWK - but by script
> > >
> > > > > authors. The WebCrypto WG wasn't fond of it, which is
> > >
> > > > > understandable, and why I'm here.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  Anyway, the purpose of my proposal is to try to make things
> > >
> > > > > > easier for  WebCrypto.  I hope people will get behind it.  Yes,
> > >
> > > > > > having both simple and  detailed key usage representations seem=
s
> > > odd
> > > > at first.
> > >
> > > > > > But they're  designed to address different goals for different
> > >
> > > > > > kinds
> > >
> > > > > of
> > >
> > > > > applications.
> > >
> > > > > >  The alternatives (such as "signOnly,verifyOnly", etc.) that ar=
e
> > >
> > > > > > currently  being considered are much worse.
> > >
> > > > > >
> > >
> > > > > >                               -- Mike
> > >
> > > > >
> > >
> > > > > I agree that changing to an array will almost certainly break eve=
ry
> > >
> > > > > implementation to date.
> > >
> > > > >
> > >
> > > > > I agree that comma-separated is horribad and should be avoided,
> even
> > >
> > > > > if it "solves" the backwards compat issue.
> > >
> > > > >
> > >
> > > > > I think your solution is a reasonable attempt to mediate the issu=
es
> > >
> > > > > of backwards compatibility with the use cases of WebCrypto.
> However,
> > >
> > > > > I'm still on the fence as to whether or not it really is
> > >
> > > > > unreasonable to "break"
> > >
> > > > > backwards compatibility here - there seems to be a compelling cas=
e
> > >
> > > > > here as to why even something like ["sign", "verify"] should be
> > >
> > > > > distinct usages.
> > >
> > > > > I
> > >
> > > > > know the bar is incredibly high right now, given JOSE's momentum,
> > >
> > > > > but I didn't think that JOSE was past the point of no return.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  -----Original Message-----
> > >
> > > > > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com<ryan-ietf@sleev=
i.com>
> ]
> > >
> > > > > >  Sent: Friday, December 27, 2013 2:13 PM
> > >
> > > > > >  To: John Bradley
> > >
> > > > > >  Cc: Mike Jones; jose@ietf.org<mailto:jose@ietf.org<jose@ietf.o=
rg>
> >
> > >
> > > > > >  Subject: Re: [jose] Two proposed JOSE spec actions to more
> > >
> > > > > > closely coordinate with WebCrypto
> > >
> > > > > >
> > >
> > > > > >  I'm sorry, John, but by your logic, JOSE is not following your
> > >
> > > > > > own
> > >
> > > > > advice.
> > >
> > > > > >
> > >
> > > > > >  "enc" is already a multiple-use for a key - it allows for both
> > >
> > > > > > encryption  and decryption. For that matter, wrap and unwrap,
> > >
> > > > > > which are supposed to be  inferred based on algorithm, which is=
 a
> > >
> > > > > > JWE/JWS specific aspect, and not  an intrinsic aspect of
> > >
> > > > > JWK-as-key-representation.
> > >
> > > > > >
> > >
> > > > > >  Likewise, "sig" implies sign AND verify, which is meant to be
> > >
> > > > > > unambiguous,  because the assumption is always that you sign wi=
th
> > >
> > > > > > a private key and  verify with a public key, but as a conceptua=
l
> > >
> > > > > > framework breaks down for  schemes like HMAC, which ostensibly
> > >
> > > > > > have sign and verify (or MAC and  verify, if you prefer, but
> we're
> > >
> > > > > splitting
> > >
> > > > > hairs here).
> > >
> > > > > >
> > >
> > > > > >  WebCrypto desires to be *more* precise than JOSE's imprecise a=
nd
> > >
> > > > > > overly  broad, implicitly multi-use syntax. That "enc" means fo=
ur
> > >
> > > > > > possible uses,  or that "sig" means two , is a clear sign that
> > >
> > > > > > JOSE is already actively  encouraging multiple uses for the sam=
e
> > > > key.
> > >
> > > > > >
> > >
> > > > > >  Mike's proposal is basically an admission that the ship has
> > >
> > > > > > sailed on this  implicit, multi-valued usage semantic - which, =
I
> > >
> > > > > > can understand and  sympathize with, in the name of backwards
> > >
> > > > > > compatibility for an in-draft  spec, but let's recognize that a=
s
> > >
> > > > > > spec'd today, JOSE is preferring and  encouraging multiple uses
> > >
> > > > > > for the same key in ways that will  unquestionably encourage
> > >
> > > > > > people to make bad mistakes (such as multiple  parties using th=
e
> > >
> > > > > > same encryption key for traffic in either direction -  requirin=
g
> > >
> > > > > > some degree of IV sync)
> > >
> > > > > >
> > >
> > > > > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> > >
> > > > > > >  Having it be an array encourages multiple uses for the same
> > >
> > > > > > > key.  I have  stated many times that encouraging people to do
> > >
> > > > > > > that is not a good idea,  and making it easy makes people thi=
nk
> > > it
> > > > is a good idea.
> > >
> > > > > > >
> > >
> > > > > > >  You can use the single value field and have multiple entries
> > >
> > > > > > > with different key containing the same or different keys to d=
o
> > >
> > > > > > > the same thing.
> > >
> > > > > > >
> > >
> > > > > > >  On the practical side "use_details" is better than creating
> > >
> > > > > > > crazy dot separated como uses.
> > >
> > > > > > >
> > >
> > > > > > >  John B.
> > >
> > > > > > >
> > >
> > > > > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> > >
> > > > > > > <Michael.Jones@microsoft.com<mailto:
> Michael.Jones@microsoft.com>>
> > >
> > > > > > >  wrote:
> > >
> > > > > > >
> > >
> > > > > > > > Hi all,
> > >
> > > > > > > >
> > >
> > > > > > > > Having reflected upon discussions among WebCrypto and JOSE
> > >
> > > > > > > > participants about JWK usage by WebCrypto over the holidays=
,
> > >
> > > > > > > > I'd like to propose the two JOSE spec actions to more close=
ly
> > >
> > > > > > > > coordinate
> > >
> > > > > > > with WebCrypto:
> > >
> > > > > > > >
> > >
> > > > > > > > 1.  Change the JWA registry field name from "Implementation
> > >
> > > > > > > > Requirements" to "JOSE Implementation Requirements" in the
> > >
> > > > > > > > JSON Web Signature and Encryption Algorithms Registry (
> > >
> > > > >
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se
> > >
> > > > > ction-7.1
> > >
> > > > > ).
> > >
> > > > > > > >  This will make it clearer that the Implementation
> > >
> > > > > > > > Requirements apply only to JWS and JWE implementations - an=
d
> > >
> > > > > > > > not other uses of JWK (such as WebCrypto).  This changes on=
ly
> > >
> > > > > > > > non-normative text and is
> > >
> > > > > > > non-breaking.
> > >
> > > > > > > >
> > >
> > > > > > > > 2.  Define the new JWK field "use_details" for recording
> > >
> > > > > > > > intended fine-grained key usage information.  This would
> > >
> > > > > > > > enable WebCrypto KeyUsage
> > >
> > > > > > > > (
> https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi
> > >
> > > > > > > > ew.h
> > >
> > > > > > > > tm
> > >
> > > > > > > > l#key-interface) values to be used directly with JWK.  The
> > >
> > > > > > > > proposed definition is:
> > >
> > > > > > > >
> > >
> > > > > > > > 3.3.  "use_details" (Key Use Details) Parameter
> > >
> > > > > > > >    The "use_details" (key use details) member identifies
> > >
> > > > > fine-grained
> > >
> > > > > > > >    details the intended use of the key.  Its value is an
> array
> > > > of
> > >
> > > > > > > >    key use details values.  Values defined by this
> > >
> > > > > > > > specification
> > >
> > > > > are:
> > >
> > > > > > > >
> > >
> > > > > > > >    o  "sign" (compute signature or MAC)
> > >
> > > > > > > >    o  "verify" (verify signature or MAC)
> > >
> > > > > > > >    o  "encrypt" (encrypt content)
> > >
> > > > > > > >    o  "decrypt" (decrypt content and verify decryption, if
> > >
> > > > > applicable)
> > >
> > > > > > > >    o  "wrap" (encrypt key)
> > >
> > > > > > > >    o  "unwrap" (decrypt key and verify decryption, if
> > > > applicable)
> > >
> > > > > > > >    o  "deriveKey" (derive key)
> > >
> > > > > > > >    o  "deriveBits" (derive bits not to be used as a key)
> > >
> > > > > > > >
> > >
> > > > > > > >    Other values MAY be used.  Key Use Details values can be
> > >
> > > > > registered
> > >
> > > > > > > >    in the IANA JSON Web Key Use Details registry defined in
> > >
> > > > > > > > Section
> > >
> > > > > > > 7.3.
> > >
> > > > > > > >    The use details values are case-sensitive strings.
> > >
> > > > > > > >    Duplicate use details values MUST NOT be present in the
> > > > array.
> > >
> > > > > > > >    Use of the "use_details" member is OPTIONAL, unless the
> > >
> > > > > application
> > >
> > > > > > > >    requires use this member to record fine-grained key usag=
e
> > >
> > > > > details.
> > >
> > > > > > > >    (Note that the "use_details" values intentionally match
> the
> > >
> > > > > > > > "KeyUsage"
> > >
> > > > > > > >    values defined in the WebCrypto [WebCrypto]
> specification.)
> > >
> > > > > > > >
> > >
> > > > > > > >    If both "use" and "use_details" JWK members are present,
> > >
> > > > > > > > the
> > >
> > > > > usages
> > >
> > > > > > > >    specified by them MUST be consistent.  In particular, th=
e
> > > > "use"
> > >
> > > > > > > value
> > >
> > > > > > > >    "sig" corresponds to "sign" and/or "verify".  The "use"
> > > value
> > >
> > > > > > > >    "enc" corresponds to all other values defined above.
> > >
> > > > > > > >    If "use_details" values corresponding to both "sig" and
> > > "enc"
> > >
> > > > > > > >    "use" values are present, the "use" member SHOULD NOT be
> > >
> > > > > present,
> > >
> > > > > > > >    and if present, its value MUST NOT be either "sig" or
> > > "enc".
> > >
> > > > > > > >
> > >
> > > > > > > > This is a non-breaking change - allowing simple application=
s
> > >
> > > > > > > > that want to distinguish between signing and encryption
> > >
> > > > > > > > operations to continue doing so as they do today, while als=
o
> > >
> > > > > > > > providing a multi-valued key usage details field to be used
> by
> > >
> > > > > > > > applications that want to record fine-grained distinctions
> > >
> > > > > > > > among potential key usages, including distinguishing betwee=
n
> > >
> > > > > > > > producer and consumer
> > >
> > > > > operations.
> > >
> > > > > > > >
> > >
> > > > > > > > As I see it, while having two related key usage
> > >
> > > > > > > > representations isn't ideal, it's far better than having
> > > > WebCrypto overload "use"
> > >
> > > > > > > > with multi-valued values encoded in strings, such as
> > >
> > > > > > > > "signOnly,verifyOnly", which I believe is their current pla=
n
> > >
> > > > > > > > of
> > >
> > > > > > > record.
> > >
> > > > > > > >
> > >
> > > > > > > > Comments?
> > >
> > > > > > > >
> > >
> > > > > > > >
> --
> > >
> > > > > > > > Mike
> > >
> > > > > > > >
> > >
> > > > > > > > P.S.  This proposal was already discussed on the WebCrypto
> > >
> > > > > > > > list in the thread
> > >
> > > > > > > >
> http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
> > >
> > > > > > > > ht ml and no objections were raised there that I'm aware of=
.
> > >
> > > > > > > >
> > >
> > > > > > > > _______________________________________________
> > >
> > > > > > > > jose mailing list
> > >
> > > > > > > > jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > > >
> > >
> > > > > > >  _______________________________________________
> > >
> > > > > > >  jose mailing list
> > >
> > > > > > >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > > >
> > >
> > > > > >  _______________________________________________
> > >
> > > > > >  jose mailing list
> > >
> > > > > >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > >
> > >
> > > > >
> > >
> > > > > _______________________________________________
> > >
> > > > > jose mailing list
> > >
> > > > > jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > >
> > >
> > > >  _______________________________________________
> > >
> > > >  jose mailing list
> > >
> > > >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > >
> > >
> > >
> > >
> > >
> > >  _______________________________________________
> > >  jose mailing list
> > >  jose@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> >
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>

--f46d043bdfa2a4a2c804ef67b8ec
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">So,=
 where are we with this one ?</div><div class=3D"gmail_default" style=3D"fo=
nt-size:small"><br></div><div class=3D"gmail_default" style=3D"font-size:sm=
all">I am fine with either Mike&#39;s proposal or Richard&#39;s (revised) p=
roposal. Defining a new attribute was what I originally proposed in WebCryp=
to. The objections to that were related to backwards-compatibility and cons=
istency between the two attributes, however I think if JOSE specifies the n=
ew attribute and the interaction with the existing one (as discussed in thi=
s thread) then those concerns may be mitigated. Or, if appropriate, WebCryp=
to could register a new attribute with guidance on those issues from JOSE.<=
/div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">...Mark</div></div><div class=
=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Mon, Jan 6, 2014 at =
4:43 PM, John Bradley <span dir=3D"ltr">&lt;<a href=3D"mailto:ve7jtb@ve7jtb=
.com" target=3D"_blank">ve7jtb@ve7jtb.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word">Use was =
originally optional so going back to that is fine.<div><br></div><div>Havin=
g the Web Crypto WG sort out meta-data for key usage by the crypto subsyste=
m and or secure storage with other elements is fine with me.</div>
<div><br></div><div>I think they are different use cases one for private or=
 secret keys and the other for public keys.</div><div><br></div><div>I do t=
hink that for storage restricting the alg will be required if disclosure to=
 the application layer is to be prevented, but the WC WG can work on that w=
ithout holding up the JWK spec as long as they have the extension point.</d=
iv>
<div><br></div><div>John B.</div><div><div class=3D"h5"><div><br><div><div>=
On Dec 31, 2013, at 4:18 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones=
@microsoft.com" target=3D"_blank">Michael.Jones@microsoft.com</a>&gt; wrote=
:</div>
<br><blockquote type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"pu=
rple" style=3D"font-family:Helvetica;font-size:12px;font-style:normal;font-=
variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;=
text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor=
d-spacing:0px">
<div><div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;=
Times New Roman&#39;,serif"><span style=3D"font-size:11pt;font-family:Calib=
ri,sans-serif;color:rgb(31,73,125)">The context that some participants may =
not be keeping in mind is that when =93use=94 was defined, JWKs were intent=
ionally limited to representing public keys.=A0 The =93use=94 field is used=
 for distinguishing between public signing keys and encryption keys.=A0 The=
 use case where a set of public keys is publicly advertised for use by a pr=
otocol participant is quite common. =A0=93use=94 is intentionally designed =
for that use case and works great there.<u></u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times=
 New Roman&#39;,serif"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span></div><div style=3D"margin:0in 0in=
 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)">Sometime later, we added the ability to represent private and symme=
tric keys to JWK =96 at the request of the WebCrypto WG.=A0 This expanded t=
he possible use cases for JWKs to include transporting non-public keys betw=
een protocol participants.=A0 With the addition of non-public keys, additio=
nal key uses became possible, including the possibility of the same key bei=
ng legally used for two things (signing/verification, etc.).=A0 The =93use_=
details=94 representation makes sense for those use cases.<u></u><u></u></s=
pan></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times=
 New Roman&#39;,serif"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span></div><div style=3D"margin:0in 0in=
 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)">I=92d be fine relaxing the language saying that =93use=94 must be p=
resent, because I agree it=92s not a good fit if non-public keys are presen=
t.=A0 I suspect not requiring =93use=94 would make people happier in the no=
n-public use cases.=A0 And we could explicitly say that =93use=94 is intend=
ed for use cases where only public keys are present.=A0 Do people agree wit=
h this change?<u></u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times=
 New Roman&#39;,serif"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span></div><div style=3D"margin:0in 0in=
 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)">Given our goal of keeping simple things simple, I believe that =93u=
se=94 should be retained as-is for the very common use case of sets of publ=
ic keys.=A0 It already works great there.<u></u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times=
 New Roman&#39;,serif"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span></div><div style=3D"margin:0in 0in=
 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)">I=92d also be fine saying that applications should specify which of=
 =93use=94 and =93use_details=94 they will use and that the other will be i=
gnored.=A0 I=92m also fine changing the name of =93use_details=94 to =93eku=
=94 (extended key usages) or something similar =96 reflecting the fact that=
 then =93use=94 and =93eku=94 aren=92t intended to be used together.=A0 And=
 we would say that this field is intended for use cases where both public a=
nd non-public keys may be present.=A0 Do people agree with this change?=A0 =
If so, what name do you want us to use for the expanded key usages field?<u=
></u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times=
 New Roman&#39;,serif"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span></div><div style=3D"margin:0in 0in=
 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></span></div><div=
 style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New=
 Roman&#39;,serif">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)"><u></u><u></u></span></div><div style=3D"margin:0in 0in 0.0001pt;fo=
nt-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><b><span style=3D=
"font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style=
=3D"font-size:10pt;font-family:Tahoma,sans-serif"><span>=A0</span>Richard B=
arnes [<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">mailto:rlb@ipv.sx</a=
>]<span>=A0</span><br>
<b>Sent:</b><span>=A0</span>Tuesday, December 31, 2013 9:03 AM<br><b>To:</b=
><span>=A0</span>Mike Jones<br><b>Cc:</b><span>=A0</span><a href=3D"mailto:=
ryan-ietf@sleevi.com" target=3D"_blank">ryan-ietf@sleevi.com</a>; John Brad=
ley; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><b=
r>
<b>Subject:</b><span>=A0</span>Re: [jose] Two proposed JOSE spec actions to=
 more closely coordinate with WebCrypto<u></u><u></u></span></div><div styl=
e=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roma=
n&#39;,serif">
<u></u>=A0<u></u></div><div><div><div><div><div style=3D"margin:0in 0in 0.0=
001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">However, =
in advocating for two, parallel extensions to JWK for essentially the same =
purpose, you&#39;re basically arguing that &quot;use&quot; is not generally=
 applicable to JWK -- it applies to OpenID/SAML-like stuff, but not much mo=
re broadly.=A0 (You can&#39;t really say the same thing about the more deta=
iled version, since it&#39;s a superset.)=A0 But if &quot;use&quot; is not =
a generally useful feature of JWK, then it shouldn&#39;t be part of the spe=
c.<u></u><u></u></div>
</div><div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39=
;Times New Roman&#39;,serif"><u></u>=A0<u></u></div></div><p class=3D"MsoNo=
rmal" style=3D"margin:0in 0in 12pt;font-size:12pt;font-family:&#39;Times Ne=
w Roman&#39;,serif">
In other words, if a feature is going to be part of the JWK spec, then it n=
eeds to meet the requirements that participants in this group put forth.=A0=
 If we&#39;re choosing not to meet those requirements (as &quot;use&quot; d=
oes not), then it needs to come out of the spec.<u></u><u></u></p>
</div><div><div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family=
:&#39;Times New Roman&#39;,serif">I think there&#39;s still room for compro=
mise here (see my other reply on the proposal directly).=A0 But if there&#3=
9;s no compromise, then there&#39;s no consensus, and &quot;use&quot; needs=
 to go.<u></u><u></u></div>
</div><div><div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family=
:&#39;Times New Roman&#39;,serif"><u></u>=A0<u></u></div></div><div style=
=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman=
&#39;,serif">
--Richard<u></u><u></u></div><div><p class=3D"MsoNormal" style=3D"margin:0i=
n 0in 12pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><br>=
<br><u></u><u></u></p></div></div><div><p class=3D"MsoNormal" style=3D"marg=
in:0in 0in 12pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"=
>
<u></u>=A0<u></u></p><div><div style=3D"margin:0in 0in 0.0001pt;font-size:1=
2pt;font-family:&#39;Times New Roman&#39;,serif">On Mon, Dec 30, 2013 at 5:=
34 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" style=
=3D"color:purple;text-decoration:underline" target=3D"_blank">Michael.Jones=
@microsoft.com</a>&gt; wrote:<u></u><u></u></div>
<div><div><div><div style=3D"margin:0in 0in 0.0001pt;font-size:12pt;font-fa=
mily:&#39;Times New Roman&#39;,serif"><span style=3D"font-size:11pt;font-fa=
mily:Calibri,sans-serif">There&#39;s nothing wrong with different use cases=
 with different needs supplying different key metadata.<br>
<br>The ability to do that is an indication of the versatility and usefulne=
ss of the JWK format - not a deficiency.<u></u><u></u></span></div></div><d=
iv><div class=3D"MsoNormal" align=3D"center" style=3D"margin:0in 0in 0.0001=
pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif;text-align:ce=
nter">
<hr size=3D"3" width=3D"100%" align=3D"center"></div><div style=3D"margin:0=
in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"=
><b><span style=3D"font-size:11pt;font-family:Calibri,sans-serif">From:<spa=
n>=A0</span></span></b><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif"><a href=3D"mailto:ryan-ietf@sleevi.com" style=3D"color:purple;tex=
t-decoration:underline" target=3D"_blank">Ryan Sleevi</a></span><br>
<b><span style=3D"font-size:11pt;font-family:Calibri,sans-serif">Sent:<span=
>=A0</span></span></b><span style=3D"font-size:11pt;font-family:Calibri,san=
s-serif">12/30/2013 1:55 PM</span><br><b><span style=3D"font-size:11pt;font=
-family:Calibri,sans-serif">To:<span>=A0</span></span></b><span style=3D"fo=
nt-size:11pt;font-family:Calibri,sans-serif"><a href=3D"mailto:Michael.Jone=
s@microsoft.com" style=3D"color:purple;text-decoration:underline" target=3D=
"_blank">Mike Jones</a></span><br>
<b><span style=3D"font-size:11pt;font-family:Calibri,sans-serif">Cc:<span>=
=A0</span></span></b><span style=3D"font-size:11pt;font-family:Calibri,sans=
-serif"><a href=3D"mailto:Michael.Jones@microsoft.com" style=3D"color:purpl=
e;text-decoration:underline" target=3D"_blank">Mike Jones</a>;<span>=A0</sp=
an><a href=3D"mailto:ryan-ietf@sleevi.com" style=3D"color:purple;text-decor=
ation:underline" target=3D"_blank">ryan-ietf@sleevi.com</a>;<span>=A0</span=
><a href=3D"mailto:rlb@ipv.sx" style=3D"color:purple;text-decoration:underl=
ine" target=3D"_blank">Richard Barnes</a>;<span>=A0</span><a href=3D"mailto=
:ve7jtb@ve7jtb.com" style=3D"color:purple;text-decoration:underline" target=
=3D"_blank">John Bradley</a>;<span>=A0</span><a href=3D"mailto:jose@ietf.or=
g" style=3D"color:purple;text-decoration:underline" target=3D"_blank">jose@=
ietf.org</a></span><u></u><u></u></div>
<div><p class=3D"MsoNormal" style=3D"margin:0in 0in 12pt;font-size:12pt;fon=
t-family:&#39;Times New Roman&#39;,serif"><br><b><span style=3D"font-size:1=
1pt;font-family:Calibri,sans-serif">Subject:<span>=A0</span></span></b><spa=
n style=3D"font-size:11pt;font-family:Calibri,sans-serif">Re: [jose] Two pr=
oposed JOSE spec actions to more closely coordinate with WebCrypto</span><u=
></u><u></u></p>
</div></div></div><div><p class=3D"MsoNormal" style=3D"margin:0in 0in 12pt;=
font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style=3D"=
font-size:10pt">On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:<br>&gt=
;=A0 ... and lest there be any confusion, the JWK spec doesn&#39;t require =
the use<br>
&gt;=A0 of &quot;use&quot;.=A0 WebCrypto can specify that it not be used an=
d require the use<br>&gt;=A0 of &quot;use_details&quot; if that best meets =
the needs of your use case.<br><br>So you&#39;re still arguing for two, inc=
ompatible ways of expressing use<br>
within the base spec. The current draft (-19) proposes that &quot;A &#39;us=
e&#39;<br>member SHOULD be present, unless the application uses another mea=
ns or<br>convention to determine the intended key usage&quot;.<br><br>That =
is, if draft-19 were pushed to WGLC, it would leave authors confused<br>
as to when to use either. As specified, the language still strongly<br>pref=
ers &quot;use&quot;, and continues to suggest &quot;use_details&quot; as a =
subset, when<br>it&#39;s not really.<br><br>Richard&#39;s solution is much =
more sensible, in that it makes it clear that<br>
there is a single clean way to communicate use going forward, and a<br>depr=
ecated way from existing specs. Existing keys can continue to be<br>importe=
d into new versions of the spec - it&#39;s only an issue when a new<br>
version of the spec is used to interoperate with an older version. I don&#3=
9;t<br>think it&#39;s fair to suggest that&#39;s &quot;backwards compatibil=
ity&quot; - that&#39;s an<br>issue of &quot;forwards compatibility&quot;, a=
nd one that is far trickier to get<br>
right, and arguably far less important here - and one that can be<br>addres=
sed in *new* implementations by choice or config.<br><br>Let me try to stat=
e the problem differently:<br><br>Is &quot;use&quot; generically suitable f=
or use cases of JWK? Can you envision other<br>
scenarios where it can be gracefully extended?<br><br>As I see it, the answ=
er is clearly &quot;no&quot;, as already evidenced by<br>WebCrypto&#39;s in=
tended use, but also demonstrated by Axel&#39;s example of &quot;do<br>
not want&quot; (which is X.509&#39;s &#39;extended key usages&#39; field). =
As such, we<br>should try to fix that spec before finalizing, rather than b=
olt-on<br>additions and try to rush things through WGLC, or we should accep=
t that<br>
this is a problem the spec/spec authors are not interested in solving<br>cl=
eanly, and WebCrypto can move to a solution that does.<br><br>Both specs ar=
e still in their infancy of both implementation and adoption<br>and we shou=
ld try to do things right while we can.<br>
<br>&gt;=A0 ________________________________<br>&gt;=A0 From: Mike Jones&lt=
;<a href=3D"mailto:Michael.Jones@microsoft.com" style=3D"color:purple;text-=
decoration:underline" target=3D"_blank">mailto:Michael.Jones@microsoft.com<=
/a>&gt;<br>
&gt;=A0 Sent: =FD12/=FD30/=FD2013 1:12 PM<br>&gt;=A0 To:<span>=A0</span><a =
href=3D"mailto:ryan-ietf@sleevi.com" style=3D"color:purple;text-decoration:=
underline" target=3D"_blank">ryan-ietf@sleevi.com</a>&lt;mailto:<a href=3D"=
mailto:ryan-ietf@sleevi.com" style=3D"color:purple;text-decoration:underlin=
e" target=3D"_blank">ryan-ietf@sleevi.com</a>&gt;<br>
&gt;=A0 Cc: Richard Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" style=3D"color:=
purple;text-decoration:underline" target=3D"_blank">mailto:rlb@ipv.sx</a>&g=
t;; John<br>&gt;=A0 Bradley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" style=
=3D"color:purple;text-decoration:underline" target=3D"_blank">mailto:ve7jtb=
@ve7jtb.com</a>&gt;;<span>=A0</span><a href=3D"mailto:jose@ietf.org" style=
=3D"color:purple;text-decoration:underline" target=3D"_blank">jose@ietf.org=
</a>&lt;<a href=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decorat=
ion:underline" target=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>&gt;=A0 coordinate with WebCrypto<br>&gt;<br>&gt;=A0 Ryan, this isn&#39;=
t an either-or situation. JWK is intended to be a general<br>&gt;=A0 key re=
presentation format. It&#39;s extensible exactly so information for any<br>
&gt;=A0 use cases that need info not in the base spec can add it.=A0 I&#39;=
m still<br>&gt;=A0 puzzled why some in WebCrypo felt uncomfortable using th=
is extensibility<br>&gt;=A0 by defining and registering a new field for Web=
Crypyo&#39;s representation of<br>
&gt;=A0 use info. But observing that to be the case, I&#39;m attempting to =
be as clear<br>&gt;=A0 as possible (through spec actions!) that there&#39;s=
 absolutely no reason for<br>&gt;=A0 WebCrypto not to use JWK.<br>&gt;<br>&=
gt;=A0 There&#39;s no plans to &quot;continue to evolve JWK to parallel the=
 SAML<br>
&gt;=A0 workflows&quot; that I&#39;m aware of. Rather, I believe the only f=
urther addition<br>&gt;=A0 being considered before completing the spec is o=
ne motivated by<br>&gt;=A0 WebCrypto&#39;s use case rather than SAML - &quo=
t;use_details&quot;.<br>
&gt;<br>&gt;=A0 I believe that the current JWK spec already meets WebCrypto=
&#39;s needs as-is.<br>&gt;=A0=A0 Is there any reason not to just use it an=
d move on to addressing other<br>&gt;=A0 issues needed to be resolved to co=
mplete both JOSE and WebCrypto, both of<br>
&gt;=A0 which I see as being complementary and important to the industry?<b=
r>&gt;<br>&gt;=A0 -- Mike<br>&gt;=A0 ________________________________<br>&g=
t;=A0 From: Ryan Sleevi&lt;<a href=3D"mailto:ryan-ietf@sleevi.com" style=3D=
"color:purple;text-decoration:underline" target=3D"_blank">mailto:ryan-ietf=
@sleevi.com</a>&gt;<br>
&gt;=A0 Sent: =FD12/=FD30/=FD2013 12:47 PM<br>&gt;=A0 To: Mike Jones&lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" style=3D"color:purple;text-deco=
ration:underline" target=3D"_blank">mailto:Michael.Jones@microsoft.com</a>&=
gt;<br>&gt;=A0 Cc:<span>=A0</span><a href=3D"mailto:ryan-ietf@sleevi.com" s=
tyle=3D"color:purple;text-decoration:underline" target=3D"_blank">ryan-ietf=
@sleevi.com</a>&lt;mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" style=3D"=
color:purple;text-decoration:underline" target=3D"_blank">ryan-ietf@sleevi.=
com</a>&gt;; Richard<br>
&gt;=A0 Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" style=3D"color:purple;text-=
decoration:underline" target=3D"_blank">mailto:rlb@ipv.sx</a>&gt;; John Bra=
dley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" style=3D"color:purple;text-dec=
oration:underline" target=3D"_blank">mailto:ve7jtb@ve7jtb.com</a>&gt;;<br>
&gt;=A0<span>=A0</span><a href=3D"mailto:jose@ietf.org" style=3D"color:purp=
le;text-decoration:underline" target=3D"_blank">jose@ietf.org</a>&lt;<a hre=
f=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decoration:underline"=
 target=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>&gt;=A0 coordinate with WebCrypto<br>&gt;<br>&gt;=A0 On Mon, December 30=
, 2013 11:40 am, Mike Jones wrote:<br>&gt; &gt;=A0 As further background fo=
r the discussion, the current &quot;use&quot; definition<br>
&gt; &gt; is<br>&gt; &gt;=A0 based on widely deployed existing practice - t=
he SAML metadata<br>&gt; &gt;=A0 specification<br>&gt; &gt;=A0 (<a href=3D"=
http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf" sty=
le=3D"color:purple;text-decoration:underline" target=3D"_blank">http://docs=
.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf</a>),<br>
&gt; &gt;=A0 which defines &quot;use&quot; as follows in section<span>=A0</=
span><a href=3D"http://2.4.1.1/" style=3D"color:purple;text-decoration:unde=
rline" target=3D"_blank">2.4.1.1</a>:<br>&gt; &gt;=A0 use [Optional]<br>&gt=
; &gt;=A0 Optional attribute specifying the purpose of the key being descri=
bed.<br>
&gt; &gt;=A0 Values are drawn from the<br>&gt; &gt;<br>&gt; &gt;=A0 KeyType=
s enumeration, and consist of the values encryption and signing.<br>&gt; &g=
t;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=A0 This has been shown to be suff=
icient in practice for its intended<br>
&gt; &gt; purpose,<br>&gt; &gt;=A0 as has the JWK &quot;use&quot; field.<br=
>&gt; &gt;<br>&gt;<br>&gt;=A0 Mike,<br>&gt;<br>&gt;=A0 I feel like you&#39;=
re arguing all the more strongly for WebCrypto not to use<br>&gt;=A0 JWK, i=
n that you&#39;re arguing that JWK&#39;s &quot;intended purpose&quot; is to=
 match<br>
&gt;=A0 SAML. I can understand where this fits within the JWT and OpenID Co=
nnect<br>&gt;=A0 workflows, but as a &quot;JSON key description&quot; forma=
t, it is unquestionably<br>&gt;=A0 much more restrictive and ill-suited.<br=
>&gt;<br>
&gt;=A0 If the goal is to continue to evolve JWK to parallel the SAML workf=
lows,<br>&gt;=A0 then I don&#39;t see how WebCrypto can in good conscience =
encourage JWK.<br>&gt;<br>&gt;=A0 There&#39;s nothing preventing authors fr=
om translating JWK into any sort of<br>
&gt;=A0 API form that WebCrypto requires - much in the same way that they c=
an<br>&gt;=A0 translate the composite JWA algorithms (which are suitable fo=
r transport)<br>&gt;=A0 into WebCrypto&#39;s broader, more generic algorith=
ms (which are suitable for<br>
&gt;=A0 an API targeting application development).<br>&gt;<br>&gt;=A0 Argua=
bly, the only reasons to use JWK are to prevent introducing &quot;yet<br>&g=
t;=A0 another key format&quot;. While laudable, if JWK is trying to mirror =
SAML, then<br>
&gt;=A0 it would seem that JWK is not trying to be a key format, per se, an=
d such<br>&gt;=A0 risk would be low.<br>&gt;<br>&gt;=A0 Again, I&#39;m perf=
ectly fine if JOSE would rather that JWK be kept as minimal<br>&gt;=A0 and =
as specific for the JWT use case, and we can easily use a descriptive<br>
&gt;=A0 WebIDL within WebCrypto to describe the key formats it operates wit=
h (in<br>&gt;=A0 addition to SPKI and PKCS#8). Comments so far from this WG=
 give me the<br>&gt;=A0 sense that there&#39;s strong opposition by some to=
 seeing JWK evolve to be as<br>
&gt;=A0 flexible or generic as SPKI/PKCS#8. That&#39;s fine by me, but that=
&#39;s<br>&gt;=A0 extensibility that WebCrypto wants, and if JWK isn&#39;t =
it, we can use<br>&gt;=A0 something else. OpenID Connect and JWT can contin=
ue to use JWK as suited<br>
&gt;=A0 for their needs, and if for some reason someone wants to use JS to<=
br>&gt;=A0 interact with these, they can use a translation shim, just as th=
ey would<br>&gt;=A0 for JWE/JWS or for *any other* cryptographic applicatio=
n, since WebCrypto<br>
&gt;=A0 is &quot;just&quot; an API.<br>&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&g=
t; &gt;=A0 I understand your point, Ryan, that for the WebCrypto API use ca=
se,<br>&gt; &gt; there<br>&gt; &gt;=A0 is sometimes value in distinguishing=
 between the producer and consumer<br>
&gt; &gt;=A0 operations for a key.=A0 That&#39;s part of why I proposed add=
ing<br>&gt; &gt; &quot;use_details&quot;,<br>&gt; &gt;=A0 so those distinct=
ions can be made for the use cases where they do make<br>&gt; &gt; a<br>&gt=
; &gt;=A0 difference.<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=A0 As for Richard&#39;s pr=
oposal, the problem with it is that it would be a<br>&gt; &gt;=A0 breaking =
change, since if &quot;ku&quot; was present, his proposal would require<br>
&gt; &gt;=A0 different treatment of the &quot;use&quot; field (ignoring it)=
.=A0 My proposal is<br>&gt; &gt; not<br>&gt; &gt;=A0 a breaking change, sin=
ce &quot;use&quot; continues to mean what it always has.<br>&gt; &gt;=A0 Fu=
rthermore, my proposal requires that &quot;use&quot; and &quot;use_details&=
quot; convey<br>
&gt; &gt;=A0 consistent information, if both are present.=A0 That seems sig=
nificantly<br>&gt; &gt;=A0 simpler for consumers of JWKs use than requiring=
 conditional behaviors,<br>&gt; &gt; as<br>&gt; &gt;=A0 Richard&#39;s propo=
sal does.<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 Best<br>&gt; &gt; wishes,<br>&gt; &gt;<br>&gt; &gt;=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=A0 -----Original Message--=
---<br>&gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.c=
om" style=3D"color:purple;text-decoration:underline" target=3D"_blank">mail=
to:ryan-ietf@sleevi.com</a>]<br>
&gt; &gt;=A0 Sent: Monday, December 30, 2013 10:25 AM<br>&gt; &gt;=A0 To: R=
ichard Barnes<br>&gt; &gt;=A0 Cc: Mike Jones;<span>=A0</span><a href=3D"mai=
lto:ryan-ietf@sleevi.com" style=3D"color:purple;text-decoration:underline" =
target=3D"_blank">ryan-ietf@sleevi.com</a>; John Bradley;<span>=A0</span><a=
 href=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decoration:underl=
ine" target=3D"_blank">jose@ietf.org</a><br>
&gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more clo=
sely<br>&gt; &gt;=A0 coordinate with WebCrypto<br>&gt; &gt;<br>&gt; &gt;<br=
>&gt; &gt;<br>&gt; &gt;=A0 On Sat, December 28, 2013 3:12 pm, Richard Barne=
s wrote:<br>
&gt; &gt;<br>&gt; &gt; &gt;=A0 On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones=
<br>&gt; &gt;<br>&gt; &gt; &gt;=A0 &lt;<a href=3D"mailto:Michael.Jones@micr=
osoft.com" style=3D"color:purple;text-decoration:underline" target=3D"_blan=
k">Michael.Jones@microsoft.com</a>&lt;mailto:<a href=3D"mailto:Michael.Jone=
s@microsoft.com" style=3D"color:purple;text-decoration:underline" target=3D=
"_blank">Michael.Jones@microsoft.com</a>&gt;&gt;wrote:<br>
&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; It&#39;s my=
 sense of the JOSE working group that most are strongly<br>&gt; &gt;<br>&gt=
; &gt; &gt; &gt; opposed to breaking changes at this point.<br>&gt; &gt;<br=
>
&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt=
;=A0 Please don&#39;t claim to represent the WG.=A0 There is a significant<=
br>&gt; &gt;<br>&gt; &gt; &gt; contingent=A0 who care about breaking change=
s, but also a significant<br>
&gt; &gt;<br>&gt; &gt; &gt; group who would=A0 prefer the best, most usable=
 spec we can make,<br>&gt; &gt;<br>&gt; &gt; &gt; regardless of the sins of=
=A0 the past.<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;=
<br>
&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; However, I =
also believe that most JOSE participants share the<br>&gt; &gt;<br>&gt; &gt=
; &gt; &gt; sentiment of many WebCrypto participants that it would be bette=
r for<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; all for WebCrypto to use real JWKs, rather=
 than something<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &quot;JWK-like&quot;.<b=
r>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &=
gt;<br>
&gt; &gt; &gt;=A0=A0 How about this for a compromise proposal:<br>&gt; &gt;=
<br>&gt; &gt; &gt;=A0 -- Leave &quot;use&quot; in for backward compatibilit=
y.<br>&gt; &gt;<br>&gt; &gt; &gt;=A0 -- Define a new field &quot;ku&quot; (=
Key Usage, or something similar) that has<br>
&gt; &gt;<br>&gt; &gt; &gt; detailed key usage information.<br>&gt; &gt;<br=
>&gt; &gt; &gt;=A0 -- Deprecate &quot;use&quot;, recommending that new appl=
ications use &quot;ku&quot;; if<br>&gt; &gt;<br>&gt; &gt; &gt; both=A0 are =
present, &quot;use&quot; MUST be ignored.<br>
&gt; &gt;<br>&gt; &gt; &gt;=A0 -- Define the expansion of &quot;use&quot; v=
alues to &quot;ku&quot; values<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<=
br>&gt; &gt; &gt;=A0 That doesn&#39;t break backward compatibilty, but make=
s detailed control<br>
&gt; &gt;<br>&gt; &gt; &gt; the=A0 default going forward.<br>&gt; &gt;<br>&=
gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;=A0 --Richard<br>&gt; &gt;<br>&=
gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=A0 As I expressed within WebCrypto, this=
 to me strikes a much more<br>
&gt; &gt; sensible<br>&gt; &gt;=A0 balance of backwards compatibility and e=
xtensibility, and hopefully in<br>&gt; &gt; a<br>&gt; &gt;=A0 way that allo=
ws existing deployments to cleanly transition while<br>&gt; &gt; allowing<b=
r>
&gt; &gt;=A0 new deployments to avoid the limitations of the current drafts=
.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=A0 I very much prefer=
 this over use_details for Web Crypto&#39;s use cases.<br>&gt; &gt;<br>&gt;=
 &gt;<br>
&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;=A0 I believe my =
proposal is the best-available solution, given the<br>&gt; &gt;<br>&gt; &gt=
; &gt; current<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; realistic constraints.=
=A0 It might have made better sense for a<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; WebCrypto spec to define &quot;use_details=
&quot; than JOSE, but if WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; isn&=
#39;t going to do it, I believe that we&#39;ll all be better off in the<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; long run if JOSE then does and WebCrypto u=
ses it.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 Cheers,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; -----O=
riginal Message-----<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; From: Ryan Sleevi =
[<a href=3D"mailto:ryan-ietf@sleevi.com" style=3D"color:purple;text-decorat=
ion:underline" target=3D"_blank">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br=
>&gt; &gt;<br>&gt; &gt; &gt; &gt; To: Mike Jones<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; Cc:<span>=A0</span><a href=3D"mailto:ryan-ietf@sleevi.com" style=
=3D"color:purple;text-decoration:underline" target=3D"_blank">ryan-ietf@sle=
evi.com</a>&lt;mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" style=3D"colo=
r:purple;text-decoration:underline" target=3D"_blank">ryan-ietf@sleevi.com<=
/a>&gt;; John Bradley;<br>
&gt; &gt; &gt;<span>=A0</span><a href=3D"mailto:jose@ietf.org" style=3D"col=
or:purple;text-decoration:underline" target=3D"_blank">jose@ietf.org</a>&lt=
;<a href=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decoration:und=
erline" target=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec=
 actions to more closely<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; coordinate wit=
h WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 I disagree that &quot;use&quot; al=
lows multiple uses.=A0 Sign/Verify both use<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; the same=A0 algorithm with the same key - just in a<br>&gt; &gt; =
producer/consumer<br>
&gt; &gt; &gt; role.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; There=A0 woul=
d only be a security problem if the same key was used<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; with<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; *differen=
t*=A0 algorithms.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &=
gt;=A0 For symmetric keys, Sign/Verify operations are actually the same,<br=
>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; so in=A0 that case, this is a distin=
ction without a difference.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &=
gt;=A0 You may consider the producer/consumer distinction to be multiple<br=
>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; uses,=A0 but only in an academic sen=
se.=A0 You have to perform both<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; with the same key=A0 pair or symmetri=
c key for the end-to-end<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; cryptogra=
phy to<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; be meaningful.<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Doing one without the other is incomplete.=A0 (=
What good is signing<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; if the=A0 sig=
nature is never verified?)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;=
<br>
&gt; &gt; &gt; &gt; Hi Mike,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &g=
t;<br>&gt; &gt; &gt; &gt; I don&#39;t think it&#39;s fair to compare them a=
s the same, and it&#39;s very<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; much a pr=
actical, and not an academic case.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; In a S=
ign() operation, the input is arbitrary plaintext and the<br>&gt; &gt;<br>&=
gt; &gt; &gt; &gt; output is a signature corresponding to that plaintext; a=
n oracle, if<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; you will - as you would want.<br>&gt; &gt;=
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; In an API (alth=
ough not necessarily in JWE/JWS, and understandably<br>&gt; &gt;<br>&gt; &g=
t; &gt; &gt; so), a<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; Verify() operation permits arbitrary plain=
text as the input, but<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; also requires th=
e signature to be verified. The only output is a<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; boolean - whether or not the signature is correct.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; The go=
al of &quot;restricting&quot; the uses here would be to allow key<br>&gt; &=
gt;<br>&gt; &gt; &gt; &gt; storage not necessarily under the control of the=
 caller. In<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; WebCrypto, this is the distinction between=
 the executing JS (served<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; by the web pa=
ge) and the UA implementation. It&#39;s a concept borrowed<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; from any number of other good cryptographic APIs (eg: t=
hose that are<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; designed with the notion =
of opaque key storage)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; With a symmetric key only permitted for a &quot;Verify&=
quot; operation, the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; only way to genera=
te a signature for an arbitrary message is<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; a) Compromise the key storage<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; b) Iterate through all possible signature =
combinations until you get<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &quot;true&q=
uot; as the Verify() result.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &g=
t;<br>
&gt; &gt; &gt; &gt; b) may be aided by any number of implementation issues =
(eg:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; non-constant time comparisons, amo=
ng others), but is ultimately<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &quot;tri=
cky&quot;. a) is dependent on implementations, and can be aided or<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; harmed through a variety of means.<br>&gt;=
 &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; Combining =
these two usages into a single use case - which, I agree,<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; is probably perfectly acceptable if imagining as a tran=
sport-only<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; exchange<br>&gt; &gt;<br>&gt=
; &gt; &gt; &gt; -<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; can thus have real a=
nd meaningful differences when used at an API<br>
&gt; &gt; &gt; level.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&=
gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 Likewis=
e, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; distinctions, but also only use a single key with =
a single<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; algorithm - therefore no =
security problem.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 =3D=3D=3D=3D<br>&gt; &gt;<br>&gt; &gt; &gt; &gt=
; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 For what it&#39;s worth,=
 I think the different key use representation<br>&gt; &gt;<br>&gt; &gt; &gt=
; &gt; &gt; choices=A0 stems from JOSE being a high-level API that tries to=
 make<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; simple things=A0 simple and WebCrypto=
 being a low-level API that<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; tries<=
br>&gt; &gt;<br>&gt; &gt; &gt; &gt; to<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
be complete.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 Both are valid and useful.=A0 Thes=
e differences show up in lots of<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; p=
laces=A0 besides just key usage representations.<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; Absolutely agree here. This is why WebCryp=
to explored whether we<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; should do someth=
ing &quot;JWK-like&quot;, but suitable at an API layer and for<br>&gt; &gt;=
<br>
&gt; &gt; &gt; &gt; it&#39;s goals, and &quot;trivially&quot; convertable w=
ith JWK - but by script<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; authors. The We=
bCrypto WG wasn&#39;t fond of it, which is<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; understandable, and why I&#39;m here.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<b=
r>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 Anyway, the purpose of my propos=
al is to try to make things<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; easier=
 for=A0 WebCrypto.=A0 I hope people will get behind it.=A0 Yes,<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; having both simple and=A0 detailed ke=
y usage representations seems<br>&gt; &gt; odd<br>&gt; &gt; &gt; at first.<=
br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; But they&#39;re=A0 designed to add=
ress different goals for different<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; kinds<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; of<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; applications.<br>&gt; &gt;<br>&=
gt; &gt; &gt; &gt; &gt;=A0 The alternatives (such as &quot;signOnly,verifyO=
nly&quot;, etc.) that are<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; currently=A0 being considered are muc=
h worse.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=
 &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<=
br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; I agree that changing to an array will alm=
ost certainly break every<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; implementatio=
n to date.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &g=
t; &gt; I agree that comma-separated is horribad and should be avoided, eve=
n<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; if it &quot;solves&quot; the backwards com=
pat issue.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &g=
t; &gt; I think your solution is a reasonable attempt to mediate the issues=
<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; of backwards compatibility with the use ca=
ses of WebCrypto. However,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; I&#39;m stil=
l on the fence as to whether or not it really is<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; unreasonable to &quot;break&quot;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; backwards compatibility here - there seems=
 to be a compelling case<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; here as to why=
 even something like [&quot;sign&quot;, &quot;verify&quot;] should be<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; distinct usages.<br>&gt; &gt;<br>&gt; &gt;=
 &gt; &gt; I<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; know the bar is incredibly=
 high right now, given JOSE&#39;s momentum,<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; but I didn&#39;t think that JOSE was past the point of no return.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<b=
r>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 -----Original Message-----<br>&g=
t; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto=
:ryan-ietf@sleevi.com" style=3D"color:purple;text-decoration:underline" tar=
get=3D"_blank">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 Sent: Friday, December 27, 2013 2:=
13 PM<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 To: John Bradley<br>&gt; =
&gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 Cc: Mike Jones;<span>=A0</span><a href=
=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decoration:underline" =
target=3D"_blank">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" sty=
le=3D"color:purple;text-decoration:underline" target=3D"_blank">mailto:jose=
@ietf.org</a>&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 Subject: Re: [jose] Two proposed J=
OSE spec actions to more<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; closely c=
oordinate with WebCrypto<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &=
gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 I&#39;m sorry, John, but by your logic, JOSE is=
 not following your<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; own<br>&gt; &g=
t;<br>&gt; &gt; &gt; &gt; advice.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<=
br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 &quot;enc&quot; is already a multi=
ple-use for a key - it allows for both<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; encryption=A0 and decryption. For that matter, wrap and unwrap,<br>&gt=
; &gt;<br>
&gt; &gt; &gt; &gt; &gt; which are supposed to be=A0 inferred based on algo=
rithm, which is a<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; JWE/JWS specific=
 aspect, and not=A0 an intrinsic aspect of<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; JWK-as-key-representation.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &=
gt;=A0 Likewise, &quot;sig&quot; implies sign AND verify, which is meant to=
 be<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; unambiguous,=A0 because the as=
sumption is always that you sign with<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; a private key and=A0 verify with a pu=
blic key, but as a conceptual<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; fram=
ework breaks down for=A0 schemes like HMAC, which ostensibly<br>&gt; &gt;<b=
r>
&gt; &gt; &gt; &gt; &gt; have sign and verify (or MAC and=A0 verify, if you=
 prefer, but we&#39;re<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; splitting<br>&gt=
; &gt;<br>&gt; &gt; &gt; &gt; hairs here).<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; &gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0 WebCrypto desires to be *more* pre=
cise than JOSE&#39;s imprecise and<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=
 overly=A0 broad, implicitly multi-use syntax. That &quot;enc&quot; means f=
our<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; possible uses,=A0 or that &quot;sig&q=
uot; means two , is a clear sign that<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &=
gt; JOSE is already actively=A0 encouraging multiple uses for the same<br>&=
gt; &gt; &gt; key.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &=
gt;=A0 Mike&#39;s proposal is basically an admission that the ship has<br>&=
gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; sailed on this=A0 implicit, multi-valu=
ed usage semantic - which, I<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; can understand and=A0 sympathize with=
, in the name of backwards<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; compati=
bility for an in-draft=A0 spec, but let&#39;s recognize that as<br>&gt; &gt=
;<br>
&gt; &gt; &gt; &gt; &gt; spec&#39;d today, JOSE is preferring and=A0 encour=
aging multiple uses<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; for the same k=
ey in ways that will=A0 unquestionably encourage<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; people to make bad mistakes (such as multiple=A0 parties usi=
ng the<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; same encryption key for traffic in ei=
ther direction -=A0 requiring<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; some=
 degree of IV sync)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<b=
r>
&gt; &gt; &gt; &gt; &gt;=A0 On Tue, December 24, 2013 4:27 pm, John Bradley=
 wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;=A0 Having it be an ar=
ray encourages multiple uses for the same<br>&gt; &gt;<br>&gt; &gt; &gt; &g=
t; &gt; &gt; key.=A0 I have=A0 stated many times that encouraging people to=
 do<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; that is not a good idea,=A0 and =
making it easy makes people think<br>&gt; &gt; it<br>&gt; &gt; &gt; is a go=
od idea.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt;=
 &gt; &gt; &gt; &gt; &gt;=A0 You can use the single value field and have mu=
ltiple entries<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; with different key containing th=
e same or different keys to do<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt=
; the same thing.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt=
;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 On the practical side &quot;use_details&qu=
ot; is better than creating<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; c=
razy dot separated como uses.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;=
<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;=A0 John B.<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;=A0 O=
n Dec 24, 2013, at 8:26 PM, Mike Jones<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" style=3D"color=
:purple;text-decoration:underline" target=3D"_blank">Michael.Jones@microsof=
t.com</a>&lt;mailto:<a href=3D"mailto:Michael.Jones@microsoft.com" style=3D=
"color:purple;text-decoration:underline" target=3D"_blank">Michael.Jones@mi=
crosoft.com</a>&gt;&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;=A0 wrote:<br>&gt; &gt;<br>&gt; &=
gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; =
Hi all,<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among =
WebCrypto and JOSE<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; parti=
cipants about JWK usage by WebCrypto over the holidays,<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; I&#39;d like to propose the two JOSE spe=
c actions to more closely<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt=
; coordinate<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; with WebCrypto:<=
br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; &gt; &gt; &gt; 1.=A0 Change the JWA registry field name from &quot=
;Implementation<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirem=
ents&quot; to &quot;JOSE Implementation Requirements&quot; in the<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encr=
yption Algorithms Registry (<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<span>=A0</=
span><a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorit=
hms-18#se" style=3D"color:purple;text-decoration:underline" target=3D"_blan=
k">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se</a>=
<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; ction-7.1<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; ).<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0 This will make=
 it clearer that the Implementation<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt=
; &gt; &gt; Requirements apply only to JWS and JWE implementations - and<br=
>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such=
 as WebCrypto).=A0 This changes only<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &g=
t; &gt; &gt; non-normative text and is<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; =
&gt; &gt; non-breaking.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; &gt; &gt; &gt; 2.=A0 Define the new JWK field &quot;use_details&qu=
ot; for recording<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; intend=
ed fine-grained key usage information.=A0 This would<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage<b=
r>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; (<a href=3D"https://dvcs.=
w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi" style=3D"color:purple;tex=
t-decoration:underline" target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-=
api/raw-file/tip/spec/Overvi</a><br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>&gt; &gt;<br>&gt; &=
gt; &gt; &gt; &gt; &gt; &gt; tm<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &g=
t; &gt; l#key-interface) values to be used directly with JWK.=A0 The<br>&gt=
; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; proposed definition is:<br>&gt; &gt;<br>=
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=
 &gt; &gt; 3.3.=A0 &quot;use_details&quot; (Key Use Details) Parameter<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The &quot;use_deta=
ils&quot; (key use details) member identifies<br>&gt; &gt;<br>&gt; &gt; &gt=
; &gt; fine-grained<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=
=A0=A0 details the intended use of the key.=A0 Its value is an array<br>
&gt; &gt; &gt; of<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=
=A0 key use details values.=A0 Values defined by this<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt; specification<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; are:<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;sign&quot; (compute signature o=
r MAC)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &qu=
ot;verify&quot; (verify signature or MAC)<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;encrypt=
&quot; (encrypt content)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=
=A0=A0=A0 o=A0 &quot;decrypt&quot; (decrypt content and verify decryption, =
if<br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; applicable)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &g=
t; &gt;=A0=A0=A0 o=A0 &quot;wrap&quot; (encrypt key)<br>&gt; &gt;<br>&gt; &=
gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;unwrap&quot; (decrypt key =
and verify decryption, if<br>
&gt; &gt; &gt; applicable)<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &g=
t;=A0=A0=A0 o=A0 &quot;deriveKey&quot; (derive key)<br>&gt; &gt;<br>&gt; &g=
t; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveBits&quot; (derive bi=
ts not to be used as a key)<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Other values MAY be used.=A0 Key Use Detai=
ls values can be<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; registered<br>&gt; &gt=
;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 in the IANA JSON Web Key Use De=
tails registry defined in<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt=
; Section<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; 7.3.<br>&gt; &gt;<b=
r>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The use details values are case=
-sensitive strings.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=
=A0=A0 Duplicate use details values MUST NOT be present in the<br>&gt; &gt;=
 &gt; array.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Use of the &quot;u=
se_details&quot; member is OPTIONAL, unless the<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; application<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=
=A0=A0 requires use this member to record fine-grained key usage<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; details.<br>&gt; &gt;<br>&gt; &gt; &gt; &g=
t; &gt; &gt; &gt;=A0=A0=A0 (Note that the &quot;use_details&quot; values in=
tentionally match the<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &q=
uot;KeyUsage&quot;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 values defined in =
the WebCrypto [WebCrypto] specification.)<br>&gt; &gt;<br>&gt; &gt; &gt; &g=
t; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=
=A0 If both &quot;use&quot; and &quot;use_details&quot; JWK members are pre=
sent,<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; the<br>&gt; &gt;<br>&gt; &g=
t; &gt; &gt; usages<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=
=A0=A0 specified by them MUST be consistent.=A0 In particular, the<br>&gt; =
&gt; &gt; &quot;use&quot;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; value<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;sig&quot; corresponds to &quot;sign=
&quot; and/or &quot;verify&quot;.=A0 The &quot;use&quot;<br>&gt; &gt; value=
<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;enc&quot; co=
rresponds to all other values defined above.<br>&gt; &gt;<br>&gt; &gt; &gt;=
 &gt; &gt; &gt; &gt;=A0=A0=A0 If &quot;use_details&quot; values correspondi=
ng to both &quot;sig&quot; and<br>
&gt; &gt; &quot;enc&quot;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt=
;=A0=A0=A0 &quot;use&quot; values are present, the &quot;use&quot; member S=
HOULD NOT be<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; present,<br>&gt; &gt;<br>&=
gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 and if present, its value MUST N=
OT be either &quot;sig&quot; or<br>
&gt; &gt; &quot;enc&quot;.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &g=
t;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; This is a non-breakin=
g change - allowing simple applications<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;=
 &gt; &gt; &gt; that want to distinguish between signing and encryption<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; operations to continue doin=
g so as they do today, while also<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt; providing a multi-valued key usage details field to be used by<br=
>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; applications that want to r=
ecord fine-grained distinctions<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &g=
t; &gt; among potential key usages, including distinguishing between<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>&g=
t; &gt;<br>&gt; &gt; &gt; &gt; operations.<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; As I =
see it, while having two related key usage<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; representations isn&#39;t i=
deal, it&#39;s far better than having<br>&gt; &gt; &gt; WebCrypto overload =
&quot;use&quot;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; with mul=
ti-valued values encoded in strings, such as<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&q=
uot;, which I believe is their current plan<br>&gt; &gt;<br>&gt; &gt; &gt; =
&gt; &gt; &gt; &gt; of<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; record=
.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &=
gt; &gt; &gt; &gt; &gt; Comments?<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; =
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 --<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Mike<br>&gt; &gt;<br>&gt; &=
gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; =
&gt; P.S.=A0 This proposal was already discussed on the WebCrypto<br>&gt; &=
gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; list in the thread<br>&gt; &gt;<br>&gt; =
&gt; &gt; &gt; &gt; &gt; &gt;<span>=A0</span><a href=3D"http://lists.w3.org=
/Archives/Public/public-webcrypto/2013Dec/0052" style=3D"color:purple;text-=
decoration:underline" target=3D"_blank">http://lists.w3.org/Archives/Public=
/public-webcrypto/2013Dec/0052</a>.<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; ht ml and no objections wer=
e raised there that I&#39;m aware of.<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &=
gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; __________=
_____________________________________<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>&gt; &=
gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<span>=A0</span><a href=3D"mailto:=
jose@ietf.org" style=3D"color:purple;text-decoration:underline" target=3D"_=
blank">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" style=3D"color=
:purple;text-decoration:underline" target=3D"_blank">mailto:jose@ietf.org</=
a>&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<span>=A0</span><a href=3D"h=
ttps://www.ietf.org/mailman/listinfo/jose" style=3D"color:purple;text-decor=
ation:underline" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jo=
se</a><br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; &gt; &gt;=A0 _______________________________________________<br>&gt; &g=
t;<br>&gt; &gt; &gt; &gt; &gt; &gt;=A0 jose mailing list<br>&gt; &gt;<br>&g=
t; &gt; &gt; &gt; &gt; &gt;=A0<span>=A0</span><a href=3D"mailto:jose@ietf.o=
rg" style=3D"color:purple;text-decoration:underline" target=3D"_blank">jose=
@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" style=3D"color:purple;tex=
t-decoration:underline" target=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;=A0<span>=A0</span><a href=3D"htt=
ps://www.ietf.org/mailman/listinfo/jose" style=3D"color:purple;text-decorat=
ion:underline" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose=
</a><br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &=
gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;=
 &gt; &gt; &gt;=A0 _______________________________________________<br>&gt; =
&gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 jose mailing list<br>&gt; &gt;<br>&gt; &gt; &gt=
; &gt; &gt;=A0<span>=A0</span><a href=3D"mailto:jose@ietf.org" style=3D"col=
or:purple;text-decoration:underline" target=3D"_blank">jose@ietf.org</a>&lt=
;<a href=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decoration:und=
erline" target=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;=A0<span>=A0</span><a href=3D"https://=
www.ietf.org/mailman/listinfo/jose" style=3D"color:purple;text-decoration:u=
nderline" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><=
br>&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;<b=
r>&gt; &gt; &gt; &gt; _______________________________________________<br>&g=
t; &gt;<br>&gt; &gt; &gt; &gt; jose mailing list<br>&gt; &gt;<br>&gt; &gt; =
&gt; &gt;<span>=A0</span><a href=3D"mailto:jose@ietf.org" style=3D"color:pu=
rple;text-decoration:underline" target=3D"_blank">jose@ietf.org</a>&lt;<a h=
ref=3D"mailto:jose@ietf.org" style=3D"color:purple;text-decoration:underlin=
e" target=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>&gt; &gt; &gt; &gt;<span>=A0</span><a href=3D"https://www.ietf=
.org/mailman/listinfo/jose" style=3D"color:purple;text-decoration:underline=
" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; =
&gt;<br>
&gt; &gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;=A0 _____________________=
__________________________<br>&gt; &gt;<br>&gt; &gt; &gt;=A0 jose mailing l=
ist<br>&gt; &gt;<br>&gt; &gt; &gt;=A0<span>=A0</span><a href=3D"mailto:jose=
@ietf.org" style=3D"color:purple;text-decoration:underline" target=3D"_blan=
k">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" style=3D"color:pur=
ple;text-decoration:underline" target=3D"_blank">mailto:jose@ietf.org</a>&g=
t;<br>
&gt; &gt;<br>&gt; &gt; &gt;=A0<span>=A0</span><a href=3D"https://www.ietf.o=
rg/mailman/listinfo/jose" style=3D"color:purple;text-decoration:underline" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; &g=
t;<br>
&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; =
&gt;=A0 _______________________________________________<br>&gt; &gt;=A0 jos=
e mailing list<br>&gt; &gt;=A0<span>=A0</span><a href=3D"mailto:jose@ietf.o=
rg" style=3D"color:purple;text-decoration:underline" target=3D"_blank">jose=
@ietf.org</a><br>
&gt; &gt;=A0<span>=A0</span><a href=3D"https://www.ietf.org/mailman/listinf=
o/jose" style=3D"color:purple;text-decoration:underline" target=3D"_blank">=
https://www.ietf.org/mailman/listinfo/jose</a><br>&gt; &gt;<br>&gt;<br>&gt;=
<br>&gt;=A0 _______________________________________________<br>
&gt;=A0 jose mailing list<br>&gt;=A0<span>=A0</span><a href=3D"mailto:jose@=
ietf.org" style=3D"color:purple;text-decoration:underline" target=3D"_blank=
">jose@ietf.org</a><br>&gt;=A0<span>=A0</span><a href=3D"https://www.ietf.o=
rg/mailman/listinfo/jose" style=3D"color:purple;text-decoration:underline" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;</span></p></div></div></div></div></div></div></blockquote></div><br><=
/div></div></div></div><br>_______________________________________________<=
br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
<br></blockquote></div><br></div>

--f46d043bdfa2a4a2c804ef67b8ec--


From Michael.Jones@microsoft.com  Tue Jan  7 13:37:32 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 221441AE19E for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:37:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 tr31K9pKh2sE for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:37:29 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0209.outbound.protection.outlook.com [207.46.163.209]) by ietfa.amsl.com (Postfix) with ESMTP id 204621AE150 for <jose@ietf.org>; Tue,  7 Jan 2014 13:37:29 -0800 (PST)
Received: from BY2PR03CA033.namprd03.prod.outlook.com (10.242.234.154) by BY2PR03MB192.namprd03.prod.outlook.com (10.242.36.144) with Microsoft SMTP Server (TLS) id 15.0.847.13; Tue, 7 Jan 2014 21:37:18 +0000
Received: from BN1BFFO11FD037.protection.gbl (2a01:111:f400:7c10::1:165) by BY2PR03CA033.outlook.office365.com (2a01:111:e400:2c2c::26) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Tue, 7 Jan 2014 21:37:18 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD037.mail.protection.outlook.com (10.58.144.100) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Tue, 7 Jan 2014 21:37:17 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.03.0158.002; Tue, 7 Jan 2014 21:36:46 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Karen O'Donoghue <odonoghue@isoc.org>
Thread-Topic: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
Thread-Index: AQHPBXr7+3D/iJYHc0yzMz4ENC517ZptedVAgAAYPICADEP4EA==
Date: Tue, 7 Jan 2014 21:36:45 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDA8FAC@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com> <52C19D1F.7060407@isoc.org> <4E1F6AAD24975D4BA5B16804296739437CD82CBB@TK5EX14MBXC286.redmond.corp.microsoft.com> <02A6E3B8-3949-4DA4-8D67-9C8D2849A28F@isoc.org>
In-Reply-To: <02A6E3B8-3949-4DA4-8D67-9C8D2849A28F@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDA8FACTK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(24454002)(189002)(199002)(377454003)(90146001)(2656002)(87266001)(16799955002)(16236675002)(87936001)(85852003)(81686001)(83072002)(80976001)(15975445006)(56816005)(81816001)(92566001)(16601075003)(77096001)(81542001)(19300405004)(81342001)(33656001)(66066001)(65816001)(80022001)(77982001)(55846006)(49866001)(50986001)(47976001)(47736001)(4396001)(15202345003)(79102001)(20776003)(63696002)(59766001)(74366001)(56776001)(71186001)(76796001)(76786001)(85306002)(85806002)(84326002)(6806004)(51856001)(44976005)(69226001)(19580405001)(19580395003)(512874002)(53806001)(54356001)(46102001)(54316002)(76482001)(551544002)(31966008)(74662001)(83322001)(74706001)(74502001)(47446002)(74876001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB192; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 008421A8FF
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 21:37:32 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDA8FACTK5EX14MBXC286r_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGkgS2FyZW4g4oCTIGhhdmUgeW91IGxvb2tlZCBpbnRvIHdoZXRoZXIgdGhlIGNhbGwgdGltZSBi
ZWluZyB3cm9uZyBpbiB0aGUgdG9vbCB3aWxsIGNhdXNlIHVzIHByb2JsZW1zIGR1cmluZyB0aGUg
YWN0dWFsIGNhbGw/DQoNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIC0tIE1pa2UNCg0KRnJvbTogam9zZSBbbWFpbHRvOmpvc2UtYm91
bmNlc0BpZXRmLm9yZ10gT24gQmVoYWxmIE9mIEthcmVuIE8nRG9ub2dodWUNClNlbnQ6IE1vbmRh
eSwgRGVjZW1iZXIgMzAsIDIwMTMgNjoxOCBQTQ0KVG86IE1pa2UgSm9uZXMNCkNjOiBqb3NlQGll
dGYub3JnDQpTdWJqZWN0OiBSZTogW2pvc2VdIEpPU0UgV0cgdmlydHVhbCBpbnRlcmltLCBNb25k
YXkgMTMgSmFudWFyeSAyMDE0LCAyNDAwIFVUQw0KDQpJJ20gbm90IHN1cmUuIEknbSBiYXNpY2Fs
bHkgb2ZmbGluZSB1bnRpbCBUaHVyc2RheSwgYnV0IEknbGwgY2hlY2sgdGhlbiBhbmQgcG9zdCBh
biB1cGRhdGUuDQoNClNlbnQgZnJvbSBteSBpUGhvbmUNCg0KT24gRGVjIDMwLCAyMDEzLCBhdCA3
OjUyIFBNLCBNaWtlIEpvbmVzIDxNaWNoYWVsLkpvbmVzQG1pY3Jvc29mdC5jb208bWFpbHRvOk1p
Y2hhZWwuSm9uZXNAbWljcm9zb2Z0LmNvbT4+IHdyb3RlOg0KV2h5IGRvZXMgdGhlIG1lZXRpbmcg
aW5mb3JtYXRpb24gYmVsb3cgc2F5Og0KVGltZTogMTE6MTUgYW0sIEVhc3Rlcm4gU3RhbmRhcmQg
VGltZSAoTmV3IFlvcmssIEdNVC0wNTowMCkNCndoaWNoIGlzIGEgcXVpdGUgZGlmZmVyZW50IHRp
bWUgdGhhbiA3cG0gRURUIC8gNHBtIFBEVD8NCg0KV2lsbCB0aGlzIGxlYWQgdG8gcHJvYmxlbXMg
d2hlbiB3ZSB0cnkgdG8gdXNlIHRoZSBXZWJFeD8NCg0KICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLS0gTWlrZQ0KDQpGcm9tOiBqb3Nl
IFttYWlsdG86am9zZS1ib3VuY2VzQGlldGYub3JnXSBPbiBCZWhhbGYgT2YgS2FyZW4gTydEb25v
Z2h1ZQ0KU2VudDogTW9uZGF5LCBEZWNlbWJlciAzMCwgMjAxMyA4OjIwIEFNDQpUbzogam9zZUBp
ZXRmLm9yZzxtYWlsdG86am9zZUBpZXRmLm9yZz4NClN1YmplY3Q6IFtqb3NlXSBKT1NFIFdHIHZp
cnR1YWwgaW50ZXJpbSwgTW9uZGF5IDEzIEphbnVhcnkgMjAxNCwgMjQwMCBVVEMNCg0KVGhlIEpP
U0Ugd2cgd2lsbCBob2xkIGEgdHdvIGhvdXIgdmlydHVhbCBpbnRlcmltIG1lZXRpbmcgb246DQpN
b25kYXksIDEzIEphbnVhcnkgMjAxNCBhdCAyNDAwIFVUQyAoMTkwMCBFRFQsIDE2MDAgUERUKQ0K
DQpUaGUgcHVycG9zZSBvZiB0aGUgbWVldGluZyB3aWxsIGJlIHRvIHJldmlldyB0aGUgbGF0ZXN0
IHB1Ymxpc2hlZCB3ZyBkcmFmdHMsDQpkaXNjdXNzIGFueSByZW1haW5pbmcgb3BlbiBpc3N1ZXMs
IGFuZCBkaXNjdXNzIHByb2NlZWRpbmcgdG8gV0dMQy4NCg0KaHR0cDovL3Rvb2xzLmlldGYub3Jn
L2h0bWwvZHJhZnQtaWV0Zi1qb3NlLWpzb24td2ViLXNpZ25hdHVyZS0xOQ0KaHR0cDovL3Rvb2xz
LmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi1qb3NlLWpzb24td2ViLWVuY3J5cHRpb24tMTkNCmh0
dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LWlldGYtam9zZS1qc29uLXdlYi1rZXktMTkN
Cmh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LWlldGYtam9zZS1qc29uLXdlYi1hbGdv
cml0aG1zLTE5DQoNClRoZSB3ZWJleCBkZXRhaWxzIGFyZSBiZWxvdy4NCg0KUmVnYXJkcywNCkth
cmVuDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0NCk1lZXRpbmcgaW5mb3JtYXRpb24NCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NClRvcGljOiBqb3NlDQpEYXRlOiBNb25kYXksIEph
bnVhcnkgMTMsIDIwMTQNClRpbWU6IDExOjE1IGFtLCBFYXN0ZXJuIFN0YW5kYXJkIFRpbWUgKE5l
dyBZb3JrLCBHTVQtMDU6MDApDQpNZWV0aW5nIE51bWJlcjogNjQ3IDY0MiAyMDANCk1lZXRpbmcg
UGFzc3dvcmQ6IHNlY3VyaXR5DQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0NClRvIHN0YXJ0IG9yIGpvaW4gdGhlIG9ubGluZSBtZWV0aW5n
DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
DQpHbyB0byBodHRwczovL2lldGYud2ViZXguY29tL2lldGYvai5waHA/RUQ9MjU5MTE0MDI3JlVJ
RD01MDg0MDI3MzImUFc9Tk4yWTNNV0V6TnpBMCZSVD1NaU14TVElM0QlM0QNCg0KLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KQXVkaW8gY29u
ZmVyZW5jZSBpbmZvcm1hdGlvbg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLQ0KQ2FsbC1pbiB0b2xsIG51bWJlciAoVVMvQ2FuYWRhKTogMS02
NTAtNDc5LTMyMDgNCg0KQWNjZXNzIGNvZGU6NjQ3IDY0MiAyMDANCg0KLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KRm9yIGFzc2lzdGFuY2UN
Ci0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0N
CjEuIEdvIHRvIGh0dHBzOi8vaWV0Zi53ZWJleC5jb20vaWV0Zi9tYw0KMi4gT24gdGhlIGxlZnQg
bmF2aWdhdGlvbiBiYXIsIGNsaWNrICJTdXBwb3J0Ii4NClRvIGFkZCB0aGlzIG1lZXRpbmcgdG8g
eW91ciBjYWxlbmRhciBwcm9ncmFtIChmb3IgZXhhbXBsZSBNaWNyb3NvZnQgT3V0bG9vayksIGNs
aWNrIHRoaXMgbGluazoNCmh0dHBzOi8vaWV0Zi53ZWJleC5jb20vaWV0Zi9qLnBocD9FRD0yNTkx
MTQwMjcmVUlEPTUwODQwMjczMiZJQ1M9TVMmTEQ9MSZSRD0yJlNUPTEmU0hBMj1BQUFBQW93TlNQ
OHRXSnV1ckZWMWJWWm0xYTVXQUlKdDRiYTZxMW1XZ2o0d1p0R04NCg0KVG8gY2hlY2sgd2hldGhl
ciB5b3UgaGF2ZSB0aGUgYXBwcm9wcmlhdGUgcGxheWVycyBpbnN0YWxsZWQgZm9yIFVDRiAoVW5p
dmVyc2FsIENvbW11bmljYXRpb25zIEZvcm1hdCkgcmljaCBtZWRpYSBmaWxlcywgZ28gdG8gaHR0
cHM6Ly9pZXRmLndlYmV4LmNvbS9pZXRmL3N5c3RlbWRpYWdub3Npcy5waHAuDQoNCmh0dHA6Ly93
d3cud2ViZXguY29tDQoNCkNDTTorMTY1MDQ3OTMyMDh4NjQ3NjQyMjAwIw0KDQpJTVBPUlRBTlQg
Tk9USUNFOiBUaGlzIFdlYkV4IHNlcnZpY2UgaW5jbHVkZXMgYSBmZWF0dXJlIHRoYXQgYWxsb3dz
IGF1ZGlvIGFuZCBhbnkgZG9jdW1lbnRzIGFuZCBvdGhlciBtYXRlcmlhbHMgZXhjaGFuZ2VkIG9y
IHZpZXdlZCBkdXJpbmcgdGhlIHNlc3Npb24gdG8gYmUgcmVjb3JkZWQuIFlvdSBzaG91bGQgaW5m
b3JtIGFsbCBtZWV0aW5nIGF0dGVuZGVlcyBwcmlvciB0byByZWNvcmRpbmcgaWYgeW91IGludGVu
ZCB0byByZWNvcmQgdGhlIG1lZXRpbmcuIFBsZWFzZSBub3RlIHRoYXQgYW55IHN1Y2ggcmVjb3Jk
aW5ncyBtYXkgYmUgc3ViamVjdCB0byBkaXNjb3ZlcnkgaW4gdGhlIGV2ZW50IG9mIGxpdGlnYXRp
b24uDQoNCg==

--_000_4E1F6AAD24975D4BA5B16804296739437CDA8FACTK5EX14MBXC286r_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
Q2FsaWJyaTsNCglwYW5vc2UtMToyIDE1IDUgMiAyIDIgNCAzIDIgNDt9DQpAZm9udC1mYWNlDQoJ
e2ZvbnQtZmFtaWx5OlRhaG9tYTsNCglwYW5vc2UtMToyIDExIDYgNCAzIDUgNCA0IDIgNDt9DQov
KiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29Ob3JtYWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1z
b05vcm1hbA0KCXttYXJnaW46MGluOw0KCW1hcmdpbi1ib3R0b206LjAwMDFwdDsNCglmb250LXNp
emU6MTIuMHB0Ow0KCWZvbnQtZmFtaWx5OiJUaW1lcyBOZXcgUm9tYW4iLCJzZXJpZiI7DQoJY29s
b3I6YmxhY2s7fQ0KYTpsaW5rLCBzcGFuLk1zb0h5cGVybGluaw0KCXttc28tc3R5bGUtcHJpb3Jp
dHk6OTk7DQoJY29sb3I6Ymx1ZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCmE6dmlz
aXRlZCwgc3Bhbi5Nc29IeXBlcmxpbmtGb2xsb3dlZA0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7
DQoJY29sb3I6cHVycGxlOw0KCXRleHQtZGVjb3JhdGlvbjp1bmRlcmxpbmU7fQ0KcC5Nc29BY2V0
YXRlLCBsaS5Nc29BY2V0YXRlLCBkaXYuTXNvQWNldGF0ZQ0KCXttc28tc3R5bGUtcHJpb3JpdHk6
OTk7DQoJbXNvLXN0eWxlLWxpbms6IkJhbGxvb24gVGV4dCBDaGFyIjsNCgltYXJnaW46MGluOw0K
CW1hcmdpbi1ib3R0b206LjAwMDFwdDsNCglmb250LXNpemU6OC4wcHQ7DQoJZm9udC1mYW1pbHk6
IlRhaG9tYSIsInNhbnMtc2VyaWYiOw0KCWNvbG9yOmJsYWNrO30NCnNwYW4uRW1haWxTdHlsZTE3
DQoJe21zby1zdHlsZS10eXBlOnBlcnNvbmFsOw0KCWZvbnQtZmFtaWx5OiJDYWxpYnJpIiwic2Fu
cy1zZXJpZiI7DQoJY29sb3I6IzFGNDk3RDt9DQpzcGFuLkVtYWlsU3R5bGUxOA0KCXttc28tc3R5
bGUtdHlwZTpwZXJzb25hbC1yZXBseTsNCglmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2Vy
aWYiOw0KCWNvbG9yOiMxRjQ5N0Q7fQ0Kc3Bhbi5CYWxsb29uVGV4dENoYXINCgl7bXNvLXN0eWxl
LW5hbWU6IkJhbGxvb24gVGV4dCBDaGFyIjsNCgltc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJbXNv
LXN0eWxlLWxpbms6IkJhbGxvb24gVGV4dCI7DQoJZm9udC1mYW1pbHk6IlRhaG9tYSIsInNhbnMt
c2VyaWYiOw0KCWNvbG9yOmJsYWNrO30NCi5Nc29DaHBEZWZhdWx0DQoJe21zby1zdHlsZS10eXBl
OmV4cG9ydC1vbmx5Ow0KCWZvbnQtc2l6ZToxMC4wcHQ7fQ0KQHBhZ2UgV29yZFNlY3Rpb24xDQoJ
e3NpemU6OC41aW4gMTEuMGluOw0KCW1hcmdpbjoxLjBpbiAxLjBpbiAxLjBpbiAxLjBpbjt9DQpk
aXYuV29yZFNlY3Rpb24xDQoJe3BhZ2U6V29yZFNlY3Rpb24xO30NCi0tPjwvc3R5bGU+PCEtLVtp
ZiBndGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWRlZmF1bHRzIHY6ZXh0PSJlZGl0IiBzcGlkbWF4
PSIxMDI2IiAvPg0KPC94bWw+PCFbZW5kaWZdLS0+PCEtLVtpZiBndGUgbXNvIDldPjx4bWw+DQo8
bzpzaGFwZWxheW91dCB2OmV4dD0iZWRpdCI+DQo8bzppZG1hcCB2OmV4dD0iZWRpdCIgZGF0YT0i
MSIgLz4NCjwvbzpzaGFwZWxheW91dD48L3htbD48IVtlbmRpZl0tLT4NCjwvaGVhZD4NCjxib2R5
IGxhbmc9IkVOLVVTIiBsaW5rPSJibHVlIiB2bGluaz0icHVycGxlIj4NCjxkaXYgY2xhc3M9Ildv
cmRTZWN0aW9uMSI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXpl
OjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYm
cXVvdDs7Y29sb3I6IzFGNDk3RCI+SGkgS2FyZW4g4oCTIGhhdmUgeW91IGxvb2tlZCBpbnRvIHdo
ZXRoZXIgdGhlIGNhbGwgdGltZSBiZWluZyB3cm9uZyBpbiB0aGUgdG9vbCB3aWxsIGNhdXNlIHVz
IHByb2JsZW1zIGR1cmluZyB0aGUgYWN0dWFsIGNhbGw/PG86cD48L286cD48L3NwYW4+PC9wPg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1m
YW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMx
RjQ5N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwi
PjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkm
cXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj4mbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsg
LS0gTWlrZTxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFu
IHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDss
JnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwv
c3Bhbj48L3A+DQo8ZGl2Pg0KPGRpdiBzdHlsZT0iYm9yZGVyOm5vbmU7Ym9yZGVyLXRvcDpzb2xp
ZCAjQjVDNERGIDEuMHB0O3BhZGRpbmc6My4wcHQgMGluIDBpbiAwaW4iPg0KPHAgY2xhc3M9Ik1z
b05vcm1hbCI+PGI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6JnF1
b3Q7VGFob21hJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6d2luZG93dGV4dCI+
RnJvbTo8L3NwYW4+PC9iPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTAuMHB0O2ZvbnQtZmFtaWx5
OiZxdW90O1RhaG9tYSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOndpbmRvd3Rl
eHQiPiBqb3NlIFttYWlsdG86am9zZS1ib3VuY2VzQGlldGYub3JnXQ0KPGI+T24gQmVoYWxmIE9m
IDwvYj5LYXJlbiBPJ0Rvbm9naHVlPGJyPg0KPGI+U2VudDo8L2I+IE1vbmRheSwgRGVjZW1iZXIg
MzAsIDIwMTMgNjoxOCBQTTxicj4NCjxiPlRvOjwvYj4gTWlrZSBKb25lczxicj4NCjxiPkNjOjwv
Yj4gam9zZUBpZXRmLm9yZzxicj4NCjxiPlN1YmplY3Q6PC9iPiBSZTogW2pvc2VdIEpPU0UgV0cg
dmlydHVhbCBpbnRlcmltLCBNb25kYXkgMTMgSmFudWFyeSAyMDE0LCAyNDAwIFVUQzxvOnA+PC9v
OnA+PC9zcGFuPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpw
PiZuYnNwOzwvbzpwPjwvcD4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5JJ20gbm90IHN1
cmUuIEknbSBiYXNpY2FsbHkgb2ZmbGluZSB1bnRpbCBUaHVyc2RheSwgYnV0IEknbGwgY2hlY2sg
dGhlbiBhbmQgcG9zdCBhbiB1cGRhdGUuJm5ic3A7PGJyPg0KPGJyPg0KU2VudCBmcm9tIG15IGlQ
aG9uZTxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIg
c3R5bGU9Im1hcmdpbi1ib3R0b206MTIuMHB0Ij48YnI+DQpPbiBEZWMgMzAsIDIwMTMsIGF0IDc6
NTIgUE0sIE1pa2UgSm9uZXMgJmx0OzxhIGhyZWY9Im1haWx0bzpNaWNoYWVsLkpvbmVzQG1pY3Jv
c29mdC5jb20iPk1pY2hhZWwuSm9uZXNAbWljcm9zb2Z0LmNvbTwvYT4mZ3Q7IHdyb3RlOjxvOnA+
PC9vOnA+PC9wPg0KPC9kaXY+DQo8YmxvY2txdW90ZSBzdHlsZT0ibWFyZ2luLXRvcDo1LjBwdDtt
YXJnaW4tYm90dG9tOjUuMHB0Ij4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBz
dHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZx
dW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+V2h5IGRvZXMgdGhlIG1lZXRpbmcg
aW5mb3JtYXRpb24gYmVsb3cgc2F5Ojwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJN
c29Ob3JtYWwiIHN0eWxlPSJtYXJnaW4tbGVmdDouNWluIj48c3BhbiBzdHlsZT0iZm9udC1zaXpl
OjEwLjBwdDtmb250LWZhbWlseTomcXVvdDtUYWhvbWEmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZx
dW90OyI+VGltZTogMTE6MTUgYW0sIEVhc3Rlcm4gU3RhbmRhcmQgVGltZSAoTmV3IFlvcmssIEdN
VC0wNTowMCk8L3NwYW4+PG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3Bh
biBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7
LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+d2hpY2ggaXMgYSBxdWl0ZSBk
aWZmZXJlbnQgdGltZSB0aGFuIDdwbSBFRFQgLyA0cG0gUERUPzwvc3Bhbj48bzpwPjwvbzpwPjwv
cD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2Zv
bnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xv
cjojMUY0OTdEIj4mbmJzcDs8L3NwYW4+PG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9y
bWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxp
YnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+V2lsbCB0aGlz
IGxlYWQgdG8gcHJvYmxlbXMgd2hlbiB3ZSB0cnkgdG8gdXNlIHRoZSBXZWJFeD88L3NwYW4+PG86
cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXpl
OjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYm
cXVvdDs7Y29sb3I6IzFGNDk3RCI+Jm5ic3A7PC9zcGFuPjxvOnA+PC9vOnA+PC9wPg0KPHAgY2xh
c3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6
JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0Qi
PiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyAtLSBNaWtlPC9zcGFuPjxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1z
b05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7
Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPiZuYnNw
Ozwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjxkaXY+DQo8ZGl2IHN0eWxlPSJib3JkZXI6bm9uZTti
b3JkZXItdG9wOnNvbGlkICNCNUM0REYgMS4wcHQ7cGFkZGluZzozLjBwdCAwaW4gMGluIDBpbiI+
DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48Yj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjEwLjBwdDtm
b250LWZhbWlseTomcXVvdDtUYWhvbWEmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xv
cjp3aW5kb3d0ZXh0Ij5Gcm9tOjwvc3Bhbj48L2I+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMC4w
cHQ7Zm9udC1mYW1pbHk6JnF1b3Q7VGFob21hJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7
Y29sb3I6d2luZG93dGV4dCI+IGpvc2UgWzxhIGhyZWY9Im1haWx0bzpqb3NlLWJvdW5jZXNAaWV0
Zi5vcmciPm1haWx0bzpqb3NlLWJvdW5jZXNAaWV0Zi5vcmc8L2E+XQ0KPGI+T24gQmVoYWxmIE9m
IDwvYj5LYXJlbiBPJ0Rvbm9naHVlPGJyPg0KPGI+U2VudDo8L2I+IE1vbmRheSwgRGVjZW1iZXIg
MzAsIDIwMTMgODoyMCBBTTxicj4NCjxiPlRvOjwvYj4gPGEgaHJlZj0ibWFpbHRvOmpvc2VAaWV0
Zi5vcmciPmpvc2VAaWV0Zi5vcmc8L2E+PGJyPg0KPGI+U3ViamVjdDo8L2I+IFtqb3NlXSBKT1NF
IFdHIHZpcnR1YWwgaW50ZXJpbSwgTW9uZGF5IDEzIEphbnVhcnkgMjAxNCwgMjQwMCBVVEM8L3Nw
YW4+PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+
Jm5ic3A7PG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2lu
LWJvdHRvbToxMi4wcHQiPlRoZSBKT1NFIHdnIHdpbGwgaG9sZCBhIHR3byBob3VyIHZpcnR1YWwg
aW50ZXJpbSBtZWV0aW5nIG9uOjxicj4NCk1vbmRheSwgMTMgSmFudWFyeSAyMDE0IGF0IDI0MDAg
VVRDICgxOTAwIEVEVCwgMTYwMCBQRFQpPGJyPg0KPGJyPg0KVGhlIHB1cnBvc2Ugb2YgdGhlIG1l
ZXRpbmcgd2lsbCBiZSB0byByZXZpZXcgdGhlIGxhdGVzdCBwdWJsaXNoZWQgd2cgZHJhZnRzLCA8
YnI+DQpkaXNjdXNzIGFueSByZW1haW5pbmcgb3BlbiBpc3N1ZXMsIGFuZCBkaXNjdXNzIHByb2Nl
ZWRpbmcgdG8gV0dMQy4gPGJyPg0KPGJyPg0KPGEgaHJlZj0iaHR0cDovL3Rvb2xzLmlldGYub3Jn
L2h0bWwvZHJhZnQtaWV0Zi1qb3NlLWpzb24td2ViLXNpZ25hdHVyZS0xOSI+aHR0cDovL3Rvb2xz
LmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi1qb3NlLWpzb24td2ViLXNpZ25hdHVyZS0xOTwvYT48
YnI+DQo8YSBocmVmPSJodHRwOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1pZXRmLWpvc2Ut
anNvbi13ZWItZW5jcnlwdGlvbi0xOSI+aHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQt
aWV0Zi1qb3NlLWpzb24td2ViLWVuY3J5cHRpb24tMTk8L2E+PGJyPg0KPGEgaHJlZj0iaHR0cDov
L3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi1qb3NlLWpzb24td2ViLWtleS0xOSI+aHR0
cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi1qb3NlLWpzb24td2ViLWtleS0xOTwv
YT48YnI+DQo8YSBocmVmPSJodHRwOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1pZXRmLWpv
c2UtanNvbi13ZWItYWxnb3JpdGhtcy0xOSI+aHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJh
ZnQtaWV0Zi1qb3NlLWpzb24td2ViLWFsZ29yaXRobXMtMTk8L2E+PGJyPg0KPGJyPg0KVGhlIHdl
YmV4IGRldGFpbHMgYXJlIGJlbG93LiA8YnI+DQo8YnI+DQpSZWdhcmRzLDxicj4NCkthcmVuPG86
cD48L286cD48L3A+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1i
b3R0b206MTIuMHB0Ij48c3BhbiBzdHlsZT0iZm9udC1zaXplOjEwLjBwdDtmb250LWZhbWlseTom
cXVvdDtUYWhvbWEmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90OyI+PGJyPg0KLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSA8YnI+DQpNZWV0
aW5nIGluZm9ybWF0aW9uIDxicj4NCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0gPGJyPg0KVG9waWM6IGpvc2UgPGJyPg0KRGF0ZTogTW9uZGF5
LCBKYW51YXJ5IDEzLCAyMDE0IDxicj4NClRpbWU6IDExOjE1IGFtLCBFYXN0ZXJuIFN0YW5kYXJk
IFRpbWUgKE5ldyBZb3JrLCBHTVQtMDU6MDApIDxicj4NCk1lZXRpbmcgTnVtYmVyOiA2NDcgNjQy
IDIwMCA8YnI+DQpNZWV0aW5nIFBhc3N3b3JkOiBzZWN1cml0eSA8YnI+DQo8YnI+DQotLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIDxicj4NClRv
IHN0YXJ0IG9yIGpvaW4gdGhlIG9ubGluZSBtZWV0aW5nIDxicj4NCi0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gPGJyPg0KR28gdG8gPGEgaHJl
Zj0iaHR0cHM6Ly9pZXRmLndlYmV4LmNvbS9pZXRmL2oucGhwP0VEPTI1OTExNDAyNyZhbXA7VUlE
PTUwODQwMjczMiZhbXA7UFc9Tk4yWTNNV0V6TnpBMCZhbXA7UlQ9TWlNeE1RJTNEJTNEIiB0YXJn
ZXQ9Il9ibGFuayI+DQpodHRwczovL2lldGYud2ViZXguY29tL2lldGYvai5waHA/RUQ9MjU5MTE0
MDI3JmFtcDtVSUQ9NTA4NDAyNzMyJmFtcDtQVz1OTjJZM01XRXpOekEwJmFtcDtSVD1NaU14TVEl
M0QlM0Q8L2E+DQo8YnI+DQo8YnI+DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tIDxicj4NCkF1ZGlvIGNvbmZlcmVuY2UgaW5mb3JtYXRpb24g
PGJyPg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLSA8YnI+DQpDYWxsLWluIHRvbGwgbnVtYmVyIChVUy9DYW5hZGEpOiAxLTY1MC00NzktMzIw
OCA8YnI+DQo8YnI+DQpBY2Nlc3MgY29kZTo2NDcgNjQyIDIwMCA8YnI+DQo8YnI+DQotLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIDxicj4NCkZv
ciBhc3Npc3RhbmNlIDxicj4NCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0gPGJyPg0KMS4gR28gdG8gPGEgaHJlZj0iaHR0cHM6Ly9pZXRmLndl
YmV4LmNvbS9pZXRmL21jIiB0YXJnZXQ9Il9ibGFuayI+aHR0cHM6Ly9pZXRmLndlYmV4LmNvbS9p
ZXRmL21jPC9hPg0KPGJyPg0KMi4gT24gdGhlIGxlZnQgbmF2aWdhdGlvbiBiYXIsIGNsaWNrICZx
dW90O1N1cHBvcnQmcXVvdDsuIDxicj4NClRvIGFkZCB0aGlzIG1lZXRpbmcgdG8geW91ciBjYWxl
bmRhciBwcm9ncmFtIChmb3IgZXhhbXBsZSBNaWNyb3NvZnQgT3V0bG9vayksIGNsaWNrIHRoaXMg
bGluazoNCjxicj4NCjxhIGhyZWY9Imh0dHBzOi8vaWV0Zi53ZWJleC5jb20vaWV0Zi9qLnBocD9F
RD0yNTkxMTQwMjcmYW1wO1VJRD01MDg0MDI3MzImYW1wO0lDUz1NUyZhbXA7TEQ9MSZhbXA7UkQ9
MiZhbXA7U1Q9MSZhbXA7U0hBMj1BQUFBQW93TlNQOHRXSnV1ckZWMWJWWm0xYTVXQUlKdDRiYTZx
MW1XZ2o0d1p0R04iIHRhcmdldD0iX2JsYW5rIj5odHRwczovL2lldGYud2ViZXguY29tL2lldGYv
ai5waHA/RUQ9MjU5MTE0MDI3JmFtcDtVSUQ9NTA4NDAyNzMyJmFtcDtJQ1M9TVMmYW1wO0xEPTEm
YW1wO1JEPTImYW1wO1NUPTEmYW1wO1NIQTI9QUFBQUFvd05TUDh0V0p1dXJGVjFiVlptMWE1V0FJ
SnQ0YmE2cTFtV2dqNHdadEdOPC9hPg0KPGJyPg0KPGJyPg0KVG8gY2hlY2sgd2hldGhlciB5b3Ug
aGF2ZSB0aGUgYXBwcm9wcmlhdGUgcGxheWVycyBpbnN0YWxsZWQgZm9yIFVDRiAoVW5pdmVyc2Fs
IENvbW11bmljYXRpb25zIEZvcm1hdCkgcmljaCBtZWRpYSBmaWxlcywgZ28gdG8NCjxhIGhyZWY9
Imh0dHBzOi8vaWV0Zi53ZWJleC5jb20vaWV0Zi9zeXN0ZW1kaWFnbm9zaXMucGhwIj5odHRwczov
L2lldGYud2ViZXguY29tL2lldGYvc3lzdGVtZGlhZ25vc2lzLnBocDwvYT4uDQo8YnI+DQo8YnI+
DQo8YSBocmVmPSJodHRwOi8vd3d3LndlYmV4LmNvbSIgdGFyZ2V0PSJfYmxhbmsiPmh0dHA6Ly93
d3cud2ViZXguY29tPC9hPiA8YnI+DQo8YnI+DQpDQ006JiM0MzsxNjUwNDc5MzIwOHg2NDc2NDIy
MDAjIDxicj4NCjxicj4NCklNUE9SVEFOVCBOT1RJQ0U6IFRoaXMgV2ViRXggc2VydmljZSBpbmNs
dWRlcyBhIGZlYXR1cmUgdGhhdCBhbGxvd3MgYXVkaW8gYW5kIGFueSBkb2N1bWVudHMgYW5kIG90
aGVyIG1hdGVyaWFscyBleGNoYW5nZWQgb3Igdmlld2VkIGR1cmluZyB0aGUgc2Vzc2lvbiB0byBi
ZSByZWNvcmRlZC4gWW91IHNob3VsZCBpbmZvcm0gYWxsIG1lZXRpbmcgYXR0ZW5kZWVzIHByaW9y
IHRvIHJlY29yZGluZyBpZiB5b3UgaW50ZW5kIHRvIHJlY29yZCB0aGUgbWVldGluZy4NCiBQbGVh
c2Ugbm90ZSB0aGF0IGFueSBzdWNoIHJlY29yZGluZ3MgbWF5IGJlIHN1YmplY3QgdG8gZGlzY292
ZXJ5IGluIHRoZSBldmVudCBvZiBsaXRpZ2F0aW9uLg0KPC9zcGFuPjxvOnA+PC9vOnA+PC9wPg0K
PC9kaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj4mbmJzcDs8bzpwPjwvbzpwPjwvcD4NCjwvZGl2
Pg0KPC9ibG9ja3F1b3RlPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_4E1F6AAD24975D4BA5B16804296739437CDA8FACTK5EX14MBXC286r_--

From Michael.Jones@microsoft.com  Tue Jan  7 13:39:31 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A00961AE1E3 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:39:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 mkJrgyJXObQe for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:39:22 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0154.outbound.protection.outlook.com [207.46.163.154]) by ietfa.amsl.com (Postfix) with ESMTP id 38FB91AE19E for <jose@ietf.org>; Tue,  7 Jan 2014 13:39:21 -0800 (PST)
Received: from BLUPR03CA029.namprd03.prod.outlook.com (10.141.30.22) by BLUPR03MB104.namprd03.prod.outlook.com (10.255.212.22) with Microsoft SMTP Server (TLS) id 15.0.847.13; Tue, 7 Jan 2014 21:39:09 +0000
Received: from BN1BFFO11FD020.protection.gbl (2a01:111:f400:7c10::1:123) by BLUPR03CA029.outlook.office365.com (2a01:111:e400:879::22) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Tue, 7 Jan 2014 21:39:09 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD020.mail.protection.outlook.com (10.58.144.83) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Tue, 7 Jan 2014 21:39:09 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0158.002; Tue, 7 Jan 2014 21:38:32 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Mark Watson <watsonm@netflix.com>, John Bradley <ve7jtb@ve7jtb.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkIABRb8AgALUdoCAABBGYIAAF1AAgAAGxH2AAAT4/YAAB0KAgAAK9T2AATXPgIAAHmFggAnQFQCAAVVDgIAABvmw
Date: Tue, 7 Jan 2014 21:38:32 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDA8FEA@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com> <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com> <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com> <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD86718@TK5EX14MBXC286.redmond.corp.microsoft.com> <D5C09BE4-F972-4D3E-BC3A-EDCAE9977859@ve7jtb.com> <CAEnTvdAjzrkazqpxbYFCYMRUvOtxXgUyF=2xboKHeASsJnUKow@mail.gmail.com>
In-Reply-To: <CAEnTvdAjzrkazqpxbYFCYMRUvOtxXgUyF=2xboKHeASsJnUKow@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDA8FEATK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(13464003)(24454002)(199002)(35774003)(52314003)(189002)(243025003)(479174003)(53754006)(377454003)(51704005)(83322001)(83072002)(54316002)(44976005)(19580405001)(19580395003)(56816005)(84326002)(6806004)(90146001)(19300405004)(85852003)(74366001)(512934002)(76796001)(92566001)(77096001)(15975445006)(85806002)(69226001)(76786001)(71186001)(59766001)(77982001)(80022001)(74502001)(66066001)(47446002)(65816001)(56776001)(81542001)(55846006)(16236675002)(87936001)(2656002)(74662001)(31966008)(80976001)(76482001)(81342001)(79102001)(49866001)(81816001)(87266001)(14971765001)(15202345003)(63696002)(74876001)(20776003)(33656001)(85306002)(47736001)(4396001)(50986001)(51856001)(47976001)(53806001)(561944002)(74706001)(81686001)(54356001)(46102001)(559001)(569005); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB104; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 008421A8FF
X-OriginatorOrg: microsoft.com
Cc: Richard Barnes <rlb@ipv.sx>, "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 21:39:31 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDA8FEATK5EX14MBXC286r_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Where I think we are is choosing the right name for the extended key use fi=
eld.  Names that have been discussed are:
               use_details - which I no longer think is the right name
               ku (key usage) - I think this name would be misleading
               eku (extended key usage) - I think this would be fine
               uses - I also think this would be fine

And I think we're also waiting for people to weigh in on the proposal that =
"use" no longer be so strongly recommended, in light of the fact that it's =
designed for distinguishing between public key usages - not all key usages.

I'm sure that this will be discussed during the call on Monday at 1900 EDT,=
 1600 PDT.  See the thread "[jose] JOSE WG virtual interim, Monday 13 Janua=
ry 2014, 2400 UTC" for call-in instructions.

                                                            -- Mike

From: Mark Watson [mailto:watsonm@netflix.com]
Sent: Tuesday, January 07, 2014 1:04 PM
To: John Bradley
Cc: Mike Jones; Richard Barnes; ryan-ietf@sleevi.com; jose@ietf.org
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

So, where are we with this one ?

I am fine with either Mike's proposal or Richard's (revised) proposal. Defi=
ning a new attribute was what I originally proposed in WebCrypto. The objec=
tions to that were related to backwards-compatibility and consistency betwe=
en the two attributes, however I think if JOSE specifies the new attribute =
and the interaction with the existing one (as discussed in this thread) the=
n those concerns may be mitigated. Or, if appropriate, WebCrypto could regi=
ster a new attribute with guidance on those issues from JOSE.

...Mark

On Mon, Jan 6, 2014 at 4:43 PM, John Bradley <ve7jtb@ve7jtb.com<mailto:ve7j=
tb@ve7jtb.com>> wrote:
Use was originally optional so going back to that is fine.

Having the Web Crypto WG sort out meta-data for key usage by the crypto sub=
system and or secure storage with other elements is fine with me.

I think they are different use cases one for private or secret keys and the=
 other for public keys.

I do think that for storage restricting the alg will be required if disclos=
ure to the application layer is to be prevented, but the WC WG can work on =
that without holding up the JWK spec as long as they have the extension poi=
nt.

John B.

On Dec 31, 2013, at 4:18 PM, Mike Jones <Michael.Jones@microsoft.com<mailto=
:Michael.Jones@microsoft.com>> wrote:


The context that some participants may not be keeping in mind is that when =
"use" was defined, JWKs were intentionally limited to representing public k=
eys.  The "use" field is used for distinguishing between public signing key=
s and encryption keys.  The use case where a set of public keys is publicly=
 advertised for use by a protocol participant is quite common.  "use" is in=
tentionally designed for that use case and works great there.

Sometime later, we added the ability to represent private and symmetric key=
s to JWK - at the request of the WebCrypto WG.  This expanded the possible =
use cases for JWKs to include transporting non-public keys between protocol=
 participants.  With the addition of non-public keys, additional key uses b=
ecame possible, including the possibility of the same key being legally use=
d for two things (signing/verification, etc.).  The "use_details" represent=
ation makes sense for those use cases.

I'd be fine relaxing the language saying that "use" must be present, becaus=
e I agree it's not a good fit if non-public keys are present.  I suspect no=
t requiring "use" would make people happier in the non-public use cases.  A=
nd we could explicitly say that "use" is intended for use cases where only =
public keys are present.  Do people agree with this change?

Given our goal of keeping simple things simple, I believe that "use" should=
 be retained as-is for the very common use case of sets of public keys.  It=
 already works great there.

I'd also be fine saying that applications should specify which of "use" and=
 "use_details" they will use and that the other will be ignored.  I'm also =
fine changing the name of "use_details" to "eku" (extended key usages) or s=
omething similar - reflecting the fact that then "use" and "eku" aren't int=
ended to be used together.  And we would say that this field is intended fo=
r use cases where both public and non-public keys may be present.  Do peopl=
e agree with this change?  If so, what name do you want us to use for the e=
xpanded key usages field?

                                                            -- Mike
From: Richard Barnes [mailto:rlb@ipv.sx]
Sent: Tuesday, December 31, 2013 9:03 AM
To: Mike Jones
Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; John Bradley; jose@i=
etf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

However, in advocating for two, parallel extensions to JWK for essentially =
the same purpose, you're basically arguing that "use" is not generally appl=
icable to JWK -- it applies to OpenID/SAML-like stuff, but not much more br=
oadly.  (You can't really say the same thing about the more detailed versio=
n, since it's a superset.)  But if "use" is not a generally useful feature =
of JWK, then it shouldn't be part of the spec.

In other words, if a feature is going to be part of the JWK spec, then it n=
eeds to meet the requirements that participants in this group put forth.  I=
f we're choosing not to meet those requirements (as "use" does not), then i=
t needs to come out of the spec.
I think there's still room for compromise here (see my other reply on the p=
roposal directly).  But if there's no compromise, then there's no consensus=
, and "use" needs to go.

--Richard


On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones <Michael.Jones@microsoft.com<ma=
ilto:Michael.Jones@microsoft.com>> wrote:
There's nothing wrong with different use cases with different needs supplyi=
ng different key metadata.

The ability to do that is an indication of the versatility and usefulness o=
f the JWK format - not a deficiency.
________________________________
From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com>
Sent: 12/30/2013 1:55 PM
To: Mike Jones<mailto:Michael.Jones@microsoft.com>
Cc: Mike Jones<mailto:Michael.Jones@microsoft.com>; ryan-ietf@sleevi.com<ma=
ilto:ryan-ietf@sleevi.com>; Richard Barnes<mailto:rlb@ipv.sx>; John Bradley=
<mailto:ve7jtb@ve7jtb.com>; jose@ietf.org<mailto:jose@ietf.org>

Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto
On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:
>  ... and lest there be any confusion, the JWK spec doesn't require the us=
e
>  of "use".  WebCrypto can specify that it not be used and require the use
>  of "use_details" if that best meets the needs of your use case.

So you're still arguing for two, incompatible ways of expressing use
within the base spec. The current draft (-19) proposes that "A 'use'
member SHOULD be present, unless the application uses another means or
convention to determine the intended key usage".

That is, if draft-19 were pushed to WGLC, it would leave authors confused
as to when to use either. As specified, the language still strongly
prefers "use", and continues to suggest "use_details" as a subset, when
it's not really.

Richard's solution is much more sensible, in that it makes it clear that
there is a single clean way to communicate use going forward, and a
deprecated way from existing specs. Existing keys can continue to be
imported into new versions of the spec - it's only an issue when a new
version of the spec is used to interoperate with an older version. I don't
think it's fair to suggest that's "backwards compatibility" - that's an
issue of "forwards compatibility", and one that is far trickier to get
right, and arguably far less important here - and one that can be
addressed in *new* implementations by choice or config.

Let me try to state the problem differently:

Is "use" generically suitable for use cases of JWK? Can you envision other
scenarios where it can be gracefully extended?

As I see it, the answer is clearly "no", as already evidenced by
WebCrypto's intended use, but also demonstrated by Axel's example of "do
not want" (which is X.509's 'extended key usages' field). As such, we
should try to fix that spec before finalizing, rather than bolt-on
additions and try to rush things through WGLC, or we should accept that
this is a problem the spec/spec authors are not interested in solving
cleanly, and WebCrypto can move to a solution that does.

Both specs are still in their infancy of both implementation and adoption
and we should try to do things right while we can.

>  ________________________________
>  From: Mike Jones<mailto:Michael.Jones@microsoft.com>
>  Sent: =FD12/=FD30/=FD2013 1:12 PM
>  To: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com><mailto:ryan-ietf@s=
leevi.com<mailto:ryan-ietf@sleevi.com>>
>  Cc: Richard Barnes<mailto:rlb@ipv.sx>; John
>  Bradley<mailto:ve7jtb@ve7jtb.com>; jose@ietf.org<mailto:jose@ietf.org><m=
ailto:jose@ietf.org>
>  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
>  coordinate with WebCrypto
>
>  Ryan, this isn't an either-or situation. JWK is intended to be a general
>  key representation format. It's extensible exactly so information for an=
y
>  use cases that need info not in the base spec can add it.  I'm still
>  puzzled why some in WebCrypo felt uncomfortable using this extensibility
>  by defining and registering a new field for WebCrypyo's representation o=
f
>  use info. But observing that to be the case, I'm attempting to be as cle=
ar
>  as possible (through spec actions!) that there's absolutely no reason fo=
r
>  WebCrypto not to use JWK.
>
>  There's no plans to "continue to evolve JWK to parallel the SAML
>  workflows" that I'm aware of. Rather, I believe the only further additio=
n
>  being considered before completing the spec is one motivated by
>  WebCrypto's use case rather than SAML - "use_details".
>
>  I believe that the current JWK spec already meets WebCrypto's needs as-i=
s.
>   Is there any reason not to just use it and move on to addressing other
>  issues needed to be resolved to complete both JOSE and WebCrypto, both o=
f
>  which I see as being complementary and important to the industry?
>
>  -- Mike
>  ________________________________
>  From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com>
>  Sent: =FD12/=FD30/=FD2013 12:47 PM
>  To: Mike Jones<mailto:Michael.Jones@microsoft.com>
>  Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com><mailto:ryan-ietf@s=
leevi.com<mailto:ryan-ietf@sleevi.com>>; Richard
>  Barnes<mailto:rlb@ipv.sx>; John Bradley<mailto:ve7jtb@ve7jtb.com>;
>  jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
>  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
>  coordinate with WebCrypto
>
>  On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
> >  As further background for the discussion, the current "use" definition
> > is
> >  based on widely deployed existing practice - the SAML metadata
> >  specification
> >  (http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pd=
f),
> >  which defines "use" as follows in section 2.4.1.1<http://2.4.1.1/>:
> >  use [Optional]
> >  Optional attribute specifying the purpose of the key being described.
> >  Values are drawn from the
> >
> >  KeyTypes enumeration, and consist of the values encryption and signing=
.
> >
> >
> >
> >  This has been shown to be sufficient in practice for its intended
> > purpose,
> >  as has the JWK "use" field.
> >
>
>  Mike,
>
>  I feel like you're arguing all the more strongly for WebCrypto not to us=
e
>  JWK, in that you're arguing that JWK's "intended purpose" is to match
>  SAML. I can understand where this fits within the JWT and OpenID Connect
>  workflows, but as a "JSON key description" format, it is unquestionably
>  much more restrictive and ill-suited.
>
>  If the goal is to continue to evolve JWK to parallel the SAML workflows,
>  then I don't see how WebCrypto can in good conscience encourage JWK.
>
>  There's nothing preventing authors from translating JWK into any sort of
>  API form that WebCrypto requires - much in the same way that they can
>  translate the composite JWA algorithms (which are suitable for transport=
)
>  into WebCrypto's broader, more generic algorithms (which are suitable fo=
r
>  an API targeting application development).
>
>  Arguably, the only reasons to use JWK are to prevent introducing "yet
>  another key format". While laudable, if JWK is trying to mirror SAML, th=
en
>  it would seem that JWK is not trying to be a key format, per se, and suc=
h
>  risk would be low.
>
>  Again, I'm perfectly fine if JOSE would rather that JWK be kept as minim=
al
>  and as specific for the JWT use case, and we can easily use a descriptiv=
e
>  WebIDL within WebCrypto to describe the key formats it operates with (in
>  addition to SPKI and PKCS#8). Comments so far from this WG give me the
>  sense that there's strong opposition by some to seeing JWK evolve to be =
as
>  flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
>  extensibility that WebCrypto wants, and if JWK isn't it, we can use
>  something else. OpenID Connect and JWT can continue to use JWK as suited
>  for their needs, and if for some reason someone wants to use JS to
>  interact with these, they can use a translation shim, just as they would
>  for JWE/JWS or for *any other* cryptographic application, since WebCrypt=
o
>  is "just" an API.
>
> >
> >
> >  I understand your point, Ryan, that for the WebCrypto API use case,
> > there
> >  is sometimes value in distinguishing between the producer and consumer
> >  operations for a key.  That's part of why I proposed adding
> > "use_details",
> >  so those distinctions can be made for the use cases where they do make
> > a
> >  difference.
> >
> >
> >
> >  As for Richard's proposal, the problem with it is that it would be a
> >  breaking change, since if "ku" was present, his proposal would require
> >  different treatment of the "use" field (ignoring it).  My proposal is
> > not
> >  a breaking change, since "use" continues to mean what it always has.
> >  Furthermore, my proposal requires that "use" and "use_details" convey
> >  consistent information, if both are present.  That seems significantly
> >  simpler for consumers of JWKs use than requiring conditional behaviors=
,
> > as
> >  Richard's proposal does.
> >
> >
> >
> >                                                              Best
> > wishes,
> >
> >                                                              -- Mike
> >
> >
> >
> >  -----Original Message-----
> >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> >  Sent: Monday, December 30, 2013 10:25 AM
> >  To: Richard Barnes
> >  Cc: Mike Jones; ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; Joh=
n Bradley; jose@ietf.org<mailto:jose@ietf.org>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >
> >
> >  On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:
> >
> > >  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones
> >
> > >  <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com><mai=
lto:Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>>wrote:
> >
> > >
> >
> > > > It's my sense of the JOSE working group that most are strongly
> >
> > > > opposed to breaking changes at this point.
> >
> > >
> >
> > >
> >
> > >  Please don't claim to represent the WG.  There is a significant
> >
> > > contingent  who care about breaking changes, but also a significant
> >
> > > group who would  prefer the best, most usable spec we can make,
> >
> > > regardless of the sins of  the past.
> >
> > >
> >
> > >
> >
> > >
> >
> > > > However, I also believe that most JOSE participants share the
> >
> > > > sentiment of many WebCrypto participants that it would be better fo=
r
> >
> > > > all for WebCrypto to use real JWKs, rather than something
> >
> > > > "JWK-like".
> >
> > > >
> >
> > >
> >
> > >   How about this for a compromise proposal:
> >
> > >  -- Leave "use" in for backward compatibility.
> >
> > >  -- Define a new field "ku" (Key Usage, or something similar) that ha=
s
> >
> > > detailed key usage information.
> >
> > >  -- Deprecate "use", recommending that new applications use "ku"; if
> >
> > > both  are present, "use" MUST be ignored.
> >
> > >  -- Define the expansion of "use" values to "ku" values
> >
> > >
> >
> > >  That doesn't break backward compatibilty, but makes detailed control
> >
> > > the  default going forward.
> >
> > >
> >
> > >  --Richard
> >
> >
> >
> >  As I expressed within WebCrypto, this to me strikes a much more
> > sensible
> >  balance of backwards compatibility and extensibility, and hopefully in
> > a
> >  way that allows existing deployments to cleanly transition while
> > allowing
> >  new deployments to avoid the limitations of the current drafts.
> >
> >
> >
> >  I very much prefer this over use_details for Web Crypto's use cases.
> >
> >
> >
> > >
> >
> > >  I believe my proposal is the best-available solution, given the
> >
> > > current
> >
> > > > realistic constraints.  It might have made better sense for a
> >
> > > > WebCrypto spec to define "use_details" than JOSE, but if WebCrypto
> >
> > > > isn't going to do it, I believe that we'll all be better off in the
> >
> > > > long run if JOSE then does and WebCrypto uses it.
> >
> > > >
> >
> > > >                                 Cheers,
> >
> > > >                                 -- Mike
> >
> > > >
> >
> > > > -----Original Message-----
> >
> > > > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> >
> > > > Sent: Friday, December 27, 2013 6:46 PM
> >
> > > > To: Mike Jones
> >
> > > > Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com><mailto:ryan-i=
etf@sleevi.com<mailto:ryan-ietf@sleevi.com>>; John Bradley;
> > > jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
> >
> > > > Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >
> > > > coordinate with WebCrypto
> >
> > > >
> >
> > > > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> >
> > > > >  I disagree that "use" allows multiple uses.  Sign/Verify both us=
e
> >
> > > > > the same  algorithm with the same key - just in a
> > producer/consumer
> > > role.
> >
> > > > > There  would only be a security problem if the same key was used
> >
> > > > > with
> >
> > > > > *different*  algorithms.
> >
> > > > >
> >
> > > > >  For symmetric keys, Sign/Verify operations are actually the same=
,
> >
> > > > > so in  that case, this is a distinction without a difference.
> >
> > > > >
> >
> > > > >  You may consider the producer/consumer distinction to be multipl=
e
> >
> > > > > uses,  but only in an academic sense.  You have to perform both
> >
> > > > > with the same key  pair or symmetric key for the end-to-end
> >
> > > > > cryptography to
> >
> > > > be meaningful.
> >
> > > > >  Doing one without the other is incomplete.  (What good is signin=
g
> >
> > > > > if the  signature is never verified?)
> >
> > > >
> >
> > > > Hi Mike,
> >
> > > >
> >
> > > > I don't think it's fair to compare them as the same, and it's very
> >
> > > > much a practical, and not an academic case.
> >
> > > >
> >
> > > > In a Sign() operation, the input is arbitrary plaintext and the
> >
> > > > output is a signature corresponding to that plaintext; an oracle, i=
f
> >
> > > > you will - as you would want.
> >
> > > >
> >
> > > > In an API (although not necessarily in JWE/JWS, and understandably
> >
> > > > so), a
> >
> > > > Verify() operation permits arbitrary plaintext as the input, but
> >
> > > > also requires the signature to be verified. The only output is a
> >
> > > > boolean - whether or not the signature is correct.
> >
> > > >
> >
> > > > The goal of "restricting" the uses here would be to allow key
> >
> > > > storage not necessarily under the control of the caller. In
> >
> > > > WebCrypto, this is the distinction between the executing JS (served
> >
> > > > by the web page) and the UA implementation. It's a concept borrowed
> >
> > > > from any number of other good cryptographic APIs (eg: those that ar=
e
> >
> > > > designed with the notion of opaque key storage)
> >
> > > >
> >
> > > > With a symmetric key only permitted for a "Verify" operation, the
> >
> > > > only way to generate a signature for an arbitrary message is
> >
> > > > a) Compromise the key storage
> >
> > > > b) Iterate through all possible signature combinations until you ge=
t
> >
> > > > "true" as the Verify() result.
> >
> > > >
> >
> > > > b) may be aided by any number of implementation issues (eg:
> >
> > > > non-constant time comparisons, among others), but is ultimately
> >
> > > > "tricky". a) is dependent on implementations, and can be aided or
> >
> > > > harmed through a variety of means.
> >
> > > >
> >
> > > > Combining these two usages into a single use case - which, I agree,
> >
> > > > is probably perfectly acceptable if imagining as a transport-only
> >
> > > > exchange
> >
> > > > -
> >
> > > > can thus have real and meaningful differences when used at an API
> > > level.
> >
> > > >
> >
> > > > >
> >
> > > > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
> >
> > > > > distinctions, but also only use a single key with a single
> >
> > > > > algorithm - therefore no security problem.
> >
> > > > >
> >
> > > > >  =3D=3D=3D=3D
> >
> > > > >
> >
> > > > >  For what it's worth, I think the different key use representatio=
n
> >
> > > > > choices  stems from JOSE being a high-level API that tries to mak=
e
> >
> > > > > simple things  simple and WebCrypto being a low-level API that
> >
> > > > > tries
> >
> > > > to
> >
> > > > be complete.
> >
> > > > >  Both are valid and useful.  These differences show up in lots of
> >
> > > > > places  besides just key usage representations.
> >
> > > >
> >
> > > > Absolutely agree here. This is why WebCrypto explored whether we
> >
> > > > should do something "JWK-like", but suitable at an API layer and fo=
r
> >
> > > > it's goals, and "trivially" convertable with JWK - but by script
> >
> > > > authors. The WebCrypto WG wasn't fond of it, which is
> >
> > > > understandable, and why I'm here.
> >
> > > >
> >
> > > > >
> >
> > > > >  Anyway, the purpose of my proposal is to try to make things
> >
> > > > > easier for  WebCrypto.  I hope people will get behind it.  Yes,
> >
> > > > > having both simple and  detailed key usage representations seems
> > odd
> > > at first.
> >
> > > > > But they're  designed to address different goals for different
> >
> > > > > kinds
> >
> > > > of
> >
> > > > applications.
> >
> > > > >  The alternatives (such as "signOnly,verifyOnly", etc.) that are
> >
> > > > > currently  being considered are much worse.
> >
> > > > >
> >
> > > > >                               -- Mike
> >
> > > >
> >
> > > > I agree that changing to an array will almost certainly break every
> >
> > > > implementation to date.
> >
> > > >
> >
> > > > I agree that comma-separated is horribad and should be avoided, eve=
n
> >
> > > > if it "solves" the backwards compat issue.
> >
> > > >
> >
> > > > I think your solution is a reasonable attempt to mediate the issues
> >
> > > > of backwards compatibility with the use cases of WebCrypto. However=
,
> >
> > > > I'm still on the fence as to whether or not it really is
> >
> > > > unreasonable to "break"
> >
> > > > backwards compatibility here - there seems to be a compelling case
> >
> > > > here as to why even something like ["sign", "verify"] should be
> >
> > > > distinct usages.
> >
> > > > I
> >
> > > > know the bar is incredibly high right now, given JOSE's momentum,
> >
> > > > but I didn't think that JOSE was past the point of no return.
> >
> > > >
> >
> > > > >
> >
> > > > >  -----Original Message-----
> >
> > > > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> >
> > > > >  Sent: Friday, December 27, 2013 2:13 PM
> >
> > > > >  To: John Bradley
> >
> > > > >  Cc: Mike Jones; jose@ietf.org<mailto:jose@ietf.org><mailto:jose@=
ietf.org>
> >
> > > > >  Subject: Re: [jose] Two proposed JOSE spec actions to more
> >
> > > > > closely coordinate with WebCrypto
> >
> > > > >
> >
> > > > >  I'm sorry, John, but by your logic, JOSE is not following your
> >
> > > > > own
> >
> > > > advice.
> >
> > > > >
> >
> > > > >  "enc" is already a multiple-use for a key - it allows for both
> >
> > > > > encryption  and decryption. For that matter, wrap and unwrap,
> >
> > > > > which are supposed to be  inferred based on algorithm, which is a
> >
> > > > > JWE/JWS specific aspect, and not  an intrinsic aspect of
> >
> > > > JWK-as-key-representation.
> >
> > > > >
> >
> > > > >  Likewise, "sig" implies sign AND verify, which is meant to be
> >
> > > > > unambiguous,  because the assumption is always that you sign with
> >
> > > > > a private key and  verify with a public key, but as a conceptual
> >
> > > > > framework breaks down for  schemes like HMAC, which ostensibly
> >
> > > > > have sign and verify (or MAC and  verify, if you prefer, but we'r=
e
> >
> > > > splitting
> >
> > > > hairs here).
> >
> > > > >
> >
> > > > >  WebCrypto desires to be *more* precise than JOSE's imprecise and
> >
> > > > > overly  broad, implicitly multi-use syntax. That "enc" means four
> >
> > > > > possible uses,  or that "sig" means two , is a clear sign that
> >
> > > > > JOSE is already actively  encouraging multiple uses for the same
> > > key.
> >
> > > > >
> >
> > > > >  Mike's proposal is basically an admission that the ship has
> >
> > > > > sailed on this  implicit, multi-valued usage semantic - which, I
> >
> > > > > can understand and  sympathize with, in the name of backwards
> >
> > > > > compatibility for an in-draft  spec, but let's recognize that as
> >
> > > > > spec'd today, JOSE is preferring and  encouraging multiple uses
> >
> > > > > for the same key in ways that will  unquestionably encourage
> >
> > > > > people to make bad mistakes (such as multiple  parties using the
> >
> > > > > same encryption key for traffic in either direction -  requiring
> >
> > > > > some degree of IV sync)
> >
> > > > >
> >
> > > > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> >
> > > > > >  Having it be an array encourages multiple uses for the same
> >
> > > > > > key.  I have  stated many times that encouraging people to do
> >
> > > > > > that is not a good idea,  and making it easy makes people think
> > it
> > > is a good idea.
> >
> > > > > >
> >
> > > > > >  You can use the single value field and have multiple entries
> >
> > > > > > with different key containing the same or different keys to do
> >
> > > > > > the same thing.
> >
> > > > > >
> >
> > > > > >  On the practical side "use_details" is better than creating
> >
> > > > > > crazy dot separated como uses.
> >
> > > > > >
> >
> > > > > >  John B.
> >
> > > > > >
> >
> > > > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> >
> > > > > > <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com=
><mailto:Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>>
> >
> > > > > >  wrote:
> >
> > > > > >
> >
> > > > > > > Hi all,
> >
> > > > > > >
> >
> > > > > > > Having reflected upon discussions among WebCrypto and JOSE
> >
> > > > > > > participants about JWK usage by WebCrypto over the holidays,
> >
> > > > > > > I'd like to propose the two JOSE spec actions to more closely
> >
> > > > > > > coordinate
> >
> > > > > > with WebCrypto:
> >
> > > > > > >
> >
> > > > > > > 1.  Change the JWA registry field name from "Implementation
> >
> > > > > > > Requirements" to "JOSE Implementation Requirements" in the
> >
> > > > > > > JSON Web Signature and Encryption Algorithms Registry (
> >
> > > > http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#s=
e
> >
> > > > ction-7.1
> >
> > > > ).
> >
> > > > > > >  This will make it clearer that the Implementation
> >
> > > > > > > Requirements apply only to JWS and JWE implementations - and
> >
> > > > > > > not other uses of JWK (such as WebCrypto).  This changes only
> >
> > > > > > > non-normative text and is
> >
> > > > > > non-breaking.
> >
> > > > > > >
> >
> > > > > > > 2.  Define the new JWK field "use_details" for recording
> >
> > > > > > > intended fine-grained key usage information.  This would
> >
> > > > > > > enable WebCrypto KeyUsage
> >
> > > > > > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overv=
i
> >
> > > > > > > ew.h
> >
> > > > > > > tm
> >
> > > > > > > l#key-interface) values to be used directly with JWK.  The
> >
> > > > > > > proposed definition is:
> >
> > > > > > >
> >
> > > > > > > 3.3.  "use_details" (Key Use Details) Parameter
> >
> > > > > > >    The "use_details" (key use details) member identifies
> >
> > > > fine-grained
> >
> > > > > > >    details the intended use of the key.  Its value is an arra=
y
> > > of
> >
> > > > > > >    key use details values.  Values defined by this
> >
> > > > > > > specification
> >
> > > > are:
> >
> > > > > > >
> >
> > > > > > >    o  "sign" (compute signature or MAC)
> >
> > > > > > >    o  "verify" (verify signature or MAC)
> >
> > > > > > >    o  "encrypt" (encrypt content)
> >
> > > > > > >    o  "decrypt" (decrypt content and verify decryption, if
> >
> > > > applicable)
> >
> > > > > > >    o  "wrap" (encrypt key)
> >
> > > > > > >    o  "unwrap" (decrypt key and verify decryption, if
> > > applicable)
> >
> > > > > > >    o  "deriveKey" (derive key)
> >
> > > > > > >    o  "deriveBits" (derive bits not to be used as a key)
> >
> > > > > > >
> >
> > > > > > >    Other values MAY be used.  Key Use Details values can be
> >
> > > > registered
> >
> > > > > > >    in the IANA JSON Web Key Use Details registry defined in
> >
> > > > > > > Section
> >
> > > > > > 7.3.
> >
> > > > > > >    The use details values are case-sensitive strings.
> >
> > > > > > >    Duplicate use details values MUST NOT be present in the
> > > array.
> >
> > > > > > >    Use of the "use_details" member is OPTIONAL, unless the
> >
> > > > application
> >
> > > > > > >    requires use this member to record fine-grained key usage
> >
> > > > details.
> >
> > > > > > >    (Note that the "use_details" values intentionally match th=
e
> >
> > > > > > > "KeyUsage"
> >
> > > > > > >    values defined in the WebCrypto [WebCrypto] specification.=
)
> >
> > > > > > >
> >
> > > > > > >    If both "use" and "use_details" JWK members are present,
> >
> > > > > > > the
> >
> > > > usages
> >
> > > > > > >    specified by them MUST be consistent.  In particular, the
> > > "use"
> >
> > > > > > value
> >
> > > > > > >    "sig" corresponds to "sign" and/or "verify".  The "use"
> > value
> >
> > > > > > >    "enc" corresponds to all other values defined above.
> >
> > > > > > >    If "use_details" values corresponding to both "sig" and
> > "enc"
> >
> > > > > > >    "use" values are present, the "use" member SHOULD NOT be
> >
> > > > present,
> >
> > > > > > >    and if present, its value MUST NOT be either "sig" or
> > "enc".
> >
> > > > > > >
> >
> > > > > > > This is a non-breaking change - allowing simple applications
> >
> > > > > > > that want to distinguish between signing and encryption
> >
> > > > > > > operations to continue doing so as they do today, while also
> >
> > > > > > > providing a multi-valued key usage details field to be used b=
y
> >
> > > > > > > applications that want to record fine-grained distinctions
> >
> > > > > > > among potential key usages, including distinguishing between
> >
> > > > > > > producer and consumer
> >
> > > > operations.
> >
> > > > > > >
> >
> > > > > > > As I see it, while having two related key usage
> >
> > > > > > > representations isn't ideal, it's far better than having
> > > WebCrypto overload "use"
> >
> > > > > > > with multi-valued values encoded in strings, such as
> >
> > > > > > > "signOnly,verifyOnly", which I believe is their current plan
> >
> > > > > > > of
> >
> > > > > > record.
> >
> > > > > > >
> >
> > > > > > > Comments?
> >
> > > > > > >
> >
> > > > > > >                                                             -=
-
> >
> > > > > > > Mike
> >
> > > > > > >
> >
> > > > > > > P.S.  This proposal was already discussed on the WebCrypto
> >
> > > > > > > list in the thread
> >
> > > > > > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/=
0052.
> >
> > > > > > > ht ml and no objections were raised there that I'm aware of.
> >
> > > > > > >
> >
> > > > > > > _______________________________________________
> >
> > > > > > > jose mailing list
> >
> > > > > > > jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
> >
> > > > > > > https://www.ietf.org/mailman/listinfo/jose
> >
> > > > > >
> >
> > > > > >  _______________________________________________
> >
> > > > > >  jose mailing list
> >
> > > > > >  jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
> >
> > > > > >  https://www.ietf.org/mailman/listinfo/jose
> >
> > > > > >
> >
> > > > >
> >
> > > > >
> >
> > > > >  _______________________________________________
> >
> > > > >  jose mailing list
> >
> > > > >  jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
> >
> > > > >  https://www.ietf.org/mailman/listinfo/jose
> >
> > > > >
> >
> > > >
> >
> > > > _______________________________________________
> >
> > > > jose mailing list
> >
> > > > jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
> >
> > > > https://www.ietf.org/mailman/listinfo/jose
> >
> > > >
> >
> > >  _______________________________________________
> >
> > >  jose mailing list
> >
> > >  jose@ietf.org<mailto:jose@ietf.org><mailto:jose@ietf.org>
> >
> > >  https://www.ietf.org/mailman/listinfo/jose
> >
> > >
> >
> >
> >
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org<mailto:jose@ietf.org>
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
>
>  _______________________________________________
>  jose mailing list
>  jose@ietf.org<mailto:jose@ietf.org>
>  https://www.ietf.org/mailman/listinfo/jose
>


_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose


--_000_4E1F6AAD24975D4BA5B16804296739437CDA8FEATK5EX14MBXC286r_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Where I think we are is c=
hoosing the right name for the extended key use field.&nbsp; Names that hav=
e been discussed are:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_details &#8=
211; which I no longer think is the right name<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ku (key usage) =
&#8211; I think this name would be misleading<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eku (extended k=
ey usage) &#8211; I think this would be fine<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uses &#8211; I =
also think this would be fine<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">And I think we&#8217;re a=
lso waiting for people to weigh in on the proposal that &#8220;use&#8221; n=
o longer be so strongly recommended, in light of the fact that it&#8217;s d=
esigned
 for distinguishing between public key usages &#8211; not all key usages.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;m sure that this =
will be discussed during the call on Monday at 1900 EDT, 1600 PDT.&nbsp; Se=
e the thread &#8220;[jose] JOSE WG virtual interim, Monday 13 January 2014,
 2400 UTC&#8221; for call-in instructions.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mark Wat=
son [mailto:watsonm@netflix.com]
<br>
<b>Sent:</b> Tuesday, January 07, 2014 1:04 PM<br>
<b>To:</b> John Bradley<br>
<b>Cc:</b> Mike Jones; Richard Barnes; ryan-ietf@sleevi.com; jose@ietf.org<=
br>
<b>Subject:</b> Re: [jose] Two proposed JOSE spec actions to more closely c=
oordinate with WebCrypto<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">So, where are we with this one ?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I am fine with either Mike's proposal or Richard's (=
revised) proposal. Defining a new attribute was what I originally proposed =
in WebCrypto. The objections to that were related to backwards-compatibilit=
y and consistency between the two
 attributes, however I think if JOSE specifies the new attribute and the in=
teraction with the existing one (as discussed in this thread) then those co=
ncerns may be mitigated. Or, if appropriate, WebCrypto could register a new=
 attribute with guidance on those
 issues from JOSE.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Mon, Jan 6, 2014 at 4:43 PM, John Bradley &lt;<a =
href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank">ve7jtb@ve7jtb.com</a>&g=
t; wrote:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">Use was originally optional so going back to that is=
 fine.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Having the Web Crypto WG sort out meta-data for key =
usage by the crypto subsystem and or secure storage with other elements is =
fine with me.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I think they are different use cases one for private=
 or secret keys and the other for public keys.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I do think that for storage restricting the alg will=
 be required if disclosure to the application layer is to be prevented, but=
 the WC WG can work on that without holding up the JWK spec as long as they=
 have the extension point.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">John B.<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Dec 31, 2013, at 4:18 PM, Mike Jones &lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The context that some par=
ticipants may not be keeping in mind is that when &#8220;use&#8221; was def=
ined, JWKs were intentionally limited to representing public keys.&nbsp;
 The &#8220;use&#8221; field is used for distinguishing between public sign=
ing keys and encryption keys.&nbsp; The use case where a set of public keys=
 is publicly advertised for use by a protocol participant is quite common. =
&nbsp;&#8220;use&#8221; is intentionally designed for that use case
 and works great there.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sometime later, we added =
the ability to represent private and symmetric keys to JWK &#8211; at the r=
equest of the WebCrypto WG.&nbsp; This expanded the possible use cases
 for JWKs to include transporting non-public keys between protocol particip=
ants.&nbsp; With the addition of non-public keys, additional key uses becam=
e possible, including the possibility of the same key being legally used fo=
r two things (signing/verification, etc.).&nbsp;
 The &#8220;use_details&#8221; representation makes sense for those use cas=
es.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;d be fine relaxin=
g the language saying that &#8220;use&#8221; must be present, because I agr=
ee it&#8217;s not a good fit if non-public keys are present.&nbsp; I suspec=
t not requiring
 &#8220;use&#8221; would make people happier in the non-public use cases.&n=
bsp; And we could explicitly say that &#8220;use&#8221; is intended for use=
 cases where only public keys are present.&nbsp; Do people agree with this =
change?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Given our goal of keeping=
 simple things simple, I believe that &#8220;use&#8221; should be retained =
as-is for the very common use case of sets of public keys.&nbsp; It already
 works great there.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;d also be fine sa=
ying that applications should specify which of &#8220;use&#8221; and &#8220=
;use_details&#8221; they will use and that the other will be ignored.&nbsp;=
 I&#8217;m also fine changing
 the name of &#8220;use_details&#8221; to &#8220;eku&#8221; (extended key u=
sages) or something similar &#8211; reflecting the fact that then &#8220;us=
e&#8221; and &#8220;eku&#8221; aren&#8217;t intended to be used together.&n=
bsp; And we would say that this field is intended for use cases where both =
public and non-public
 keys may be present.&nbsp; Do people agree with this change?&nbsp; If so, =
what name do you want us to use for the expanded key usages field?</span><o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">&nbsp;Ric=
hard Barnes [<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">mailto:rlb@ipv=
.sx</a>]&nbsp;<br>
<b>Sent:</b>&nbsp;Tuesday, December 31, 2013 9:03 AM<br>
<b>To:</b>&nbsp;Mike Jones<br>
<b>Cc:</b>&nbsp;<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">r=
yan-ietf@sleevi.com</a>; John Bradley;
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<b>Subject:</b>&nbsp;Re: [jose] Two proposed JOSE spec actions to more clos=
ely coordinate with WebCrypto</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal">However, in advocating for two, parallel extensions =
to JWK for essentially the same purpose, you're basically arguing that &quo=
t;use&quot; is not generally applicable to JWK -- it applies to OpenID/SAML=
-like stuff, but not much more broadly.&nbsp; (You
 can't really say the same thing about the more detailed version, since it'=
s a superset.)&nbsp; But if &quot;use&quot; is not a generally useful featu=
re of JWK, then it shouldn't be part of the spec.<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">In other words, if a =
feature is going to be part of the JWK spec, then it needs to meet the requ=
irements that participants in this group put forth.&nbsp; If we're choosing=
 not to meet those requirements (as &quot;use&quot;
 does not), then it needs to come out of the spec.<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">I think there's still room for compromise here (see =
my other reply on the proposal directly).&nbsp; But if there's no compromis=
e, then there's no consensus, and &quot;use&quot; needs to go.<o:p></o:p></=
p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">--Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones &lt;<a h=
ref=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank"><span style=3D=
"color:purple">Michael.Jones@microsoft.com</span></a>&gt; wrote:<o:p></o:p>=
</p>
</div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">There's nothing wrong with different us=
e cases with different needs supplying different key metadata.<br>
<br>
The ability to do that is an indication of the versatility and usefulness o=
f the JWK format - not a deficiency.</span><o:p></o:p></p>
</div>
</div>
<div>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"3" width=3D"100%" align=3D"center">
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;">From:&nbsp;</span></b><span style=3D=
"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><=
a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=3D"col=
or:purple">Ryan
 Sleevi</span></a></span><br>
<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">Sent:&nbsp;</span></b><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;">12/30/2013 1:55 PM</span=
><br>
<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">To:&nbsp;</span></b><span style=3D"font-size:11.0pt;font-fa=
mily:&quot;Calibri&quot;,&quot;sans-serif&quot;"><a href=3D"mailto:Michael.=
Jones@microsoft.com" target=3D"_blank"><span style=3D"color:purple">Mike Jo=
nes</span></a></span><br>
<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">Cc:&nbsp;</span></b><span style=3D"font-size:11.0pt;font-fa=
mily:&quot;Calibri&quot;,&quot;sans-serif&quot;"><a href=3D"mailto:Michael.=
Jones@microsoft.com" target=3D"_blank"><span style=3D"color:purple">Mike Jo=
nes</span></a>;&nbsp;<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_bla=
nk"><span style=3D"color:purple">ryan-ietf@sleevi.com</span></a>;&nbsp;<a h=
ref=3D"mailto:rlb@ipv.sx" target=3D"_blank"><span style=3D"color:purple">Ri=
chard
 Barnes</span></a>;&nbsp;<a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_bl=
ank"><span style=3D"color:purple">John Bradley</span></a>;&nbsp;<a href=3D"=
mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">jose@i=
etf.org</span></a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">Subject:&nbsp;</span></b><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Re: [jose] Two propos=
ed JOSE spec actions to more closely coordinate with WebCrypto</span><o:p><=
/o:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"font-s=
ize:10.0pt">On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:<br>
&gt;&nbsp; ... and lest there be any confusion, the JWK spec doesn't requir=
e the use<br>
&gt;&nbsp; of &quot;use&quot;.&nbsp; WebCrypto can specify that it not be u=
sed and require the use<br>
&gt;&nbsp; of &quot;use_details&quot; if that best meets the needs of your =
use case.<br>
<br>
So you're still arguing for two, incompatible ways of expressing use<br>
within the base spec. The current draft (-19) proposes that &quot;A 'use'<b=
r>
member SHOULD be present, unless the application uses another means or<br>
convention to determine the intended key usage&quot;.<br>
<br>
That is, if draft-19 were pushed to WGLC, it would leave authors confused<b=
r>
as to when to use either. As specified, the language still strongly<br>
prefers &quot;use&quot;, and continues to suggest &quot;use_details&quot; a=
s a subset, when<br>
it's not really.<br>
<br>
Richard's solution is much more sensible, in that it makes it clear that<br=
>
there is a single clean way to communicate use going forward, and a<br>
deprecated way from existing specs. Existing keys can continue to be<br>
imported into new versions of the spec - it's only an issue when a new<br>
version of the spec is used to interoperate with an older version. I don't<=
br>
think it's fair to suggest that's &quot;backwards compatibility&quot; - tha=
t's an<br>
issue of &quot;forwards compatibility&quot;, and one that is far trickier t=
o get<br>
right, and arguably far less important here - and one that can be<br>
addressed in *new* implementations by choice or config.<br>
<br>
Let me try to state the problem differently:<br>
<br>
Is &quot;use&quot; generically suitable for use cases of JWK? Can you envis=
ion other<br>
scenarios where it can be gracefully extended?<br>
<br>
As I see it, the answer is clearly &quot;no&quot;, as already evidenced by<=
br>
WebCrypto's intended use, but also demonstrated by Axel's example of &quot;=
do<br>
not want&quot; (which is X.509's 'extended key usages' field). As such, we<=
br>
should try to fix that spec before finalizing, rather than bolt-on<br>
additions and try to rush things through WGLC, or we should accept that<br>
this is a problem the spec/spec authors are not interested in solving<br>
cleanly, and WebCrypto can move to a solution that does.<br>
<br>
Both specs are still in their infancy of both implementation and adoption<b=
r>
and we should try to do things right while we can.<br>
<br>
&gt;&nbsp; ________________________________<br>
&gt;&nbsp; From: Mike Jones&lt;<a href=3D"mailto:Michael.Jones@microsoft.co=
m" target=3D"_blank"><span style=3D"color:purple">mailto:Michael.Jones@micr=
osoft.com</span></a>&gt;<br>
&gt;&nbsp; Sent: =FD12/=FD30/=FD2013 1:12 PM<br>
&gt;&nbsp; To:&nbsp;<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blan=
k"><span style=3D"color:purple">ryan-ietf@sleevi.com</span></a>&lt;mailto:<=
a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=3D"col=
or:purple">ryan-ietf@sleevi.com</span></a>&gt;<br>
&gt;&nbsp; Cc: Richard Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_b=
lank"><span style=3D"color:purple">mailto:rlb@ipv.sx</span></a>&gt;; John<b=
r>
&gt;&nbsp; Bradley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank=
"><span style=3D"color:purple">mailto:ve7jtb@ve7jtb.com</span></a>&gt;;&nbs=
p;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:p=
urple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose@ietf.org" target=
=3D"_blank"><span style=3D"color:purple">mailto:jose@ietf.org</span></a>&gt=
;<br>
&gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec actions to more close=
ly<br>
&gt;&nbsp; coordinate with WebCrypto<br>
&gt;<br>
&gt;&nbsp; Ryan, this isn't an either-or situation. JWK is intended to be a=
 general<br>
&gt;&nbsp; key representation format. It's extensible exactly so informatio=
n for any<br>
&gt;&nbsp; use cases that need info not in the base spec can add it.&nbsp; =
I'm still<br>
&gt;&nbsp; puzzled why some in WebCrypo felt uncomfortable using this exten=
sibility<br>
&gt;&nbsp; by defining and registering a new field for WebCrypyo's represen=
tation of<br>
&gt;&nbsp; use info. But observing that to be the case, I'm attempting to b=
e as clear<br>
&gt;&nbsp; as possible (through spec actions!) that there's absolutely no r=
eason for<br>
&gt;&nbsp; WebCrypto not to use JWK.<br>
&gt;<br>
&gt;&nbsp; There's no plans to &quot;continue to evolve JWK to parallel the=
 SAML<br>
&gt;&nbsp; workflows&quot; that I'm aware of. Rather, I believe the only fu=
rther addition<br>
&gt;&nbsp; being considered before completing the spec is one motivated by<=
br>
&gt;&nbsp; WebCrypto's use case rather than SAML - &quot;use_details&quot;.=
<br>
&gt;<br>
&gt;&nbsp; I believe that the current JWK spec already meets WebCrypto's ne=
eds as-is.<br>
&gt;&nbsp;&nbsp; Is there any reason not to just use it and move on to addr=
essing other<br>
&gt;&nbsp; issues needed to be resolved to complete both JOSE and WebCrypto=
, both of<br>
&gt;&nbsp; which I see as being complementary and important to the industry=
?<br>
&gt;<br>
&gt;&nbsp; -- Mike<br>
&gt;&nbsp; ________________________________<br>
&gt;&nbsp; From: Ryan Sleevi&lt;<a href=3D"mailto:ryan-ietf@sleevi.com" tar=
get=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf@sleevi.com</sp=
an></a>&gt;<br>
&gt;&nbsp; Sent: =FD12/=FD30/=FD2013 12:47 PM<br>
&gt;&nbsp; To: Mike Jones&lt;<a href=3D"mailto:Michael.Jones@microsoft.com"=
 target=3D"_blank"><span style=3D"color:purple">mailto:Michael.Jones@micros=
oft.com</span></a>&gt;<br>
&gt;&nbsp; Cc:&nbsp;<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blan=
k"><span style=3D"color:purple">ryan-ietf@sleevi.com</span></a>&lt;mailto:<=
a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=3D"col=
or:purple">ryan-ietf@sleevi.com</span></a>&gt;; Richard<br>
&gt;&nbsp; Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank"><span =
style=3D"color:purple">mailto:rlb@ipv.sx</span></a>&gt;; John Bradley&lt;<a=
 href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank"><span style=3D"color:p=
urple">mailto:ve7jtb@ve7jtb.com</span></a>&gt;;<br>
&gt;&nbsp;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span st=
yle=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose@iet=
f.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose@ietf.org<=
/span></a>&gt;<br>
&gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec actions to more close=
ly<br>
&gt;&nbsp; coordinate with WebCrypto<br>
&gt;<br>
&gt;&nbsp; On Mon, December 30, 2013 11:40 am, Mike Jones wrote:<br>
&gt; &gt;&nbsp; As further background for the discussion, the current &quot=
;use&quot; definition<br>
&gt; &gt; is<br>
&gt; &gt;&nbsp; based on widely deployed existing practice - the SAML metad=
ata<br>
&gt; &gt;&nbsp; specification<br>
&gt; &gt;&nbsp; (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/s=
aml-metadata-2.0-os.pdf" target=3D"_blank"><span style=3D"color:purple">htt=
p://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf</span><=
/a>),<br>
&gt; &gt;&nbsp; which defines &quot;use&quot; as follows in section&nbsp;<a=
 href=3D"http://2.4.1.1/" target=3D"_blank"><span style=3D"color:purple">2.=
4.1.1</span></a>:<br>
&gt; &gt;&nbsp; use [Optional]<br>
&gt; &gt;&nbsp; Optional attribute specifying the purpose of the key being =
described.<br>
&gt; &gt;&nbsp; Values are drawn from the<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; KeyTypes enumeration, and consist of the values encryption =
and signing.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; This has been shown to be sufficient in practice for its in=
tended<br>
&gt; &gt; purpose,<br>
&gt; &gt;&nbsp; as has the JWK &quot;use&quot; field.<br>
&gt; &gt;<br>
&gt;<br>
&gt;&nbsp; Mike,<br>
&gt;<br>
&gt;&nbsp; I feel like you're arguing all the more strongly for WebCrypto n=
ot to use<br>
&gt;&nbsp; JWK, in that you're arguing that JWK's &quot;intended purpose&qu=
ot; is to match<br>
&gt;&nbsp; SAML. I can understand where this fits within the JWT and OpenID=
 Connect<br>
&gt;&nbsp; workflows, but as a &quot;JSON key description&quot; format, it =
is unquestionably<br>
&gt;&nbsp; much more restrictive and ill-suited.<br>
&gt;<br>
&gt;&nbsp; If the goal is to continue to evolve JWK to parallel the SAML wo=
rkflows,<br>
&gt;&nbsp; then I don't see how WebCrypto can in good conscience encourage =
JWK.<br>
&gt;<br>
&gt;&nbsp; There's nothing preventing authors from translating JWK into any=
 sort of<br>
&gt;&nbsp; API form that WebCrypto requires - much in the same way that the=
y can<br>
&gt;&nbsp; translate the composite JWA algorithms (which are suitable for t=
ransport)<br>
&gt;&nbsp; into WebCrypto's broader, more generic algorithms (which are sui=
table for<br>
&gt;&nbsp; an API targeting application development).<br>
&gt;<br>
&gt;&nbsp; Arguably, the only reasons to use JWK are to prevent introducing=
 &quot;yet<br>
&gt;&nbsp; another key format&quot;. While laudable, if JWK is trying to mi=
rror SAML, then<br>
&gt;&nbsp; it would seem that JWK is not trying to be a key format, per se,=
 and such<br>
&gt;&nbsp; risk would be low.<br>
&gt;<br>
&gt;&nbsp; Again, I'm perfectly fine if JOSE would rather that JWK be kept =
as minimal<br>
&gt;&nbsp; and as specific for the JWT use case, and we can easily use a de=
scriptive<br>
&gt;&nbsp; WebIDL within WebCrypto to describe the key formats it operates =
with (in<br>
&gt;&nbsp; addition to SPKI and PKCS#8). Comments so far from this WG give =
me the<br>
&gt;&nbsp; sense that there's strong opposition by some to seeing JWK evolv=
e to be as<br>
&gt;&nbsp; flexible or generic as SPKI/PKCS#8. That's fine by me, but that'=
s<br>
&gt;&nbsp; extensibility that WebCrypto wants, and if JWK isn't it, we can =
use<br>
&gt;&nbsp; something else. OpenID Connect and JWT can continue to use JWK a=
s suited<br>
&gt;&nbsp; for their needs, and if for some reason someone wants to use JS =
to<br>
&gt;&nbsp; interact with these, they can use a translation shim, just as th=
ey would<br>
&gt;&nbsp; for JWE/JWS or for *any other* cryptographic application, since =
WebCrypto<br>
&gt;&nbsp; is &quot;just&quot; an API.<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; I understand your point, Ryan, that for the WebCrypto API u=
se case,<br>
&gt; &gt; there<br>
&gt; &gt;&nbsp; is sometimes value in distinguishing between the producer a=
nd consumer<br>
&gt; &gt;&nbsp; operations for a key.&nbsp; That's part of why I proposed a=
dding<br>
&gt; &gt; &quot;use_details&quot;,<br>
&gt; &gt;&nbsp; so those distinctions can be made for the use cases where t=
hey do make<br>
&gt; &gt; a<br>
&gt; &gt;&nbsp; difference.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; As for Richard's proposal, the problem with it is that it w=
ould be a<br>
&gt; &gt;&nbsp; breaking change, since if &quot;ku&quot; was present, his p=
roposal would require<br>
&gt; &gt;&nbsp; different treatment of the &quot;use&quot; field (ignoring =
it).&nbsp; My proposal is<br>
&gt; &gt; not<br>
&gt; &gt;&nbsp; a breaking change, since &quot;use&quot; continues to mean =
what it always has.<br>
&gt; &gt;&nbsp; Furthermore, my proposal requires that &quot;use&quot; and =
&quot;use_details&quot; convey<br>
&gt; &gt;&nbsp; consistent information, if both are present.&nbsp; That see=
ms significantly<br>
&gt; &gt;&nbsp; simpler for consumers of JWKs use than requiring conditiona=
l behaviors,<br>
&gt; &gt; as<br>
&gt; &gt;&nbsp; Richard's proposal does.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 Best<br>
&gt; &gt; wishes,<br>
&gt; &gt;<br>
&gt; &gt;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 -- Mike<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; -----Original Message-----<br>
&gt; &gt;&nbsp; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com" =
target=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf@sleevi.com<=
/span></a>]<br>
&gt; &gt;&nbsp; Sent: Monday, December 30, 2013 10:25 AM<br>
&gt; &gt;&nbsp; To: Richard Barnes<br>
&gt; &gt;&nbsp; Cc: Mike Jones;&nbsp;<a href=3D"mailto:ryan-ietf@sleevi.com=
" target=3D"_blank"><span style=3D"color:purple">ryan-ietf@sleevi.com</span=
></a>; John Bradley;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank=
"><span style=3D"color:purple">jose@ietf.org</span></a><br>
&gt; &gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec actions to more =
closely<br>
&gt; &gt;&nbsp; coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<br=
>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" tar=
get=3D"_blank"><span style=3D"color:purple">Michael.Jones@microsoft.com</sp=
an></a>&lt;mailto:<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"=
_blank"><span style=3D"color:purple">Michael.Jones@microsoft.com</span></a>=
&gt;&gt;wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; It's my sense of the JOSE working group that most are s=
trongly<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; opposed to breaking changes at this point.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; Please don't claim to represent the WG.&nbsp; There is=
 a significant<br>
&gt; &gt;<br>
&gt; &gt; &gt; contingent&nbsp; who care about breaking changes, but also a=
 significant<br>
&gt; &gt;<br>
&gt; &gt; &gt; group who would&nbsp; prefer the best, most usable spec we c=
an make,<br>
&gt; &gt;<br>
&gt; &gt; &gt; regardless of the sins of&nbsp; the past.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; However, I also believe that most JOSE participants sha=
re the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; sentiment of many WebCrypto participants that it would =
be better for<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; all for WebCrypto to use real JWKs, rather than somethi=
ng<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;JWK-like&quot;.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp; How about this for a compromise proposal:<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; -- Leave &quot;use&quot; in for backward compatibility=
.<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; -- Define a new field &quot;ku&quot; (Key Usage, or so=
mething similar) that has<br>
&gt; &gt;<br>
&gt; &gt; &gt; detailed key usage information.<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; -- Deprecate &quot;use&quot;, recommending that new ap=
plications use &quot;ku&quot;; if<br>
&gt; &gt;<br>
&gt; &gt; &gt; both&nbsp; are present, &quot;use&quot; MUST be ignored.<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; -- Define the expansion of &quot;use&quot; values to &=
quot;ku&quot; values<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; That doesn't break backward compatibilty, but makes de=
tailed control<br>
&gt; &gt;<br>
&gt; &gt; &gt; the&nbsp; default going forward.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; --Richard<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; As I expressed within WebCrypto, this to me strikes a much =
more<br>
&gt; &gt; sensible<br>
&gt; &gt;&nbsp; balance of backwards compatibility and extensibility, and h=
opefully in<br>
&gt; &gt; a<br>
&gt; &gt;&nbsp; way that allows existing deployments to cleanly transition =
while<br>
&gt; &gt; allowing<br>
&gt; &gt;&nbsp; new deployments to avoid the limitations of the current dra=
fts.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; I very much prefer this over use_details for Web Crypto's u=
se cases.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; I believe my proposal is the best-available solution, =
given the<br>
&gt; &gt;<br>
&gt; &gt; &gt; current<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; realistic constraints.&nbsp; It might have made better =
sense for a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; WebCrypto spec to define &quot;use_details&quot; than J=
OSE, but if WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; isn't going to do it, I believe that we'll all be bette=
r off in the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; long run if JOSE then does and WebCrypto uses it.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cheers,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.c=
om" target=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf@sleevi.=
com</span></a>]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; To: Mike Jones<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Cc:&nbsp;<a href=3D"mailto:ryan-ietf@sleevi.com" target=
=3D"_blank"><span style=3D"color:purple">ryan-ietf@sleevi.com</span></a>&lt=
;mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span sty=
le=3D"color:purple">ryan-ietf@sleevi.com</span></a>&gt;; John Bradley;<br>
&gt; &gt; &gt;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><spa=
n style=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose=
@ietf.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose@ietf.=
org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to m=
ore closely<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; I disagree that &quot;use&quot; allows multi=
ple uses.&nbsp; Sign/Verify both use<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; the same&nbsp; algorithm with the same key - just =
in a<br>
&gt; &gt; producer/consumer<br>
&gt; &gt; &gt; role.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; There&nbsp; would only be a security problem if th=
e same key was used<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; with<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; *different*&nbsp; algorithms.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; For symmetric keys, Sign/Verify operations a=
re actually the same,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; so in&nbsp; that case, this is a distinction witho=
ut a difference.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; You may consider the producer/consumer disti=
nction to be multiple<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; uses,&nbsp; but only in an academic sense.&nbsp; Y=
ou have to perform both<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; with the same key&nbsp; pair or symmetric key for =
the end-to-end<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; cryptography to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; be meaningful.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Doing one without the other is incomplete.&n=
bsp; (What good is signing<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; if the&nbsp; signature is never verified?)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Mike,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I don't think it's fair to compare them as the same, an=
d it's very<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; much a practical, and not an academic case.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; In a Sign() operation, the input is arbitrary plaintext=
 and the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; output is a signature corresponding to that plaintext; =
an oracle, if<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; you will - as you would want.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; In an API (although not necessarily in JWE/JWS, and und=
erstandably<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; so), a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Verify() operation permits arbitrary plaintext as the i=
nput, but<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; also requires the signature to be verified. The only ou=
tput is a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; boolean - whether or not the signature is correct.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; The goal of &quot;restricting&quot; the uses here would=
 be to allow key<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; storage not necessarily under the control of the caller=
. In<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; WebCrypto, this is the distinction between the executin=
g JS (served<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; by the web page) and the UA implementation. It's a conc=
ept borrowed<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; from any number of other good cryptographic APIs (eg: t=
hose that are<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; designed with the notion of opaque key storage)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; With a symmetric key only permitted for a &quot;Verify&=
quot; operation, the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; only way to generate a signature for an arbitrary messa=
ge is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; a) Compromise the key storage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; b) Iterate through all possible signature combinations =
until you get<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;true&quot; as the Verify() result.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; b) may be aided by any number of implementation issues =
(eg:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; non-constant time comparisons, among others), but is ul=
timately<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;tricky&quot;. a) is dependent on implementations,=
 and can be aided or<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; harmed through a variety of means.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Combining these two usages into a single use case - whi=
ch, I agree,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; is probably perfectly acceptable if imagining as a tran=
sport-only<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; exchange<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; -<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; can thus have real and meaningful differences when used=
 at an API<br>
&gt; &gt; &gt; level.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Likewise, Encrypt/Decrypt and Wrap/Unwrap ma=
ke producer/consumer<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; distinctions, but also only use a single key with =
a single<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; algorithm - therefore no security problem.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; =3D=3D=3D=3D<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; For what it's worth, I think the different k=
ey use representation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; choices&nbsp; stems from JOSE being a high-level A=
PI that tries to make<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; simple things&nbsp; simple and WebCrypto being a l=
ow-level API that<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; tries<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; be complete.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Both are valid and useful.&nbsp; These diffe=
rences show up in lots of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; places&nbsp; besides just key usage representation=
s.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Absolutely agree here. This is why WebCrypto explored w=
hether we<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; should do something &quot;JWK-like&quot;, but suitable =
at an API layer and for<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; it's goals, and &quot;trivially&quot; convertable with =
JWK - but by script<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; authors. The WebCrypto WG wasn't fond of it, which is<b=
r>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; understandable, and why I'm here.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Anyway, the purpose of my proposal is to try=
 to make things<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; easier for&nbsp; WebCrypto.&nbsp; I hope people wi=
ll get behind it.&nbsp; Yes,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; having both simple and&nbsp; detailed key usage re=
presentations seems<br>
&gt; &gt; odd<br>
&gt; &gt; &gt; at first.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; But they're&nbsp; designed to address different go=
als for different<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; kinds<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; applications.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; The alternatives (such as &quot;signOnly,ver=
ifyOnly&quot;, etc.) that are<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; currently&nbsp; being considered are much worse.<b=
r>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&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; -- Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I agree that changing to an array will almost certainly=
 break every<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; implementation to date.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I agree that comma-separated is horribad and should be =
avoided, even<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; if it &quot;solves&quot; the backwards compat issue.<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I think your solution is a reasonable attempt to mediat=
e the issues<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; of backwards compatibility with the use cases of WebCry=
pto. However,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I'm still on the fence as to whether or not it really i=
s<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; unreasonable to &quot;break&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; backwards compatibility here - there seems to be a comp=
elling case<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; here as to why even something like [&quot;sign&quot;, &=
quot;verify&quot;] should be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; distinct usages.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; know the bar is incredibly high right now, given JOSE's=
 momentum,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; but I didn't think that JOSE was past the point of no r=
eturn.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; -----Original Message-----<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; From: Ryan Sleevi [<a href=3D"mailto:ryan-ie=
tf@sleevi.com" target=3D"_blank"><span style=3D"color:purple">mailto:ryan-i=
etf@sleevi.com</span></a>]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Sent: Friday, December 27, 2013 2:13 PM<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; To: John Bradley<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Cc: Mike Jones;&nbsp;<a href=3D"mailto:jose@=
ietf.org" target=3D"_blank"><span style=3D"color:purple">jose@ietf.org</spa=
n></a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D=
"color:purple">mailto:jose@ietf.org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec a=
ctions to more<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; closely coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; I'm sorry, John, but by your logic, JOSE is =
not following your<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; own<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; advice.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; &quot;enc&quot; is already a multiple-use fo=
r a key - it allows for both<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; encryption&nbsp; and decryption. For that matter, =
wrap and unwrap,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; which are supposed to be&nbsp; inferred based on a=
lgorithm, which is a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; JWE/JWS specific aspect, and not&nbsp; an intrinsi=
c aspect of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; JWK-as-key-representation.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Likewise, &quot;sig&quot; implies sign AND v=
erify, which is meant to be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; unambiguous,&nbsp; because the assumption is alway=
s that you sign with<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; a private key and&nbsp; verify with a public key, =
but as a conceptual<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; framework breaks down for&nbsp; schemes like HMAC,=
 which ostensibly<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; have sign and verify (or MAC and&nbsp; verify, if =
you prefer, but we're<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; splitting<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; hairs here).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; WebCrypto desires to be *more* precise than =
JOSE's imprecise and<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; overly&nbsp; broad, implicitly multi-use syntax. T=
hat &quot;enc&quot; means four<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; possible uses,&nbsp; or that &quot;sig&quot; means=
 two , is a clear sign that<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; JOSE is already actively&nbsp; encouraging multipl=
e uses for the same<br>
&gt; &gt; &gt; key.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Mike's proposal is basically an admission th=
at the ship has<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; sailed on this&nbsp; implicit, multi-valued usage =
semantic - which, I<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; can understand and&nbsp; sympathize with, in the n=
ame of backwards<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; compatibility for an in-draft&nbsp; spec, but let'=
s recognize that as<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; spec'd today, JOSE is preferring and&nbsp; encoura=
ging multiple uses<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; for the same key in ways that will&nbsp; unquestio=
nably encourage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; people to make bad mistakes (such as multiple&nbsp=
; parties using the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; same encryption key for traffic in either directio=
n -&nbsp; requiring<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; some degree of IV sync)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; On Tue, December 24, 2013 4:27 pm, John Brad=
ley wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; Having it be an array encourages multip=
le uses for the same<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; key.&nbsp; I have&nbsp; stated many times tha=
t encouraging people to do<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; that is not a good idea,&nbsp; and making it =
easy makes people think<br>
&gt; &gt; it<br>
&gt; &gt; &gt; is a good idea.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; You can use the single value field and =
have multiple entries<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with different key containing the same or dif=
ferent keys to do<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; the same thing.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; On the practical side &quot;use_details=
&quot; is better than creating<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; crazy dot separated como uses.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; John B.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; On Dec 24, 2013, at 8:26 PM, Mike Jones=
<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft=
.com" target=3D"_blank"><span style=3D"color:purple">Michael.Jones@microsof=
t.com</span></a>&lt;mailto:<a href=3D"mailto:Michael.Jones@microsoft.com" t=
arget=3D"_blank"><span style=3D"color:purple">Michael.Jones@microsoft.com</=
span></a>&gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among =
WebCrypto and JOSE<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypt=
o over the holidays,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; I'd like to propose the two JOSE spec ac=
tions to more closely<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; coordinate<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with WebCrypto:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 1.&nbsp; Change the JWA registry field n=
ame from &quot;Implementation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Impleme=
ntation Requirements&quot; in the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algori=
thms Registry (<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&nbsp;<a href=3D"http://tools.ietf.org/html/draft-ietf-j=
ose-json-web-algorithms-18#se" target=3D"_blank"><span style=3D"color:purpl=
e">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se</sp=
an></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; ction-7.1<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; ).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp; This will make it clearer that the=
 Implementation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE i=
mplementations - and<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto=
).&nbsp; This changes only<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; non-normative text and is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; non-breaking.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 2.&nbsp; Define the new JWK field &quot;=
use_details&quot; for recording<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; intended fine-grained key usage informat=
ion.&nbsp; This would<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; (<a href=3D"https://dvcs.w3.org/hg/webcr=
ypto-api/raw-file/tip/spec/Overvi" target=3D"_blank"><span style=3D"color:p=
urple">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi</span>=
</a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; tm<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used direc=
tly with JWK.&nbsp; The<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; proposed definition is:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 3.3.&nbsp; &quot;use_details&quot; (Key =
Use Details) Parameter<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The &quot;use_details&=
quot; (key use details) member identifies<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; fine-grained<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; details the intended u=
se of the key.&nbsp; Its value is an array<br>
&gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; key use details values=
.&nbsp; Values defined by this<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; specification<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; are:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;sign&quo=
t; (compute signature or MAC)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;verify&q=
uot; (verify signature or MAC)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;encrypt&=
quot; (encrypt content)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;decrypt&=
quot; (decrypt content and verify decryption, if<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; applicable)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;wrap&quo=
t; (encrypt key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;unwrap&q=
uot; (decrypt key and verify decryption, if<br>
&gt; &gt; &gt; applicable)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;deriveKe=
y&quot; (derive key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;deriveBi=
ts&quot; (derive bits not to be used as a key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Other values MAY be us=
ed.&nbsp; Key Use Details values can be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; registered<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; in the IANA JSON Web K=
ey Use Details registry defined in<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Section<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 7.3.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The use details values=
 are case-sensitive strings.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Duplicate use details =
values MUST NOT be present in the<br>
&gt; &gt; &gt; array.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Use of the &quot;use_d=
etails&quot; member is OPTIONAL, unless the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; application<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; requires use this memb=
er to record fine-grained key usage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; details.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; (Note that the &quot;u=
se_details&quot; values intentionally match the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; values defined in the =
WebCrypto [WebCrypto] specification.)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If both &quot;use&quot=
; and &quot;use_details&quot; JWK members are present,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; usages<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; specified by them MUST=
 be consistent.&nbsp; In particular, the<br>
&gt; &gt; &gt; &quot;use&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; value<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;sig&quot; corres=
ponds to &quot;sign&quot; and/or &quot;verify&quot;.&nbsp; The &quot;use&qu=
ot;<br>
&gt; &gt; value<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;enc&quot; corres=
ponds to all other values defined above.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If &quot;use_details&q=
uot; values corresponding to both &quot;sig&quot; and<br>
&gt; &gt; &quot;enc&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;use&quot; values=
 are present, the &quot;use&quot; member SHOULD NOT be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; present,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; and if present, its va=
lue MUST NOT be either &quot;sig&quot; or<br>
&gt; &gt; &quot;enc&quot;.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing=
 simple applications<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; that want to distinguish between signing=
 and encryption<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; operations to continue doing so as they =
do today, while also<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage detai=
ls field to be used by<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; applications that want to record fine-gr=
ained distinctions<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; among potential key usages, including di=
stinguishing between<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; operations.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; As I see it, while having two related ke=
y usage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; representations isn't ideal, it's far be=
tter than having<br>
&gt; &gt; &gt; WebCrypto overload &quot;use&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in stri=
ngs, such as<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I=
 believe is their current plan<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; record.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Comments?<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&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;&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;&nbsp; --<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; P.S.&nbsp; This proposal was already dis=
cussed on the WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; list in the thread<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;<a href=3D"http://lists.w3.org/Arch=
ives/Public/public-webcrypto/2013Dec/0052" target=3D"_blank"><span style=3D=
"color:purple">http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec=
/0052</span></a>.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised ther=
e that I'm aware of.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ________________________________________=
_______<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;<a href=3D"mailto:jose@ietf.org" ta=
rget=3D"_blank"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a=
 href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purpl=
e">mailto:jose@ietf.org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;<a href=3D"https://www.ietf.org/mai=
lman/listinfo/jose" target=3D"_blank"><span style=3D"color:purple">https://=
www.ietf.org/mailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; _______________________________________=
________<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;<a href=3D"mailto:jose@ietf.org" t=
arget=3D"_blank"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<=
a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purp=
le">mailto:jose@ietf.org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;<a href=3D"https://www.ietf.org/ma=
ilman/listinfo/jose" target=3D"_blank"><span style=3D"color:purple">https:/=
/www.ietf.org/mailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; ____________________________________________=
___<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;<a href=3D"mailto:jose@ietf.org" target=
=3D"_blank"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a hre=
f=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">m=
ailto:jose@ietf.org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;<a href=3D"https://www.ietf.org/mailman=
/listinfo/jose" target=3D"_blank"><span style=3D"color:purple">https://www.=
ietf.org/mailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"=
><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto=
:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose@=
ietf.org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&nbsp;<a href=3D"https://www.ietf.org/mailman/listinfo/j=
ose" target=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/ma=
ilman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank=
"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailt=
o:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose=
@ietf.org</span></a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp;<a href=3D"https://www.ietf.org/mailman/listinfo/=
jose" target=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/m=
ailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp; _______________________________________________<br>
&gt; &gt;&nbsp; jose mailing list<br>
&gt; &gt;&nbsp;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><sp=
an style=3D"color:purple">jose@ietf.org</span></a><br>
&gt; &gt;&nbsp;&nbsp;<a href=3D"https://www.ietf.org/mailman/listinfo/jose"=
 target=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/mailma=
n/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; _______________________________________________<br>
&gt;&nbsp; jose mailing list<br>
&gt;&nbsp;&nbsp;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span st=
yle=3D"color:purple">jose@ietf.org</span></a><br>
&gt;&nbsp;&nbsp;<a href=3D"https://www.ietf.org/mailman/listinfo/jose" targ=
et=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/mailman/lis=
tinfo/jose</span></a><br>
&gt;</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDA8FEATK5EX14MBXC286r_--

From mamille2@cisco.com  Tue Jan  7 13:41:35 2014
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A7961AE1F5 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:41:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.039
X-Spam-Level: 
X-Spam-Status: No, score=-15.039 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.538, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 5SnnfogHcYvc for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 13:41:33 -0800 (PST)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id 759841AE0CA for <jose@ietf.org>; Tue,  7 Jan 2014 13:41:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5402; q=dns/txt; s=iport; t=1389130885; x=1390340485; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=KW8TU1mCZWuq8I0vTqeycbcUSMdCoTTwplllg824+G4=; b=KQngtLl5Z8tNCz3Wu5ZLrFotvOvf5KOAnvgJtJUxhwCPFRhr1joSr5o6 LprLZcIJr09yaMUCRU23zntht0WGr0fCfyaS+lLg3jRq5gujqIATn6idR 9CwyI1dBQULVByixxD1UjvQpMbWotW/wxnZkh/iOpCJ5ew68tm+vAejft Q=;
X-Files: signature.asc : 496
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgcFADZzzFKtJXG9/2dsb2JhbAA/FwODCzhVuWqBFBZ0giUBAQEDAQEBAVIRAgYLBQsCAQgRAwEBAQEUBAwDBycLFAkHAQIEDgUOh24IDTatTpYFF45AHhUBEAcCBwgHgwyBEwSQM4ExhjOBMJBlgltSgio
X-IronPort-AV: E=Sophos;i="4.95,621,1384300800";  d="asc'?scan'208";a="295679260"
Received: from rcdn-core2-2.cisco.com ([173.37.113.189]) by rcdn-iport-1.cisco.com with ESMTP; 07 Jan 2014 21:41:24 +0000
Received: from xhc-rcd-x13.cisco.com (xhc-rcd-x13.cisco.com [173.37.183.87]) by rcdn-core2-2.cisco.com (8.14.5/8.14.5) with ESMTP id s07LfOlM019981 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 7 Jan 2014 21:41:24 GMT
Received: from xmb-aln-x11.cisco.com ([169.254.6.26]) by xhc-rcd-x13.cisco.com ([173.37.183.87]) with mapi id 14.03.0123.003; Tue, 7 Jan 2014 15:41:23 -0600
From: "Matt Miller (mamille2)" <mamille2@cisco.com>
To: "Karen O'Donoghue" <odonoghue@isoc.org>
Thread-Topic: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
Thread-Index: AQHPBXr4nay1GiL7eEKcdB91nIgcz5pt3tSAgAAX0oCADEQYgIAAAUyA
Date: Tue, 7 Jan 2014 21:41:23 +0000
Message-ID: <1F775530-225C-4A74-BFA3-79058045D37C@cisco.com>
References: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com> <52C19D1F.7060407@isoc.org> <4E1F6AAD24975D4BA5B16804296739437CD82CBB@TK5EX14MBXC286.redmond.corp.microsoft.com> <02A6E3B8-3949-4DA4-8D67-9C8D2849A28F@isoc.org> <4E1F6AAD24975D4BA5B16804296739437CDA8FAC@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDA8FAC@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [64.101.72.76]
Content-Type: multipart/signed; boundary="Apple-Mail=_605BF793-5AEB-4F0F-A6E0-69A96F6B01C8"; protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
Cc: Mike Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 21:41:35 -0000

--Apple-Mail=_605BF793-5AEB-4F0F-A6E0-69A96F6B01C8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hello Karen,

You will need to contact the secretariat and get this fixed.  That join =
time will prevent anyone from getting into the meeting at the announced =
time.


- m&m

Matt Miller < mamille2@cisco.com >
Cisco Systems, Inc.


On Jan 7, 2014, at 2:36 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

> Hi Karen =96 have you looked into whether the call time being wrong in =
the tool will cause us problems during the actual call?
> =20
>                                                             -- Mike
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Karen =
O'Donoghue
> Sent: Monday, December 30, 2013 6:18 PM
> To: Mike Jones
> Cc: jose@ietf.org
> Subject: Re: [jose] JOSE WG virtual interim, Monday 13 January 2014, =
2400 UTC
> =20
> I'm not sure. I'm basically offline until Thursday, but I'll check =
then and post an update.=20
>=20
> Sent from my iPhone
>=20
> On Dec 30, 2013, at 7:52 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:
>=20
> Why does the meeting information below say:
> Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)
> which is a quite different time than 7pm EDT / 4pm PDT?
> =20
> Will this lead to problems when we try to use the WebEx?
> =20
>                                                             -- Mike
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Karen =
O'Donoghue
> Sent: Monday, December 30, 2013 8:20 AM
> To: jose@ietf.org
> Subject: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 =
UTC
> =20
> The JOSE wg will hold a two hour virtual interim meeting on:
> Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)
>=20
> The purpose of the meeting will be to review the latest published wg =
drafts,=20
> discuss any remaining open issues, and discuss proceeding to WGLC.=20
>=20
> http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19
> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19
> http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19
>=20
> The webex details are below.=20
>=20
> Regards,
> Karen
>=20
>=20
> -------------------------------------------------------=20
> Meeting information=20
> -------------------------------------------------------=20
> Topic: jose=20
> Date: Monday, January 13, 2014=20
> Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)=20
> Meeting Number: 647 642 200=20
> Meeting Password: security=20
>=20
> -------------------------------------------------------=20
> To start or join the online meeting=20
> -------------------------------------------------------=20
> Go to =
https://ietf.webex.com/ietf/j.php?ED=3D259114027&UID=3D508402732&PW=3DNN2Y=
3MWEzNzA0&RT=3DMiMxMQ%3D%3D=20
>=20
> -------------------------------------------------------=20
> Audio conference information=20
> -------------------------------------------------------=20
> Call-in toll number (US/Canada): 1-650-479-3208=20
>=20
> Access code:647 642 200=20
>=20
> -------------------------------------------------------=20
> For assistance=20
> -------------------------------------------------------=20
> 1. Go to https://ietf.webex.com/ietf/mc=20
> 2. On the left navigation bar, click "Support".=20
> To add this meeting to your calendar program (for example Microsoft =
Outlook), click this link:=20
> =
https://ietf.webex.com/ietf/j.php?ED=3D259114027&UID=3D508402732&ICS=3DMS&=
LD=3D1&RD=3D2&ST=3D1&SHA2=3DAAAAAowNSP8tWJuurFV1bVZm1a5WAIJt4ba6q1mWgj4wZt=
GN
>=20
> To check whether you have the appropriate players installed for UCF =
(Universal Communications Format) rich media files, go to =
https://ietf.webex.com/ietf/systemdiagnosis.php.=20
>=20
> http://www.webex.com=20
>=20
> CCM:+16504793208x647642200#=20
>=20
> IMPORTANT NOTICE: This WebEx service includes a feature that allows =
audio and any documents and other materials exchanged or viewed during =
the session to be recorded. You should inform all meeting attendees =
prior to recording if you intend to record the meeting. Please note that =
any such recordings may be subject to discovery in the event of =
litigation.
>=20
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_605BF793-5AEB-4F0F-A6E0-69A96F6B01C8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJSzHSDAAoJEDWi+S0W7cO1jy8H/197wv/TdRDBTshYFqJbx6tD
NsqEc9leMJ0x20OQ/cns39XJEXR+JKrWpgwLRA1nynLOuCVxblSAPWhUmqV7uqtI
833x+WwK/utSfOdnQZ2V4ZYT3Zo2ArLG+7U7pTCWCndKNWUvUYWbhTWLP72uqPcd
jPdbUSMHN/6aIvZyQBUxsDufQw0bQM36FAvnTe7Uxa67xqAHB4BtwiQfF35V6Lrh
+QHvOWSAX5JaEvmJNI7eIhAgQN1/fIgRgvVYE2fYsubKJGxMH5KY6OZx30InBTCJ
4GAvrkOhdZejRtKvyz/lueYLrJtXCR0GBNOgN/nuThn0HSB8vmb+8jerDsYs4/c=
=aTv7
-----END PGP SIGNATURE-----

--Apple-Mail=_605BF793-5AEB-4F0F-A6E0-69A96F6B01C8--

From watsonm@netflix.com  Tue Jan  7 15:37:15 2014
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 537A71AE234 for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 15:37:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, SPF_PASS=-0.001] autolearn=no
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 Ty5UpmrTtTxz for <jose@ietfa.amsl.com>; Tue,  7 Jan 2014 15:37:08 -0800 (PST)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by ietfa.amsl.com (Postfix) with ESMTP id AEC2D1AE233 for <jose@ietf.org>; Tue,  7 Jan 2014 15:37:07 -0800 (PST)
Received: by mail-wi0-f174.google.com with SMTP id z2so4841402wiv.13 for <jose@ietf.org>; Tue, 07 Jan 2014 15:36:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AD4giSyCrc16oZN9vZrNakDDNSDgCEinBr4EUo6K92M=; b=iJLF3aWjmzHTK64RNJNYvU8vcX/jMX/QNkoGvDsCpe3dzfXVSbwgVPNzbQsfA0e1fp 4vrA4rl/UejLLyLF9z2tZ/wF/dx9NDHoOdQ+PMDSd7/z9nqmldcQeNBf09nSsxdJ+2cw MEBrBLA2PFLcg/PqZTODKlDLEtgCg9WJUWF+g=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AD4giSyCrc16oZN9vZrNakDDNSDgCEinBr4EUo6K92M=; b=XP6BO6asGi1a+aGu074pTOJjKIJbJ8pRi+XdG+U22xJof1MNpADcKlOlub+Jj6UGp6 F05wfHAXDH5ypo4VaD5Z+8BJHR9jW5XgybCgZUUWYV6YH5f0wQ2U4/0DwHAlIhmZKO+T dSsCqGfB2spn1wI4/P0Fs0Es0tG5Cot8mBpSm/i9yXjIkhwDtIm79+UYAmnLEELAK+ny EbuW5Wlb3BeIzLCcDJMRi38GV2NlOZynVyFUOUxVW3j+h5LO+plII4eBNrIQf59IRds/ rcC9yn5Nq9zADbw74WwLIKT+vqM90E3CxvXhwIEolAkIpTCh60Dn0z/5kNUTaQ3H8695 fzgQ==
X-Gm-Message-State: ALoCoQntnl+8FzqjtxJQZb9V9p5x+WkipbwoTuQfSzVAEr7tGa3uuam30wUvD3WnlnbM8H5IQ+6f
MIME-Version: 1.0
X-Received: by 10.180.36.8 with SMTP id m8mr19087553wij.3.1389137818288; Tue, 07 Jan 2014 15:36:58 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Tue, 7 Jan 2014 15:36:58 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDA8FEA@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com> <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com> <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com> <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD86718@TK5EX14MBXC286.redmond.corp.microsoft.com> <D5C09BE4-F972-4D3E-BC3A-EDCAE9977859@ve7jtb.com> <CAEnTvdAjzrkazqpxbYFCYMRUvOtxXgUyF=2xboKHeASsJnUKow@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CDA8FEA@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Tue, 7 Jan 2014 15:36:58 -0800
Message-ID: <CAEnTvdAH83GUnKDd2Ohef5s4aFEEyDs8W3PQLZzCidPaHbH1jA@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=e89a8f5032e23416be04ef69da9b
Cc: John Bradley <ve7jtb@ve7jtb.com>, Richard Barnes <rlb@ipv.sx>, "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jan 2014 23:37:15 -0000

--e89a8f5032e23416be04ef69da9b
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Ok, thanks. Unfortunately, I can't make the call on Monday. However, I
don't have a strong opinion on how this is done, only that it is done and
in a way that allows WebCrypto keys to be accurately represented.

...Mark


On Tue, Jan 7, 2014 at 1:38 PM, Mike Jones <Michael.Jones@microsoft.com>wro=
te:

>  Where I think we are is choosing the right name for the extended key use
> field.  Names that have been discussed are:
>
>                use_details =96 which I no longer think is the right name
>
>                ku (key usage) =96 I think this name would be misleading
>
>                eku (extended key usage) =96 I think this would be fine
>
>                uses =96 I also think this would be fine
>
>
>
> And I think we=92re also waiting for people to weigh in on the proposal t=
hat
> =93use=94 no longer be so strongly recommended, in light of the fact that=
 it=92s
> designed for distinguishing between public key usages =96 not all key usa=
ges.
>
>
>
> I=92m sure that this will be discussed during the call on Monday at 1900
> EDT, 1600 PDT.  See the thread =93[jose] JOSE WG virtual interim, Monday =
13
> January 2014, 2400 UTC=94 for call-in instructions.
>
>
>
>                                                             -- Mike
>
>
>
> *From:* Mark Watson [mailto:watsonm@netflix.com]
> *Sent:* Tuesday, January 07, 2014 1:04 PM
> *To:* John Bradley
> *Cc:* Mike Jones; Richard Barnes; ryan-ietf@sleevi.com; jose@ietf.org
>
> *Subject:* Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
>
>
> So, where are we with this one ?
>
>
>
> I am fine with either Mike's proposal or Richard's (revised) proposal.
> Defining a new attribute was what I originally proposed in WebCrypto. The
> objections to that were related to backwards-compatibility and consistenc=
y
> between the two attributes, however I think if JOSE specifies the new
> attribute and the interaction with the existing one (as discussed in this
> thread) then those concerns may be mitigated. Or, if appropriate, WebCryp=
to
> could register a new attribute with guidance on those issues from JOSE.
>
>
>
> ...Mark
>
>
>
> On Mon, Jan 6, 2014 at 4:43 PM, John Bradley <ve7jtb@ve7jtb.com> wrote:
>
> Use was originally optional so going back to that is fine.
>
>
>
> Having the Web Crypto WG sort out meta-data for key usage by the crypto
> subsystem and or secure storage with other elements is fine with me.
>
>
>
> I think they are different use cases one for private or secret keys and
> the other for public keys.
>
>
>
> I do think that for storage restricting the alg will be required if
> disclosure to the application layer is to be prevented, but the WC WG can
> work on that without holding up the JWK spec as long as they have the
> extension point.
>
>
>
> John B.
>
>
>
> On Dec 31, 2013, at 4:18 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
>
>
>
>   The context that some participants may not be keeping in mind is that
> when =93use=94 was defined, JWKs were intentionally limited to representi=
ng
> public keys.  The =93use=94 field is used for distinguishing between publ=
ic
> signing keys and encryption keys.  The use case where a set of public key=
s
> is publicly advertised for use by a protocol participant is quite common.
>  =93use=94 is intentionally designed for that use case and works great th=
ere.
>
>
>
> Sometime later, we added the ability to represent private and symmetric
> keys to JWK =96 at the request of the WebCrypto WG.  This expanded the
> possible use cases for JWKs to include transporting non-public keys betwe=
en
> protocol participants.  With the addition of non-public keys, additional
> key uses became possible, including the possibility of the same key being
> legally used for two things (signing/verification, etc.).  The
> =93use_details=94 representation makes sense for those use cases.
>
>
>
> I=92d be fine relaxing the language saying that =93use=94 must be present=
,
> because I agree it=92s not a good fit if non-public keys are present.  I
> suspect not requiring =93use=94 would make people happier in the non-publ=
ic use
> cases.  And we could explicitly say that =93use=94 is intended for use ca=
ses
> where only public keys are present.  Do people agree with this change?
>
>
>
> Given our goal of keeping simple things simple, I believe that =93use=94
> should be retained as-is for the very common use case of sets of public
> keys.  It already works great there.
>
>
>
> I=92d also be fine saying that applications should specify which of =93us=
e=94
> and =93use_details=94 they will use and that the other will be ignored.  =
I=92m
> also fine changing the name of =93use_details=94 to =93eku=94 (extended k=
ey usages)
> or something similar =96 reflecting the fact that then =93use=94 and =93e=
ku=94 aren=92t
> intended to be used together.  And we would say that this field is intend=
ed
> for use cases where both public and non-public keys may be present.  Do
> people agree with this change?  If so, what name do you want us to use fo=
r
> the expanded key usages field?
>
>
>
>                                                             -- Mike
>
> *From:* Richard Barnes [mailto:rlb@ipv.sx <rlb@ipv.sx>]
> *Sent:* Tuesday, December 31, 2013 9:03 AM
> *To:* Mike Jones
> *Cc:* ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> *Subject:* Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
>
>
> However, in advocating for two, parallel extensions to JWK for essentiall=
y
> the same purpose, you're basically arguing that "use" is not generally
> applicable to JWK -- it applies to OpenID/SAML-like stuff, but not much
> more broadly.  (You can't really say the same thing about the more detail=
ed
> version, since it's a superset.)  But if "use" is not a generally useful
> feature of JWK, then it shouldn't be part of the spec.
>
>
>
> In other words, if a feature is going to be part of the JWK spec, then it
> needs to meet the requirements that participants in this group put forth.
> If we're choosing not to meet those requirements (as "use" does not), the=
n
> it needs to come out of the spec.
>
> I think there's still room for compromise here (see my other reply on the
> proposal directly).  But if there's no compromise, then there's no
> consensus, and "use" needs to go.
>
>
>
> --Richard
>
>
>
>
>
> On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
>
> There's nothing wrong with different use cases with different needs
> supplying different key metadata.
>
> The ability to do that is an indication of the versatility and usefulness
> of the JWK format - not a deficiency.
>   ------------------------------
>
> *From: *Ryan Sleevi <ryan-ietf@sleevi.com>
> *Sent: *12/30/2013 1:55 PM
> *To: *Mike Jones <Michael.Jones@microsoft.com>
> *Cc: *Mike Jones <Michael.Jones@microsoft.com>; ryan-ietf@sleevi.com; Ric=
hard
> Barnes <rlb@ipv.sx>; John Bradley <ve7jtb@ve7jtb.com>; jose@ietf.org
>
>
> *Subject: *Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
> On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:
> >  ... and lest there be any confusion, the JWK spec doesn't require the
> use
> >  of "use".  WebCrypto can specify that it not be used and require the u=
se
> >  of "use_details" if that best meets the needs of your use case.
>
> So you're still arguing for two, incompatible ways of expressing use
> within the base spec. The current draft (-19) proposes that "A 'use'
> member SHOULD be present, unless the application uses another means or
> convention to determine the intended key usage".
>
> That is, if draft-19 were pushed to WGLC, it would leave authors confused
> as to when to use either. As specified, the language still strongly
> prefers "use", and continues to suggest "use_details" as a subset, when
> it's not really.
>
> Richard's solution is much more sensible, in that it makes it clear that
> there is a single clean way to communicate use going forward, and a
> deprecated way from existing specs. Existing keys can continue to be
> imported into new versions of the spec - it's only an issue when a new
> version of the spec is used to interoperate with an older version. I don'=
t
> think it's fair to suggest that's "backwards compatibility" - that's an
> issue of "forwards compatibility", and one that is far trickier to get
> right, and arguably far less important here - and one that can be
> addressed in *new* implementations by choice or config.
>
> Let me try to state the problem differently:
>
> Is "use" generically suitable for use cases of JWK? Can you envision othe=
r
> scenarios where it can be gracefully extended?
>
> As I see it, the answer is clearly "no", as already evidenced by
> WebCrypto's intended use, but also demonstrated by Axel's example of "do
> not want" (which is X.509's 'extended key usages' field). As such, we
> should try to fix that spec before finalizing, rather than bolt-on
> additions and try to rush things through WGLC, or we should accept that
> this is a problem the spec/spec authors are not interested in solving
> cleanly, and WebCrypto can move to a solution that does.
>
> Both specs are still in their infancy of both implementation and adoption
> and we should try to do things right while we can.
>
> >  ________________________________
> >  From: Mike Jones<mailto:Michael.Jones@microsoft.com<Michael.Jones@micr=
osoft.com>
> >
> >  Sent: =FD12/=FD30/=FD2013 1:12 PM
> >  To: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>
> >  Cc: Richard Barnes<mailto:rlb@ipv.sx <rlb@ipv.sx>>; John
> >  Bradley<mailto:ve7jtb@ve7jtb.com <ve7jtb@ve7jtb.com>>; jose@ietf.org<
> mailto:jose@ietf.org <jose@ietf.org>>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >  Ryan, this isn't an either-or situation. JWK is intended to be a gener=
al
> >  key representation format. It's extensible exactly so information for
> any
> >  use cases that need info not in the base spec can add it.  I'm still
> >  puzzled why some in WebCrypo felt uncomfortable using this extensibili=
ty
> >  by defining and registering a new field for WebCrypyo's representation
> of
> >  use info. But observing that to be the case, I'm attempting to be as
> clear
> >  as possible (through spec actions!) that there's absolutely no reason
> for
> >  WebCrypto not to use JWK.
> >
> >  There's no plans to "continue to evolve JWK to parallel the SAML
> >  workflows" that I'm aware of. Rather, I believe the only further
> addition
> >  being considered before completing the spec is one motivated by
> >  WebCrypto's use case rather than SAML - "use_details".
> >
> >  I believe that the current JWK spec already meets WebCrypto's needs
> as-is.
> >   Is there any reason not to just use it and move on to addressing othe=
r
> >  issues needed to be resolved to complete both JOSE and WebCrypto, both
> of
> >  which I see as being complementary and important to the industry?
> >
> >  -- Mike
> >  ________________________________
> >  From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com <ryan-ietf@sleevi.com>>
> >  Sent: =FD12/=FD30/=FD2013 12:47 PM
> >  To: Mike Jones<mailto:Michael.Jones@microsoft.com<Michael.Jones@micros=
oft.com>
> >
> >  Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; Richard
> >  Barnes<mailto:rlb@ipv.sx <rlb@ipv.sx>>; John Bradley<
> mailto:ve7jtb@ve7jtb.com <ve7jtb@ve7jtb.com>>;
> >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> >  coordinate with WebCrypto
> >
> >  On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
> > >  As further background for the discussion, the current "use" definiti=
on
> > > is
> > >  based on widely deployed existing practice - the SAML metadata
> > >  specification
> > >  (
> http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf),
> > >  which defines "use" as follows in section 2.4.1.1:
> > >  use [Optional]
> > >  Optional attribute specifying the purpose of the key being described=
.
> > >  Values are drawn from the
> > >
> > >  KeyTypes enumeration, and consist of the values encryption and
> signing.
> > >
> > >
> > >
> > >  This has been shown to be sufficient in practice for its intended
> > > purpose,
> > >  as has the JWK "use" field.
> > >
> >
> >  Mike,
> >
> >  I feel like you're arguing all the more strongly for WebCrypto not to
> use
> >  JWK, in that you're arguing that JWK's "intended purpose" is to match
> >  SAML. I can understand where this fits within the JWT and OpenID Conne=
ct
> >  workflows, but as a "JSON key description" format, it is unquestionabl=
y
> >  much more restrictive and ill-suited.
> >
> >  If the goal is to continue to evolve JWK to parallel the SAML workflow=
s,
> >  then I don't see how WebCrypto can in good conscience encourage JWK.
> >
> >  There's nothing preventing authors from translating JWK into any sort =
of
> >  API form that WebCrypto requires - much in the same way that they can
> >  translate the composite JWA algorithms (which are suitable for
> transport)
> >  into WebCrypto's broader, more generic algorithms (which are suitable
> for
> >  an API targeting application development).
> >
> >  Arguably, the only reasons to use JWK are to prevent introducing "yet
> >  another key format". While laudable, if JWK is trying to mirror SAML,
> then
> >  it would seem that JWK is not trying to be a key format, per se, and
> such
> >  risk would be low.
> >
> >  Again, I'm perfectly fine if JOSE would rather that JWK be kept as
> minimal
> >  and as specific for the JWT use case, and we can easily use a
> descriptive
> >  WebIDL within WebCrypto to describe the key formats it operates with (=
in
> >  addition to SPKI and PKCS#8). Comments so far from this WG give me the
> >  sense that there's strong opposition by some to seeing JWK evolve to b=
e
> as
> >  flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
> >  extensibility that WebCrypto wants, and if JWK isn't it, we can use
> >  something else. OpenID Connect and JWT can continue to use JWK as suit=
ed
> >  for their needs, and if for some reason someone wants to use JS to
> >  interact with these, they can use a translation shim, just as they wou=
ld
> >  for JWE/JWS or for *any other* cryptographic application, since
> WebCrypto
> >  is "just" an API.
> >
> > >
> > >
> > >  I understand your point, Ryan, that for the WebCrypto API use case,
> > > there
> > >  is sometimes value in distinguishing between the producer and consum=
er
> > >  operations for a key.  That's part of why I proposed adding
> > > "use_details",
> > >  so those distinctions can be made for the use cases where they do ma=
ke
> > > a
> > >  difference.
> > >
> > >
> > >
> > >  As for Richard's proposal, the problem with it is that it would be a
> > >  breaking change, since if "ku" was present, his proposal would requi=
re
> > >  different treatment of the "use" field (ignoring it).  My proposal i=
s
> > > not
> > >  a breaking change, since "use" continues to mean what it always has.
> > >  Furthermore, my proposal requires that "use" and "use_details" conve=
y
> > >  consistent information, if both are present.  That seems significant=
ly
> > >  simpler for consumers of JWKs use than requiring conditional
> behaviors,
> > > as
> > >  Richard's proposal does.
> > >
> > >
> > >
> > >                                                              Best
> > > wishes,
> > >
> > >                                                              -- Mike
> > >
> > >
> > >
> > >  -----Original Message-----
> > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com <ryan-ietf@sleevi.com=
>
> ]
> > >  Sent: Monday, December 30, 2013 10:25 AM
> > >  To: Richard Barnes
> > >  Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> > >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> > >  coordinate with WebCrypto
> > >
> > >
> > >
> > >  On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:
> > >
> > > >  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones
> > >
> > > >  <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com
> >>wrote:
> > >
> > > >
> > >
> > > > > It's my sense of the JOSE working group that most are strongly
> > >
> > > > > opposed to breaking changes at this point.
> > >
> > > >
> > >
> > > >
> > >
> > > >  Please don't claim to represent the WG.  There is a significant
> > >
> > > > contingent  who care about breaking changes, but also a significant
> > >
> > > > group who would  prefer the best, most usable spec we can make,
> > >
> > > > regardless of the sins of  the past.
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > > However, I also believe that most JOSE participants share the
> > >
> > > > > sentiment of many WebCrypto participants that it would be better
> for
> > >
> > > > > all for WebCrypto to use real JWKs, rather than something
> > >
> > > > > "JWK-like".
> > >
> > > > >
> > >
> > > >
> > >
> > > >   How about this for a compromise proposal:
> > >
> > > >  -- Leave "use" in for backward compatibility.
> > >
> > > >  -- Define a new field "ku" (Key Usage, or something similar) that
> has
> > >
> > > > detailed key usage information.
> > >
> > > >  -- Deprecate "use", recommending that new applications use "ku"; i=
f
> > >
> > > > both  are present, "use" MUST be ignored.
> > >
> > > >  -- Define the expansion of "use" values to "ku" values
> > >
> > > >
> > >
> > > >  That doesn't break backward compatibilty, but makes detailed contr=
ol
> > >
> > > > the  default going forward.
> > >
> > > >
> > >
> > > >  --Richard
> > >
> > >
> > >
> > >  As I expressed within WebCrypto, this to me strikes a much more
> > > sensible
> > >  balance of backwards compatibility and extensibility, and hopefully =
in
> > > a
> > >  way that allows existing deployments to cleanly transition while
> > > allowing
> > >  new deployments to avoid the limitations of the current drafts.
> > >
> > >
> > >
> > >  I very much prefer this over use_details for Web Crypto's use cases.
> > >
> > >
> > >
> > > >
> > >
> > > >  I believe my proposal is the best-available solution, given the
> > >
> > > > current
> > >
> > > > > realistic constraints.  It might have made better sense for a
> > >
> > > > > WebCrypto spec to define "use_details" than JOSE, but if WebCrypt=
o
> > >
> > > > > isn't going to do it, I believe that we'll all be better off in t=
he
> > >
> > > > > long run if JOSE then does and WebCrypto uses it.
> > >
> > > > >
> > >
> > > > >                                 Cheers,
> > >
> > > > >                                 -- Mike
> > >
> > > > >
> > >
> > > > > -----Original Message-----
> > >
> > > > > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com<ryan-ietf@sleevi.c=
om>
> ]
> > >
> > > > > Sent: Friday, December 27, 2013 6:46 PM
> > >
> > > > > To: Mike Jones
> > >
> > > > > Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; John
> Bradley;
> > > > jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > Subject: Re: [jose] Two proposed JOSE spec actions to more closel=
y
> > >
> > > > > coordinate with WebCrypto
> > >
> > > > >
> > >
> > > > > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> > >
> > > > > >  I disagree that "use" allows multiple uses.  Sign/Verify both
> use
> > >
> > > > > > the same  algorithm with the same key - just in a
> > > producer/consumer
> > > > role.
> > >
> > > > > > There  would only be a security problem if the same key was use=
d
> > >
> > > > > > with
> > >
> > > > > > *different*  algorithms.
> > >
> > > > > >
> > >
> > > > > >  For symmetric keys, Sign/Verify operations are actually the
> same,
> > >
> > > > > > so in  that case, this is a distinction without a difference.
> > >
> > > > > >
> > >
> > > > > >  You may consider the producer/consumer distinction to be
> multiple
> > >
> > > > > > uses,  but only in an academic sense.  You have to perform both
> > >
> > > > > > with the same key  pair or symmetric key for the end-to-end
> > >
> > > > > > cryptography to
> > >
> > > > > be meaningful.
> > >
> > > > > >  Doing one without the other is incomplete.  (What good is
> signing
> > >
> > > > > > if the  signature is never verified?)
> > >
> > > > >
> > >
> > > > > Hi Mike,
> > >
> > > > >
> > >
> > > > > I don't think it's fair to compare them as the same, and it's ver=
y
> > >
> > > > > much a practical, and not an academic case.
> > >
> > > > >
> > >
> > > > > In a Sign() operation, the input is arbitrary plaintext and the
> > >
> > > > > output is a signature corresponding to that plaintext; an oracle,
> if
> > >
> > > > > you will - as you would want.
> > >
> > > > >
> > >
> > > > > In an API (although not necessarily in JWE/JWS, and understandabl=
y
> > >
> > > > > so), a
> > >
> > > > > Verify() operation permits arbitrary plaintext as the input, but
> > >
> > > > > also requires the signature to be verified. The only output is a
> > >
> > > > > boolean - whether or not the signature is correct.
> > >
> > > > >
> > >
> > > > > The goal of "restricting" the uses here would be to allow key
> > >
> > > > > storage not necessarily under the control of the caller. In
> > >
> > > > > WebCrypto, this is the distinction between the executing JS (serv=
ed
> > >
> > > > > by the web page) and the UA implementation. It's a concept borrow=
ed
> > >
> > > > > from any number of other good cryptographic APIs (eg: those that
> are
> > >
> > > > > designed with the notion of opaque key storage)
> > >
> > > > >
> > >
> > > > > With a symmetric key only permitted for a "Verify" operation, the
> > >
> > > > > only way to generate a signature for an arbitrary message is
> > >
> > > > > a) Compromise the key storage
> > >
> > > > > b) Iterate through all possible signature combinations until you
> get
> > >
> > > > > "true" as the Verify() result.
> > >
> > > > >
> > >
> > > > > b) may be aided by any number of implementation issues (eg:
> > >
> > > > > non-constant time comparisons, among others), but is ultimately
> > >
> > > > > "tricky". a) is dependent on implementations, and can be aided or
> > >
> > > > > harmed through a variety of means.
> > >
> > > > >
> > >
> > > > > Combining these two usages into a single use case - which, I agre=
e,
> > >
> > > > > is probably perfectly acceptable if imagining as a transport-only
> > >
> > > > > exchange
> > >
> > > > > -
> > >
> > > > > can thus have real and meaningful differences when used at an API
> > > > level.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consum=
er
> > >
> > > > > > distinctions, but also only use a single key with a single
> > >
> > > > > > algorithm - therefore no security problem.
> > >
> > > > > >
> > >
> > > > > >  =3D=3D=3D=3D
> > >
> > > > > >
> > >
> > > > > >  For what it's worth, I think the different key use
> representation
> > >
> > > > > > choices  stems from JOSE being a high-level API that tries to
> make
> > >
> > > > > > simple things  simple and WebCrypto being a low-level API that
> > >
> > > > > > tries
> > >
> > > > > to
> > >
> > > > > be complete.
> > >
> > > > > >  Both are valid and useful.  These differences show up in lots =
of
> > >
> > > > > > places  besides just key usage representations.
> > >
> > > > >
> > >
> > > > > Absolutely agree here. This is why WebCrypto explored whether we
> > >
> > > > > should do something "JWK-like", but suitable at an API layer and
> for
> > >
> > > > > it's goals, and "trivially" convertable with JWK - but by script
> > >
> > > > > authors. The WebCrypto WG wasn't fond of it, which is
> > >
> > > > > understandable, and why I'm here.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  Anyway, the purpose of my proposal is to try to make things
> > >
> > > > > > easier for  WebCrypto.  I hope people will get behind it.  Yes,
> > >
> > > > > > having both simple and  detailed key usage representations seem=
s
> > > odd
> > > > at first.
> > >
> > > > > > But they're  designed to address different goals for different
> > >
> > > > > > kinds
> > >
> > > > > of
> > >
> > > > > applications.
> > >
> > > > > >  The alternatives (such as "signOnly,verifyOnly", etc.) that ar=
e
> > >
> > > > > > currently  being considered are much worse.
> > >
> > > > > >
> > >
> > > > > >                               -- Mike
> > >
> > > > >
> > >
> > > > > I agree that changing to an array will almost certainly break eve=
ry
> > >
> > > > > implementation to date.
> > >
> > > > >
> > >
> > > > > I agree that comma-separated is horribad and should be avoided,
> even
> > >
> > > > > if it "solves" the backwards compat issue.
> > >
> > > > >
> > >
> > > > > I think your solution is a reasonable attempt to mediate the issu=
es
> > >
> > > > > of backwards compatibility with the use cases of WebCrypto.
> However,
> > >
> > > > > I'm still on the fence as to whether or not it really is
> > >
> > > > > unreasonable to "break"
> > >
> > > > > backwards compatibility here - there seems to be a compelling cas=
e
> > >
> > > > > here as to why even something like ["sign", "verify"] should be
> > >
> > > > > distinct usages.
> > >
> > > > > I
> > >
> > > > > know the bar is incredibly high right now, given JOSE's momentum,
> > >
> > > > > but I didn't think that JOSE was past the point of no return.
> > >
> > > > >
> > >
> > > > > >
> > >
> > > > > >  -----Original Message-----
> > >
> > > > > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com<ryan-ietf@sleev=
i.com>
> ]
> > >
> > > > > >  Sent: Friday, December 27, 2013 2:13 PM
> > >
> > > > > >  To: John Bradley
> > >
> > > > > >  Cc: Mike Jones; jose@ietf.org<mailto:jose@ietf.org<jose@ietf.o=
rg>
> >
> > >
> > > > > >  Subject: Re: [jose] Two proposed JOSE spec actions to more
> > >
> > > > > > closely coordinate with WebCrypto
> > >
> > > > > >
> > >
> > > > > >  I'm sorry, John, but by your logic, JOSE is not following your
> > >
> > > > > > own
> > >
> > > > > advice.
> > >
> > > > > >
> > >
> > > > > >  "enc" is already a multiple-use for a key - it allows for both
> > >
> > > > > > encryption  and decryption. For that matter, wrap and unwrap,
> > >
> > > > > > which are supposed to be  inferred based on algorithm, which is=
 a
> > >
> > > > > > JWE/JWS specific aspect, and not  an intrinsic aspect of
> > >
> > > > > JWK-as-key-representation.
> > >
> > > > > >
> > >
> > > > > >  Likewise, "sig" implies sign AND verify, which is meant to be
> > >
> > > > > > unambiguous,  because the assumption is always that you sign wi=
th
> > >
> > > > > > a private key and  verify with a public key, but as a conceptua=
l
> > >
> > > > > > framework breaks down for  schemes like HMAC, which ostensibly
> > >
> > > > > > have sign and verify (or MAC and  verify, if you prefer, but
> we're
> > >
> > > > > splitting
> > >
> > > > > hairs here).
> > >
> > > > > >
> > >
> > > > > >  WebCrypto desires to be *more* precise than JOSE's imprecise a=
nd
> > >
> > > > > > overly  broad, implicitly multi-use syntax. That "enc" means fo=
ur
> > >
> > > > > > possible uses,  or that "sig" means two , is a clear sign that
> > >
> > > > > > JOSE is already actively  encouraging multiple uses for the sam=
e
> > > > key.
> > >
> > > > > >
> > >
> > > > > >  Mike's proposal is basically an admission that the ship has
> > >
> > > > > > sailed on this  implicit, multi-valued usage semantic - which, =
I
> > >
> > > > > > can understand and  sympathize with, in the name of backwards
> > >
> > > > > > compatibility for an in-draft  spec, but let's recognize that a=
s
> > >
> > > > > > spec'd today, JOSE is preferring and  encouraging multiple uses
> > >
> > > > > > for the same key in ways that will  unquestionably encourage
> > >
> > > > > > people to make bad mistakes (such as multiple  parties using th=
e
> > >
> > > > > > same encryption key for traffic in either direction -  requirin=
g
> > >
> > > > > > some degree of IV sync)
> > >
> > > > > >
> > >
> > > > > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> > >
> > > > > > >  Having it be an array encourages multiple uses for the same
> > >
> > > > > > > key.  I have  stated many times that encouraging people to do
> > >
> > > > > > > that is not a good idea,  and making it easy makes people thi=
nk
> > > it
> > > > is a good idea.
> > >
> > > > > > >
> > >
> > > > > > >  You can use the single value field and have multiple entries
> > >
> > > > > > > with different key containing the same or different keys to d=
o
> > >
> > > > > > > the same thing.
> > >
> > > > > > >
> > >
> > > > > > >  On the practical side "use_details" is better than creating
> > >
> > > > > > > crazy dot separated como uses.
> > >
> > > > > > >
> > >
> > > > > > >  John B.
> > >
> > > > > > >
> > >
> > > > > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> > >
> > > > > > > <Michael.Jones@microsoft.com<mailto:
> Michael.Jones@microsoft.com>>
> > >
> > > > > > >  wrote:
> > >
> > > > > > >
> > >
> > > > > > > > Hi all,
> > >
> > > > > > > >
> > >
> > > > > > > > Having reflected upon discussions among WebCrypto and JOSE
> > >
> > > > > > > > participants about JWK usage by WebCrypto over the holidays=
,
> > >
> > > > > > > > I'd like to propose the two JOSE spec actions to more close=
ly
> > >
> > > > > > > > coordinate
> > >
> > > > > > > with WebCrypto:
> > >
> > > > > > > >
> > >
> > > > > > > > 1.  Change the JWA registry field name from "Implementation
> > >
> > > > > > > > Requirements" to "JOSE Implementation Requirements" in the
> > >
> > > > > > > > JSON Web Signature and Encryption Algorithms Registry (
> > >
> > > > >
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se
> > >
> > > > > ction-7.1
> > >
> > > > > ).
> > >
> > > > > > > >  This will make it clearer that the Implementation
> > >
> > > > > > > > Requirements apply only to JWS and JWE implementations - an=
d
> > >
> > > > > > > > not other uses of JWK (such as WebCrypto).  This changes on=
ly
> > >
> > > > > > > > non-normative text and is
> > >
> > > > > > > non-breaking.
> > >
> > > > > > > >
> > >
> > > > > > > > 2.  Define the new JWK field "use_details" for recording
> > >
> > > > > > > > intended fine-grained key usage information.  This would
> > >
> > > > > > > > enable WebCrypto KeyUsage
> > >
> > > > > > > > (
> https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi
> > >
> > > > > > > > ew.h
> > >
> > > > > > > > tm
> > >
> > > > > > > > l#key-interface) values to be used directly with JWK.  The
> > >
> > > > > > > > proposed definition is:
> > >
> > > > > > > >
> > >
> > > > > > > > 3.3.  "use_details" (Key Use Details) Parameter
> > >
> > > > > > > >    The "use_details" (key use details) member identifies
> > >
> > > > > fine-grained
> > >
> > > > > > > >    details the intended use of the key.  Its value is an
> array
> > > > of
> > >
> > > > > > > >    key use details values.  Values defined by this
> > >
> > > > > > > > specification
> > >
> > > > > are:
> > >
> > > > > > > >
> > >
> > > > > > > >    o  "sign" (compute signature or MAC)
> > >
> > > > > > > >    o  "verify" (verify signature or MAC)
> > >
> > > > > > > >    o  "encrypt" (encrypt content)
> > >
> > > > > > > >    o  "decrypt" (decrypt content and verify decryption, if
> > >
> > > > > applicable)
> > >
> > > > > > > >    o  "wrap" (encrypt key)
> > >
> > > > > > > >    o  "unwrap" (decrypt key and verify decryption, if
> > > > applicable)
> > >
> > > > > > > >    o  "deriveKey" (derive key)
> > >
> > > > > > > >    o  "deriveBits" (derive bits not to be used as a key)
> > >
> > > > > > > >
> > >
> > > > > > > >    Other values MAY be used.  Key Use Details values can be
> > >
> > > > > registered
> > >
> > > > > > > >    in the IANA JSON Web Key Use Details registry defined in
> > >
> > > > > > > > Section
> > >
> > > > > > > 7.3.
> > >
> > > > > > > >    The use details values are case-sensitive strings.
> > >
> > > > > > > >    Duplicate use details values MUST NOT be present in the
> > > > array.
> > >
> > > > > > > >    Use of the "use_details" member is OPTIONAL, unless the
> > >
> > > > > application
> > >
> > > > > > > >    requires use this member to record fine-grained key usag=
e
> > >
> > > > > details.
> > >
> > > > > > > >    (Note that the "use_details" values intentionally match
> the
> > >
> > > > > > > > "KeyUsage"
> > >
> > > > > > > >    values defined in the WebCrypto [WebCrypto]
> specification.)
> > >
> > > > > > > >
> > >
> > > > > > > >    If both "use" and "use_details" JWK members are present,
> > >
> > > > > > > > the
> > >
> > > > > usages
> > >
> > > > > > > >    specified by them MUST be consistent.  In particular, th=
e
> > > > "use"
> > >
> > > > > > > value
> > >
> > > > > > > >    "sig" corresponds to "sign" and/or "verify".  The "use"
> > > value
> > >
> > > > > > > >    "enc" corresponds to all other values defined above.
> > >
> > > > > > > >    If "use_details" values corresponding to both "sig" and
> > > "enc"
> > >
> > > > > > > >    "use" values are present, the "use" member SHOULD NOT be
> > >
> > > > > present,
> > >
> > > > > > > >    and if present, its value MUST NOT be either "sig" or
> > > "enc".
> > >
> > > > > > > >
> > >
> > > > > > > > This is a non-breaking change - allowing simple application=
s
> > >
> > > > > > > > that want to distinguish between signing and encryption
> > >
> > > > > > > > operations to continue doing so as they do today, while als=
o
> > >
> > > > > > > > providing a multi-valued key usage details field to be used
> by
> > >
> > > > > > > > applications that want to record fine-grained distinctions
> > >
> > > > > > > > among potential key usages, including distinguishing betwee=
n
> > >
> > > > > > > > producer and consumer
> > >
> > > > > operations.
> > >
> > > > > > > >
> > >
> > > > > > > > As I see it, while having two related key usage
> > >
> > > > > > > > representations isn't ideal, it's far better than having
> > > > WebCrypto overload "use"
> > >
> > > > > > > > with multi-valued values encoded in strings, such as
> > >
> > > > > > > > "signOnly,verifyOnly", which I believe is their current pla=
n
> > >
> > > > > > > > of
> > >
> > > > > > > record.
> > >
> > > > > > > >
> > >
> > > > > > > > Comments?
> > >
> > > > > > > >
> > >
> > > > > > > >
> --
> > >
> > > > > > > > Mike
> > >
> > > > > > > >
> > >
> > > > > > > > P.S.  This proposal was already discussed on the WebCrypto
> > >
> > > > > > > > list in the thread
> > >
> > > > > > > >
> http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
> > >
> > > > > > > > ht ml and no objections were raised there that I'm aware of=
.
> > >
> > > > > > > >
> > >
> > > > > > > > _______________________________________________
> > >
> > > > > > > > jose mailing list
> > >
> > > > > > > > jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > > >
> > >
> > > > > > >  _______________________________________________
> > >
> > > > > > >  jose mailing list
> > >
> > > > > > >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > > >
> > >
> > > > > >
> > >
> > > > > >
> > >
> > > > > >  _______________________________________________
> > >
> > > > > >  jose mailing list
> > >
> > > > > >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > > >
> > >
> > > > >
> > >
> > > > > _______________________________________________
> > >
> > > > > jose mailing list
> > >
> > > > > jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > > > >
> > >
> > > >  _______________________________________________
> > >
> > > >  jose mailing list
> > >
> > > >  jose@ietf.org<mailto:jose@ietf.org <jose@ietf.org>>
> > >
> > > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> > > >
> > >
> > >
> > >
> > >
> > >  _______________________________________________
> > >  jose mailing list
> > >  jose@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> >
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>
>

--e89a8f5032e23416be04ef69da9b
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Ok,=
 thanks. Unfortunately, I can&#39;t make the call on Monday. However, I don=
&#39;t have a strong opinion on how this is done, only that it is done and =
in a way that allows WebCrypto keys to be accurately represented.</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">...Mark</div></div><div class=
=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, Jan 7, 2014 at =
1:38 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=3D"mailto:Michael.Jones@m=
icrosoft.com" target=3D"_blank">Michael.Jones@microsoft.com</a>&gt;</span> =
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Where I think we are is c=
hoosing the right name for the extended key use field.=A0 Names that have b=
een discussed are:<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 use_details =96 which I no longer think is the right nam=
e<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 ku (key usage) =96 I think this name would be misleading=
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 eku (extended key usage) =96 I think this would be fine<=
u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 uses =96 I also think this would be fine<u></u><u></u></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">And I think we=92re also =
waiting for people to weigh in on the proposal that =93use=94 no longer be =
so strongly recommended, in light of the fact that it=92s designed
 for distinguishing between public key usages =96 not all key usages.<u></u=
><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I=92m sure that this will=
 be discussed during the call on Monday at 1900 EDT, 1600 PDT.=A0 See the t=
hread =93[jose] JOSE WG virtual interim, Monday 13 January 2014,
 2400 UTC=94 for call-in instructions.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 -- Mike<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mark Wat=
son [mailto:<a href=3D"mailto:watsonm@netflix.com" target=3D"_blank">watson=
m@netflix.com</a>]
<br>
<b>Sent:</b> Tuesday, January 07, 2014 1:04 PM<br>
<b>To:</b> John Bradley<br>
<b>Cc:</b> Mike Jones; Richard Barnes; <a href=3D"mailto:ryan-ietf@sleevi.c=
om" target=3D"_blank">ryan-ietf@sleevi.com</a>; <a href=3D"mailto:jose@ietf=
.org" target=3D"_blank">jose@ietf.org</a></span></p><div><div class=3D"h5">=
<br>
<b>Subject:</b> Re: [jose] Two proposed JOSE spec actions to more closely c=
oordinate with WebCrypto<u></u><u></u></div></div><p></p><div><div class=3D=
"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">So, where are we with this one ?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I am fine with either Mike&#39;s proposal or Richard=
&#39;s (revised) proposal. Defining a new attribute was what I originally p=
roposed in WebCrypto. The objections to that were related to backwards-comp=
atibility and consistency between the two
 attributes, however I think if JOSE specifies the new attribute and the in=
teraction with the existing one (as discussed in this thread) then those co=
ncerns may be mitigated. Or, if appropriate, WebCrypto could register a new=
 attribute with guidance on those
 issues from JOSE.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal">On Mon, Jan 6, 2014 at 4:43 PM, John Bradley &lt;<a =
href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank">ve7jtb@ve7jtb.com</a>&g=
t; wrote:<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">Use was originally optional so going back to that is=
 fine.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Having the Web Crypto WG sort out meta-data for key =
usage by the crypto subsystem and or secure storage with other elements is =
fine with me.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I think they are different use cases one for private=
 or secret keys and the other for public keys.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I do think that for storage restricting the alg will=
 be required if disclosure to the application layer is to be prevented, but=
 the WC WG can work on that without holding up the JWK spec as long as they=
 have the extension point.<u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">John B.<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Dec 31, 2013, at 4:18 PM, Mike Jones &lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">The context that some par=
ticipants may not be keeping in mind is that when =93use=94 was defined, JW=
Ks were intentionally limited to representing public keys.=A0
 The =93use=94 field is used for distinguishing between public signing keys=
 and encryption keys.=A0 The use case where a set of public keys is publicl=
y advertised for use by a protocol participant is quite common. =A0=93use=
=94 is intentionally designed for that use case
 and works great there.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span><u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Sometime later, we added =
the ability to represent private and symmetric keys to JWK =96 at the reque=
st of the WebCrypto WG.=A0 This expanded the possible use cases
 for JWKs to include transporting non-public keys between protocol particip=
ants.=A0 With the addition of non-public keys, additional key uses became p=
ossible, including the possibility of the same key being legally used for t=
wo things (signing/verification, etc.).=A0
 The =93use_details=94 representation makes sense for those use cases.</spa=
n><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span><u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I=92d be fine relaxing th=
e language saying that =93use=94 must be present, because I agree it=92s no=
t a good fit if non-public keys are present.=A0 I suspect not requiring
 =93use=94 would make people happier in the non-public use cases.=A0 And we=
 could explicitly say that =93use=94 is intended for use cases where only p=
ublic keys are present.=A0 Do people agree with this change?</span><u></u><=
u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span><u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Given our goal of keeping=
 simple things simple, I believe that =93use=94 should be retained as-is fo=
r the very common use case of sets of public keys.=A0 It already
 works great there.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span><u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I=92d also be fine saying=
 that applications should specify which of =93use=94 and =93use_details=94 =
they will use and that the other will be ignored.=A0 I=92m also fine changi=
ng
 the name of =93use_details=94 to =93eku=94 (extended key usages) or someth=
ing similar =96 reflecting the fact that then =93use=94 and =93eku=94 aren=
=92t intended to be used together.=A0 And we would say that this field is i=
ntended for use cases where both public and non-public
 keys may be present.=A0 Do people agree with this change?=A0 If so, what n=
ame do you want us to use for the expanded key usages field?</span><u></u><=
u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span><u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 -- Mike</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">=A0Richar=
d Barnes [<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">mailto:rlb@ipv.sx=
</a>]=A0<br>

<b>Sent:</b>=A0Tuesday, December 31, 2013 9:03 AM<br>
<b>To:</b>=A0Mike Jones<br>
<b>Cc:</b>=A0<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">ryan=
-ietf@sleevi.com</a>; John Bradley;
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<b>Subject:</b>=A0Re: [jose] Two proposed JOSE spec actions to more closely=
 coordinate with WebCrypto</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal">However, in advocating for two, parallel extensions =
to JWK for essentially the same purpose, you&#39;re basically arguing that =
&quot;use&quot; is not generally applicable to JWK -- it applies to OpenID/=
SAML-like stuff, but not much more broadly.=A0 (You
 can&#39;t really say the same thing about the more detailed version, since=
 it&#39;s a superset.)=A0 But if &quot;use&quot; is not a generally useful =
feature of JWK, then it shouldn&#39;t be part of the spec.<u></u><u></u></p=
>

</div>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">In other words, if a =
feature is going to be part of the JWK spec, then it needs to meet the requ=
irements that participants in this group put forth.=A0 If we&#39;re choosin=
g not to meet those requirements (as &quot;use&quot;
 does not), then it needs to come out of the spec.<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">I think there&#39;s still room for compromise here (=
see my other reply on the proposal directly).=A0 But if there&#39;s no comp=
romise, then there&#39;s no consensus, and &quot;use&quot; needs to go.<u><=
/u><u></u></p>

</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">--Richard<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>=A0<u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones &lt;<a h=
ref=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank"><span style=3D=
"color:purple">Michael.Jones@microsoft.com</span></a>&gt; wrote:<u></u><u><=
/u></p>

</div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">There&#39;s nothing wrong with differen=
t use cases with different needs supplying different key metadata.<br>
<br>
The ability to do that is an indication of the versatility and usefulness o=
f the JWK format - not a deficiency.</span><u></u><u></u></p>
</div>
</div>
<div>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"3" width=3D"100%" align=3D"center">
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;">From:=A0</span></b><span style=3D"fo=
nt-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><a h=
ref=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=3D"color:=
purple">Ryan
 Sleevi</span></a></span><br>
<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">Sent:=A0</span></b><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;">12/30/2013 1:55 PM</span><b=
r>

<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">To:=A0</span></b><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;"><a href=3D"mailto:Michael.Jon=
es@microsoft.com" target=3D"_blank"><span style=3D"color:purple">Mike Jones=
</span></a></span><br>

<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">Cc:=A0</span></b><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;"><a href=3D"mailto:Michael.Jon=
es@microsoft.com" target=3D"_blank"><span style=3D"color:purple">Mike Jones=
</span></a>;=A0<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><s=
pan style=3D"color:purple">ryan-ietf@sleevi.com</span></a>;=A0<a href=3D"ma=
ilto:rlb@ipv.sx" target=3D"_blank"><span style=3D"color:purple">Richard
 Barnes</span></a>;=A0<a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank=
"><span style=3D"color:purple">John Bradley</span></a>;=A0<a href=3D"mailto=
:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">jose@ietf.or=
g</span></a></span><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
<b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;">Subject:=A0</span></b><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Re: [jose] Two proposed =
JOSE spec actions to more closely coordinate with WebCrypto</span><u></u><u=
></u></p>

</div>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"font-s=
ize:10.0pt">On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:<br>
&gt;=A0 ... and lest there be any confusion, the JWK spec doesn&#39;t requi=
re the use<br>
&gt;=A0 of &quot;use&quot;.=A0 WebCrypto can specify that it not be used an=
d require the use<br>
&gt;=A0 of &quot;use_details&quot; if that best meets the needs of your use=
 case.<br>
<br>
So you&#39;re still arguing for two, incompatible ways of expressing use<br=
>
within the base spec. The current draft (-19) proposes that &quot;A &#39;us=
e&#39;<br>
member SHOULD be present, unless the application uses another means or<br>
convention to determine the intended key usage&quot;.<br>
<br>
That is, if draft-19 were pushed to WGLC, it would leave authors confused<b=
r>
as to when to use either. As specified, the language still strongly<br>
prefers &quot;use&quot;, and continues to suggest &quot;use_details&quot; a=
s a subset, when<br>
it&#39;s not really.<br>
<br>
Richard&#39;s solution is much more sensible, in that it makes it clear tha=
t<br>
there is a single clean way to communicate use going forward, and a<br>
deprecated way from existing specs. Existing keys can continue to be<br>
imported into new versions of the spec - it&#39;s only an issue when a new<=
br>
version of the spec is used to interoperate with an older version. I don&#3=
9;t<br>
think it&#39;s fair to suggest that&#39;s &quot;backwards compatibility&quo=
t; - that&#39;s an<br>
issue of &quot;forwards compatibility&quot;, and one that is far trickier t=
o get<br>
right, and arguably far less important here - and one that can be<br>
addressed in *new* implementations by choice or config.<br>
<br>
Let me try to state the problem differently:<br>
<br>
Is &quot;use&quot; generically suitable for use cases of JWK? Can you envis=
ion other<br>
scenarios where it can be gracefully extended?<br>
<br>
As I see it, the answer is clearly &quot;no&quot;, as already evidenced by<=
br>
WebCrypto&#39;s intended use, but also demonstrated by Axel&#39;s example o=
f &quot;do<br>
not want&quot; (which is X.509&#39;s &#39;extended key usages&#39; field). =
As such, we<br>
should try to fix that spec before finalizing, rather than bolt-on<br>
additions and try to rush things through WGLC, or we should accept that<br>
this is a problem the spec/spec authors are not interested in solving<br>
cleanly, and WebCrypto can move to a solution that does.<br>
<br>
Both specs are still in their infancy of both implementation and adoption<b=
r>
and we should try to do things right while we can.<br>
<br>
&gt;=A0 ________________________________<br>
&gt;=A0 From: Mike Jones&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank"><span style=3D"color:purple">mailto:Michael.Jones@microso=
ft.com</span></a>&gt;<br>
&gt;=A0 Sent: =FD12/=FD30/=FD2013 1:12 PM<br>
&gt;=A0 To:=A0<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><sp=
an style=3D"color:purple">ryan-ietf@sleevi.com</span></a>&lt;mailto:<a href=
=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=3D"color:pur=
ple">ryan-ietf@sleevi.com</span></a>&gt;<br>

&gt;=A0 Cc: Richard Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blan=
k"><span style=3D"color:purple">mailto:rlb@ipv.sx</span></a>&gt;; John<br>
&gt;=A0 Bradley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank"><=
span style=3D"color:purple">mailto:ve7jtb@ve7jtb.com</span></a>&gt;;=A0<a h=
ref=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple"=
>jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_bl=
ank"><span style=3D"color:purple">mailto:jose@ietf.org</span></a>&gt;<br>

&gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>
&gt;=A0 coordinate with WebCrypto<br>
&gt;<br>
&gt;=A0 Ryan, this isn&#39;t an either-or situation. JWK is intended to be =
a general<br>
&gt;=A0 key representation format. It&#39;s extensible exactly so informati=
on for any<br>
&gt;=A0 use cases that need info not in the base spec can add it.=A0 I&#39;=
m still<br>
&gt;=A0 puzzled why some in WebCrypo felt uncomfortable using this extensib=
ility<br>
&gt;=A0 by defining and registering a new field for WebCrypyo&#39;s represe=
ntation of<br>
&gt;=A0 use info. But observing that to be the case, I&#39;m attempting to =
be as clear<br>
&gt;=A0 as possible (through spec actions!) that there&#39;s absolutely no =
reason for<br>
&gt;=A0 WebCrypto not to use JWK.<br>
&gt;<br>
&gt;=A0 There&#39;s no plans to &quot;continue to evolve JWK to parallel th=
e SAML<br>
&gt;=A0 workflows&quot; that I&#39;m aware of. Rather, I believe the only f=
urther addition<br>
&gt;=A0 being considered before completing the spec is one motivated by<br>
&gt;=A0 WebCrypto&#39;s use case rather than SAML - &quot;use_details&quot;=
.<br>
&gt;<br>
&gt;=A0 I believe that the current JWK spec already meets WebCrypto&#39;s n=
eeds as-is.<br>
&gt;=A0=A0 Is there any reason not to just use it and move on to addressing=
 other<br>
&gt;=A0 issues needed to be resolved to complete both JOSE and WebCrypto, b=
oth of<br>
&gt;=A0 which I see as being complementary and important to the industry?<b=
r>
&gt;<br>
&gt;=A0 -- Mike<br>
&gt;=A0 ________________________________<br>
&gt;=A0 From: Ryan Sleevi&lt;<a href=3D"mailto:ryan-ietf@sleevi.com" target=
=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf@sleevi.com</span>=
</a>&gt;<br>
&gt;=A0 Sent: =FD12/=FD30/=FD2013 12:47 PM<br>
&gt;=A0 To: Mike Jones&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" ta=
rget=3D"_blank"><span style=3D"color:purple">mailto:Michael.Jones@microsoft=
.com</span></a>&gt;<br>
&gt;=A0 Cc:=A0<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><sp=
an style=3D"color:purple">ryan-ietf@sleevi.com</span></a>&lt;mailto:<a href=
=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=3D"color:pur=
ple">ryan-ietf@sleevi.com</span></a>&gt;; Richard<br>

&gt;=A0 Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank"><span sty=
le=3D"color:purple">mailto:rlb@ipv.sx</span></a>&gt;; John Bradley&lt;<a hr=
ef=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank"><span style=3D"color:purp=
le">mailto:ve7jtb@ve7jtb.com</span></a>&gt;;<br>

&gt;=A0=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D=
"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose@ietf.org"=
 target=3D"_blank"><span style=3D"color:purple">mailto:jose@ietf.org</span>=
</a>&gt;<br>

&gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>
&gt;=A0 coordinate with WebCrypto<br>
&gt;<br>
&gt;=A0 On Mon, December 30, 2013 11:40 am, Mike Jones wrote:<br>
&gt; &gt;=A0 As further background for the discussion, the current &quot;us=
e&quot; definition<br>
&gt; &gt; is<br>
&gt; &gt;=A0 based on widely deployed existing practice - the SAML metadata=
<br>
&gt; &gt;=A0 specification<br>
&gt; &gt;=A0 (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/saml=
-metadata-2.0-os.pdf" target=3D"_blank"><span style=3D"color:purple">http:/=
/docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf</span></a>=
),<br>

&gt; &gt;=A0 which defines &quot;use&quot; as follows in section=A0<a href=
=3D"http://2.4.1.1/" target=3D"_blank"><span style=3D"color:purple">2.4.1.1=
</span></a>:<br>
&gt; &gt;=A0 use [Optional]<br>
&gt; &gt;=A0 Optional attribute specifying the purpose of the key being des=
cribed.<br>
&gt; &gt;=A0 Values are drawn from the<br>
&gt; &gt;<br>
&gt; &gt;=A0 KeyTypes enumeration, and consist of the values encryption and=
 signing.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 This has been shown to be sufficient in practice for its inten=
ded<br>
&gt; &gt; purpose,<br>
&gt; &gt;=A0 as has the JWK &quot;use&quot; field.<br>
&gt; &gt;<br>
&gt;<br>
&gt;=A0 Mike,<br>
&gt;<br>
&gt;=A0 I feel like you&#39;re arguing all the more strongly for WebCrypto =
not to use<br>
&gt;=A0 JWK, in that you&#39;re arguing that JWK&#39;s &quot;intended purpo=
se&quot; is to match<br>
&gt;=A0 SAML. I can understand where this fits within the JWT and OpenID Co=
nnect<br>
&gt;=A0 workflows, but as a &quot;JSON key description&quot; format, it is =
unquestionably<br>
&gt;=A0 much more restrictive and ill-suited.<br>
&gt;<br>
&gt;=A0 If the goal is to continue to evolve JWK to parallel the SAML workf=
lows,<br>
&gt;=A0 then I don&#39;t see how WebCrypto can in good conscience encourage=
 JWK.<br>
&gt;<br>
&gt;=A0 There&#39;s nothing preventing authors from translating JWK into an=
y sort of<br>
&gt;=A0 API form that WebCrypto requires - much in the same way that they c=
an<br>
&gt;=A0 translate the composite JWA algorithms (which are suitable for tran=
sport)<br>
&gt;=A0 into WebCrypto&#39;s broader, more generic algorithms (which are su=
itable for<br>
&gt;=A0 an API targeting application development).<br>
&gt;<br>
&gt;=A0 Arguably, the only reasons to use JWK are to prevent introducing &q=
uot;yet<br>
&gt;=A0 another key format&quot;. While laudable, if JWK is trying to mirro=
r SAML, then<br>
&gt;=A0 it would seem that JWK is not trying to be a key format, per se, an=
d such<br>
&gt;=A0 risk would be low.<br>
&gt;<br>
&gt;=A0 Again, I&#39;m perfectly fine if JOSE would rather that JWK be kept=
 as minimal<br>
&gt;=A0 and as specific for the JWT use case, and we can easily use a descr=
iptive<br>
&gt;=A0 WebIDL within WebCrypto to describe the key formats it operates wit=
h (in<br>
&gt;=A0 addition to SPKI and PKCS#8). Comments so far from this WG give me =
the<br>
&gt;=A0 sense that there&#39;s strong opposition by some to seeing JWK evol=
ve to be as<br>
&gt;=A0 flexible or generic as SPKI/PKCS#8. That&#39;s fine by me, but that=
&#39;s<br>
&gt;=A0 extensibility that WebCrypto wants, and if JWK isn&#39;t it, we can=
 use<br>
&gt;=A0 something else. OpenID Connect and JWT can continue to use JWK as s=
uited<br>
&gt;=A0 for their needs, and if for some reason someone wants to use JS to<=
br>
&gt;=A0 interact with these, they can use a translation shim, just as they =
would<br>
&gt;=A0 for JWE/JWS or for *any other* cryptographic application, since Web=
Crypto<br>
&gt;=A0 is &quot;just&quot; an API.<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 I understand your point, Ryan, that for the WebCrypto API use =
case,<br>
&gt; &gt; there<br>
&gt; &gt;=A0 is sometimes value in distinguishing between the producer and =
consumer<br>
&gt; &gt;=A0 operations for a key.=A0 That&#39;s part of why I proposed add=
ing<br>
&gt; &gt; &quot;use_details&quot;,<br>
&gt; &gt;=A0 so those distinctions can be made for the use cases where they=
 do make<br>
&gt; &gt; a<br>
&gt; &gt;=A0 difference.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 As for Richard&#39;s proposal, the problem with it is that it =
would be a<br>
&gt; &gt;=A0 breaking change, since if &quot;ku&quot; was present, his prop=
osal would require<br>
&gt; &gt;=A0 different treatment of the &quot;use&quot; field (ignoring it)=
.=A0 My proposal is<br>
&gt; &gt; not<br>
&gt; &gt;=A0 a breaking change, since &quot;use&quot; continues to mean wha=
t it always has.<br>
&gt; &gt;=A0 Furthermore, my proposal requires that &quot;use&quot; and &qu=
ot;use_details&quot; convey<br>
&gt; &gt;=A0 consistent information, if both are present.=A0 That seems sig=
nificantly<br>
&gt; &gt;=A0 simpler for consumers of JWKs use than requiring conditional b=
ehaviors,<br>
&gt; &gt; as<br>
&gt; &gt;=A0 Richard&#39;s proposal does.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Best<br>
&gt; &gt; wishes,<br>
&gt; &gt;<br>
&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 -----Original Message-----<br>
&gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com" tar=
get=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf@sleevi.com</sp=
an></a>]<br>
&gt; &gt;=A0 Sent: Monday, December 30, 2013 10:25 AM<br>
&gt; &gt;=A0 To: Richard Barnes<br>
&gt; &gt;=A0 Cc: Mike Jones;=A0<a href=3D"mailto:ryan-ietf@sleevi.com" targ=
et=3D"_blank"><span style=3D"color:purple">ryan-ietf@sleevi.com</span></a>;=
 John Bradley;=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span s=
tyle=3D"color:purple">jose@ietf.org</span></a><br>

&gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more clo=
sely<br>
&gt; &gt;=A0 coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=
=3D"_blank"><span style=3D"color:purple">Michael.Jones@microsoft.com</span>=
</a>&lt;mailto:<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_bl=
ank"><span style=3D"color:purple">Michael.Jones@microsoft.com</span></a>&gt=
;&gt;wrote:<br>

&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; It&#39;s my sense of the JOSE working group that most a=
re strongly<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; opposed to breaking changes at this point.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 Please don&#39;t claim to represent the WG.=A0 There is a=
 significant<br>
&gt; &gt;<br>
&gt; &gt; &gt; contingent=A0 who care about breaking changes, but also a si=
gnificant<br>
&gt; &gt;<br>
&gt; &gt; &gt; group who would=A0 prefer the best, most usable spec we can =
make,<br>
&gt; &gt;<br>
&gt; &gt; &gt; regardless of the sins of=A0 the past.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; However, I also believe that most JOSE participants sha=
re the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; sentiment of many WebCrypto participants that it would =
be better for<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; all for WebCrypto to use real JWKs, rather than somethi=
ng<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;JWK-like&quot;.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0=A0 How about this for a compromise proposal:<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Leave &quot;use&quot; in for backward compatibility.<b=
r>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Define a new field &quot;ku&quot; (Key Usage, or somet=
hing similar) that has<br>
&gt; &gt;<br>
&gt; &gt; &gt; detailed key usage information.<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Deprecate &quot;use&quot;, recommending that new appli=
cations use &quot;ku&quot;; if<br>
&gt; &gt;<br>
&gt; &gt; &gt; both=A0 are present, &quot;use&quot; MUST be ignored.<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Define the expansion of &quot;use&quot; values to &quo=
t;ku&quot; values<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 That doesn&#39;t break backward compatibilty, but makes d=
etailed control<br>
&gt; &gt;<br>
&gt; &gt; &gt; the=A0 default going forward.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 --Richard<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 As I expressed within WebCrypto, this to me strikes a much mor=
e<br>
&gt; &gt; sensible<br>
&gt; &gt;=A0 balance of backwards compatibility and extensibility, and hope=
fully in<br>
&gt; &gt; a<br>
&gt; &gt;=A0 way that allows existing deployments to cleanly transition whi=
le<br>
&gt; &gt; allowing<br>
&gt; &gt;=A0 new deployments to avoid the limitations of the current drafts=
.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 I very much prefer this over use_details for Web Crypto&#39;s =
use cases.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 I believe my proposal is the best-available solution, giv=
en the<br>
&gt; &gt;<br>
&gt; &gt; &gt; current<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; realistic constraints.=A0 It might have made better sen=
se for a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; WebCrypto spec to define &quot;use_details&quot; than J=
OSE, but if WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; isn&#39;t going to do it, I believe that we&#39;ll all =
be better off in the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; long run if JOSE then does and WebCrypto uses it.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Cheers,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.c=
om" target=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf@sleevi.=
com</span></a>]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; To: Mike Jones<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Cc:=A0<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D=
"_blank"><span style=3D"color:purple">ryan-ietf@sleevi.com</span></a>&lt;ma=
ilto:<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank"><span style=
=3D"color:purple">ryan-ietf@sleevi.com</span></a>&gt;; John Bradley;<br>

&gt; &gt; &gt;=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span s=
tyle=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose@ie=
tf.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose@ietf.org=
</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to m=
ore closely<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 I disagree that &quot;use&quot; allows multiple=
 uses.=A0 Sign/Verify both use<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; the same=A0 algorithm with the same key - just in =
a<br>
&gt; &gt; producer/consumer<br>
&gt; &gt; &gt; role.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; There=A0 would only be a security problem if the s=
ame key was used<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; with<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; *different*=A0 algorithms.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 For symmetric keys, Sign/Verify operations are =
actually the same,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; so in=A0 that case, this is a distinction without =
a difference.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 You may consider the producer/consumer distinct=
ion to be multiple<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; uses,=A0 but only in an academic sense.=A0 You hav=
e to perform both<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; with the same key=A0 pair or symmetric key for the=
 end-to-end<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; cryptography to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; be meaningful.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Doing one without the other is incomplete.=A0 (=
What good is signing<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; if the=A0 signature is never verified?)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Mike,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I don&#39;t think it&#39;s fair to compare them as the =
same, and it&#39;s very<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; much a practical, and not an academic case.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; In a Sign() operation, the input is arbitrary plaintext=
 and the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; output is a signature corresponding to that plaintext; =
an oracle, if<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; you will - as you would want.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; In an API (although not necessarily in JWE/JWS, and und=
erstandably<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; so), a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Verify() operation permits arbitrary plaintext as the i=
nput, but<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; also requires the signature to be verified. The only ou=
tput is a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; boolean - whether or not the signature is correct.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; The goal of &quot;restricting&quot; the uses here would=
 be to allow key<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; storage not necessarily under the control of the caller=
. In<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; WebCrypto, this is the distinction between the executin=
g JS (served<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; by the web page) and the UA implementation. It&#39;s a =
concept borrowed<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; from any number of other good cryptographic APIs (eg: t=
hose that are<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; designed with the notion of opaque key storage)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; With a symmetric key only permitted for a &quot;Verify&=
quot; operation, the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; only way to generate a signature for an arbitrary messa=
ge is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; a) Compromise the key storage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; b) Iterate through all possible signature combinations =
until you get<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;true&quot; as the Verify() result.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; b) may be aided by any number of implementation issues =
(eg:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; non-constant time comparisons, among others), but is ul=
timately<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;tricky&quot;. a) is dependent on implementations,=
 and can be aided or<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; harmed through a variety of means.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Combining these two usages into a single use case - whi=
ch, I agree,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; is probably perfectly acceptable if imagining as a tran=
sport-only<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; exchange<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; -<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; can thus have real and meaningful differences when used=
 at an API<br>
&gt; &gt; &gt; level.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Likewise, Encrypt/Decrypt and Wrap/Unwrap make =
producer/consumer<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; distinctions, but also only use a single key with =
a single<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; algorithm - therefore no security problem.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 =3D=3D=3D=3D<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 For what it&#39;s worth, I think the different =
key use representation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; choices=A0 stems from JOSE being a high-level API =
that tries to make<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; simple things=A0 simple and WebCrypto being a low-=
level API that<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; tries<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; be complete.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Both are valid and useful.=A0 These differences=
 show up in lots of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; places=A0 besides just key usage representations.<=
br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Absolutely agree here. This is why WebCrypto explored w=
hether we<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; should do something &quot;JWK-like&quot;, but suitable =
at an API layer and for<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; it&#39;s goals, and &quot;trivially&quot; convertable w=
ith JWK - but by script<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; authors. The WebCrypto WG wasn&#39;t fond of it, which =
is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; understandable, and why I&#39;m here.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Anyway, the purpose of my proposal is to try to=
 make things<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; easier for=A0 WebCrypto.=A0 I hope people will get=
 behind it.=A0 Yes,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; having both simple and=A0 detailed key usage repre=
sentations seems<br>
&gt; &gt; odd<br>
&gt; &gt; &gt; at first.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; But they&#39;re=A0 designed to address different g=
oals for different<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; kinds<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; applications.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 The alternatives (such as &quot;signOnly,verify=
Only&quot;, etc.) that are<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; currently=A0 being considered are much worse.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I agree that changing to an array will almost certainly=
 break every<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; implementation to date.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I agree that comma-separated is horribad and should be =
avoided, even<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; if it &quot;solves&quot; the backwards compat issue.<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I think your solution is a reasonable attempt to mediat=
e the issues<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; of backwards compatibility with the use cases of WebCry=
pto. However,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I&#39;m still on the fence as to whether or not it real=
ly is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; unreasonable to &quot;break&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; backwards compatibility here - there seems to be a comp=
elling case<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; here as to why even something like [&quot;sign&quot;, &=
quot;verify&quot;] should be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; distinct usages.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; know the bar is incredibly high right now, given JOSE&#=
39;s momentum,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; but I didn&#39;t think that JOSE was past the point of =
no return.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 -----Original Message-----<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@=
sleevi.com" target=3D"_blank"><span style=3D"color:purple">mailto:ryan-ietf=
@sleevi.com</span></a>]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Sent: Friday, December 27, 2013 2:13 PM<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 To: John Bradley<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Cc: Mike Jones;=A0<a href=3D"mailto:jose@ietf.o=
rg" target=3D"_blank"><span style=3D"color:purple">jose@ietf.org</span></a>=
&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color=
:purple">mailto:jose@ietf.org</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec acti=
ons to more<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; closely coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 I&#39;m sorry, John, but by your logic, JOSE is=
 not following your<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; own<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; advice.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 &quot;enc&quot; is already a multiple-use for a=
 key - it allows for both<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; encryption=A0 and decryption. For that matter, wra=
p and unwrap,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; which are supposed to be=A0 inferred based on algo=
rithm, which is a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; JWE/JWS specific aspect, and not=A0 an intrinsic a=
spect of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; JWK-as-key-representation.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Likewise, &quot;sig&quot; implies sign AND veri=
fy, which is meant to be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; unambiguous,=A0 because the assumption is always t=
hat you sign with<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; a private key and=A0 verify with a public key, but=
 as a conceptual<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; framework breaks down for=A0 schemes like HMAC, wh=
ich ostensibly<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; have sign and verify (or MAC and=A0 verify, if you=
 prefer, but we&#39;re<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; splitting<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; hairs here).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 WebCrypto desires to be *more* precise than JOS=
E&#39;s imprecise and<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; overly=A0 broad, implicitly multi-use syntax. That=
 &quot;enc&quot; means four<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; possible uses,=A0 or that &quot;sig&quot; means tw=
o , is a clear sign that<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; JOSE is already actively=A0 encouraging multiple u=
ses for the same<br>
&gt; &gt; &gt; key.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Mike&#39;s proposal is basically an admission t=
hat the ship has<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; sailed on this=A0 implicit, multi-valued usage sem=
antic - which, I<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; can understand and=A0 sympathize with, in the name=
 of backwards<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; compatibility for an in-draft=A0 spec, but let&#39=
;s recognize that as<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; spec&#39;d today, JOSE is preferring and=A0 encour=
aging multiple uses<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; for the same key in ways that will=A0 unquestionab=
ly encourage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; people to make bad mistakes (such as multiple=A0 p=
arties using the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; same encryption key for traffic in either directio=
n -=A0 requiring<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; some degree of IV sync)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 On Tue, December 24, 2013 4:27 pm, John Bradley=
 wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 Having it be an array encourages multiple =
uses for the same<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; key.=A0 I have=A0 stated many times that enco=
uraging people to do<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; that is not a good idea,=A0 and making it eas=
y makes people think<br>
&gt; &gt; it<br>
&gt; &gt; &gt; is a good idea.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 You can use the single value field and hav=
e multiple entries<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with different key containing the same or dif=
ferent keys to do<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; the same thing.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 On the practical side &quot;use_details&qu=
ot; is better than creating<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; crazy dot separated como uses.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 John B.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 On Dec 24, 2013, at 8:26 PM, Mike Jones<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft=
.com" target=3D"_blank"><span style=3D"color:purple">Michael.Jones@microsof=
t.com</span></a>&lt;mailto:<a href=3D"mailto:Michael.Jones@microsoft.com" t=
arget=3D"_blank"><span style=3D"color:purple">Michael.Jones@microsoft.com</=
span></a>&gt;&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among =
WebCrypto and JOSE<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypt=
o over the holidays,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; I&#39;d like to propose the two JOSE spe=
c actions to more closely<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; coordinate<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with WebCrypto:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 1.=A0 Change the JWA registry field name=
 from &quot;Implementation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Impleme=
ntation Requirements&quot; in the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algori=
thms Registry (<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0<a href=3D"http://tools.ietf.org/html/draft-ietf-jose=
-json-web-algorithms-18#se" target=3D"_blank"><span style=3D"color:purple">=
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se</span>=
</a><br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; ction-7.1<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; ).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0 This will make it clearer that the Im=
plementation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE i=
mplementations - and<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto=
).=A0 This changes only<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; non-normative text and is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; non-breaking.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 2.=A0 Define the new JWK field &quot;use=
_details&quot; for recording<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; intended fine-grained key usage informat=
ion.=A0 This would<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; (<a href=3D"https://dvcs.w3.org/hg/webcr=
ypto-api/raw-file/tip/spec/Overvi" target=3D"_blank"><span style=3D"color:p=
urple">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi</span>=
</a><br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; tm<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used direc=
tly with JWK.=A0 The<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; proposed definition is:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 3.3.=A0 &quot;use_details&quot; (Key Use=
 Details) Parameter<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The &quot;use_details&quot; (ke=
y use details) member identifies<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; fine-grained<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 details the intended use of the=
 key.=A0 Its value is an array<br>
&gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 key use details values.=A0 Valu=
es defined by this<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; specification<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; are:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;sign&quot; (compute =
signature or MAC)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;verify&quot; (verify=
 signature or MAC)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;encrypt&quot; (encry=
pt content)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;decrypt&quot; (decry=
pt content and verify decryption, if<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; applicable)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;wrap&quot; (encrypt =
key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;unwrap&quot; (decryp=
t key and verify decryption, if<br>
&gt; &gt; &gt; applicable)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveKey&quot; (der=
ive key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveBits&quot; (de=
rive bits not to be used as a key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Other values MAY be used.=A0 Ke=
y Use Details values can be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; registered<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 in the IANA JSON Web Key Use De=
tails registry defined in<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Section<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 7.3.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The use details values are case=
-sensitive strings.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Duplicate use details values MU=
ST NOT be present in the<br>
&gt; &gt; &gt; array.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Use of the &quot;use_details&qu=
ot; member is OPTIONAL, unless the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; application<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 requires use this member to rec=
ord fine-grained key usage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; details.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 (Note that the &quot;use_detail=
s&quot; values intentionally match the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 values defined in the WebCrypto=
 [WebCrypto] specification.)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If both &quot;use&quot; and &qu=
ot;use_details&quot; JWK members are present,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; usages<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 specified by them MUST be consi=
stent.=A0 In particular, the<br>
&gt; &gt; &gt; &quot;use&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; value<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;sig&quot; corresponds to =
&quot;sign&quot; and/or &quot;verify&quot;.=A0 The &quot;use&quot;<br>
&gt; &gt; value<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;enc&quot; corresponds to =
all other values defined above.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If &quot;use_details&quot; valu=
es corresponding to both &quot;sig&quot; and<br>
&gt; &gt; &quot;enc&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;use&quot; values are pres=
ent, the &quot;use&quot; member SHOULD NOT be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; present,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 and if present, its value MUST =
NOT be either &quot;sig&quot; or<br>
&gt; &gt; &quot;enc&quot;.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing=
 simple applications<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; that want to distinguish between signing=
 and encryption<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; operations to continue doing so as they =
do today, while also<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage detai=
ls field to be used by<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; applications that want to record fine-gr=
ained distinctions<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; among potential key usages, including di=
stinguishing between<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; operations.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; As I see it, while having two related ke=
y usage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; representations isn&#39;t ideal, it&#39;=
s far better than having<br>
&gt; &gt; &gt; WebCrypto overload &quot;use&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in stri=
ngs, such as<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I=
 believe is their current plan<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; record.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Comments?<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; P.S.=A0 This proposal was already discus=
sed on the WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; list in the thread<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0<a href=3D"http://lists.w3.org/Archive=
s/Public/public-webcrypto/2013Dec/0052" target=3D"_blank"><span style=3D"co=
lor:purple">http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/00=
52</span></a>.<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised ther=
e that I&#39;m aware of.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ________________________________________=
_______<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0<a href=3D"mailto:jose@ietf.org" targe=
t=3D"_blank"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a hr=
ef=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">=
mailto:jose@ietf.org</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0<a href=3D"https://www.ietf.org/mailma=
n/listinfo/jose" target=3D"_blank"><span style=3D"color:purple">https://www=
.ietf.org/mailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 __________________________________________=
_____<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0=A0<a href=3D"mailto:jose@ietf.org" target=
=3D"_blank"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a hre=
f=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">m=
ailto:jose@ietf.org</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0=A0<a href=3D"https://www.ietf.org/mailman/=
listinfo/jose" target=3D"_blank"><span style=3D"color:purple">https://www.i=
etf.org/mailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 _______________________________________________=
<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0=A0<a href=3D"mailto:jose@ietf.org" target=3D"_b=
lank"><span style=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"m=
ailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:purple">mailto:=
jose@ietf.org</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0=A0<a href=3D"https://www.ietf.org/mailman/listi=
nfo/jose" target=3D"_blank"><span style=3D"color:purple">https://www.ietf.o=
rg/mailman/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><s=
pan style=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jo=
se@ietf.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose@iet=
f.org</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose=
" target=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/mailm=
an/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><spa=
n style=3D"color:purple">jose@ietf.org</span></a>&lt;<a href=3D"mailto:jose=
@ietf.org" target=3D"_blank"><span style=3D"color:purple">mailto:jose@ietf.=
org</span></a>&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt;=A0=A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/mailman=
/listinfo/jose</span></a><br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 _______________________________________________<br>
&gt; &gt;=A0 jose mailing list<br>
&gt; &gt;=A0=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span sty=
le=3D"color:purple">jose@ietf.org</span></a><br>
&gt; &gt;=A0=A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" targe=
t=3D"_blank"><span style=3D"color:purple">https://www.ietf.org/mailman/list=
info/jose</span></a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;=A0 _______________________________________________<br>
&gt;=A0 jose mailing list<br>
&gt;=A0=A0<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D=
"color:purple">jose@ietf.org</span></a><br>
&gt;=A0=A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"=
_blank"><span style=3D"color:purple">https://www.ietf.org/mailman/listinfo/=
jose</span></a><br>
&gt;</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>

--e89a8f5032e23416be04ef69da9b--

From anders.rundgren.net@gmail.com  Wed Jan  8 02:42:55 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D1181AE223 for <jose@ietfa.amsl.com>; Wed,  8 Jan 2014 02:42:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 nElWdDKux0VS for <jose@ietfa.amsl.com>; Wed,  8 Jan 2014 02:42:54 -0800 (PST)
Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id DF9941AE235 for <jose@ietf.org>; Wed,  8 Jan 2014 02:42:53 -0800 (PST)
Received: by mail-we0-f174.google.com with SMTP id q58so1243543wes.5 for <jose@ietf.org>; Wed, 08 Jan 2014 02:42:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bDYPSuQMWw6WhC7xA0XMVuqKNqv5K9eYzrn7+LGbDlA=; b=UzcCGAd7JQcZsDAHsPhsfGrEQePKz0Pmvh5efDKxJ3QYmdzA8wcWd3plC81UaRXRZZ +L4vai/lSm+r1mCbms+rrtohZ73isr3db9kKLP6Lhf/MyWYL0UBCHlqNK8t3DkbZo4ez xLMULzTfkLt6ZJPrve0h78nX+jXhnXJrWdYgCvbBPP8raZMwDfW97+XbZQgwx+HDMKVj hDoEMRM3rjI1fO0mxOj/boxqJRRHXeZvUTdmEDeC0eHhS8KGXQ0dcBV4ehLHyuufu6Ps JutSxoq4HizyIhp+bymQW0GRek4eOp5snka0vpXYRCwzL1mGti3zng5LJmT0n2H835we ZvMw==
X-Received: by 10.180.79.106 with SMTP id i10mr20656296wix.23.1389177764325; Wed, 08 Jan 2014 02:42:44 -0800 (PST)
Received: from [192.168.1.33] (66.100.176.95.rev.sfr.net. [95.176.100.66]) by mx.google.com with ESMTPSA id e5sm32902910wja.15.2014.01.08.02.42.43 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 02:42:43 -0800 (PST)
Message-ID: <52CD2B9C.8040004@gmail.com>
Date: Wed, 08 Jan 2014 11:42:36 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <52CBBBD6.3060708@gmail.com> <436C5BE7-3ABB-4F94-BAA7-6482613AAA40@tzi.org> <52CBC964.5010300@gmail.com> <21C162B5-4F00-46B7-892A-CC2F264C7934@tzi.org> <52CBD905.1060703@gmail.com> <3B72B035-4608-42F5-A8B0-A95B559DF3BF@tzi.org>
In-Reply-To: <3B72B035-4608-42F5-A8B0-A95B559DF3BF@tzi.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JSON parser in JavaScript supporting canonicalization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 10:42:55 -0000

On 2014-01-07 12:04, Carsten Bormann wrote:
> On 07 Jan 2014, at 11:37, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
> 
>> If this makes the entire concept invalid that's a valid opinion, however it is not a fact.
> 
> It’s not the concept that is invalid.
> 
> When people read “JSON”, they expect to be able to make use of the vast JSON ecosystem.
> That is not the case with the syntax that you are proposing.
> So it is more honest not to call it JSON.
> (Not beyond “leveraging JSON syntax for a new data interchange format”, that is.)

The only real snag with JCS which I'm aware of is that you cannot [safely] validate
such a signature when expressed as a JavaScript object literal:

var nonVerifiableSignedData = {
  "unnormalizedNumber", 4.50,
  "Signature":
     {
         ...
     }
};

It would require a patch i JavaScript itself to solve that (which is hardly an option).
That is, in a JS environment, you have to pass JCS objects through a separate
[enhanced] JSON parser as valid JS strings.

Given the fact that you should verify security protocol data thoroughly and base64
decode etc., it seems that no matter what you do there are additional parsing steps
involved which IMO makes the problem above fairly unimportant.

I'm currently integrating JCS with WebCrypto.  It's not easy but this has more to
do with my n00b-status on JS programming than with any fundamental problems in
the syntax or architecture.

It is possible that calling this JSON is false marketing, I leave that to the
market to decide :-)

Anders

> 
> Grüße, Carsten
> 


From odonoghue@isoc.org  Wed Jan  8 07:43:09 2014
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E85F71AE434 for <jose@ietfa.amsl.com>; Wed,  8 Jan 2014 07:43:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_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 bbw9Qmgf4x8q for <jose@ietfa.amsl.com>; Wed,  8 Jan 2014 07:43:07 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0242.outbound.protection.outlook.com [207.46.163.242]) by ietfa.amsl.com (Postfix) with ESMTP id 27EF11AD8EC for <jose@ietf.org>; Wed,  8 Jan 2014 07:43:07 -0800 (PST)
Received: from kodonog-mac.local (74.214.48.55) by DM2PR06MB591.namprd06.prod.outlook.com (10.141.176.154) with Microsoft SMTP Server (TLS) id 15.0.842.7; Wed, 8 Jan 2014 15:42:53 +0000
Message-ID: <52CD70EC.8020909@isoc.org>
Date: Wed, 8 Jan 2014 10:38:20 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
References: <134368885.14246.1388850276514.JavaMail.nobody@jva2tc110.webex.com>
In-Reply-To: <134368885.14246.1388850276514.JavaMail.nobody@jva2tc110.webex.com>
X-Forwarded-Message-Id: <134368885.14246.1388850276514.JavaMail.nobody@jva2tc110.webex.com>
Content-Type: multipart/alternative; boundary="------------000204030709000807090303"
X-Originating-IP: [74.214.48.55]
X-ClientProxiedBy: BL2PR02CA009.namprd02.prod.outlook.com (10.141.66.19) To DM2PR06MB591.namprd06.prod.outlook.com (10.141.176.154)
X-Forefront-PRVS: 00851CA28B
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(377454003)(189002)(199002)(64126003)(66066001)(65956001)(74706001)(74876001)(33656001)(59896001)(77982001)(36756003)(63696002)(79102001)(59766001)(65806001)(81816001)(81686001)(83506001)(15975445006)(80022001)(76796001)(76786001)(16236675002)(56776001)(85306002)(84326002)(56816005)(90146001)(83072002)(85852003)(87976001)(512874002)(80976001)(19580395003)(83322001)(80316001)(551544002)(77096001)(74366001)(53806001)(15202345003)(76482001)(42186004)(54356001)(4396001)(46102001)(51856001)(49866001)(47736001)(50986001)(47976001)(16799955002)(16601075003)(74502001)(47446002)(31966008)(54316002)(74662001)(81542001)(69226001)(81342001)(71186001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR06MB591; H:kodonog-mac.local; CLIP:74.214.48.55; FPR:; RD:InfoNoRecords; MX:1; A:1; LANG:en; 
X-OriginatorOrg: isoc.org
Subject: [jose] CORRECTION: JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 15:43:10 -0000

--------------000204030709000807090303
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit

The original notification had incorrect webex information. The details 
below correct
the webex information while maintaining the originally announced date 
and time.

******************

The JOSE wg will hold a two hour virtual interim meeting on:
Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)

The purpose of the meeting will be to review the latest published wg 
drafts,
discuss any remaining open issues, and discuss proceeding to WGLC.

http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19

The webex details are below.

Regards,
Karen


-------------------------------------------------------
Meeting information
-------------------------------------------------------
Topic: jose
Date: Monday, January 13, 2014
Time: 7:00 pm, Eastern Standard Time (New York, GMT-05:00)
Meeting Number: 645 173 982
Meeting Password: security

-------------------------------------------------------
To start or join the online meeting
-------------------------------------------------------
Go to 
https://ietf.webex.com/ietf/j.php?ED=259577202&UID=508402732&PW=NNmNiODY1NGIz&RT=MiMxMQ%3D%3D 


-------------------------------------------------------
Audio conference information
-------------------------------------------------------
Call-in toll number (US/Canada): 1-650-479-3208

Access code:645 173 982

-------------------------------------------------------
For assistance
-------------------------------------------------------
1. Go to https://ietf.webex.com/ietf/mc
2. On the left navigation bar, click "Support".
To add this meeting to your calendar program (for example Microsoft 
Outlook), click this link:
https://ietf.webex.com/ietf/j.php?ED=259577202&UID=508402732&ICS=MS&LD=1&RD=2&ST=1&SHA2=AAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg 


To check whether you have the appropriate players installed for UCF 
(Universal Communications Format) rich media files, go to 
https://ietf.webex.com/ietf/systemdiagnosis.php.

http://www.webex.com

CCM:+16504793208x645173982#

IMPORTANT NOTICE: This WebEx service includes a feature that allows 
audio and any documents and other materials exchanged or viewed during 
the session to be recorded. You should inform all meeting attendees 
prior to recording if you intend to record the meeting. Please note that 
any such recordings may be subject to discovery in the event of litigation.



--------------000204030709000807090303
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The original notification had incorrect webex information. The
    details below correct <br>
    the webex information while maintaining the originally announced
    date and time.<br>
    <br>
    ******************<br>
    <br>
    The JOSE wg will hold a two hour virtual interim meeting on:<br>
    Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)<br>
    <br>
    The purpose of the meeting will be to review the latest published wg
    drafts, <br>
    discuss any remaining open issues, and discuss proceeding to WGLC. <br>
    <br>
    <a class="moz-txt-link-freetext"
      href="http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19</a><br>
    <a class="moz-txt-link-freetext"
      href="http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19</a><br>
    <a class="moz-txt-link-freetext"
      href="http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19</a><br>
    <a class="moz-txt-link-freetext"
      href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19</a><br>
    <br>
    The webex details are below. <br>
    <br>
    Regards,<br>
    Karen<br>
    <font face="Tahoma, Arial, sans-serif, Helvetica, Geneva" size="2"><br>
    </font>
    <div class="moz-forward-container"><font face="Tahoma, Arial,
        sans-serif, Helvetica, Geneva" size="2"><br>
        ------------------------------------------------------- <br>
        Meeting information <br>
        ------------------------------------------------------- <br>
        Topic: jose <br>
        Date: Monday, January 13, 2014 <br>
        Time: 7:00 pm, Eastern Standard Time (New York, GMT-05:00) <br>
        Meeting Number: 645 173 982 <br>
        Meeting Password: security <br>
        <br>
        ------------------------------------------------------- <br>
        To start or join the online meeting <br>
        ------------------------------------------------------- <br>
        Go to <a moz-do-not-send="true"
href="https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;PW=NNmNiODY1NGIz&amp;RT=MiMxMQ%3D%3D"
          target="_blank">https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;PW=NNmNiODY1NGIz&amp;RT=MiMxMQ%3D%3D</a>
        <br>
        <br>
        ------------------------------------------------------- <br>
        Audio conference information <br>
        ------------------------------------------------------- <br>
        Call-in toll number (US/Canada): 1-650-479-3208 <br>
        <br>
        Access code:645 173 982 <br>
        <br>
        ------------------------------------------------------- <br>
        For assistance <br>
        ------------------------------------------------------- <br>
        1. Go to <a moz-do-not-send="true"
          href="https://ietf.webex.com/ietf/mc" target="_blank">https://ietf.webex.com/ietf/mc</a>
        <br>
        2. On the left navigation bar, click "Support". <br>
        To add this meeting to your calendar program (for example
        Microsoft Outlook), click this link: <br>
        <a moz-do-not-send="true"
href="https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;ICS=MS&amp;LD=1&amp;RD=2&amp;ST=1&amp;SHA2=AAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg"
          target="_blank">https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;ICS=MS&amp;LD=1&amp;RD=2&amp;ST=1&amp;SHA2=AAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg</a>
        <br>
        <br>
        To check whether you have the appropriate players installed for
        UCF (Universal Communications Format) rich media files, go to <a
          moz-do-not-send="true"
          href="https://ietf.webex.com/ietf/systemdiagnosis.php">https://ietf.webex.com/ietf/systemdiagnosis.php</a>.
        <br>
        <br>
        <a moz-do-not-send="true" href="http://www.webex.com"
          target="_blank">http://www.webex.com</a> <br>
        <br>
        CCM:+16504793208x645173982# <br>
        <br>
        IMPORTANT NOTICE: This WebEx service includes a feature that
        allows audio and any documents and other materials exchanged or
        viewed during the session to be recorded. You should inform all
        meeting attendees prior to recording if you intend to record the
        meeting. Please note that any such recordings may be subject to
        discovery in the event of litigation. <br>
      </font><br>
    </div>
    <br>
  </body>
</html>

--------------000204030709000807090303--

From iesg-secretary@ietf.org  Wed Jan  8 10:57:04 2014
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F0851AE0F3; Wed,  8 Jan 2014 10:57:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 3Zzl06M7fr6O; Wed,  8 Jan 2014 10:57:02 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D4A31AE0E5; Wed,  8 Jan 2014 10:57:02 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: IESG Secretary <iesg-secretary@ietf.org>
To: IETF Announcement List <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140108185702.12576.17905.idtracker@ietfa.amsl.com>
Date: Wed, 08 Jan 2014 10:57:02 -0800
Cc: jose@ietf.org
Subject: [jose] CORRECTION: JOSE WG virtual interim, Monday, 13 January 2014
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Reply-To: jose@ietf.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jan 2014 18:57:04 -0000

The original notification had incorrect webex information. The details
below correct
the webex information while maintaining the originally announced date
and time.

******************

The JOSE wg will hold a two hour virtual interim meeting on:
Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)

The purpose of the meeting will be to review the latest published wg
drafts,
discuss any remaining open issues, and discuss proceeding to WGLC.

http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19

The webex details are below.

Regards,
Karen


-------------------------------------------------------
Meeting information
-------------------------------------------------------
Topic: jose
Date: Monday, January 13, 2014
Time: 7:00 pm, Eastern Standard Time (New York, GMT-05:00)
Meeting Number: 645 173 982
Meeting Password: security

-------------------------------------------------------
To start or join the online meeting
-------------------------------------------------------
Go to
https://ietf.webex.com/ietf/j.php?ED=3D259577202&UID=3D508402732&PW=3DNNmNi=
ODY1NGIz&RT=3DMiMxMQ%3D%3D


-------------------------------------------------------
Audio conference information
-------------------------------------------------------
Call-in toll number (US/Canada): 1-650-479-3208

Access code:645 173 982

-------------------------------------------------------
For assistance
-------------------------------------------------------
1. Go to https://ietf.webex.com/ietf/mc
2. On the left navigation bar, click "Support".
To add this meeting to your calendar program (for example Microsoft
Outlook), click this link:
https://ietf.webex.com/ietf/j.php?ED=3D259577202&UID=3D508402732&ICS=3DMS&L=
D=3D1&RD=3D2&ST=3D1&SHA2=3DAAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg


To check whether you have the appropriate players installed for UCF
(Universal Communications Format) rich media files, go to
https://ietf.webex.com/ietf/systemdiagnosis.php.

http://www.webex.com

CCM:+16504793208x645173982#

IMPORTANT NOTICE: This WebEx service includes a feature that allows
audio and any documents and other materials exchanged or viewed during
the session to be recorded. You should inform all meeting attendees
prior to recording if you intend to record the meeting. Please note that
any such recordings may be subject to discovery in the event of litigation.

From ignisvulpis@gmail.com  Thu Jan  9 02:24:22 2014
Return-Path: <ignisvulpis@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 441F71AE1AE for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 02:24:22 -0800 (PST)
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 OPkPekHfj5hI for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 02:24:19 -0800 (PST)
Received: from mail-qe0-x231.google.com (mail-qe0-x231.google.com [IPv6:2607:f8b0:400d:c02::231]) by ietfa.amsl.com (Postfix) with ESMTP id 78F211AE12C for <jose@ietf.org>; Thu,  9 Jan 2014 02:24:15 -0800 (PST)
Received: by mail-qe0-f49.google.com with SMTP id w4so92490qeb.8 for <jose@ietf.org>; Thu, 09 Jan 2014 02:24:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8S/CTul6eggVd4e7VUIu89xtCHFy6U99PFs/syWchzo=; b=WSyhvxvJxrx2CMJ+J6+W1Pyq2oEPj/JkzTH3OUQF2H9YQMz0NdIvOnn9rcZX3BneN8 7ojQHhZ6z5gF9XNAdVhSlyg7MSb9NIlJ4zcPPutFkw+Kippp9/JrWIOZcY5uW3FA5B8N o2aa+e0Bjjcby37qWKD3WCUJgc0QHmO+ZsZ+MbnFZp5wVL8lL6eC07dMvhRIs+4RBjJy Y56mhKOpv59jsr6RHDPTM4pxy4uA0WAExXnV6J67XNx6MvH0I175PJRxmUCveAY1D/iL a+iucjk30Vxy/K/q1d/UqLkRj3zVMMtTZ4RjL4bO+V7XcmfiLe0WQHpmSA8qGHrZj5su 0cJg==
MIME-Version: 1.0
X-Received: by 10.49.131.5 with SMTP id oi5mr5884843qeb.38.1389263045839; Thu, 09 Jan 2014 02:24:05 -0800 (PST)
Received: by 10.229.205.194 with HTTP; Thu, 9 Jan 2014 02:24:05 -0800 (PST)
In-Reply-To: <52BDCC31.4070405@digitalbazaar.com>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com> <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com> <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com> <52BDCC31.4070405@digitalbazaar.com>
Date: Thu, 9 Jan 2014 11:24:05 +0100
Message-ID: <CAHcDwFzT2xniu1YXqVsb8v7s7RwtE7fPTEab6KrCwTEsqyqAeA@mail.gmail.com>
From: Axel Nennker <ignisvulpis@gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>, "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=047d7bdc062858d19104ef8702ec
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 10:24:22 -0000

--047d7bdc062858d19104ef8702ec
Content-Type: text/plain; charset=ISO-8859-1

I fully agree that the "identity community" is larger than the Persona
team.

I disagree that "identity solutions on the web" should not use JOSE.
The comparison between JOSE and your Secure Messaging is valuable. Thanks
for writing it up.

Although I think that arguments of the type "my format/protocol is more
web-ier than your protocol" are childish.
(... Conclusion: ... leverages more of the Web...)

The current JWE/JWA/JWT/JWS/JWK specs express the consensus of IETF's JOSE
WG. It was not easy to get here and I agree that not everybody is
completely happy with all "decisions" but this is how "rough consensus"
works.

I think that future specs like web payments should use the JOSE specs. Your
argument about spec size does not count in my POV because web payments
should spec a profile of the JOSE specs if you don't need all the glory.
And yes: not everybody loves the short names like "iss" versus your
"creator".

cheers
Axel




2013/12/27 Manu Sporny <msporny@digitalbazaar.com>

> On 12/24/2013 03:20 AM, Axel Nennker wrote:
> > this document describes the current Persona formats and the
> > differences to JOSE. My understanding from the dev-identity emails
> > is that Persona and FxA want to align with JOSE and get rid of the
> > differences:
> > https://github.com/djc/id-specs/blob/prod/browserid/json-formats.md
>
> Yes, I think it's fair to say that the Persona team's plan is to align
> with the JOSE specs. However, the identity community is larger than the
> Persona team and we've raised the possibility that we'll be challenging
> the notion that identity solutions on the Web should utilize the JOSE
> specs for the reasons outlined in the review.
>
> > As a developer I don't buy the Anti-base64-encoding / simplicity
> > argument because I only have to output the decoded message to my
> > payment-server's logs. I never sniff the messages from the wire
> > which would be much harder because they come through an SSL channel
> > anyway.
>
> You are looking at it from the standpoint of having access to the
> server-side. Many web developers spend a large chunk of their time
> interfacing with services from the client side, where they don't have
> access to the server side (interfacing w/ Twitter, Facebook, Google
> services, etc.). Many of these developers use the built-in browser tools
> to do development, and would be hampered by seeing large chunks of
> non-binary base64 data coming across the wire.
>
> On 12/24/2013 03:20 AM, Axel Nennker wrote:
> > I think that canonicalization / normalization of the to-be-signed
> > payment message is a HUGE mistake. That was a major pain with
> > xmldsig in the past. base64 encoding stuff and working on that is
> > MUCH better for interoperability.
> Peter Saint-Andre wrote:
> > A big +1 to that. Going down the canonicalization road can only harm
> >  interoperability.
>
> One of the major reasons it was a big pain in XMLDSIG is because you
> could express the same message in a bunch of different syntactic ways.
> Another reason was because of namespace injection. We do not attempt to
> canonicalize the JSON message due to the variation in serialization wrt.
> JSON processors. Rather, we canonicalize at the data model layer using a
> very simple syntax. Thus, we don't fall into the same trap that XMLDSIG
> did.
>
> The major issues with XMLDSIG are not issues with the canonicalization
> mechanism used for the SM spec. We have 3 interoperable implementations
> at this point and a fairly expansive test suite to ensure compliance
> with the digital signature algorithm. To date, we haven't hit upon the
> same issues that XMLDSIG did.
>
> Perhaps you could elaborate on why the approach that we took, which is
> very different from XMLDSIG, is going to harm interoperability. The
> current arguments put forward for "canonicalization is bad" assume that
> we took the same path that XMLDSIG took, which is an uninformed starting
> point.
>
> -- manu
>
> --
> Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
> Founder/CEO - Digital Bazaar, Inc.
> blog: The Worlds First Web Payments Workshop
> http://www.w3.org/2013/10/payments/
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

--047d7bdc062858d19104ef8702ec
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div>I fully agree that the =
&quot;identity community&quot; is larger than the Persona team. <br><br></d=
iv>I disagree that &quot;identity solutions on the web&quot; should not use=
 JOSE.<br>
</div>The comparison between JOSE and your Secure Messaging is valuable. Th=
anks for writing it up.<br><br></div>Although I think that arguments of the=
 type &quot;my format/protocol is more web-ier than your protocol&quot; are=
 childish.<br>
</div>(... Conclusion: ... leverages more of the Web...)<br><br></div>The c=
urrent JWE/JWA/JWT/JWS/JWK specs express the consensus of IETF&#39;s JOSE W=
G. It was not easy to get here and I agree that not everybody is completely=
 happy with all &quot;decisions&quot; but this is how &quot;rough consensus=
&quot; works. <br>
<br></div>I think that future specs like web payments should use the JOSE s=
pecs. Your argument about spec size does not count in my POV because web pa=
yments should spec a profile of the JOSE specs if you don&#39;t need all th=
e glory. And yes: not everybody loves the short names like &quot;iss&quot; =
versus your &quot;creator&quot;.<br>
<br></div>cheers<br>Axel<br><div><div><br><div><div><div><div><div><div><br=
></div></div></div></div></div></div></div></div></div><div class=3D"gmail_=
extra"><br><br><div class=3D"gmail_quote">2013/12/27 Manu Sporny <span dir=
=3D"ltr">&lt;<a href=3D"mailto:msporny@digitalbazaar.com" target=3D"_blank"=
>msporny@digitalbazaar.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 12/24/2013 03:20 AM, Ax=
el Nennker wrote:<br>
&gt; this document describes the current Persona formats and the<br>
&gt; differences to JOSE. My understanding from the dev-identity emails<br>
&gt; is that Persona and FxA want to align with JOSE and get rid of the<br>
&gt; differences:<br>
&gt; <a href=3D"https://github.com/djc/id-specs/blob/prod/browserid/json-fo=
rmats.md" target=3D"_blank">https://github.com/djc/id-specs/blob/prod/brows=
erid/json-formats.md</a><br>
<br>
</div>Yes, I think it&#39;s fair to say that the Persona team&#39;s plan is=
 to align<br>
with the JOSE specs. However, the identity community is larger than the<br>
Persona team and we&#39;ve raised the possibility that we&#39;ll be challen=
ging<br>
the notion that identity solutions on the Web should utilize the JOSE<br>
specs for the reasons outlined in the review.<br>
<div class=3D"im"><br>
&gt; As a developer I don&#39;t buy the Anti-base64-encoding / simplicity<b=
r>
&gt; argument because I only have to output the decoded message to my<br>
&gt; payment-server&#39;s logs. I never sniff the messages from the wire<br=
>
&gt; which would be much harder because they come through an SSL channel<br=
>
&gt; anyway.<br>
<br>
</div>You are looking at it from the standpoint of having access to the<br>
server-side. Many web developers spend a large chunk of their time<br>
interfacing with services from the client side, where they don&#39;t have<b=
r>
access to the server side (interfacing w/ Twitter, Facebook, Google<br>
services, etc.). Many of these developers use the built-in browser tools<br=
>
to do development, and would be hampered by seeing large chunks of<br>
non-binary base64 data coming across the wire.<br>
<div class=3D"im"><br>
On 12/24/2013 03:20 AM, Axel Nennker wrote:<br>
&gt; I think that canonicalization / normalization of the to-be-signed<br>
&gt; payment message is a HUGE mistake. That was a major pain with<br>
&gt; xmldsig in the past. base64 encoding stuff and working on that is<br>
&gt; MUCH better for interoperability.<br>
</div><div class=3D"im">Peter Saint-Andre wrote:<br>
&gt; A big +1 to that. Going down the canonicalization road can only harm<b=
r>
&gt; =A0interoperability.<br>
<br>
</div>One of the major reasons it was a big pain in XMLDSIG is because you<=
br>
could express the same message in a bunch of different syntactic ways.<br>
Another reason was because of namespace injection. We do not attempt to<br>
canonicalize the JSON message due to the variation in serialization wrt.<br=
>
JSON processors. Rather, we canonicalize at the data model layer using a<br=
>
very simple syntax. Thus, we don&#39;t fall into the same trap that XMLDSIG=
 did.<br>
<br>
The major issues with XMLDSIG are not issues with the canonicalization<br>
mechanism used for the SM spec. We have 3 interoperable implementations<br>
at this point and a fairly expansive test suite to ensure compliance<br>
with the digital signature algorithm. To date, we haven&#39;t hit upon the<=
br>
same issues that XMLDSIG did.<br>
<br>
Perhaps you could elaborate on why the approach that we took, which is<br>
very different from XMLDSIG, is going to harm interoperability. The<br>
current arguments put forward for &quot;canonicalization is bad&quot; assum=
e that<br>
we took the same path that XMLDSIG took, which is an uninformed starting<br=
>
point.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-- manu<br>
</font></span><div class=3D"im HOEnZb"><br>
--<br>
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)<br>
Founder/CEO - Digital Bazaar, Inc.<br>
blog: The Worlds First Web Payments Workshop<br>
<a href=3D"http://www.w3.org/2013/10/payments/" target=3D"_blank">http://ww=
w.w3.org/2013/10/payments/</a><br>
</div><div class=3D"HOEnZb"><div class=3D"h5">_____________________________=
__________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div>

--047d7bdc062858d19104ef8702ec--

From anders.rundgren.net@gmail.com  Thu Jan  9 03:28:31 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 329B31AE189 for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 03:28:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 Awk7ULD4Bm6t for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 03:28:28 -0800 (PST)
Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 122211AE10E for <jose@ietf.org>; Thu,  9 Jan 2014 03:28:27 -0800 (PST)
Received: by mail-we0-f174.google.com with SMTP id q58so2609942wes.19 for <jose@ietf.org>; Thu, 09 Jan 2014 03:28:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=2p/wfG/Yx0qXgXzWqMQwlrugvnzfU7ZIuwT7i/wx9/o=; b=kYQEkJxHY7JPG6bUgz52sGJFi13h+yRSA2Jq3g7dr/Xq6eQ6Wsy8iJUUC/LQNMQlsr +1IyyEl+EKgT/YMvpDnaIPpNqhib/qAYb1x7fbawXB4dD8cG5UaITZQl9sO3uJGHfPnf u89ous0+O6sMdBaB1HT9GiDlV9BO4Nqwg/83VKWr5zMaMdqV6UgfJsz6+73TmrEZTcnn u3jCKsCjDnEJZXHBNHZZsNAjS7EGLgI4jZKW3DBRg4mc5gAaA+wEsfxj39domzpI/qd3 cQ0RQHVQcZzQQf92WOwr9XQDJ/uPwOfuKOHpPPGUXZbEYm+IUm5lwy8WPFrFNEL4id72 E5iA==
X-Received: by 10.194.185.205 with SMTP id fe13mr2377864wjc.23.1389266898067;  Thu, 09 Jan 2014 03:28:18 -0800 (PST)
Received: from [192.168.1.33] (66.100.176.95.rev.sfr.net. [95.176.100.66]) by mx.google.com with ESMTPSA id uq2sm1280590wjc.5.2014.01.09.03.28.17 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 03:28:17 -0800 (PST)
Message-ID: <52CE87CB.6050107@gmail.com>
Date: Thu, 09 Jan 2014 12:28:11 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Axel Nennker <ignisvulpis@gmail.com>,  Manu Sporny <msporny@digitalbazaar.com>, "jose@ietf.org" <jose@ietf.org>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com> <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com> <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com> <52BDCC31.4070405@digitalbazaar.com> <CAHcDwFzT2xniu1YXqVsb8v7s7RwtE7fPTEab6KrCwTEsqyqAeA@mail.gmail.com>
In-Reply-To: <CAHcDwFzT2xniu1YXqVsb8v7s7RwtE7fPTEab6KrCwTEsqyqAeA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 11:28:31 -0000

On 2014-01-09 11:24, Axel Nennker wrote:
> I fully agree that the "identity community" is larger than the Persona team.
> 
> I disagree that "identity solutions on the web" should not use JOSE.
> The comparison between JOSE and your Secure Messaging is valuable. Thanks for writing it up.
> 
> Although I think that arguments of the type "my format/protocol is more web-ier than your protocol" are childish.
> (... Conclusion: ... leverages more of the Web...)
> 
> The current JWE/JWA/JWT/JWS/JWK specs express the consensus of IETF's JOSE WG. It was not easy to get here and I agree that not everybody is completely happy with all "decisions" but this is how "rough consensus" works.

Only time can tell if the JOSE WG were a bit too quick dismissing cleartext signature schemes.

Cheers
Anders

> 
> I think that future specs like web payments should use the JOSE specs. Your argument about spec size does not count in my POV because web payments should spec a profile of the JOSE specs if you don't need all the glory. And yes: not everybody loves the short names like "iss" versus your "creator".
> 
> cheers
> Axel
> 
> 
> 
> 
> 2013/12/27 Manu Sporny <msporny@digitalbazaar.com <mailto:msporny@digitalbazaar.com>>
> 
>     On 12/24/2013 03:20 AM, Axel Nennker wrote:
>     > this document describes the current Persona formats and the
>     > differences to JOSE. My understanding from the dev-identity emails
>     > is that Persona and FxA want to align with JOSE and get rid of the
>     > differences:
>     > https://github.com/djc/id-specs/blob/prod/browserid/json-formats.md
> 
>     Yes, I think it's fair to say that the Persona team's plan is to align
>     with the JOSE specs. However, the identity community is larger than the
>     Persona team and we've raised the possibility that we'll be challenging
>     the notion that identity solutions on the Web should utilize the JOSE
>     specs for the reasons outlined in the review.
> 
>     > As a developer I don't buy the Anti-base64-encoding / simplicity
>     > argument because I only have to output the decoded message to my
>     > payment-server's logs. I never sniff the messages from the wire
>     > which would be much harder because they come through an SSL channel
>     > anyway.
> 
>     You are looking at it from the standpoint of having access to the
>     server-side. Many web developers spend a large chunk of their time
>     interfacing with services from the client side, where they don't have
>     access to the server side (interfacing w/ Twitter, Facebook, Google
>     services, etc.). Many of these developers use the built-in browser tools
>     to do development, and would be hampered by seeing large chunks of
>     non-binary base64 data coming across the wire.
> 
>     On 12/24/2013 03:20 AM, Axel Nennker wrote:
>     > I think that canonicalization / normalization of the to-be-signed
>     > payment message is a HUGE mistake. That was a major pain with
>     > xmldsig in the past. base64 encoding stuff and working on that is
>     > MUCH better for interoperability.
>     Peter Saint-Andre wrote:
>     > A big +1 to that. Going down the canonicalization road can only harm
>     >  interoperability.
> 
>     One of the major reasons it was a big pain in XMLDSIG is because you
>     could express the same message in a bunch of different syntactic ways.
>     Another reason was because of namespace injection. We do not attempt to
>     canonicalize the JSON message due to the variation in serialization wrt.
>     JSON processors. Rather, we canonicalize at the data model layer using a
>     very simple syntax. Thus, we don't fall into the same trap that XMLDSIG did.
> 
>     The major issues with XMLDSIG are not issues with the canonicalization
>     mechanism used for the SM spec. We have 3 interoperable implementations
>     at this point and a fairly expansive test suite to ensure compliance
>     with the digital signature algorithm. To date, we haven't hit upon the
>     same issues that XMLDSIG did.
> 
>     Perhaps you could elaborate on why the approach that we took, which is
>     very different from XMLDSIG, is going to harm interoperability. The
>     current arguments put forward for "canonicalization is bad" assume that
>     we took the same path that XMLDSIG took, which is an uninformed starting
>     point.
> 
>     -- manu
> 
>     --
>     Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
>     Founder/CEO - Digital Bazaar, Inc.
>     blog: The Worlds First Web Payments Workshop
>     http://www.w3.org/2013/10/payments/
>     _______________________________________________
>     jose mailing list
>     jose@ietf.org <mailto:jose@ietf.org>
>     https://www.ietf.org/mailman/listinfo/jose
> 
> 
> 
> 
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> 


From trac+jose@trac.tools.ietf.org  Thu Jan  9 07:50:51 2014
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 148D71AE425 for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 07:50:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.438
X-Spam-Level: 
X-Spam-Status: No, score=-2.438 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.538] 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 102G-KaaFNfj for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 07:50:49 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 83A0C1AE41D for <jose@ietf.org>; Thu,  9 Jan 2014 07:50:49 -0800 (PST)
Received: from localhost ([127.0.0.1]:38187 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1W1HsR-0000FE-Ao; Thu, 09 Jan 2014 16:50:35 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, bcampbell@pingidentity.com
X-Trac-Project: jose
Date: Thu, 09 Jan 2014 15:50:35 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/186#comment:1
Message-ID: <080.fed776fae7a9ab732d6b4bd361285c92@trac.tools.ietf.org>
References: <065.8664fafe5a3d6b5e318e81c4fc4cc1a6@trac.tools.ietf.org>
X-Trac-Ticket-ID: 186
In-Reply-To: <065.8664fafe5a3d6b5e318e81c4fc4cc1a6@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, bcampbell@pingidentity.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #186: Rewording Guidance in Key Derivation for ECDH Key Agreement
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jan 2014 15:50:51 -0000

#186: Rewording Guidance in Key Derivation for ECDH Key Agreement

Changes (by bcampbell@pingidentity.com):

 * status:  new => closed
 * resolution:   => fixed


-- 
-------------------------------------+-------------------------------------
 Reporter:                           |       Owner:  draft-ietf-jose-json-
  bcampbell@pingidentity.com         |  web-algorithms@tools.ietf.org
     Type:  defect                   |      Status:  closed
 Priority:  minor                    |   Milestone:  IETF 88 - Vancouver
Component:  json-web-algorithms      |     Version:
 Severity:  -                        |  Resolution:  fixed
 Keywords:                           |
-------------------------------------+-------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/186#comment:1>
jose <http://tools.ietf.org/jose/>


From ietf@augustcellars.com  Thu Jan  9 20:59:37 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE7621AE090 for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 20:59:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 cIs7NetHTyXs for <jose@ietfa.amsl.com>; Thu,  9 Jan 2014 20:59:35 -0800 (PST)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 316211AD83F for <jose@ietf.org>; Thu,  9 Jan 2014 20:59:35 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 4AE922CA30; Thu,  9 Jan 2014 20:59:25 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <draft-ietf-jose-json-web-signature@tools.ietf.org>
Date: Thu, 9 Jan 2014 20:57:51 -0800
Message-ID: <011301cf0dc0$845727e0$8d0577a0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac8JnIhyQXOa7RE5SPyGOZYDTI2oOw==
Content-Language: en-us
Cc: jose@ietf.org
Subject: [jose] Notes on draft -19
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jan 2014 04:59:37 -0000

 Section 3- JWS Header - s/JWE Header/JWS Header/

JWS Payload is defined twice - with different content (section 2 and section
3)  Is this needed to have these elements defined twice and with different
content?

I will note that the JWS header is much more logical in its definition in
section 3 than in section 2.

As previously noted I am not happy with the text of appendix d

I do not see any of the expected re-writes for section 7.2



From ietf@augustcellars.com  Sun Jan 12 14:24:03 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 82F7E1A1F55 for <jose@ietfa.amsl.com>; Sun, 12 Jan 2014 14:24:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 jFpWB84d3o-n for <jose@ietfa.amsl.com>; Sun, 12 Jan 2014 14:24:01 -0800 (PST)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id 22E211A1F4A for <jose@ietf.org>; Sun, 12 Jan 2014 14:24:01 -0800 (PST)
Received: from Philemon (static-50-47-50-163.sttl.wa.frontiernet.net [50.47.50.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 45AC72C9C5 for <jose@ietf.org>; Sun, 12 Jan 2014 14:23:50 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Sun, 12 Jan 2014 14:22:17 -0800
Message-ID: <024501cf0fe4$c093de30$41bb9a90$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0246_01CF0FA1.B272E820"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac8P5KGk08R8kzdpRsqpIIibvKxvGA==
Content-Language: en-us
Subject: [jose] Ticket #183 - Use tables to assocate size of keys, etc
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 22:24:03 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0246_01CF0FA1.B272E820
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have closed this issue, however the change that I really wanted was not
there.  This is an example of what I really wanted.

 

Jim

 

1.  Digital Signature with ECDSA

 

   The Elliptic Curve Digital Signature Algorithm (ECDSA) [DSS] provides

   for the use of Elliptic Curve cryptography, which is able to provide

   equivalent security to RSA cryptography but using shorter key sizes

   and with greater processing speed.  This means that ECDSA digital

   signatures will be substantially smaller in terms of length than

   equivalently strong RSA digital signatures.

 

   This specification defines the use of ECDSA using the P-256, P-384

  and P-521 curves.  These curves are defined in [DSS].  The

   association between the "alg" header parameter values, the curve, the

   hash function and the length of R and S can be found in the following

   table:

 

          +---------------------+-------+---------+-------------+

          | alg Parameter Value | Curve | Hash    | Len R and S |

          +---------------------+-------+---------+-------------+

          | ES256               | P-256 | SHA-256 | 256         |

          |                     |       |         |             |

          | ES384               | P-384 | SHA-384 | 384         |

          |                     |       |         |             |

          | ES512               | P-521 | SHA-512 | 521         |

          +---------------------+-------+---------+-------------+

 

   An ECDSA digital signature is generated as follows:

 

   1.  Generate a digital signature of the JWS Signing Input using

       appropriate ECDSA curve and hash function the desired private

       key.  The output will be the pair (R, S).

 

   2.  Turn R and S into octet sequences in big endian order, with each

       sequence being array being be CEILING(LEN(R))octets long.  The

       octet sequence representations MUST NOT be shortened to omit any

       leading zero octets contained in the values.

 

   3.  Concatenate the two octet sequences in the order R and then S.

       (Note that many ECDSA implementations will directly produce this

       concatenation as their output.)

 

   4.  The resulting octet sequence is the JWS Signature value.

 

   The ECDSA digital signature for a JWS is validated as follows:

 

   1.  Validate that the JWS Signature value is the correct length, if

       it is not the correct length then fail validation.  The signature

      value MUST be 2*CEILING(LEN(R)).

 

   2.  Split the signature value into two equal length octet sequences.

       From each octet sequence extract a bit sequence of the

       appropriate length.  The first array contains R and the second S

       (with both being in big endian octet order).

 

   3.  Submit the JWS Signing Input R, S, the public key (x, y), the

       curve and the hash function to the ECDSA validator.

 

   Examples using these algorithms are shown in Appendices A.3 and A.4

   of [JWS].


------=_NextPart_000_0246_01CF0FA1.B272E820
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I have =
closed this issue, however the change that I really wanted was not =
there. &nbsp;This is an example of what I really =
wanted.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Jim<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>1.&nbsp; =
Digital Signature with ECDSA<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
The Elliptic Curve Digital Signature Algorithm (ECDSA) [DSS] =
provides<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; for the use of =
Elliptic Curve cryptography, which is able to provide<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; equivalent security to RSA cryptography =
but using shorter key sizes<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; and with greater processing speed.&nbsp; =
This means that ECDSA digital<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; signatures will be substantially smaller =
in terms of length than<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
equivalently strong RSA digital signatures.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
This specification defines the use of ECDSA using the P-256, =
P-384<o:p></o:p></p><p class=3DMsoNormal> &nbsp;&nbsp;and P-521 =
curves.&nbsp; These curves are defined in [DSS].&nbsp; =
The<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; association between =
the &quot;alg&quot; header parameter values, the curve, =
the<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; hash function and =
the length of R and S can be found in the following<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; table:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
+---------------------+-------+---------+-------------+<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| alg Parameter Value | Curve | Hash&nbsp;&nbsp;&nbsp; | Len R and S =
|<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
+---------------------+-------+---------+-------------+<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| =
ES256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; | P-256 | SHA-256 | =
256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></p><p =
class=3DMsoNormal>&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 |<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| =
ES384&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; | P-384 | SHA-384 | =
384&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></p><p =
class=3DMsoNormal>&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 |<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| =
ES512&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; | P-521 | SHA-512 | =
521&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
+---------------------+-------+---------+-------------+<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
An ECDSA digital signature is generated as follows:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
1.&nbsp; Generate a digital signature of the JWS Signing Input =
using<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appropriate ECDSA =
curve and hash function the desired private<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; key.&nbsp; The =
output will be the pair (R, S).<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
2.&nbsp; Turn R and S into octet sequences in big endian order, with =
each<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sequence being =
array being be CEILING(LEN(R))octets long.&nbsp; The<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; octet sequence =
representations MUST NOT be shortened to omit any<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; leading zero =
octets contained in the values.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
3.&nbsp; Concatenate the two octet sequences in the order R and then =
S.<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Note that many =
ECDSA implementations will directly produce this<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; concatenation as =
their output.)<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
4.&nbsp; The resulting octet sequence is the JWS Signature =
value.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; The ECDSA digital signature for a JWS is =
validated as follows:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
1.&nbsp; Validate that the JWS Signature value is the correct length, =
if<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it is not the =
correct length then fail validation.&nbsp; The =
signature<o:p></o:p></p><p class=3DMsoNormal> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value MUST be =
2*CEILING(LEN(R)).<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
2.&nbsp; Split the signature value into two equal length octet =
sequences.<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From each octet =
sequence extract a bit sequence of the<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appropriate =
length.&nbsp; The first array contains R and the second =
S<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (with both being =
in big endian octet order).<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
3.&nbsp; Submit the JWS Signing Input R, S, the public key (x, y), =
the<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; curve and the =
hash function to the ECDSA validator.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; =
Examples using these algorithms are shown in Appendices A.3 and =
A.4<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp; of =
[JWS].<o:p></o:p></p></div></body></html>
------=_NextPart_000_0246_01CF0FA1.B272E820--


From ietf@augustcellars.com  Sun Jan 12 14:30:53 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03BBE1A1F56 for <jose@ietfa.amsl.com>; Sun, 12 Jan 2014 14:30:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 hlS02DA-6_GZ for <jose@ietfa.amsl.com>; Sun, 12 Jan 2014 14:30:51 -0800 (PST)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 82A6B1A1F3F for <jose@ietf.org>; Sun, 12 Jan 2014 14:30:51 -0800 (PST)
Received: from Philemon (static-50-47-50-163.sttl.wa.frontiernet.net [50.47.50.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id DFD9E38EA2; Sun, 12 Jan 2014 14:30:40 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <Michael.Jones@microsoft.com>
Date: Sun, 12 Jan 2014 14:29:07 -0800
Message-ID: <024a01cf0fe5$b559c380$200d4a80$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_024B_01CF0FA2.A73746D0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac8P5Yvsgo3P5K6ISRWh3hahM1Nb0Q==
Content-Language: en-us
Cc: jose@ietf.org
Subject: [jose] Issue #187 - registration of non-JWE/JWS algorithms
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Jan 2014 22:30:53 -0000

This is a multipart message in MIME format.

------=_NextPart_000_024B_01CF0FA2.A73746D0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have not seen a response to my message on 12/19/2013 - Did I miss this?

 

Jim

 


------=_NextPart_000_024B_01CF0FA2.A73746D0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I have not =
seen a response to my message on 12/19/2013 &#8211; Did I miss =
this?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Jim<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_024B_01CF0FA2.A73746D0--


From Michael.Jones@microsoft.com  Mon Jan 13 10:18:49 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF82F1AE04F for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 10:18:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 6_nSXfUNKUW7 for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 10:18:44 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0207.outbound.protection.outlook.com [207.46.163.207]) by ietfa.amsl.com (Postfix) with ESMTP id C93F21ADF9A for <jose@ietf.org>; Mon, 13 Jan 2014 10:18:43 -0800 (PST)
Received: from DM2PR03CA001.namprd03.prod.outlook.com (10.141.52.149) by BN1PR03MB169.namprd03.prod.outlook.com (10.255.200.142) with Microsoft SMTP Server (TLS) id 15.0.847.13; Mon, 13 Jan 2014 18:18:25 +0000
Received: from BL2FFO11FD038.protection.gbl (2a01:111:f400:7c09::112) by DM2PR03CA001.outlook.office365.com (2a01:111:e400:2414::21) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Mon, 13 Jan 2014 18:18:24 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD038.mail.protection.outlook.com (10.173.161.134) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Mon, 13 Jan 2014 18:18:24 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.03.0158.002; Mon, 13 Jan 2014 18:17:45 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
Thread-Index: AQHO+G3+K+DD7oIuB02zR4Md/olSWppTHgjggAdlQ4CAACE7gIAAiYAggADGZQCAJy7KIA==
Date: Mon, 13 Jan 2014 18:17:44 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDAEC88@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com> <52B216D1.3030505@isoc.org> <CAL02cgSRp90z5S-znoy4LA1rmh=Jdo6c52s7K+8kVTMFLX_kFg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD4E00E@TK5EX14MBXC286.redmond.corp.microsoft.com> <055d01cefcf2$a7143e50$f53cbaf0$@augustcellars.com>
In-Reply-To: <055d01cefcf2$a7143e50$f53cbaf0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDAEC88TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(24454002)(199002)(189002)(377454003)(479174003)(5383001)(69234005)(63696002)(65816001)(74366001)(20776003)(16236675002)(56776001)(81686001)(56816005)(80976001)(33656001)(81542001)(74502001)(79102001)(69226001)(77982001)(59766001)(83072002)(92566001)(80022001)(47446002)(93136001)(46102001)(51856001)(512954002)(92726001)(53806001)(66066001)(54356001)(74662001)(55846006)(85852003)(54316002)(71186001)(31966008)(76482001)(90146001)(81342001)(6806004)(4396001)(87936001)(87266001)(19300405004)(19580405001)(83322001)(44976005)(49866001)(47976001)(50986001)(19580395003)(47736001)(77096001)(2656002)(85806002)(74706001)(85306002)(15202345003)(84326002)(81816001)(76786001)(74876001)(76796001)(16297215004)(15975445006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB169; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00909363D5
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 18:18:49 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDAEC88TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm having trouble finding the message you're referring to with the choices=
.  Maybe you could resend it?

I think the choices we're discussing here are to:
(1) Change the name of "Implementation Requirements" to "JOSE Implementatio=
n Requirements" (already done)
(2) Change the names of all of "Required", "Optional", "Recommended", and "=
Prohibited".
(3) Change just the name of "Prohibited".

(1) is straightforward and further clarified things.  (2) would be consiste=
nt, but seems unnecessarily verbose.  (3) would be inconsistent.

Answering your first question, I believe that if we rewrite any of the name=
s, I believe that, yes, we need to rewrite all of them, for consistency pur=
poses.

I'm pretty sure I don't understand your second question.  What do you mean =
by "the keying only algorithm"?

                                                            -- Mike

From: Jim Schaad [mailto:ietf@augustcellars.com]
Sent: Thursday, December 19, 2013 11:44 AM
To: Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'
Cc: jose@ietf.org
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

Mike,

I had offered a number of possibilities, do you see the same rewrite for al=
l of them?

If we do the JOSE Implementation Requirements, what does this mean in terms=
 of what you would do for the keying only algorithms?

Jim

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Thursday, December 19, 2013 12:02 AM
To: Richard Barnes; Karen ODonoghue
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

I guess my problem with changing "Prohibited" to "Prohibited for JWS and JW=
E" is that then to be parallel we'd need to change "Required" to one of "Re=
quired for JWS", "Required for JWE", or "Required for JWS and JWE", dependi=
ng up context, change "Recommended"..., change "Optional"..., change "Depre=
cated"..., etc.  It wouldn't change the meaning at all and it would add a l=
ot of unnecessary verbal clutter.

This wouldn't just affect "Prohibited".

I'd much rather handle this a different way, and change the registry field =
name from "Implementation Requirements" to "JOSE Implementation Requirement=
s", rather than qualifying every registry field value in a complicated way =
- that is, if people really believe that a change would be an improvement.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
Sent: Wednesday, December 18, 2013 3:42 PM
To: Karen ODonoghue
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

I'm with Jim and Karen on this one.

On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue <odonoghue@isoc.org<mailt=
o:odonoghue@isoc.org>> wrote:
True, but, is there any harm in making the term clearer as well? I don't se=
e one...

Karen


On 12/13/13 11:53 PM, Mike Jones wrote:
The meaning of "Prohibited" is already clear.  http://tools.ietf.org/html/d=
raft-ietf-jose-json-web-algorithms-18#section-7.1.1 says:
      Any identifiers registered for non-authenticated encryption algorithm=
s
      or other algorithms that are otherwise unsuitable for direct use
      as JWS or JWE algorithms must be registered as "Prohibited".

I don't think a change is needed.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Friday, December 13, 2013 5:43 PM
To: Jim Schaad
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

Yes, I think it would be clearer to change or quality the term. "JWK only" =
or "Key Transport Only" or "Prohibited for JWE/JWS" could all work.

FYI, the WebCrypto registrations are not in the Editor's Draft at https://d=
vcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html, though there r=
emains the question of whether we could register an Array format instead of=
 a string for JWK, as per my earlier mail (comments please!).

...Mark

On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com<mailto:=
ietf@augustcellars.com>> wrote:
Minor question before I close this bug.

Is there any sentiment to use a term that is not quite as "nasty" as "Prohi=
bited" in the registration record.   Specifically something along the lines=
 of "Key Transport Only".

Jim


_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose



_______________________________________________

jose mailing list

jose@ietf.org<mailto:jose@ietf.org>

https://www.ietf.org/mailman/listinfo/jose


_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose


--_000_4E1F6AAD24975D4BA5B16804296739437CDAEC88TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;m having trouble =
finding the message you&#8217;re referring to with the choices.&nbsp; Maybe=
 you could resend it?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I think the choices we&#8=
217;re discussing here are to:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(1) Change the name of &#=
8220;Implementation Requirements&#8221; to &#8220;JOSE Implementation Requi=
rements&#8221; (already done)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(2) Change the names of a=
ll of &#8220;Required&#8221;, &#8220;Optional&#8221;, &#8220;Recommended&#8=
221;, and &#8220;Prohibited&#8221;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(3) Change just the name =
of &#8220;Prohibited&#8221;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(1) is straightforward an=
d further clarified things.&nbsp; (2) would be consistent, but seems unnece=
ssarily verbose.&nbsp; (3) would be inconsistent.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Answering your first ques=
tion, I believe that if we rewrite any of the names, I believe that, yes, w=
e need to rewrite all of them, for consistency purposes.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;m pretty sure I d=
on&#8217;t understand your second question.&nbsp; What do you mean by &#822=
0;the keying only algorithm&#8221;?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jim Scha=
ad [mailto:ietf@augustcellars.com]
<br>
<b>Sent:</b> Thursday, December 19, 2013 11:44 AM<br>
<b>To:</b> Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> RE: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mike,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I had offered a number of=
 possibilities, do you see the same rewrite for all of them?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">If we do the JOSE Impleme=
ntation Requirements, what does this mean in terms of what you would do for=
 the keying only algorithms?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Jim<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Thursday, December 19, 2013 12:02 AM<br>
<b>To:</b> Richard Barnes; Karen ODonoghue<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I guess my problem with c=
hanging &#8220;Prohibited&#8221; to &#8220;Prohibited for JWS and JWE&#8221=
; is that then to be parallel we&#8217;d need to change &#8220;Required&#82=
21; to one of &#8220;Required
 for JWS&#8221;, &#8220;Required for JWE&#8221;, or &#8220;Required for JWS=
 and JWE&#8221;, depending up context, change &#8220;Recommended&#8221;&#82=
30;, change &#8220;Optional&#8221;&#8230;, change &#8220;Deprecated&#8221;&=
#8230;, etc.&nbsp; It wouldn&#8217;t change the meaning at all and it would=
 add a lot of unnecessary verbal clutter.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">This wouldn&#8217;t just =
affect &#8220;Prohibited&#8221;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;d much rather han=
dle this a different way, and change the registry field name from &#8220;Im=
plementation Requirements&#8221; to &#8220;JOSE Implementation Requirements=
&#8221;, rather
 than qualifying every registry field value in a complicated way &#8211; th=
at is, if people really believe that a change would be an improvement.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Richard Barnes<br>
<b>Sent:</b> Wednesday, December 18, 2013 3:42 PM<br>
<b>To:</b> Karen ODonoghue<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">I'm with Jim and Karen on this one.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue &l=
t;<a href=3D"mailto:odonoghue@isoc.org" target=3D"_blank">odonoghue@isoc.or=
g</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">True, but, is there any harm in making the term clea=
rer as well? I don't see one...<span style=3D"color:#888888"><br>
<br>
<span class=3D"hoenzb">Karen</span></span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><br>
<br>
On 12/13/13 11:53 PM, Mike Jones wrote:<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">The meaning of &#8220;Prohibited&#8221;=
 is already clear.&nbsp;
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-1=
8#section-7.1.1" target=3D"_blank">
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7=
.1.1</a> says:</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; Any identifiers registered for non-authenticat=
ed encryption algorithms</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; or other algorithms that are otherwise unsuita=
ble for direct use</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; as JWS or JWE algorithms must be registered as=
 &quot;Prohibited&quot;.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">I don&#8217;t think a change is needed.=
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&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;&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;&nb=
sp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a href=3D"mailt=
o:jose-bounces@ietf.org" target=3D"_blank">mailto:jose-bounces@ietf.org</a>=
]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Friday, December 13, 2013 5:43 PM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Yes, I think it would be clearer to change or quality the term. &q=
uot;JWK only&quot; or &quot;Key Transport Only&quot; or &quot;Prohibited fo=
r JWE/JWS&quot; could all work.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">FYI, the WebCrypto registrations are not in the Editor's Draft at&=
nbsp;<a href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Over=
view.html" target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-api/raw-file/=
tip/spec/Overview.html</a>,
 though there remains the question of whether we could register an Array fo=
rmat instead of a string for JWK, as per my earlier mail (comments please!)=
.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">...Mark<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad &lt;<a href=3D"mailto:=
ietf@augustcellars.com" target=3D"_blank">ietf@augustcellars.com</a>&gt; wr=
ote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Minor question before I close this bug.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Is there any sentiment to use a term that is not quite as &#8220;n=
asty&#8221; as &#8220;Prohibited&#8221; in the registration record.&nbsp;&n=
bsp; Specifically something along the lines of &#8220;Key Transport Only&#8=
221;.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">Jim</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>jose mailing list<o:p></o:p></pre>
<pre><a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><o=
:p></o:p></pre>
<pre><a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></pre>
</blockquote>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDAEC88TK5EX14MBXC286r_--

From Michael.Jones@microsoft.com  Mon Jan 13 10:21:16 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5D9D1AE1A4 for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 10:21:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 H8y5MqV--Oed for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 10:21:14 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0238.outbound.protection.outlook.com [207.46.163.238]) by ietfa.amsl.com (Postfix) with ESMTP id 359841AE04F for <jose@ietf.org>; Mon, 13 Jan 2014 10:21:13 -0800 (PST)
Received: from BLUPR03CA029.namprd03.prod.outlook.com (10.141.30.22) by BLUPR03MB001.namprd03.prod.outlook.com (10.255.208.35) with Microsoft SMTP Server (TLS) id 15.0.842.7; Mon, 13 Jan 2014 18:21:02 +0000
Received: from BN1BFFO11FD025.protection.gbl (2a01:111:f400:7c10::1:186) by BLUPR03CA029.outlook.office365.com (2a01:111:e400:879::22) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Mon, 13 Jan 2014 18:21:02 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD025.mail.protection.outlook.com (10.58.144.88) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Mon, 13 Jan 2014 18:21:01 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.03.0158.002; Mon, 13 Jan 2014 18:20:24 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Issue #187 - registration of non-JWE/JWS algorithms
Thread-Index: Ac8P5Yvsgo3P5K6ISRWh3hahM1Nb0QApnB3Q
Date: Mon, 13 Jan 2014 18:20:23 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDAECF8@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <024a01cf0fe5$b559c380$200d4a80$@augustcellars.com>
In-Reply-To: <024a01cf0fe5$b559c380$200d4a80$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDAECF8TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(479174003)(377454003)(5383001)(199002)(189002)(512954002)(85806002)(80976001)(47736001)(87936001)(71186001)(16236675002)(85306002)(44976005)(19580405001)(93136001)(69226001)(65816001)(2656002)(6806004)(74876001)(83322001)(15202345003)(74706001)(77096001)(31966008)(74502001)(4396001)(85852003)(83072002)(66066001)(74366001)(19580395003)(54356001)(81342001)(81542001)(46102001)(20776003)(63696002)(51856001)(77982001)(81686001)(81816001)(80022001)(53806001)(47446002)(56816005)(90146001)(79102001)(54316002)(47976001)(87266001)(56776001)(19300405004)(76786001)(74662001)(49866001)(15975445006)(55846006)(84326002)(50986001)(76482001)(33656001)(59766001)(92726001)(76796001)(92566001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB001; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00909363D5
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - registration of non-JWE/JWS algorithms
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 18:21:16 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDAECF8TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I just replied.  You might want to provide more info, because I don't think=
 I had enough information to address everything I think you were trying to =
get at.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Sunday, January 12, 2014 2:29 PM
To: Mike Jones
Cc: jose@ietf.org
Subject: [jose] Issue #187 - registration of non-JWE/JWS algorithms

I have not seen a response to my message on 12/19/2013 - Did I miss this?

Jim


--_000_4E1F6AAD24975D4BA5B16804296739437CDAECF8TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I just replied.&nbsp; =
You might want to provide more info, because I don&#8217;t think I had enou=
gh information to address everything I think you were trying to get at.<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Sunday, January 12, 2014 2:29 PM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> [jose] Issue #187 - registration of non-JWE/JWS algorithms<=
o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I have not seen a response to my message on 12/19/20=
13 &#8211; Did I miss this?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Jim<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDAECF8TK5EX14MBXC286r_--

From odonoghue@isoc.org  Mon Jan 13 11:20:17 2014
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8995E1ADFAE for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 11:20:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_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 O9Iw8XvJeBtu for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 11:20:12 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0208.outbound.protection.outlook.com [207.46.163.208]) by ietfa.amsl.com (Postfix) with ESMTP id 17E811ADF9A for <jose@ietf.org>; Mon, 13 Jan 2014 11:20:12 -0800 (PST)
Received: from kodonog-mac.local (74.214.48.55) by CO2PR06MB588.namprd06.prod.outlook.com (10.141.229.154) with Microsoft SMTP Server (TLS) id 15.0.851.15; Mon, 13 Jan 2014 19:19:59 +0000
Message-ID: <52D43C5C.5030705@isoc.org>
Date: Mon, 13 Jan 2014 14:19:56 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
References: <52CD70EC.8020909@isoc.org>
In-Reply-To: <52CD70EC.8020909@isoc.org>
X-Forwarded-Message-Id: <52CD70EC.8020909@isoc.org>
Content-Type: multipart/mixed; boundary="------------060600020108010507010900"
X-Originating-IP: [74.214.48.55]
X-ClientProxiedBy: BL2PR04CA010.namprd04.prod.outlook.com (10.255.226.30) To CO2PR06MB588.namprd06.prod.outlook.com (10.141.229.154)
X-Forefront-PRVS: 00909363D5
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(12213003)(13464003)(53434003)(377454003)(199002)(189002)(71186001)(74876001)(512874002)(81342001)(87976001)(76786001)(16601075003)(77982001)(59766001)(76482001)(59896001)(568964001)(16236675002)(84326002)(15202345003)(47446002)(56816005)(15975445006)(512934002)(83072002)(85852003)(74366001)(74502001)(83506001)(81542001)(74706001)(4396001)(31966008)(90146001)(85306002)(69226001)(74662001)(65956001)(66066001)(65806001)(47976001)(63696002)(51856001)(80976001)(83322001)(19580395003)(47736001)(19580405001)(77096001)(80316001)(42186004)(79102001)(53806001)(54356001)(49866001)(50986001)(46102001)(33656001)(54316002)(56776001)(81686001)(76796001)(80022001)(16799955002)(92726001)(81816001)(93136001)(92566001)(551544002)(64126003)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR06MB588; H:kodonog-mac.local; CLIP:74.214.48.55; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; 
X-OriginatorOrg: isoc.org
Subject: [jose] REMINDER: JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 19:20:17 -0000

--------------060600020108010507010900
Content-Type: multipart/alternative;
	boundary="------------030006030707060701080407"

--------------030006030707060701080407
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

Folks,

This is just a reminder regarding tonight's JOSE WG call. We will be 
discussion remaining open issues on the -19 drafts...

Karen

-------- Original Message --------
Subject: 	[jose] CORRECTION: JOSE WG virtual interim, Monday 13 January 
2014, 2400 UTC
Date: 	Wed, 8 Jan 2014 10:38:20 -0500
From: 	Karen O'Donoghue <odonoghue@isoc.org>
To: 	jose@ietf.org <jose@ietf.org>



The original notification had incorrect webex information. The details 
below correct
the webex information while maintaining the originally announced date 
and time.

******************

The JOSE wg will hold a two hour virtual interim meeting on:
Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)

The purpose of the meeting will be to review the latest published wg 
drafts,
discuss any remaining open issues, and discuss proceeding to WGLC.

http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19

The webex details are below.

Regards,
Karen


-------------------------------------------------------
Meeting information
-------------------------------------------------------
Topic: jose
Date: Monday, January 13, 2014
Time: 7:00 pm, Eastern Standard Time (New York, GMT-05:00)
Meeting Number: 645 173 982
Meeting Password: security

-------------------------------------------------------
To start or join the online meeting
-------------------------------------------------------
Go to 
https://ietf.webex.com/ietf/j.php?ED=259577202&UID=508402732&PW=NNmNiODY1NGIz&RT=MiMxMQ%3D%3D 


-------------------------------------------------------
Audio conference information
-------------------------------------------------------
Call-in toll number (US/Canada): 1-650-479-3208

Access code:645 173 982

-------------------------------------------------------
For assistance
-------------------------------------------------------
1. Go to https://ietf.webex.com/ietf/mc
2. On the left navigation bar, click "Support".
To add this meeting to your calendar program (for example Microsoft 
Outlook), click this link:
https://ietf.webex.com/ietf/j.php?ED=259577202&UID=508402732&ICS=MS&LD=1&RD=2&ST=1&SHA2=AAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg 


To check whether you have the appropriate players installed for UCF 
(Universal Communications Format) rich media files, go to 
https://ietf.webex.com/ietf/systemdiagnosis.php.

http://www.webex.com

CCM:+16504793208x645173982#

IMPORTANT NOTICE: This WebEx service includes a feature that allows 
audio and any documents and other materials exchanged or viewed during 
the session to be recorded. You should inform all meeting attendees 
prior to recording if you intend to record the meeting. Please note that 
any such recordings may be subject to discovery in the event of litigation.





--------------030006030707060701080407
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Folks,<br>
    <br>
    This is just a reminder regarding tonight's JOSE WG call. We will be
    discussion remaining open issues on the -19 drafts...<br>
    <br>
    Karen<br>
    <br>
    <div class="moz-forward-container">-------- Original Message
      --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Subject:
            </th>
            <td>[jose] CORRECTION: JOSE WG virtual interim, Monday 13
              January 2014, 2400 UTC</td>
          </tr>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Date: </th>
            <td>Wed, 8 Jan 2014 10:38:20 -0500</td>
          </tr>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">From: </th>
            <td>Karen O'Donoghue <a class="moz-txt-link-rfc2396E" href="mailto:odonoghue@isoc.org">&lt;odonoghue@isoc.org&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" valign="BASELINE" nowrap="nowrap">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:jose@ietf.org">jose@ietf.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:jose@ietf.org">&lt;jose@ietf.org&gt;</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      The original notification had incorrect webex information. The
      details below correct <br>
      the webex information while maintaining the originally announced
      date and time.<br>
      <br>
      ******************<br>
      <br>
      The JOSE wg will hold a two hour virtual interim meeting on:<br>
      Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)<br>
      <br>
      The purpose of the meeting will be to review the latest published
      wg drafts, <br>
      discuss any remaining open issues, and discuss proceeding to WGLC.
      <br>
      <br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19</a><br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19</a><br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19</a><br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19</a><br>
      <br>
      The webex details are below. <br>
      <br>
      Regards,<br>
      Karen<br>
      <font face="Tahoma, Arial, sans-serif, Helvetica, Geneva" size="2"><br>
      </font>
      <div class="moz-forward-container"><font face="Tahoma, Arial,
          sans-serif, Helvetica, Geneva" size="2"><br>
          ------------------------------------------------------- <br>
          Meeting information <br>
          ------------------------------------------------------- <br>
          Topic: jose <br>
          Date: Monday, January 13, 2014 <br>
          Time: 7:00 pm, Eastern Standard Time (New York, GMT-05:00) <br>
          Meeting Number: 645 173 982 <br>
          Meeting Password: security <br>
          <br>
          ------------------------------------------------------- <br>
          To start or join the online meeting <br>
          ------------------------------------------------------- <br>
          Go to <a moz-do-not-send="true"
href="https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;PW=NNmNiODY1NGIz&amp;RT=MiMxMQ%3D%3D"
            target="_blank">https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;PW=NNmNiODY1NGIz&amp;RT=MiMxMQ%3D%3D</a>
          <br>
          <br>
          ------------------------------------------------------- <br>
          Audio conference information <br>
          ------------------------------------------------------- <br>
          Call-in toll number (US/Canada): 1-650-479-3208 <br>
          <br>
          Access code:645 173 982 <br>
          <br>
          ------------------------------------------------------- <br>
          For assistance <br>
          ------------------------------------------------------- <br>
          1. Go to <a moz-do-not-send="true"
            href="https://ietf.webex.com/ietf/mc" target="_blank">https://ietf.webex.com/ietf/mc</a>
          <br>
          2. On the left navigation bar, click "Support". <br>
          To add this meeting to your calendar program (for example
          Microsoft Outlook), click this link: <br>
          <a moz-do-not-send="true"
href="https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;ICS=MS&amp;LD=1&amp;RD=2&amp;ST=1&amp;SHA2=AAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg"
            target="_blank">https://ietf.webex.com/ietf/j.php?ED=259577202&amp;UID=508402732&amp;ICS=MS&amp;LD=1&amp;RD=2&amp;ST=1&amp;SHA2=AAAAAjssH9tK7Fq6UMt8QpuB2ilNlHI-PCgVU/8//pFGfxjg</a>
          <br>
          <br>
          To check whether you have the appropriate players installed
          for UCF (Universal Communications Format) rich media files, go
          to <a moz-do-not-send="true"
            href="https://ietf.webex.com/ietf/systemdiagnosis.php">https://ietf.webex.com/ietf/systemdiagnosis.php</a>.
          <br>
          <br>
          <a moz-do-not-send="true" href="http://www.webex.com"
            target="_blank">http://www.webex.com</a> <br>
          <br>
          CCM:+16504793208x645173982# <br>
          <br>
          IMPORTANT NOTICE: This WebEx service includes a feature that
          allows audio and any documents and other materials exchanged
          or viewed during the session to be recorded. You should inform
          all meeting attendees prior to recording if you intend to
          record the meeting. Please note that any such recordings may
          be subject to discovery in the event of litigation. <br>
        </font><br>
      </div>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>

--------------030006030707060701080407--

--------------060600020108010507010900
Content-Type: text/plain; charset="UTF-8"; name="Attached Message Part"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="Attached Message Part"

_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose


--------------060600020108010507010900--

From ietf@augustcellars.com  Mon Jan 13 11:21:22 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C44E1ADFAE for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 11:21:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 VqleT1tcR7QK for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 11:21:19 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id EAB801ADF9A for <jose@ietf.org>; Mon, 13 Jan 2014 11:21:18 -0800 (PST)
Received: from Philemon (static-50-47-50-163.sttl.wa.frontiernet.net [50.47.50.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 6992338EF3; Mon, 13 Jan 2014 11:21:07 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com> <52B216D1.3030505@isoc.org> <CAL02cgSRp90z5S-znoy4LA1rmh=Jdo6c52s7K+8kVTMFLX_kFg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD4E00E@TK5EX14MBXC286.redmond.corp.microsoft.com> <055d01cefcf2$a7143e50$f53cbaf0$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDAEC88@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDAEC88@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 13 Jan 2014 11:19:34 -0800
Message-ID: <00c001cf1094$6483b0b0$2d8b1210$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C1_01CF1051.566552B0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHuQ95RQ7VOC8oRepS4zehtffgQwgDisiTvAocTvrcBL3D1lAHa6QKeAUiAlYsB9Wd4IgH/EMOTmecYHIA=
Content-Language: en-us
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 19:21:22 -0000

This is a multipart message in MIME format.

------=_NextPart_000_00C1_01CF1051.566552B0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Do there need to be any requirements for JWK to carry algorithms?

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Monday, January 13, 2014 10:18 AM
To: Jim Schaad
Cc: jose@ietf.org
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

I'm having trouble finding the message you're referring to with the choices.
Maybe you could resend it?

 

I think the choices we're discussing here are to:

(1) Change the name of "Implementation Requirements" to "JOSE Implementation
Requirements" (already done)

(2) Change the names of all of "Required", "Optional", "Recommended", and
"Prohibited".

(3) Change just the name of "Prohibited".

 

(1) is straightforward and further clarified things.  (2) would be
consistent, but seems unnecessarily verbose.  (3) would be inconsistent.

 

Answering your first question, I believe that if we rewrite any of the
names, I believe that, yes, we need to rewrite all of them, for consistency
purposes.

 

I'm pretty sure I don't understand your second question.  What do you mean
by "the keying only algorithm"?

 

                                                            -- Mike

 

From: Jim Schaad [mailto:ietf@augustcellars.com] 
Sent: Thursday, December 19, 2013 11:44 AM
To: Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'
Cc: jose@ietf.org
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

Mike,

 

I had offered a number of possibilities, do you see the same rewrite for all
of them? 

 

If we do the JOSE Implementation Requirements, what does this mean in terms
of what you would do for the keying only algorithms?

 

Jim

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Thursday, December 19, 2013 12:02 AM
To: Richard Barnes; Karen ODonoghue
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

I guess my problem with changing "Prohibited" to "Prohibited for JWS and
JWE" is that then to be parallel we'd need to change "Required" to one of
"Required for JWS", "Required for JWE", or "Required for JWS and JWE",
depending up context, change "Recommended"., change "Optional"., change
"Deprecated"., etc.  It wouldn't change the meaning at all and it would add
a lot of unnecessary verbal clutter.

 

This wouldn't just affect "Prohibited".

 

I'd much rather handle this a different way, and change the registry field
name from "Implementation Requirements" to "JOSE Implementation
Requirements", rather than qualifying every registry field value in a
complicated way - that is, if people really believe that a change would be
an improvement.

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
Sent: Wednesday, December 18, 2013 3:42 PM
To: Karen ODonoghue
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

I'm with Jim and Karen on this one.

 

On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue <odonoghue@isoc.org>
wrote:

True, but, is there any harm in making the term clearer as well? I don't see
one...

Karen



On 12/13/13 11:53 PM, Mike Jones wrote:

The meaning of "Prohibited" is already clear.
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.
1.1 says:

      Any identifiers registered for non-authenticated encryption algorithms

      or other algorithms that are otherwise unsuitable for direct use

      as JWS or JWE algorithms must be registered as "Prohibited".

 

I don't think a change is needed.

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Friday, December 13, 2013 5:43 PM
To: Jim Schaad
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

Yes, I think it would be clearer to change or quality the term. "JWK only"
or "Key Transport Only" or "Prohibited for JWE/JWS" could all work.

 

FYI, the WebCrypto registrations are not in the Editor's Draft at
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html, though
there remains the question of whether we could register an Array format
instead of a string for JWK, as per my earlier mail (comments please!).

 

...Mark

 

On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com> wrote:

Minor question before I close this bug.  

 

Is there any sentiment to use a term that is not quite as "nasty" as
"Prohibited" in the registration record.   Specifically something along the
lines of "Key Transport Only".

 

Jim

 


_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

 

 

_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

 


_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

 


------=_NextPart_000_00C1_01CF1051.566552B0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Do there need to be any requirements for JWK to carry =
algorithms?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> Monday, =
January 13, 2014 10:18 AM<br><b>To:</b> Jim Schaad<br><b>Cc:</b> =
jose@ietf.org<br><b>Subject:</b> RE: [jose] Issue #187 - Allow =
registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;m having trouble finding the message you&#8217;re referring =
to with the choices.&nbsp; Maybe you could resend =
it?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I think the choices we&#8217;re discussing here are =
to:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(1) Change the name of &#8220;Implementation Requirements&#8221; to =
&#8220;JOSE Implementation Requirements&#8221; (already =
done)<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(2) Change the names of all of &#8220;Required&#8221;, =
&#8220;Optional&#8221;, &#8220;Recommended&#8221;, and =
&#8220;Prohibited&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(3) Change just the name of =
&#8220;Prohibited&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(1) is straightforward and further clarified things.&nbsp; (2) would =
be consistent, but seems unnecessarily verbose.&nbsp; (3) would be =
inconsistent.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Answering your first question, I believe that if we rewrite any of =
the names, I believe that, yes, we need to rewrite all of them, for =
consistency purposes.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;m pretty sure I don&#8217;t understand your second =
question.&nbsp; What do you mean by &#8220;the keying only =
algorithm&#8221;?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Jim Schaad [<a =
href=3D"mailto:ietf@augustcellars.com">mailto:ietf@augustcellars.com</a>]=
 <br><b>Sent:</b> Thursday, December 19, 2013 11:44 AM<br><b>To:</b> =
Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> RE: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Mike,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I had offered a number of possibilities, do you see the same rewrite =
for all of them? <o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>If we do the JOSE Implementation Requirements, what does this mean in =
terms of what you would do for the keying only =
algorithms?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Jim<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Mike Jones<br><b>Sent:</b> Thursday, December 19, =
2013 12:02 AM<br><b>To:</b> Richard Barnes; Karen =
ODonoghue<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I guess my problem with changing &#8220;Prohibited&#8221; to =
&#8220;Prohibited for JWS and JWE&#8221; is that then to be parallel =
we&#8217;d need to change &#8220;Required&#8221; to one of =
&#8220;Required for JWS&#8221;, &#8220;Required for JWE&#8221;, or =
&#8220;Required for JWS and JWE&#8221;, depending up context, change =
&#8220;Recommended&#8221;&#8230;, change &#8220;Optional&#8221;&#8230;, =
change &#8220;Deprecated&#8221;&#8230;, etc.&nbsp; It wouldn&#8217;t =
change the meaning at all and it would add a lot of unnecessary verbal =
clutter.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>This wouldn&#8217;t just affect =
&#8220;Prohibited&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;d much rather handle this a different way, and change the =
registry field name from &#8220;Implementation Requirements&#8221; to =
&#8220;JOSE Implementation Requirements&#8221;, rather than qualifying =
every registry field value in a complicated way &#8211; that is, if =
people really believe that a change would be an =
improvement.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Richard Barnes<br><b>Sent:</b> Wednesday, December =
18, 2013 3:42 PM<br><b>To:</b> Karen ODonoghue<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>I'm =
with Jim and Karen on this one.<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue =
&lt;<a href=3D"mailto:odonoghue@isoc.org" =
target=3D"_blank">odonoghue@isoc.org</a>&gt; =
wrote:<o:p></o:p></p><div><div><p class=3DMsoNormal>True, but, is there =
any harm in making the term clearer as well? I don't see one...<span =
style=3D'color:#888888'><br><br><span =
class=3Dhoenzb>Karen</span></span><o:p></o:p></p><div><div><p =
class=3DMsoNormal><br><br>On 12/13/13 11:53 PM, Mike Jones =
wrote:<o:p></o:p></p></div></div></div><div><div><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The meaning of &#8220;Prohibited&#8221; is already clear.&nbsp; <a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18=
#section-7.1.1" =
target=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-json-web-alg=
orithms-18#section-7.1.1</a> says:</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any identifiers registered for =
non-authenticated encryption algorithms</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or other algorithms that are =
otherwise unsuitable for direct use</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; as JWS or JWE algorithms must be =
registered as &quot;Prohibited&quot;.</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I don&#8217;t think a change is needed.</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">mailto:jose-bounces@ietf.org</a>] <b>On Behalf Of =
</b>Mark Watson<br><b>Sent:</b> Friday, December 13, 2013 5:43 =
PM<br><b>To:</b> Jim Schaad<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br><b>Subject:</b> Re: [jose] Issue =
#187 - Allow registration of non-JWE/JWS algorithms for =
JWK</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yes, I =
think it would be clearer to change or quality the term. &quot;JWK =
only&quot; or &quot;Key Transport Only&quot; or &quot;Prohibited for =
JWE/JWS&quot; could all work.<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>FYI, the =
WebCrypto registrations are not in the Editor's Draft at&nbsp;<a =
href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.h=
tml" =
target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/=
Overview.html</a>, though there remains the question of whether we could =
register an Array format instead of a string for JWK, as per my earlier =
mail (comments please!).<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>...Mark<o:p>=
</o:p></p></div></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'>&nbsp;<o:p></o:p><=
/p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Fri, Dec =
13, 2013 at 5:00 PM, Jim Schaad &lt;<a =
href=3D"mailto:ietf@augustcellars.com" =
target=3D"_blank">ietf@augustcellars.com</a>&gt; =
wrote:<o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Minor =
question before I close this bug.&nbsp; <o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is there =
any sentiment to use a term that is not quite as &#8220;nasty&#8221; as =
&#8220;Prohibited&#8221; in the registration record.&nbsp;&nbsp; =
Specifically something along the lines of &#8220;Key Transport =
Only&#8221;.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#888888'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#888888'>Jim</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#888888'>&nbsp;</span><o:p></o:p></p></div></div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>______________=
_________________________________<br>jose mailing list<br><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:=
p></p></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><pre>________________=
_______________________________<o:p></o:p></pre><pre>jose mailing =
list<o:p></o:p></pre><pre><a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><o:p></o:p></pre><pre><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:=
p></pre></blockquote><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div><p =
class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><br>______________________________________=
_________<br>jose mailing list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:=
p></p></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></body></h=
tml>
------=_NextPart_000_00C1_01CF1051.566552B0--


From Michael.Jones@microsoft.com  Mon Jan 13 11:54:49 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B9CA91ADF97 for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 11:54:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 HBZ7nMH-zRs8 for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 11:54:45 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0241.outbound.protection.outlook.com [207.46.163.241]) by ietfa.amsl.com (Postfix) with ESMTP id 850C81ADF89 for <jose@ietf.org>; Mon, 13 Jan 2014 11:54:45 -0800 (PST)
Received: from BY2PR03CA028.namprd03.prod.outlook.com (10.242.234.149) by BY2PR03MB058.namprd03.prod.outlook.com (10.255.241.150) with Microsoft SMTP Server (TLS) id 15.0.859.8; Mon, 13 Jan 2014 19:54:32 +0000
Received: from BN1AFFO11FD024.protection.gbl (2a01:111:f400:7c10::146) by BY2PR03CA028.outlook.office365.com (2a01:111:e400:2c2c::21) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Mon, 13 Jan 2014 19:54:33 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD024.mail.protection.outlook.com (10.58.52.84) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Mon, 13 Jan 2014 19:54:32 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0158.002; Mon, 13 Jan 2014 19:53:51 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
Thread-Index: Ac8QmS25fezat7MWStik6G91dPBHwA==
Date: Mon, 13 Jan 2014 19:53:50 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDAEF29@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDAEF29TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(479174003)(69234005)(24454002)(5383001)(199002)(189002)(76796001)(87936001)(74706001)(81542001)(76176001)(76786001)(90146001)(93136001)(85306002)(84326002)(83072002)(77096001)(56816005)(85852003)(2656002)(512954002)(85806002)(87266001)(49866001)(47736001)(50986001)(47976001)(63696002)(59766001)(33656001)(80976001)(55846006)(15202345003)(79102001)(77982001)(16297215004)(66066001)(65816001)(80022001)(92726001)(92566001)(74366001)(20776003)(4396001)(76482001)(19580395003)(83322001)(19580405001)(6806004)(74662001)(74502001)(53806001)(51856001)(44976005)(19300405004)(47446002)(56776001)(54356001)(16236675002)(31966008)(54316002)(71186001)(81816001)(81342001)(81686001)(15975445006)(74876001)(46102001)(69226001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB058; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; InfoDomainNonexistentA:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00909363D5
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 19:54:50 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDAEF29TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

If we do add such requirements, they should be of the "SHOULD/unless" form =
that other such requirements in our specs take, with wording such as:

                 An "alg" member SHOULD be present, unless the application =
uses another means or convention to determine the algorithm that is used wi=
th the key.

Getting back to the actual topic of #187, it requested to allow non-JOSE al=
gorithms to be registered.  This has been enabled since draft -18 in Novemb=
er.  Therefore, I believe that this issue should be closed as "fixed".

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 13, 2014 11:20 AM
To: Mike Jones
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

Do there need to be any requirements for JWK to carry algorithms?

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Monday, January 13, 2014 10:18 AM
To: Jim Schaad
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

I'm having trouble finding the message you're referring to with the choices=
.  Maybe you could resend it?

I think the choices we're discussing here are to:
(1) Change the name of "Implementation Requirements" to "JOSE Implementatio=
n Requirements" (already done)
(2) Change the names of all of "Required", "Optional", "Recommended", and "=
Prohibited".
(3) Change just the name of "Prohibited".

(1) is straightforward and further clarified things.  (2) would be consiste=
nt, but seems unnecessarily verbose.  (3) would be inconsistent.

Answering your first question, I believe that if we rewrite any of the name=
s, I believe that, yes, we need to rewrite all of them, for consistency pur=
poses.

I'm pretty sure I don't understand your second question.  What do you mean =
by "the keying only algorithm"?

                                                            -- Mike

From: Jim Schaad [mailto:ietf@augustcellars.com]
Sent: Thursday, December 19, 2013 11:44 AM
To: Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

Mike,

I had offered a number of possibilities, do you see the same rewrite for al=
l of them?

If we do the JOSE Implementation Requirements, what does this mean in terms=
 of what you would do for the keying only algorithms?

Jim

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Thursday, December 19, 2013 12:02 AM
To: Richard Barnes; Karen ODonoghue
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

I guess my problem with changing "Prohibited" to "Prohibited for JWS and JW=
E" is that then to be parallel we'd need to change "Required" to one of "Re=
quired for JWS", "Required for JWE", or "Required for JWS and JWE", dependi=
ng up context, change "Recommended"..., change "Optional"..., change "Depre=
cated"..., etc.  It wouldn't change the meaning at all and it would add a l=
ot of unnecessary verbal clutter.

This wouldn't just affect "Prohibited".

I'd much rather handle this a different way, and change the registry field =
name from "Implementation Requirements" to "JOSE Implementation Requirement=
s", rather than qualifying every registry field value in a complicated way =
- that is, if people really believe that a change would be an improvement.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
Sent: Wednesday, December 18, 2013 3:42 PM
To: Karen ODonoghue
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

I'm with Jim and Karen on this one.

On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue <odonoghue@isoc.org<mailt=
o:odonoghue@isoc.org>> wrote:
True, but, is there any harm in making the term clearer as well? I don't se=
e one...

Karen


On 12/13/13 11:53 PM, Mike Jones wrote:
The meaning of "Prohibited" is already clear.  http://tools.ietf.org/html/d=
raft-ietf-jose-json-web-algorithms-18#section-7.1.1 says:
      Any identifiers registered for non-authenticated encryption algorithm=
s
      or other algorithms that are otherwise unsuitable for direct use
      as JWS or JWE algorithms must be registered as "Prohibited".

I don't think a change is needed.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Friday, December 13, 2013 5:43 PM
To: Jim Schaad
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorith=
ms for JWK

Yes, I think it would be clearer to change or quality the term. "JWK only" =
or "Key Transport Only" or "Prohibited for JWE/JWS" could all work.

FYI, the WebCrypto registrations are not in the Editor's Draft at https://d=
vcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html, though there r=
emains the question of whether we could register an Array format instead of=
 a string for JWK, as per my earlier mail (comments please!).

...Mark

On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com<mailto:=
ietf@augustcellars.com>> wrote:
Minor question before I close this bug.

Is there any sentiment to use a term that is not quite as "nasty" as "Prohi=
bited" in the registration record.   Specifically something along the lines=
 of "Key Transport Only".

Jim


_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose



_______________________________________________

jose mailing list

jose@ietf.org<mailto:jose@ietf.org>

https://www.ietf.org/mailman/listinfo/jose


_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose


--_000_4E1F6AAD24975D4BA5B16804296739437CDAEF29TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">If we do add such require=
ments, they should be of the &#8220;SHOULD/unless&#8221; form that other su=
ch requirements in our specs take, with wording such as:<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; An &#822=
0;alg&#8221; member SHOULD be present, unless the application uses another =
means or convention to determine the algorithm that is used with the
 key.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Getting back to the actua=
l topic of #187, it requested to allow non-JOSE algorithms to be registered=
.&nbsp; This has been enabled since draft -18 in November.&nbsp; Therefore,
 I believe that this issue should be closed as &#8220;fixed&#8221;.<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 13, 2014 11:20 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Do there need to be any r=
equirements for JWK to carry algorithms?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mike Jon=
es [<a href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@mic=
rosoft.com</a>]
<br>
<b>Sent:</b> Monday, January 13, 2014 10:18 AM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> RE: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;m having trouble =
finding the message you&#8217;re referring to with the choices.&nbsp; Maybe=
 you could resend it?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I think the choices we&#8=
217;re discussing here are to:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(1) Change the name of &#=
8220;Implementation Requirements&#8221; to &#8220;JOSE Implementation Requi=
rements&#8221; (already done)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(2) Change the names of a=
ll of &#8220;Required&#8221;, &#8220;Optional&#8221;, &#8220;Recommended&#8=
221;, and &#8220;Prohibited&#8221;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(3) Change just the name =
of &#8220;Prohibited&#8221;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">(1) is straightforward an=
d further clarified things.&nbsp; (2) would be consistent, but seems unnece=
ssarily verbose.&nbsp; (3) would be inconsistent.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Answering your first ques=
tion, I believe that if we rewrite any of the names, I believe that, yes, w=
e need to rewrite all of them, for consistency purposes.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;m pretty sure I d=
on&#8217;t understand your second question.&nbsp; What do you mean by &#822=
0;the keying only algorithm&#8221;?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jim Scha=
ad [<a href=3D"mailto:ietf@augustcellars.com">mailto:ietf@augustcellars.com=
</a>]
<br>
<b>Sent:</b> Thursday, December 19, 2013 11:44 AM<br>
<b>To:</b> Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> RE: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mike,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I had offered a number of=
 possibilities, do you see the same rewrite for all of them?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">If we do the JOSE Impleme=
ntation Requirements, what does this mean in terms of what you would do for=
 the keying only algorithms?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Jim<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Thursday, December 19, 2013 12:02 AM<br>
<b>To:</b> Richard Barnes; Karen ODonoghue<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I guess my problem with c=
hanging &#8220;Prohibited&#8221; to &#8220;Prohibited for JWS and JWE&#8221=
; is that then to be parallel we&#8217;d need to change &#8220;Required&#82=
21; to one of &#8220;Required
 for JWS&#8221;, &#8220;Required for JWE&#8221;, or &#8220;Required for JWS=
 and JWE&#8221;, depending up context, change &#8220;Recommended&#8221;&#82=
30;, change &#8220;Optional&#8221;&#8230;, change &#8220;Deprecated&#8221;&=
#8230;, etc.&nbsp; It wouldn&#8217;t change the meaning at all and it would=
 add a lot of unnecessary verbal clutter.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">This wouldn&#8217;t just =
affect &#8220;Prohibited&#8221;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;d much rather han=
dle this a different way, and change the registry field name from &#8220;Im=
plementation Requirements&#8221; to &#8220;JOSE Implementation Requirements=
&#8221;, rather
 than qualifying every registry field value in a complicated way &#8211; th=
at is, if people really believe that a change would be an improvement.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Richard Barnes<br>
<b>Sent:</b> Wednesday, December 18, 2013 3:42 PM<br>
<b>To:</b> Karen ODonoghue<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">I'm with Jim and Karen on this one.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue &l=
t;<a href=3D"mailto:odonoghue@isoc.org" target=3D"_blank">odonoghue@isoc.or=
g</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">True, but, is there any harm in making the term clea=
rer as well? I don't see one...<span style=3D"color:#888888"><br>
<br>
<span class=3D"hoenzb">Karen</span></span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><br>
<br>
On 12/13/13 11:53 PM, Mike Jones wrote:<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">The meaning of &#8220;Prohibited&#8221;=
 is already clear.&nbsp;
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-1=
8#section-7.1.1" target=3D"_blank">
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7=
.1.1</a> says:</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; Any identifiers registered for non-authenticat=
ed encryption algorithms</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; or other algorithms that are otherwise unsuita=
ble for direct use</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; as JWS or JWE algorithms must be registered as=
 &quot;Prohibited&quot;.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">I don&#8217;t think a change is needed.=
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&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;&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;&nb=
sp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a href=3D"mailt=
o:jose-bounces@ietf.org" target=3D"_blank">mailto:jose-bounces@ietf.org</a>=
]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Friday, December 13, 2013 5:43 PM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Yes, I think it would be clearer to change or quality the term. &q=
uot;JWK only&quot; or &quot;Key Transport Only&quot; or &quot;Prohibited fo=
r JWE/JWS&quot; could all work.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">FYI, the WebCrypto registrations are not in the Editor's Draft at&=
nbsp;<a href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Over=
view.html" target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-api/raw-file/=
tip/spec/Overview.html</a>,
 though there remains the question of whether we could register an Array fo=
rmat instead of a string for JWK, as per my earlier mail (comments please!)=
.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">...Mark<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad &lt;<a href=3D"mailto:=
ietf@augustcellars.com" target=3D"_blank">ietf@augustcellars.com</a>&gt; wr=
ote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Minor question before I close this bug.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Is there any sentiment to use a term that is not quite as &#8220;n=
asty&#8221; as &#8220;Prohibited&#8221; in the registration record.&nbsp;&n=
bsp; Specifically something along the lines of &#8220;Key Transport Only&#8=
221;.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">Jim</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>jose mailing list<o:p></o:p></pre>
<pre><a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><o=
:p></o:p></pre>
<pre><a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></pre>
</blockquote>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDAEF29TK5EX14MBXC286r_--

From ve7jtb@ve7jtb.com  Mon Jan 13 13:51:00 2014
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B08CF1AE1C8 for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 13:51:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.83
X-Spam-Level: 
X-Spam-Status: No, score=-1.83 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_WEB=0.77, 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 gWTwi9LlbQq9 for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 13:50:57 -0800 (PST)
Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by ietfa.amsl.com (Postfix) with ESMTP id 4CE6D1AE1C0 for <jose@ietf.org>; Mon, 13 Jan 2014 13:50:57 -0800 (PST)
Received: by mail-oa0-f42.google.com with SMTP id n16so8798165oag.29 for <jose@ietf.org>; Mon, 13 Jan 2014 13:50:44 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=R+RdTf3gdc9W9KA0SfDFF9gEmCq9M1G8KIuoyvHoAX0=; b=fyDRPmtcTVvZ3nSsKXYmflCwrzIT36tjMTdjIgfLfVIEubkHqUS9qLczLZtJIcIcwp MqsOEb2Swmns1AHkbaJlv8Lw0Z0u6X6eHEP7hkL0EtqbF0wTni6ZicuJlxTfFJvhYygI TQSohwyCshDgg0TQjGfnrDXj7vzyY+WhdnYsvK+SDiReldHk72llXOlZo3PeGkP6k5pO vXM1SiXgo0qwoufHw8vpe8lV9hSBmX4fwJXvFMYxX4idg4GnWOY7roUkxHcQF1PSmrmT 9JXUg/w/jO4N6isc69fyJUAi/m0LW3/M48piptmos77YQxF42LKC5GOhCl8i7qK98KtS FWBQ==
X-Gm-Message-State: ALoCoQlyWAgeM1LiOV+/zjpbg7UuPWqiquEj5UObsio+Ekh+5hSPgaPUTJAQaq7TngpGqwaYaAXJ
X-Received: by 10.182.88.4 with SMTP id bc4mr2635121obb.68.1389649844668; Mon, 13 Jan 2014 13:50:44 -0800 (PST)
Received: from ap14.h.pcisys.net ([209.177.139.2]) by mx.google.com with ESMTPSA id ii8sm22601726obb.11.2014.01.13.13.50.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Jan 2014 13:50:42 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_D13A7075-B66E-4FFB-BF18-BE0F3870929B"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDAEF29@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 13 Jan 2014 18:50:38 -0300
Message-Id: <22FE4DFE-658C-4950-B037-68E8669AA8B4@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CDAEF29@TK5EX14MBXC286.redmond.corp.microsoft.com>
To: Michael Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1827)
Cc: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 21:51:00 -0000

--Apple-Mail=_D13A7075-B66E-4FFB-BF18-BE0F3870929B
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_6A01B0D8-9304-4E29-9501-3F681C0BBFD9"


--Apple-Mail=_6A01B0D8-9304-4E29-9501-3F681C0BBFD9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

I don't think that requiring an alg is sensible, however it is probably =
a SHOULD.   I can see WC requiring it for symmetric keys if they are to =
be kept from leaking to the app layer.  That however should be up to =
them to specify.   I am good with SHOULD/unless.

John B.

On Jan 13, 2014, at 4:53 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

> If we do add such requirements, they should be of the =93SHOULD/unless=94=
 form that other such requirements in our specs take, with wording such =
as:
> =20
>                  An =93alg=94 member SHOULD be present, unless the =
application uses another means or convention to determine the algorithm =
that is used with the key.
> =20
> Getting back to the actual topic of #187, it requested to allow =
non-JOSE algorithms to be registered.  This has been enabled since draft =
-18 in November.  Therefore, I believe that this issue should be closed =
as =93fixed=94.
> =20
>                                                             -- Mike
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Monday, January 13, 2014 11:20 AM
> To: Mike Jones
> Cc: jose@ietf.org
> Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS =
algorithms for JWK
> =20
> Do there need to be any requirements for JWK to carry algorithms?
> =20
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]=20
> Sent: Monday, January 13, 2014 10:18 AM
> To: Jim Schaad
> Cc: jose@ietf.org
> Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS =
algorithms for JWK
> =20
> I=92m having trouble finding the message you=92re referring to with =
the choices.  Maybe you could resend it?
> =20
> I think the choices we=92re discussing here are to:
> (1) Change the name of =93Implementation Requirements=94 to =93JOSE =
Implementation Requirements=94 (already done)
> (2) Change the names of all of =93Required=94, =93Optional=94, =
=93Recommended=94, and =93Prohibited=94.
> (3) Change just the name of =93Prohibited=94.
> =20
> (1) is straightforward and further clarified things.  (2) would be =
consistent, but seems unnecessarily verbose.  (3) would be inconsistent.
> =20
> Answering your first question, I believe that if we rewrite any of the =
names, I believe that, yes, we need to rewrite all of them, for =
consistency purposes.
> =20
> I=92m pretty sure I don=92t understand your second question.  What do =
you mean by =93the keying only algorithm=94?
> =20
>                                                             -- Mike
> =20
> From: Jim Schaad [mailto:ietf@augustcellars.com]=20
> Sent: Thursday, December 19, 2013 11:44 AM
> To: Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'
> Cc: jose@ietf.org
> Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS =
algorithms for JWK
> =20
> Mike,
> =20
> I had offered a number of possibilities, do you see the same rewrite =
for all of them?
> =20
> If we do the JOSE Implementation Requirements, what does this mean in =
terms of what you would do for the keying only algorithms?
> =20
> Jim
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
> Sent: Thursday, December 19, 2013 12:02 AM
> To: Richard Barnes; Karen ODonoghue
> Cc: jose@ietf.org
> Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS =
algorithms for JWK
> =20
> I guess my problem with changing =93Prohibited=94 to =93Prohibited for =
JWS and JWE=94 is that then to be parallel we=92d need to change =
=93Required=94 to one of =93Required for JWS=94, =93Required for JWE=94, =
or =93Required for JWS and JWE=94, depending up context, change =
=93Recommended=94=85, change =93Optional=94=85, change =93Deprecated=94=85=
, etc.  It wouldn=92t change the meaning at all and it would add a lot =
of unnecessary verbal clutter.
> =20
> This wouldn=92t just affect =93Prohibited=94.
> =20
> I=92d much rather handle this a different way, and change the registry =
field name from =93Implementation Requirements=94 to =93JOSE =
Implementation Requirements=94, rather than qualifying every registry =
field value in a complicated way =96 that is, if people really believe =
that a change would be an improvement.
> =20
>                                                             -- Mike
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
> Sent: Wednesday, December 18, 2013 3:42 PM
> To: Karen ODonoghue
> Cc: jose@ietf.org
> Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS =
algorithms for JWK
> =20
> I'm with Jim and Karen on this one.
> =20
>=20
> On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue <odonoghue@isoc.org> =
wrote:
> True, but, is there any harm in making the term clearer as well? I =
don't see one...
>=20
> Karen
>=20
>=20
> On 12/13/13 11:53 PM, Mike Jones wrote:
> The meaning of =93Prohibited=94 is already clear.  =
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-=
7.1.1 says:
>       Any identifiers registered for non-authenticated encryption =
algorithms
>       or other algorithms that are otherwise unsuitable for direct use
>       as JWS or JWE algorithms must be registered as "Prohibited".
> =20
> I don=92t think a change is needed.
> =20
>                                                             -- Mike
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
> Sent: Friday, December 13, 2013 5:43 PM
> To: Jim Schaad
> Cc: jose@ietf.org
> Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS =
algorithms for JWK
> =20
> Yes, I think it would be clearer to change or quality the term. "JWK =
only" or "Key Transport Only" or "Prohibited for JWE/JWS" could all =
work.
> =20
> FYI, the WebCrypto registrations are not in the Editor's Draft at =
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html, =
though there remains the question of whether we could register an Array =
format instead of a string for JWK, as per my earlier mail (comments =
please!).
> =20
> ...Mark
> =20
>=20
> On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com> =
wrote:
> Minor question before I close this bug.=20
> =20
> Is there any sentiment to use a term that is not quite as =93nasty=94 =
as =93Prohibited=94 in the registration record.   Specifically something =
along the lines of =93Key Transport Only=94.
> =20
> Jim
> =20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>=20
> =20
> =20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> =20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>=20
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_6A01B0D8-9304-4E29-9501-3F681C0BBFD9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I =
don't think that requiring an alg is sensible, however it is probably a =
SHOULD. &nbsp; I can see WC requiring it for symmetric keys if they are =
to be kept from leaking to the app layer. &nbsp;That however should be =
up to them to specify. &nbsp; I am good with =
SHOULD/unless.<div><br></div><div>John B.</div><div><br><div><div>On Jan =
13, 2014, at 4:53 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a=
>&gt; wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
style=3D"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 class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">If we do add such requirements, they should be of the =
=93SHOULD/unless=94 form that other such requirements in our specs take, =
with wording such as:<o:p></o:p></span></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, =
125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; &nbsp; An =93alg=94 member SHOULD be present, unless =
the application uses another means or convention to determine the =
algorithm that is used with the key.<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">Getting back to the =
actual topic of #187, it requested to allow non-JOSE algorithms to be =
registered.&nbsp; This has been enabled since draft -18 in =
November.&nbsp; Therefore, I believe that this issue should be closed as =
=93fixed=94.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div><div style=3D"border-style: =
solid none none; border-top-color: rgb(181, 196, 223); border-top-width: =
1pt; padding: 3pt 0in 0in;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span =
style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]<sp=
an class=3D"Apple-converted-space">&nbsp;</span><b>On Behalf Of<span =
class=3D"Apple-converted-space">&nbsp;</span></b>Jim =
Schaad<br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, January 13, 2014 =
11:20 AM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Mike =
Jones<br><b>Cc:</b><span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [jose] Issue #187 - =
Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></div></div></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Do there need to be any requirements for JWK to carry =
algorithms?<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"border-style: none =
none none solid; border-left-color: blue; border-left-width: 1.5pt; =
padding: 0in 0in 0in 4pt;"><div><div style=3D"border-style: solid none =
none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; =
padding: 3pt 0in 0in;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span =
style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>Mike Jones [<a =
href=3D"mailto:Michael.Jones@microsoft.com" style=3D"color: purple; =
text-decoration: =
underline;">mailto:Michael.Jones@microsoft.com</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, January 13, 2014 =
10:18 AM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Jim =
Schaad<br><b>Cc:</b><span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: purple; text-decoration: =
underline;">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>RE: [jose] Issue #187 - =
Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></div></div></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I=92m having trouble finding the message you=92re =
referring to with the choices.&nbsp; Maybe you could resend =
it?<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I think the choices we=92re discussing here are =
to:<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">(1) Change the name of =93Implementation =
Requirements=94 to =93JOSE Implementation Requirements=94 (already =
done)<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">(2) Change the names of all of =93Required=94, =
=93Optional=94, =93Recommended=94, and =
=93Prohibited=94.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">(3) Change just the name of =
=93Prohibited=94.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">(1) is straightforward and further clarified =
things.&nbsp; (2) would be consistent, but seems unnecessarily =
verbose.&nbsp; (3) would be inconsistent.<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">Answering your first =
question, I believe that if we rewrite any of the names, I believe that, =
yes, we need to rewrite all of them, for consistency =
purposes.<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I=92m pretty sure I don=92t understand your second =
question.&nbsp; What do you mean by =93the keying only =
algorithm=94?<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div><div style=3D"border-style: =
solid none none; border-top-color: rgb(181, 196, 223); border-top-width: =
1pt; padding: 3pt 0in 0in;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span =
style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>Jim Schaad [<a =
href=3D"mailto:ietf@augustcellars.com" style=3D"color: purple; =
text-decoration: underline;">mailto:ietf@augustcellars.com</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Thursday, December 19, 2013 =
11:44 AM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Mike Jones; 'Richard =
Barnes'; 'Karen ODonoghue'<br><b>Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: purple; text-decoration: =
underline;">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>RE: [jose] Issue #187 - =
Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></div></div></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Mike,<o:p></o:p></span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">I had offered a number of =
possibilities, do you see the same rewrite for all of =
them?<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">If we do the JOSE Implementation Requirements, what =
does this mean in terms of what you would do for the keying only =
algorithms?<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Jim<o:p></o:p></span></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"border-style: none none none solid; border-left-color: blue; =
border-left-width: 1.5pt; padding: 0in 0in 0in 4pt;"><div><div =
style=3D"border-style: solid none none; border-top-color: rgb(181, 196, =
223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>jose [<a =
href=3D"mailto:jose-bounces@ietf.org" style=3D"color: purple; =
text-decoration: underline;">mailto:jose-bounces@ietf.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><b>On Behalf Of<span =
class=3D"Apple-converted-space">&nbsp;</span></b>Mike =
Jones<br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Thursday, December 19, 2013 =
12:02 AM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Richard Barnes; Karen =
ODonoghue<br><b>Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: purple; text-decoration: =
underline;">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [jose] Issue #187 - =
Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></div></div></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I guess my problem with changing =93Prohibited=94 to =
=93Prohibited for JWS and JWE=94 is that then to be parallel we=92d need =
to change =93Required=94 to one of =93Required for JWS=94, =93Required =
for JWE=94, or =93Required for JWS and JWE=94, depending up context, =
change =93Recommended=94=85, change =93Optional=94=85, change =
=93Deprecated=94=85, etc.&nbsp; It wouldn=92t change the meaning at all =
and it would add a lot of unnecessary verbal =
clutter.<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">This wouldn=92t just affect =
=93Prohibited=94.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">I=92d much rather handle this a different way, and =
change the registry field name from =93Implementation Requirements=94 to =
=93JOSE Implementation Requirements=94, rather than qualifying every =
registry field value in a complicated way =96 that is, if people really =
believe that a change would be an =
improvement.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>jose [<a =
href=3D"mailto:jose-bounces@ietf.org" style=3D"color: purple; =
text-decoration: underline;">mailto:jose-bounces@ietf.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><b>On Behalf Of<span =
class=3D"Apple-converted-space">&nbsp;</span></b>Richard =
Barnes<br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Wednesday, December 18, =
2013 3:42 PM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Karen =
ODonoghue<br><b>Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: purple; text-decoration: =
underline;">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [jose] Issue #187 - =
Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">I'm =
with Jim and Karen on this one.<o:p></o:p></div></div><div><p =
class=3D"MsoNormal" style=3D"margin: 0in 0in 12pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></p><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;">On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue =
&lt;<a href=3D"mailto:odonoghue@isoc.org" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">odonoghue@isoc.org</a>&gt; =
wrote:<o:p></o:p></div><div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;">True, but, is =
there any harm in making the term clearer as well? I don't see =
one...<span style=3D"color: rgb(136, 136, 136);"><br><br><span =
class=3D"hoenzb">Karen</span></span><o:p></o:p></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><br><br>On 12/13/13 11:53 PM, Mike Jones =
wrote:<o:p></o:p></div></div></div><div><blockquote style=3D"margin-top: =
5pt; margin-bottom: 5pt;"><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">The meaning of =93Prohibited=94 is already =
clear.&nbsp;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#=
section-7.1.1" target=3D"_blank" style=3D"color: purple; =
text-decoration: =
underline;">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms=
-18#section-7.1.1</a><span =
class=3D"Apple-converted-space">&nbsp;</span>says:</span><o:p></o:p></div>=
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: =
'Times New Roman', serif;"><span lang=3D"EN" style=3D"font-family: =
'Courier New';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any identifiers =
registered for non-authenticated encryption =
algorithms</span><o:p></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
lang=3D"EN" style=3D"font-family: 'Courier =
New';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or other algorithms that are =
otherwise unsuitable for direct use</span><o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span lang=3D"EN" style=3D"font-family: 'Courier =
New';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; as JWS or JWE algorithms must be =
registered as "Prohibited".</span><o:p></o:p></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span><o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">I don=92t think a change =
is needed.</span><o:p></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span><o:p></o:p></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, =
125);">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">&nbsp;</span><o:p></o:p></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>jose [<a =
href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank" style=3D"color: =
purple; text-decoration: =
underline;">mailto:jose-bounces@ietf.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><b>On Behalf Of<span =
class=3D"Apple-converted-space">&nbsp;</span></b>Mark =
Watson<br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Friday, December 13, 2013 =
5:43 PM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Jim =
Schaad<br><b>Cc:</b><span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [jose] Issue #187 - =
Allow registration of non-JWE/JWS algorithms for =
JWK</span><o:p></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;">&nbsp;<o:p></o:p></div><div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Yes, =
I think it would be clearer to change or quality the term. "JWK only" or =
"Key Transport Only" or "Prohibited for JWE/JWS" could all =
work.<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;">&nbsp;<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">FYI, =
the WebCrypto registrations are not in the Editor's Draft at&nbsp;<a =
href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.ht=
ml" target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvie=
w.html</a>, though there remains the question of whether we could =
register an Array format instead of a string for JWK, as per my earlier =
mail (comments please!).<o:p></o:p></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">&nbsp;<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">...Mark<o:p></o:p></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New =
Roman', serif;">&nbsp;<o:p></o:p></p><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">On =
Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad &lt;<a =
href=3D"mailto:ietf@augustcellars.com" target=3D"_blank" style=3D"color: =
purple; text-decoration: underline;">ietf@augustcellars.com</a>&gt; =
wrote:<o:p></o:p></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;">Minor question =
before I close this bug.&nbsp;<o:p></o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">&nbsp;<o:p></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;">Is there any =
sentiment to use a term that is not quite as =93nasty=94 as =93Prohibited=94=
 in the registration record.&nbsp;&nbsp; Specifically something along =
the lines of =93Key Transport Only=94.<o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"color: rgb(136, 136, =
136);">&nbsp;</span><o:p></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"color: rgb(136, 136, 136);">Jim</span><o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"color: rgb(136, 136, =
136);">&nbsp;</span><o:p></o:p></div></div><p class=3D"MsoNormal" =
style=3D"margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New =
Roman', =
serif;"><br>_______________________________________________<br>jose =
mailing list<br><a href=3D"mailto:jose@ietf.org" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p><=
/div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', =
serif;">&nbsp;<o:p></o:p></div></div></div><p class=3D"MsoNormal" =
style=3D"margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New =
Roman', serif;"><o:p>&nbsp;</o:p></p><pre style=3D"margin: 0in 0in =
0.0001pt; font-size: 10pt; font-family: 'Courier =
New';">_______________________________________________<o:p></o:p></pre><pr=
e style=3D"margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: =
'Courier New';">jose mailing list<o:p></o:p></pre><pre style=3D"margin: =
0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';"><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a><o:p></o:p></pre><pre =
style=3D"margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: =
'Courier New';"><a href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank" style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></pre=
></blockquote><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div></div><p class=3D"MsoNormal" =
style=3D"margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New =
Roman', =
serif;"><br>_______________________________________________<br>jose =
mailing list<br><a href=3D"mailto:jose@ietf.org" style=3D"color: purple; =
text-decoration: underline;">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank" =
style=3D"color: purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p><=
/div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div></div></div></div>___________________=
____________________________<br>jose mailing list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>https://www.ietf.org/ma=
ilman/listinfo/jose</div></blockquote></div><br></div></body></html>=

--Apple-Mail=_6A01B0D8-9304-4E29-9501-3F681C0BBFD9--

--Apple-Mail=_D13A7075-B66E-4FFB-BF18-BE0F3870929B
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFy
dENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAMsohUWcASz7GfKrpTOMKqANy9BV7V0igWdGxA8IU77L3aTxErQ+
fcxtDYZ36Z6GH0YFn7fq5RADteP0AYzrCA+EQTfi8q1+kA3m0nwtwXG94M5sIqsvs7lRP1aycBke
/s5g9hJHryZ2acScnzczjBCAo7X1v5G3yw8MDP2m2RCye0KfgZ4nODerZJVzhAlOD9YejvAXZqHk
sw56HzElVIoYSZ3q4+RJuPXXfIoyby+Y2m1E+YzX5iCZXBx05gk6MKAW1vaw4/v2OOLy6FZH3XHH
tOkzUreG//CsFnB9+uaYSlR65cdGzTsmoIK8WH1ygoXhRBm98SD7Hf/r3FELNvUCAwEAAaOCAa0w
ggGpMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSuVYNv7DHKufcd
+q9rMfPIHeOsuzAfBgNVHSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRa
MFgwJwYIKwYBBQUHMAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYh
aHR0cDovL3d3dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6
Ly93d3cuc3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5j
b20vc2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBADqpJw3I07QW
ke9plNBpxUxcffc7nUrIQpJHDci91DFG7fVhHRkMZ1J+BKg5UNUxIFJ2Z9B90Micc/NXcs7kPBRd
n6XGO/vPc87Y6R+cWS9Nc9+fp3Enmsm94OxOwI9wn8qnr/6o3mD4noP9JphwUPTXwHovjavRnhUQ
HLfo/i2NG0XXgTHXS2Xm0kVUozXqpYpAdumMiB/vezj1QHQJDmUdPYMcp+reg9901zkyT3fDW/iv
JVv6pWtkh6Pw2ytZT7mvg7YhX3V50Nv860cV11mocUVcqBLv0gcT+HBDYtbuvexNftwNQKD5193A
7zN4vG7CTYkXxytSjKuXrpEatEiFPxWgb84nVj25SU5q/r1Xhwby6mLhkbaXslkVtwEWT3Van49r
KjlK4XrUKYYWtnfzq6aSak5u0Vpxd1rY79tWhD3EdCvOhNz/QplNa+VkIsrcp7+8ZhP1l1b2U6Ma
xIVteuVMD3X0vziIwr7jxYae9FZjbxlpUemqXjcC0QaFfN7qI0JsQMALL7iGRBg7K0CoOBzECdD3
fuZil5kU/LP9cr1BK31U0Uy651bFnAMMMkqhAChIbn0ei72VnbpSsrrSdF0BAGYQ8vyHae5aCg+H
75dVCV33K6FuxZrf09yTz+Vx/PkdRUYkXmZz/OTfyJXsUOUXrym6KvI2rYpccSk5MIIHtTCCBp2g
AwIBAgICHlwwDQYJKoZIhvcNAQEFBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENv
bSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYD
VQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTAeFw0x
MjAzMTgwNDMyNDhaFw0xNDAzMTkxMTA3MzJaMIGbMRkwFwYDVQQNExBHclRNNkxTN1gzNTc3OHM5
MQswCQYDVQQGEwJDTDEiMCAGA1UECBMZTWV0cm9wb2xpdGFuYSBkZSBTYW50aWFnbzEWMBQGA1UE
BxMNSXNsYSBkZSBNYWlwbzEVMBMGA1UEAxMMSm9obiBCcmFkbGV5MR4wHAYJKoZIhvcNAQkBFg9q
YnJhZGxleUBtZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCySuUEj3esFMs5
AZLAhPpyjp0DD+vAM+tFeXr8XahzgoOf5A3oJ0V4ejTwfzjpUlL0IOMsq+cr2NvHGzjBip6cp09v
eODO3yhztv1le1aQ6CzGAx/p0Fn8g+biVYGkJtKvex4MYNcSmITaVNleejtzbk6C5HgTpBqFykcA
FmN4RYrrmYwfbmCahF/kxjWTeq67nL4UJgIcTaLBTmPOr6YjceYbn35QwUvHV+NX7NOyVHDbpxAM
L+56nCN5hKnxLbqF9aKlVbBCPiOz8LtGg+2+3aLJ5T4tIfzWMbjCUBae2I4bVa2hdS5dZJwTGFyI
p4pYKd6bL2qqbFF8moFE54aVAgMBAAGjggQOMIIECjAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAd
BgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwHQYDVR0OBBYEFD8Dv8LEoSfOmqZmUvP2JpAz
Lbh5MB8GA1UdIwQYMBaAFK5Vg2/sMcq59x36r2sx88gd46y7MH4GA1UdEQR3MHWBD2picmFkbGV5
QG1lLmNvbYEPamJyYWRsZXlAbWUuY29tgRBqYnJhZGxleUBtYWMuY29tgRF2ZTdqdGJAdmU3anRi
LmNvbYETamJyYWRsZXlAd2luZ2FhLmNvbYEXam9obi5icmFkbGV5QHdpbmdhYS5jb20wggIhBgNV
HSAEggIYMIICFDCCAhAGCysGAQQBgbU3AQICMIIB/zAuBggrBgEFBQcCARYiaHR0cDovL3d3dy5z
dGFydHNzbC5jb20vcG9saWN5LnBkZjA0BggrBgEFBQcCARYoaHR0cDovL3d3dy5zdGFydHNzbC5j
b20vaW50ZXJtZWRpYXRlLnBkZjCB9wYIKwYBBQUHAgIwgeowJxYgU3RhcnRDb20gQ2VydGlmaWNh
dGlvbiBBdXRob3JpdHkwAwIBARqBvlRoaXMgY2VydGlmaWNhdGUgd2FzIGlzc3VlZCBhY2NvcmRp
bmcgdG8gdGhlIENsYXNzIDIgVmFsaWRhdGlvbiByZXF1aXJlbWVudHMgb2YgdGhlIFN0YXJ0Q29t
IENBIHBvbGljeSwgcmVsaWFuY2Ugb25seSBmb3IgdGhlIGludGVuZGVkIHB1cnBvc2UgaW4gY29t
cGxpYW5jZSBvZiB0aGUgcmVseWluZyBwYXJ0eSBvYmxpZ2F0aW9ucy4wgZwGCCsGAQUFBwICMIGP
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQIaZExpYWJpbGl0eSBhbmQg
d2FycmFudGllcyBhcmUgbGltaXRlZCEgU2VlIHNlY3Rpb24gIkxlZ2FsIGFuZCBMaW1pdGF0aW9u
cyIgb2YgdGhlIFN0YXJ0Q29tIENBIHBvbGljeS4wNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2Ny
bC5zdGFydHNzbC5jb20vY3J0dTItY3JsLmNybDCBjgYIKwYBBQUHAQEEgYEwfzA5BggrBgEFBQcw
AYYtaHR0cDovL29jc3Auc3RhcnRzc2wuY29tL3N1Yi9jbGFzczIvY2xpZW50L2NhMEIGCCsGAQUF
BzAChjZodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9zdWIuY2xhc3MyLmNsaWVudC5jYS5j
cnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20vMA0GCSqGSIb3DQEBBQUAA4IB
AQARx8Pg+Yetf5bfNo/8qxHiDAsAvRRNozPXhIieDpr0XeRvxkNtNSd5L25uCmp4lA/YgVzRTmBC
cndd4Ifqn0jzya+bU2opDDxa9+CVLRohLX29+lOBclI90g7Ykk9GpoG1d/fOR1cnByRf3900yssZ
4a9oVP19Q11B0dTgEjWlVSmAqvv3pPstNz8RF8fyIWnX4KZ1WQnpjaIl1ZSniHXteZvFshPQJ1Lh
JKT9VbwsWyf+ZXPqEHvdW2HCMawiS7nhanilG6rUpf6kBOdGTekdFrXPebEkyars4RcQ1wJWb5sC
fJSthtSKU1L1RVNhLz/d1WwqI26kFo5k7686AmpUMYIDbDCCA2gCAQEwgZMwgYwxCzAJBgNVBAYT
AklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0
aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJt
ZWRpYXRlIENsaWVudCBDQQICHlwwCQYFKw4DAhoFAKCCAa0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3
DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwMTEzMjE1MDM4WjAjBgkqhkiG9w0BCQQxFgQU+QCzr7Vo
oGUON5Ix8ME4yb/8CNQwgaQGCSsGAQQBgjcQBDGBljCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNV
BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xp
ZW50IENBAgIeXDCBpgYLKoZIhvcNAQkQAgsxgZaggZMwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK
Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQQICHlwwDQYJKoZIhvcNAQEBBQAEggEATr7arNl8sgGA7YOos/YPiCMkny1rV042q1JAtt4r
qW2mirSSUXgcQ73dPKR0/QDqzth2O+y2NGIjSkhMcjAvNiX7phd5bxU7Z4SNigmjTSKIJY6SKpuA
kzBIAv1HPviOTE2iyTKW7EtI3az1UqNXiWynuXsh/0/JzX2BnYwV5yLJxThGJN4SCBRuAJTKz2Fh
Xqa24nOhb2TJHMY3FpN2InXIBcuB86URUOvaO/sND7pw4moedBWKHaF49/CcUSvBWuazS8wujqR7
13gzHjPx8XRawBDXX/symyXmElyhqSfjNHJjigQ8jXHOiQNekV3FWUxFH3F0ZHO0Rg3WElJUMQAA
AAAAAA==

--Apple-Mail=_D13A7075-B66E-4FFB-BF18-BE0F3870929B--


From ietf@augustcellars.com  Mon Jan 13 14:55:22 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0FA981AE00A for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 14:55:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 phrfAapjh0xV for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 14:55:16 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 976B01AE002 for <jose@ietf.org>; Mon, 13 Jan 2014 14:55:16 -0800 (PST)
Received: from Philemon (static-50-47-50-163.sttl.wa.frontiernet.net [50.47.50.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 4884E38EFE; Mon, 13 Jan 2014 14:55:04 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CDAEF29@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDAEF29@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 13 Jan 2014 14:53:30 -0800
Message-ID: <011a01cf10b2$47c0e240$d742a6c0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_011B_01CF106F.39A4A720"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJzNcdoBtnd70hA0gjaiDfeXxgcvJk6+K0g
Content-Language: en-us
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 22:55:22 -0000

This is a multipart message in MIME format.

------=_NextPart_000_011B_01CF106F.39A4A720
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

No the question is are there must requirements on supporting different key
and algorthms that needs to be documented for inclusion in alg table since
we cannot just assume that the set to implement the JWE/JWS requirements are
enough.

 

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Monday, January 13, 2014 11:54 AM
To: Jim Schaad
Cc: jose@ietf.org
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

If we do add such requirements, they should be of the "SHOULD/unless" form
that other such requirements in our specs take, with wording such as:

 

                 An "alg" member SHOULD be present, unless the application
uses another means or convention to determine the algorithm that is used
with the key.

 

Getting back to the actual topic of #187, it requested to allow non-JOSE
algorithms to be registered.  This has been enabled since draft -18 in
November.  Therefore, I believe that this issue should be closed as "fixed".

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 13, 2014 11:20 AM
To: Mike Jones
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

Do there need to be any requirements for JWK to carry algorithms?

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Monday, January 13, 2014 10:18 AM
To: Jim Schaad
Cc: jose@ietf.org
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

I'm having trouble finding the message you're referring to with the choices.
Maybe you could resend it?

 

I think the choices we're discussing here are to:

(1) Change the name of "Implementation Requirements" to "JOSE Implementation
Requirements" (already done)

(2) Change the names of all of "Required", "Optional", "Recommended", and
"Prohibited".

(3) Change just the name of "Prohibited".

 

(1) is straightforward and further clarified things.  (2) would be
consistent, but seems unnecessarily verbose.  (3) would be inconsistent.

 

Answering your first question, I believe that if we rewrite any of the
names, I believe that, yes, we need to rewrite all of them, for consistency
purposes.

 

I'm pretty sure I don't understand your second question.  What do you mean
by "the keying only algorithm"?

 

                                                            -- Mike

 

From: Jim Schaad [mailto:ietf@augustcellars.com] 
Sent: Thursday, December 19, 2013 11:44 AM
To: Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'
Cc: jose@ietf.org
Subject: RE: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

Mike,

 

I had offered a number of possibilities, do you see the same rewrite for all
of them? 

 

If we do the JOSE Implementation Requirements, what does this mean in terms
of what you would do for the keying only algorithms?

 

Jim

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Thursday, December 19, 2013 12:02 AM
To: Richard Barnes; Karen ODonoghue
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

I guess my problem with changing "Prohibited" to "Prohibited for JWS and
JWE" is that then to be parallel we'd need to change "Required" to one of
"Required for JWS", "Required for JWE", or "Required for JWS and JWE",
depending up context, change "Recommended"., change "Optional"., change
"Deprecated"., etc.  It wouldn't change the meaning at all and it would add
a lot of unnecessary verbal clutter.

 

This wouldn't just affect "Prohibited".

 

I'd much rather handle this a different way, and change the registry field
name from "Implementation Requirements" to "JOSE Implementation
Requirements", rather than qualifying every registry field value in a
complicated way - that is, if people really believe that a change would be
an improvement.

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
Sent: Wednesday, December 18, 2013 3:42 PM
To: Karen ODonoghue
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

I'm with Jim and Karen on this one.

 

On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue <odonoghue@isoc.org>
wrote:

True, but, is there any harm in making the term clearer as well? I don't see
one...

Karen



On 12/13/13 11:53 PM, Mike Jones wrote:

The meaning of "Prohibited" is already clear.
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.
1.1 says:

      Any identifiers registered for non-authenticated encryption algorithms

      or other algorithms that are otherwise unsuitable for direct use

      as JWS or JWE algorithms must be registered as "Prohibited".

 

I don't think a change is needed.

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Friday, December 13, 2013 5:43 PM
To: Jim Schaad
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
algorithms for JWK

 

Yes, I think it would be clearer to change or quality the term. "JWK only"
or "Key Transport Only" or "Prohibited for JWE/JWS" could all work.

 

FYI, the WebCrypto registrations are not in the Editor's Draft at
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html, though
there remains the question of whether we could register an Array format
instead of a string for JWK, as per my earlier mail (comments please!).

 

...Mark

 

On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com> wrote:

Minor question before I close this bug.  

 

Is there any sentiment to use a term that is not quite as "nasty" as
"Prohibited" in the registration record.   Specifically something along the
lines of "Key Transport Only".

 

Jim

 


_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

 

 

_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

 


_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

 


------=_NextPart_000_011B_01CF106F.39A4A720
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>No the question is are there must requirements on supporting =
different key and algorthms that needs to be documented for inclusion in =
alg table since we cannot just assume that the set to implement the =
JWE/JWS requirements are enough.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> Monday, =
January 13, 2014 11:54 AM<br><b>To:</b> Jim Schaad<br><b>Cc:</b> =
jose@ietf.org<br><b>Subject:</b> RE: [jose] Issue #187 - Allow =
registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>If we do add such requirements, they should be of the =
&#8220;SHOULD/unless&#8221; form that other such requirements in our =
specs take, with wording such as:<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; &nbsp; An &#8220;alg&#8221; member SHOULD be present, =
unless the application uses another means or convention to determine the =
algorithm that is used with the key.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Getting back to the actual topic of #187, it requested to allow =
non-JOSE algorithms to be registered.&nbsp; This has been enabled since =
draft -18 in November.&nbsp; Therefore, I believe that this issue should =
be closed as &#8220;fixed&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Jim Schaad<br><b>Sent:</b> Monday, January 13, 2014 =
11:20 AM<br><b>To:</b> Mike Jones<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Do there need to be any requirements for JWK to carry =
algorithms?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [<a =
href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@microsof=
t.com</a>] <br><b>Sent:</b> Monday, January 13, 2014 10:18 =
AM<br><b>To:</b> Jim Schaad<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> RE: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;m having trouble finding the message you&#8217;re referring =
to with the choices.&nbsp; Maybe you could resend =
it?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I think the choices we&#8217;re discussing here are =
to:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(1) Change the name of &#8220;Implementation Requirements&#8221; to =
&#8220;JOSE Implementation Requirements&#8221; (already =
done)<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(2) Change the names of all of &#8220;Required&#8221;, =
&#8220;Optional&#8221;, &#8220;Recommended&#8221;, and =
&#8220;Prohibited&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(3) Change just the name of =
&#8220;Prohibited&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(1) is straightforward and further clarified things.&nbsp; (2) would =
be consistent, but seems unnecessarily verbose.&nbsp; (3) would be =
inconsistent.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Answering your first question, I believe that if we rewrite any of =
the names, I believe that, yes, we need to rewrite all of them, for =
consistency purposes.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;m pretty sure I don&#8217;t understand your second =
question.&nbsp; What do you mean by &#8220;the keying only =
algorithm&#8221;?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Jim Schaad [<a =
href=3D"mailto:ietf@augustcellars.com">mailto:ietf@augustcellars.com</a>]=
 <br><b>Sent:</b> Thursday, December 19, 2013 11:44 AM<br><b>To:</b> =
Mike Jones; 'Richard Barnes'; 'Karen ODonoghue'<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> RE: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Mike,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I had offered a number of possibilities, do you see the same rewrite =
for all of them? <o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>If we do the JOSE Implementation Requirements, what does this mean in =
terms of what you would do for the keying only =
algorithms?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Jim<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Mike Jones<br><b>Sent:</b> Thursday, December 19, =
2013 12:02 AM<br><b>To:</b> Richard Barnes; Karen =
ODonoghue<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I guess my problem with changing &#8220;Prohibited&#8221; to =
&#8220;Prohibited for JWS and JWE&#8221; is that then to be parallel =
we&#8217;d need to change &#8220;Required&#8221; to one of =
&#8220;Required for JWS&#8221;, &#8220;Required for JWE&#8221;, or =
&#8220;Required for JWS and JWE&#8221;, depending up context, change =
&#8220;Recommended&#8221;&#8230;, change &#8220;Optional&#8221;&#8230;, =
change &#8220;Deprecated&#8221;&#8230;, etc.&nbsp; It wouldn&#8217;t =
change the meaning at all and it would add a lot of unnecessary verbal =
clutter.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>This wouldn&#8217;t just affect =
&#8220;Prohibited&#8221;.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;d much rather handle this a different way, and change the =
registry field name from &#8220;Implementation Requirements&#8221; to =
&#8220;JOSE Implementation Requirements&#8221;, rather than qualifying =
every registry field value in a complicated way &#8211; that is, if =
people really believe that a change would be an =
improvement.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Richard Barnes<br><b>Sent:</b> Wednesday, December =
18, 2013 3:42 PM<br><b>To:</b> Karen ODonoghue<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for =
JWK<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>I'm =
with Jim and Karen on this one.<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>On Wed, Dec 18, 2013 at 4:42 PM, Karen O'Donoghue =
&lt;<a href=3D"mailto:odonoghue@isoc.org" =
target=3D"_blank">odonoghue@isoc.org</a>&gt; =
wrote:<o:p></o:p></p><div><div><p class=3DMsoNormal>True, but, is there =
any harm in making the term clearer as well? I don't see one...<span =
style=3D'color:#888888'><br><br><span =
class=3Dhoenzb>Karen</span></span><o:p></o:p></p><div><div><p =
class=3DMsoNormal><br><br>On 12/13/13 11:53 PM, Mike Jones =
wrote:<o:p></o:p></p></div></div></div><div><div><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The meaning of &#8220;Prohibited&#8221; is already clear.&nbsp; <a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18=
#section-7.1.1" =
target=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-json-web-alg=
orithms-18#section-7.1.1</a> says:</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any identifiers registered for =
non-authenticated encryption algorithms</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or other algorithms that are =
otherwise unsuitable for direct use</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; as JWS or JWE algorithms must be =
registered as &quot;Prohibited&quot;.</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I don&#8217;t think a change is needed.</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&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;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">mailto:jose-bounces@ietf.org</a>] <b>On Behalf Of =
</b>Mark Watson<br><b>Sent:</b> Friday, December 13, 2013 5:43 =
PM<br><b>To:</b> Jim Schaad<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br><b>Subject:</b> Re: [jose] Issue =
#187 - Allow registration of non-JWE/JWS algorithms for =
JWK</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yes, I =
think it would be clearer to change or quality the term. &quot;JWK =
only&quot; or &quot;Key Transport Only&quot; or &quot;Prohibited for =
JWE/JWS&quot; could all work.<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>FYI, the =
WebCrypto registrations are not in the Editor's Draft at&nbsp;<a =
href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.h=
tml" =
target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/=
Overview.html</a>, though there remains the question of whether we could =
register an Array format instead of a string for JWK, as per my earlier =
mail (comments please!).<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>...Mark<o:p>=
</o:p></p></div></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'>&nbsp;<o:p></o:p><=
/p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Fri, Dec =
13, 2013 at 5:00 PM, Jim Schaad &lt;<a =
href=3D"mailto:ietf@augustcellars.com" =
target=3D"_blank">ietf@augustcellars.com</a>&gt; =
wrote:<o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Minor =
question before I close this bug.&nbsp; <o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is there =
any sentiment to use a term that is not quite as &#8220;nasty&#8221; as =
&#8220;Prohibited&#8221; in the registration record.&nbsp;&nbsp; =
Specifically something along the lines of &#8220;Key Transport =
Only&#8221;.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#888888'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#888888'>Jim</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#888888'>&nbsp;</span><o:p></o:p></p></div></div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>______________=
_________________________________<br>jose mailing list<br><a =
href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:=
p></p></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><pre>________________=
_______________________________<o:p></o:p></pre><pre>jose mailing =
list<o:p></o:p></pre><pre><a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><o:p></o:p></pre><pre><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:=
p></pre></blockquote><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div><p =
class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><br>______________________________________=
_________<br>jose mailing list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:=
p></p></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></div></bo=
dy></html>
------=_NextPart_000_011B_01CF106F.39A4A720--


From trac+jose@trac.tools.ietf.org  Mon Jan 13 15:02:07 2014
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB2811AE1CB for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 15:02:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.438
X-Spam-Level: 
X-Spam-Status: No, score=-2.438 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.538] 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 JvDQChBR9WEI for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 15:02:06 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 0364C1AE00A for <jose@ietf.org>; Mon, 13 Jan 2014 15:02:05 -0800 (PST)
Received: from localhost ([127.0.0.1]:42379 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1W2qVx-0002gu-OZ; Tue, 14 Jan 2014 00:01:49 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Mon, 13 Jan 2014 23:01:49 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/78#comment:1
Message-ID: <076.796c71507c3659022bac83321be5b206@trac.tools.ietf.org>
References: <061.628c1d34d9df4f9348f3c33a82a4328b@trac.tools.ietf.org>
X-Trac-Ticket-ID: 78
In-Reply-To: <061.628c1d34d9df4f9348f3c33a82a4328b@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #78: Seciton 4. JSON Web Key Set (JWK Set) Format
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jan 2014 23:02:07 -0000

#78: Seciton 4. JSON Web Key Set (JWK Set) Format

Changes (by ietf@augustcellars.com):

 * status:  new => closed
 * resolution:   => fixed


Old description:

> A. In the first sentence - there is no need to document the structure o a
> JWK - this is what section 4.1 is for s/as the value of its "keys"
> member//
>
> B. names within does not say it is at a single lexical scope or not.
>
> C. MAY in paragraph 3 is wrong - see 2119 analysis (Ticket #48)

New description:

 A. In the first sentence - there is no need to document the structure o a
 JWK - this is what section 4.1 is for s/as the value of its "keys"
 member//

 * WON'T FIX

 B. names within does not say it is at a single lexical scope or not.

 * Won't FIX

 C. MAY in paragraph 3 is wrong - see 2119 analysis (Ticket #48)

 *FIXED

--

-- 
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  draft-ietf-jose-json-web-
  ietf@augustcellars.com |  key@tools.ietf.org
     Type:  defect       |      Status:  closed
 Priority:  Editorial    |   Milestone:
Component:  json-web-    |     Version:
  key                    |  Resolution:  fixed
 Severity:  -            |
 Keywords:               |
-------------------------+-------------------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/jose/trac/ticket/78#comment:1>
jose <http://tools.ietf.org/jose/>


From odonoghue@isoc.org  Mon Jan 13 21:23:22 2014
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DACE01ADE7C for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 21:23:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_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 gyhlQWSv8jah for <jose@ietfa.amsl.com>; Mon, 13 Jan 2014 21:23:20 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0182.outbound.protection.outlook.com [207.46.163.182]) by ietfa.amsl.com (Postfix) with ESMTP id 51A691ADD9A for <jose@ietf.org>; Mon, 13 Jan 2014 21:23:20 -0800 (PST)
Received: from kodonog-mac.local (74.214.48.55) by CO2PR06MB588.namprd06.prod.outlook.com (10.141.229.154) with Microsoft SMTP Server (TLS) id 15.0.851.15; Tue, 14 Jan 2014 05:23:06 +0000
Message-ID: <52D4C9B5.60103@isoc.org>
Date: Tue, 14 Jan 2014 00:23:01 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [74.214.48.55]
X-ClientProxiedBy: BL2PR04CA003.namprd04.prod.outlook.com (10.255.226.23) To CO2PR06MB588.namprd06.prod.outlook.com (10.141.229.154)
X-Forefront-PRVS: 0091C8F1EB
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(679001)(669001)(689001)(199002)(189002)(54356001)(79102001)(53806001)(42186004)(47736001)(19580395003)(77096001)(46102001)(50986001)(49866001)(65806001)(66066001)(47976001)(63696002)(23756003)(65956001)(51856001)(80976001)(83322001)(47776003)(93136001)(92566001)(81816001)(92726001)(64126003)(36756003)(33656001)(54316002)(56776001)(81686001)(80022001)(76796001)(76482001)(59766001)(77982001)(76176001)(74876001)(87976001)(81342001)(4396001)(31966008)(87266001)(74706001)(90146001)(69226001)(85306002)(74662001)(76786001)(83072002)(15975445006)(47446002)(15202345003)(85852003)(81542001)(50466002)(56816005)(83506001)(74366001)(74502001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR06MB588; H:kodonog-mac.local; CLIP:74.214.48.55; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; 
X-OriginatorOrg: isoc.org
Subject: [jose] draft notes from 13 Jan JOSE WG virtual interim
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Jan 2014 05:23:23 -0000

Folks,

Tonight's JOSE WG call discussed all the remaining open issues for JWE, 
JWS, JWA, and JWK. Below are the proposed actions for all these issues 
along with the mailing list discussion related the WebCrypto use of JWK. 
All the actions discussed below are expected to be completed by 1/20. At 
that point, it is expected that the documents will be ready to proceed 
to WGLC.

Comments, as always, are welcome.

Regards,
Karen

#70    Review of 2119 Language    json-web-key
Hold open through WGLC.

#89    Section 8. Security Considerations    json-web-key
#158    Section 7. Security Considerations    json-web-algorithms
No identified changes. Jim/Karen to review text.

#90    Section 9 References    json-web-key
Hold open through WGLC. Mike to update JSON references.

#93    New Appendix - How to find a key    json-web-signature
Updated text expected. Mike to produce a draft and circulate on mailing 
list for further comment.

#95    Use of proper JSON terminology    json-web-signature
No identified changes. Jim to review text.

#121    Section 7.2. JWS JSON Serailziation    json-web-signature
#178    Section 7.2 JWE JSON Serialization    json-web-encryption
Mike to reformat for better readability.

#147    Section 4.10.2 - Algorithm and examples json-web-algorithms
Hold open through WGLC assuming progress on the 
draft-mcgrew-aead-aes-cbc-hmac-sha2-02.
Jim/Karen will contact the authors to see what can be done to progress 
the draft.

#165    Section 2. Terminology    json-web-encryption
Mike will clarify definitions, remove inconsistencies, and reduce 
duplication.

#187    Allow registration of non-JWE/JWS algorithms for JWK 
json-web-algorithms
Jim will close the issue.

Additionally, wrt the discussion from the mailing list related to W3C 
WebCrypto coordination (the email thread initiated by 
http://www.ietf.org/mail-archive/web/jose/current/msg03801.html), the 
decision was to use the approach detailed in the referenced email. The 
changes are to change the name of the "use_details" field to "key_ops" 
and to add text clarifying that you would use one field or the other not 
both.


From iesg-secretary@ietf.org  Tue Jan 14 09:31:55 2014
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4B291AE15E; Tue, 14 Jan 2014 09:31:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 pJdc84KGqfJi; Tue, 14 Jan 2014 09:31:54 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E748E1AE1DC; Tue, 14 Jan 2014 09:31:43 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140114173143.16309.25761.idtracker@ietfa.amsl.com>
Date: Tue, 14 Jan 2014 09:31:43 -0800
Cc: jose chair <jose-chairs@tools.ietf.org>, jose mailing list <jose@ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: [jose] Document Action: 'Use Cases and Requirements for JSON Object Signing and Encryption (JOSE)' to Informational RFC (draft-ietf-jose-use-cases-06.txt)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Jan 2014 17:31:55 -0000

The IESG has approved the following document:
- 'Use Cases and Requirements for JSON Object Signing and Encryption
   (JOSE)'
  (draft-ietf-jose-use-cases-06.txt) as Informational RFC

This document is the product of the Javascript Object Signing and
Encryption Working Group.

The IESG contact persons are Sean Turner and Stephen Farrell.

A URL of this Internet Draft is:
http://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/




Technical Summary

   This document defines a set of use cases and requirements
   for a secure object format encoded using JavaScript Object Notation
   (JSON), drawn from a variety of application security mechanisms
   currently in development.

Working Group Summary

   The document represents the consuses of the working group.
   The document was not controversial during the working group
   discussions.

Document Quality

  The document has not had a large amount of review outside of
  the JOSE working group.  As such it is possible that the group
  has missed or mis-represented the set of use cases that the
  JOSE working group needs to address when generating the
  specifications in the group.  The OAUTH working group views
  are well presented, but it does not have sufficient apps area review.

Personnel

   Document Shepherd is Jim Schaad
   Area Director is Sean Turner

From Michael.Jones@microsoft.com  Tue Jan 14 23:00:01 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35B081AE2ED for <jose@ietfa.amsl.com>; Tue, 14 Jan 2014 23:00:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 sZvFgb23wy5p for <jose@ietfa.amsl.com>; Tue, 14 Jan 2014 22:59:59 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0150.outbound.protection.outlook.com [207.46.163.150]) by ietfa.amsl.com (Postfix) with ESMTP id 24B831AE2F9 for <jose@ietf.org>; Tue, 14 Jan 2014 22:59:58 -0800 (PST)
Received: from BL2PR03CA022.namprd03.prod.outlook.com (10.141.66.30) by BL2PR03MB243.namprd03.prod.outlook.com (10.255.231.23) with Microsoft SMTP Server (TLS) id 15.0.847.13; Wed, 15 Jan 2014 06:59:46 +0000
Received: from BN1AFFO11FD040.protection.gbl (2a01:111:f400:7c10::170) by BL2PR03CA022.outlook.office365.com (2a01:111:e400:c1b::30) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Wed, 15 Jan 2014 06:59:46 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD040.mail.protection.outlook.com (10.58.52.251) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Wed, 15 Jan 2014 06:59:46 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.03.0158.002; Wed, 15 Jan 2014 06:58:58 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Richard Barnes <rlb@ipv.sx>
Thread-Topic: [jose] Document Action: 'Use Cases and Requirements for JSON Object Signing and Encryption (JOSE)' to Informational RFC (draft-ietf-jose-use-cases-06.txt)
Thread-Index: AQHPEU6vNrtIJJ4KqUCnvhduZC211ZqFW3Xg
Date: Wed, 15 Jan 2014 06:58:58 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDB0EFC@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <20140114173143.16309.25761.idtracker@ietfa.amsl.com>
In-Reply-To: <20140114173143.16309.25761.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(779001)(679001)(689001)(377454003)(199002)(189002)(164054003)(13464003)(49866001)(74876001)(81542001)(23726002)(50986001)(47736001)(47976001)(2656002)(77982001)(46406003)(44976005)(76482001)(33656001)(81816001)(74706001)(87936001)(83322001)(81686001)(19580395003)(19580405001)(4396001)(6806004)(85306002)(31966008)(53806001)(93516001)(56776001)(54356001)(93136001)(80976001)(87266001)(77096001)(54316002)(85806002)(65816001)(59766001)(79102001)(15188555004)(15975445006)(46102001)(81342001)(55846006)(47446002)(51856001)(50466002)(74662001)(74502001)(74366001)(56816005)(85852003)(90146001)(80022001)(15202345003)(92566001)(20776003)(83072002)(69226001)(47776003)(66066001)(92726001)(63696002)(76796001)(76786001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB243; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00922518D8
X-OriginatorOrg: microsoft.com
Cc: jose chair <jose-chairs@tools.ietf.org>, jose mailing list <jose@ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: Re: [jose] Document Action: 'Use Cases and Requirements for JSON Object Signing and Encryption (JOSE)' to Informational RFC (draft-ietf-jose-use-cases-06.txt)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Jan 2014 07:00:01 -0000

Are the issues identified in http://www.ietf.org/mail-archive/web/jose/curr=
ent/msg03817.html being addressed as RFC Editor notes?  If so, can you plea=
se point the working group to the editing instructions, so they can be revi=
ewed by the working group?

				Thanks,
				-- Mike

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org] On Behalf Of The IESG
Sent: Tuesday, January 14, 2014 9:32 AM
To: IETF-Announce
Cc: jose chair; jose mailing list; RFC Editor
Subject: [jose] Document Action: 'Use Cases and Requirements for JSON Objec=
t Signing and Encryption (JOSE)' to Informational RFC (draft-ietf-jose-use-=
cases-06.txt)

The IESG has approved the following document:
- 'Use Cases and Requirements for JSON Object Signing and Encryption
   (JOSE)'
  (draft-ietf-jose-use-cases-06.txt) as Informational RFC

This document is the product of the Javascript Object Signing and Encryptio=
n Working Group.

The IESG contact persons are Sean Turner and Stephen Farrell.

A URL of this Internet Draft is:
http://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/




Technical Summary

   This document defines a set of use cases and requirements
   for a secure object format encoded using JavaScript Object Notation
   (JSON), drawn from a variety of application security mechanisms
   currently in development.

Working Group Summary

   The document represents the consuses of the working group.
   The document was not controversial during the working group
   discussions.

Document Quality

  The document has not had a large amount of review outside of
  the JOSE working group.  As such it is possible that the group
  has missed or mis-represented the set of use cases that the
  JOSE working group needs to address when generating the
  specifications in the group.  The OAUTH working group views
  are well presented, but it does not have sufficient apps area review.

Personnel

   Document Shepherd is Jim Schaad
   Area Director is Sean Turner
_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

From Michael.Jones@microsoft.com  Thu Jan 16 18:44:40 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3EA421ADC03 for <jose@ietfa.amsl.com>; Thu, 16 Jan 2014 18:44:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 KE2hhhd-3rXb for <jose@ietfa.amsl.com>; Thu, 16 Jan 2014 18:44:36 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0149.outbound.protection.outlook.com [207.46.163.149]) by ietfa.amsl.com (Postfix) with ESMTP id CE5D31ADBE5 for <jose@ietf.org>; Thu, 16 Jan 2014 18:44:35 -0800 (PST)
Received: from BLUPR03MB149.namprd03.prod.outlook.com (10.255.212.17) by BLUPR03MB167.namprd03.prod.outlook.com (10.255.212.143) with Microsoft SMTP Server (TLS) id 15.0.847.13; Fri, 17 Jan 2014 02:44:22 +0000
Received: from BLUPR03CA031.namprd03.prod.outlook.com (10.141.30.24) by BLUPR03MB149.namprd03.prod.outlook.com (10.255.212.17) with Microsoft SMTP Server (TLS) id 15.0.847.13; Fri, 17 Jan 2014 02:44:21 +0000
Received: from BN1BFFO11FD042.protection.gbl (2a01:111:f400:7c10::1:167) by BLUPR03CA031.outlook.office365.com (2a01:111:e400:879::24) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Fri, 17 Jan 2014 02:44:21 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD042.mail.protection.outlook.com (10.58.144.105) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Fri, 17 Jan 2014 02:44:20 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0158.002; Fri, 17 Jan 2014 02:44:01 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Appendix D.  Notes on Validation Key Selection
Thread-Index: Ac8TLfW5GxPNnzbrTYOsRJLv1Afw7w==
Date: Fri, 17 Jan 2014 02:44:00 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDB5D78@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.79]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDB5D78TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(789003)(689001)(679001)(779001)(199002)(189002)(53806001)(16297215004)(77096001)(20776003)(63696002)(47736001)(79102001)(54356001)(59766001)(4396001)(51856001)(46102001)(15202345003)(16236675002)(47976001)(77982001)(50986001)(49866001)(19300405004)(80022001)(54316002)(76482001)(69226001)(65816001)(74366001)(74706001)(81542001)(76796001)(66066001)(55846006)(81342001)(71186001)(76786001)(85806002)(81686001)(56776001)(512954002)(74502001)(74662001)(2656002)(92566001)(81816001)(87266001)(83072002)(56816005)(92726001)(76176001)(6806004)(33656001)(83322001)(85852003)(15975445006)(19580395003)(85306002)(47446002)(93136001)(44976005)(87936001)(84326002)(93516002)(90146001)(80976001)(74876001)(31966008); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB149; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0094E3478A
X-OriginatorOrg: microsoft.com
Subject: [jose] Appendix D.  Notes on Validation Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jan 2014 02:44:40 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDB5D78TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Per my action item on the call, the following is proposed updated text for =
JWS Appendix D.  It includes a lot of introductory text proposed by Jim.  I=
t also more explicitly describes the likely methods of key ordering and key=
 filtering, as also requested on the call.  Please let me know if there are=
 any additional text changes you'd like to see (and if so, please provide s=
pecific proposed text, if possible).  The previous version of this appendix=
 can be read at http://tools.ietf.org/html/draft-ietf-jose-json-web-signatu=
re-19#appendix-D.

Appendix D.  Notes on Validation Key Selection

This appendix describes a set of possible algorithms for selecting the key =
to be used to validate the digital signature or MAC of a JWS object. This g=
uidance identifies a set of algorithms, rather than a single algorithm, bec=
ause in different contexts, not all the sources of keys will be used, they =
can be tried in different orders, and sometimes not all the collected keys =
will be tried.

The algorithms consist of the application of some or all of the steps descr=
ibed below; the order and inclusion of steps described below does not mean =
that they need to be performed in this order or that they are required in a=
ll contexts. These algorithms are described for illustration purposes only;=
 specific applications can and are likely to use different algorithms. Spec=
ific applications will frequently have a much simpler method of determining=
 the keys to use, as there may be one or two key selection methods that are=
 profiled for the application's use. This appendix supplements the normativ=
e information on key location in Section 6 (Key Identification).

The gist of these algorithms is to collect a set of keys from known applica=
ble sources of keys and then to use them to attempt to validate the digital=
 signature or MAC value of a JWS. Potential sources of keys include:
*         Keys supplied by the application protocol being used.
*         Keys referenced by the jku (JWK Set URL) Header Parameter.
*         The key provided by the jwk (JSON Web Key) Header Parameter.
*         The keys referenced by the kid (Key ID) Header Parameter.
*         Keys referenced by the x5u (X.509 URL) Header Parameter.
*         The key provided by the x5c (X.509 Certificate Chain) Header Para=
meter.
*         The key referenced by the x5t (X.509 Certificate SHA-1 Thumbprint=
) Header Parameter.
*         Other applicable keys available to the application.

Once the set of keys has been collected, the following steps may also be ap=
plied:
*         Order the set of collected keys in a particular way. For instance=
, keys referenced by the kid or x5t parameters might be used before other k=
eys. Keys with certain alg values or other member values might be ordered b=
efore keys with other alg values or other member values.
*         Filter the set of collected keys in a particular way. For instanc=
e, only keys referenced by the kid or x5t parameters might be used by the a=
pplication. Keys might be filtered to include or exclude keys with certain =
alg values, use values, or other member values.

Finally, signature or MAC validation will be tried with some or all of the =
collected and possibly ordered and/or filtered keys. This process will norm=
ally terminate following a successful validation.

                                                                -- Mike



--_000_4E1F6AAD24975D4BA5B16804296739437CDB5D78TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:287248640;
	mso-list-template-ids:-1585961988;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1939831190;
	mso-list-template-ids:-1774685262;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Per my action item on the call, the following is pro=
posed updated text for JWS Appendix D.&nbsp; It includes a lot of introduct=
ory text proposed by Jim.&nbsp; It also more explicitly describes the likel=
y methods of key ordering and key filtering,
 as also requested on the call.&nbsp; Please let me know if there are any a=
dditional text changes you&#8217;d like to see (and if so, please provide s=
pecific proposed text, if possible).&nbsp; The previous version of this app=
endix can be read at
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19=
#appendix-D">
http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#appendix-D=
</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<h3><span lang=3D"EN">Appendix D.&nbsp; Notes on Validation Key Selection<o=
:p></o:p></span></h3>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">This appendix describes a set of possible algorithms=
 for selecting the key to be used to validate the digital signature or MAC =
of a JWS object. This guidance identifies a set of algorithms,
 rather than a single algorithm, because in different contexts, not all the=
 sources of keys will be used, they can be tried in different orders, and s=
ometimes not all the collected keys will be tried.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">The algorithms consist of the application of some or=
 all of the steps described below; the order and inclusion of steps describ=
ed below does not mean that they need to be performed in
 this order or that they are required in all contexts. These algorithms are=
 described for illustration purposes only; specific applications can and ar=
e likely to use different algorithms. Specific applications will frequently=
 have a much simpler method of determining
 the keys to use, as there may be one or two key selection methods that are=
 profiled for the application's use. This appendix supplements the normativ=
e information on key location in Section&nbsp;6 (Key Identification).
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">The gist of these algorithms is to collect a set of =
keys from known applicable sources of keys and then to use them to attempt =
to validate the digital signature or MAC value of a JWS.
 Potential sources of keys include: <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys supplied by the app=
lication protocol being used.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jku</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JWK Set URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jwk</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JSON Web Key) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The keys referenced by t=
he
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5u</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5c</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate Chain) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key referenced by th=
e
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Other applicable keys av=
ailable to the application.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">Once the set of keys has been collected, the followi=
ng steps may also be applied:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Order the set of collect=
ed keys in a particular way. For instance, keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> parameters might be used before other keys. Keys with cert=
ain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values or other member values might be ordered before keys=
 with other
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values or other member values.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Filter the set of collec=
ted keys in a particular way. For instance, only keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> parameters might be used by the application. Keys might be=
 filtered to include or exclude keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">use</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values, or other member values.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">Finally, signature or MAC validation will be tried w=
ith some or all of the collected and possibly ordered and/or filtered keys.=
 This process will normally terminate following a successful
 validation. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDB5D78TK5EX14MBXC286r_--

From ietf@augustcellars.com  Fri Jan 17 12:33:17 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23C3B1AC3FA for <jose@ietfa.amsl.com>; Fri, 17 Jan 2014 12:33:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 I-SK1h7112sC for <jose@ietfa.amsl.com>; Fri, 17 Jan 2014 12:33:12 -0800 (PST)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 2460A1A802D for <jose@ietf.org>; Fri, 17 Jan 2014 12:33:11 -0800 (PST)
Received: from Philemon (static-50-47-50-163.sttl.wa.frontiernet.net [50.47.50.163]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id D98EB2CA79; Fri, 17 Jan 2014 12:32:58 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>
References: <4E1F6AAD24975D4BA5B16804296739437CDB5D78@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDB5D78@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Fri, 17 Jan 2014 12:31:21 -0800
Message-ID: <02d401cf13c3$17044520$450ccf60$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_02D5_01CF1380.08E65C50"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQG5qufunIKhcjVNQFlcIQrP0+/EDZqzMd0w
Content-Language: en-us
Subject: Re: [jose] Appendix D.  Notes on Validation Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jan 2014 20:33:17 -0000

This is a multipart message in MIME format.

------=_NextPart_000_02D5_01CF1380.08E65C50
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Webster's defines an algorithm as "a step-by-step procedure for solving a
problem or accomplishing some end especially by a computer".  I fail to find
an algorithm in the text below.  I also fail to find any steps in the
description as well.  I therefore object to the concept of calling the
whatever is being presented here as an algorithm.

 

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Thursday, January 16, 2014 6:44 PM
To: jose@ietf.org
Subject: [jose] Appendix D. Notes on Validation Key Selection

 

Per my action item on the call, the following is proposed updated text for
JWS Appendix D.  It includes a lot of introductory text proposed by Jim.  It
also more explicitly describes the likely methods of key ordering and key
filtering, as also requested on the call.  Please let me know if there are
any additional text changes you'd like to see (and if so, please provide
specific proposed text, if possible).  The previous version of this appendix
can be read at
http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#appendix-D.

 


Appendix D.  Notes on Validation Key Selection


This appendix describes a set of possible algorithms for selecting the key
to be used to validate the digital signature or MAC of a JWS object. This
guidance identifies a set of algorithms, rather than a single algorithm,
because in different contexts, not all the sources of keys will be used,
they can be tried in different orders, and sometimes not all the collected
keys will be tried. 

Does the text offered up here intentionally ignore the problem of locating
keys for encryption? 

The algorithms consist of the application of some or all of the steps
described below; the order and inclusion of steps described below does not
mean that they need to be performed in this order or that they are required
in all contexts. These algorithms are described for illustration purposes
only; specific applications can and are likely to use different algorithms. 

If this is a set of algorithms -and the set is complete - then why would
they use different algorithms?  Text makes no sense without a single
algorithm.

Specific applications will frequently have a much simpler method of
determining the keys to use, as there may be one or two key selection
methods that are profiled for the application's use. This appendix
supplements the normative information on key location in Section 6 (Key
Identification). 

The gist of these algorithms is to collect a set of keys from known
applicable sources of keys and then to use them to attempt to validate the
digital signature or MAC value of a JWS. Potential sources of keys include: 

.         Keys supplied by the application protocol being used. 

.         Keys referenced by the jku (JWK Set URL) Header Parameter. 

.         The key provided by the jwk (JSON Web Key) Header Parameter. 

.         The keys referenced by the kid (Key ID) Header Parameter. 

Given a kid how do I find  key?  This is just a filter.

.         Keys referenced by the x5u (X.509 URL) Header Parameter. 

Singular or multiple?

.         The key provided by the x5c (X.509 Certificate Chain) Header
Parameter. 

.         The key referenced by the x5t (X.509 Certificate SHA-1 Thumbprint)
Header Parameter. 

Given a thumbprint how do I find a key? This is just  filter.

.         Other applicable keys available to the application. 

Once the set of keys has been collected, the following steps may also be
applied:

s/Once the/As the/

.         Order the set of collected keys in a particular way. For instance,
keys referenced by the kid or x5t parameters might be used before other
keys. Keys with certain alg values or other member values might be ordered
before keys with other alg values or other member values. 

s/might be used/might be tried/

I don't understand ordering on alg values - I would need a very concrete
example to know what this meant.  I can understand filtering but that is not
what is here.

.         Filter the set of collected keys in a particular way. For
instance, only keys referenced by the kid or x5t parameters might be used by
the application. Keys might be filtered to include or exclude keys with
certain alg values, use values, or other member values. 

So I am free to ignore the following things when selecting keys - alg, use,
key_ops, ktyp even if they would make no sense in the context.  I.e.
"use":"enc" is purely advisory.

Finally, signature or MAC validation will be tried with some or all of the
collected and possibly ordered and/or filtered keys. This process will
normally terminate following a successful validation. 

I don't know that I understand the fail condition that is proposed here.
Would a fail after trying 5 keys be acceptable?  Or would I need to try all
of the keys that I found?  Is a shotgun approach considered to be a good
method of determining the key to be used?

Nothing is said in this text about doing a trust check on keys or
certificates.  Should it be part of the filtering steps?

 

                                                                -- Mike

 

 


------=_NextPart_000_02D5_01CF1380.08E65C50
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.ssens
	{mso-style-name:ssens;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:287248640;
	mso-list-template-ids:-1585961988;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1939831190;
	mso-list-template-ids:-1774685262;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>Webster&#8217;s defines an algorithm as =
&#8220;</span><span class=3Dssens>a step-by-step procedure for solving a =
problem or accomplishing some end especially by a computer&#8221;.&nbsp; =
I fail to find an algorithm in the text below.&nbsp; I also fail to find =
any steps in the description as well.&nbsp; I therefore object to the =
concept of calling the whatever is being presented here as an =
algorithm.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [mailto:jose-bounces@ietf.org] <b>On Behalf Of </b>Mike =
Jones<br><b>Sent:</b> Thursday, January 16, 2014 6:44 PM<br><b>To:</b> =
jose@ietf.org<br><b>Subject:</b> [jose] Appendix D. Notes on Validation =
Key Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Per my =
action item on the call, the following is proposed updated text for JWS =
Appendix D.&nbsp; It includes a lot of introductory text proposed by =
Jim.&nbsp; It also more explicitly describes the likely methods of key =
ordering and key filtering, as also requested on the call.&nbsp; Please =
let me know if there are any additional text changes you&#8217;d like to =
see (and if so, please provide specific proposed text, if =
possible).&nbsp; The previous version of this appendix can be read at <a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19#=
appendix-D">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature=
-19#appendix-D</a>.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><h3><span lang=3DEN>Appendix =
D.&nbsp; Notes on Validation Key Selection<o:p></o:p></span></h3><p =
style=3D'margin-left:29.25pt'><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>This appendix =
describes a set of possible algorithms for selecting the key to be used =
to validate the digital signature or MAC of a JWS object. This guidance =
identifies a set of algorithms, rather than a single algorithm, because =
in different contexts, not all the sources of keys will be used, they =
can be tried in different orders, and sometimes not all the collected =
keys will be tried. </span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></s=
pan></p><p style=3D'margin-left:0in'><span lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Does the text offered up here intentionally ignore the problem of =
locating keys for encryption? <o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>The algorithms =
consist of the application of some or all of the steps described below; =
the order and inclusion of steps described below does not mean that they =
need to be performed in this order or that they are required in all =
contexts. These algorithms are described for illustration purposes only; =
specific applications can and are likely to use different algorithms. =
</span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></s=
pan></p><p style=3D'margin-left:0in'><span lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>If this is a set of algorithms &#8211;and the set is complete &#8211; =
then why would they use different algorithms?&nbsp; Text makes no sense =
without a single algorithm.<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Specific =
applications will frequently have a much simpler method of determining =
the keys to use, as there may be one or two key selection methods that =
are profiled for the application's use. This appendix supplements the =
normative information on key location in Section&nbsp;6 (Key =
Identification). <o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>The gist of =
these algorithms is to collect a set of keys from known applicable =
sources of keys and then to use them to attempt to validate the digital =
signature or MAC value of a JWS. Potential sources of keys include: =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Keys supplied =
by the application protocol being used. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Keys referenced =
by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jku</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JWK Set URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>The key =
provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jwk</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JSON Web Key) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>The keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto'><span lang=3DEN style=3D'color:#1F497D'>Given a kid how do I =
find&nbsp; key?&nbsp; This is just a filter.<o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Keys referenced =
by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5u</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto'><span lang=3DEN style=3D'color:#1F497D'>Singular or =
multiple?<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>The key =
provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5c</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate Chain) Header Parameter. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>The key =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) Header Parameter. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto'><span lang=3DEN style=3D'color:#1F497D'>Given a thumbprint how =
do I find a key? This is just&nbsp; filter.<o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Other =
applicable keys available to the application. =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Once the set of =
keys has been collected, the following steps may also be =
applied:</span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></s=
pan></p><p style=3D'margin-left:0in'><span lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>s/Once the/As the/<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l1 level1 =
lfo4'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Order the set =
of collected keys in a particular way. For instance, keys referenced by =
the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> parameters =
might be used before other keys. Keys with certain </span><tt><span =
lang=3DEN style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values or =
other member values might be ordered before keys with other =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values or =
other member values. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto'><span lang=3DEN style=3D'color:#1F497D'>s/might be used/might be =
tried/<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto'><span lang=3DEN style=3D'color:#1F497D'>I don&#8217;t understand =
ordering on alg values &#8211; I would need a very concrete example to =
know what this meant.&nbsp; I can understand filtering but that is not =
what is here.<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l1 level1 =
lfo4'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:Symbol;color:black'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Filter the set =
of collected keys in a particular way. For instance, only keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> parameters =
might be used by the application. Keys might be filtered to include or =
exclude keys with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>use</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, or =
other member values. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto'><span lang=3DEN style=3D'color:#1F497D'>So I am free to ignore =
the following things when selecting keys &#8211; alg, use, key_ops, ktyp =
even if they would make no sense in the context.&nbsp; I.e. =
&#8220;use&#8221;:&#8221;enc&#8221; is purely =
advisory.<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Finally, =
signature or MAC validation will be tried with some or all of the =
collected and possibly ordered and/or filtered keys. This process will =
normally terminate following a successful validation. =
<o:p></o:p></span></p><p style=3D'margin-left:0in'><span lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I don&#8217;t know that I understand the fail condition that is =
proposed here.&nbsp; Would a fail after trying 5 keys be =
acceptable?&nbsp; Or would I need to try all of the keys that I =
found?&nbsp; Is a shotgun approach considered to be a good method of =
determining the key to be used?<o:p></o:p></span></p><p =
style=3D'margin-left:0in'><span lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Nothing is said in this text about doing a trust check on keys or =
certificates.&nbsp; Should it be part of the filtering =
steps?<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&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;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_02D5_01CF1380.08E65C50--


From Michael.Jones@microsoft.com  Sat Jan 18 12:11:21 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 316FE1ACC7E for <jose@ietfa.amsl.com>; Sat, 18 Jan 2014 12:11:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.702
X-Spam-Level: 
X-Spam-Status: No, score=-0.702 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 Aok_0R7wZK-A for <jose@ietfa.amsl.com>; Sat, 18 Jan 2014 12:11:14 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0154.outbound.protection.outlook.com [207.46.163.154]) by ietfa.amsl.com (Postfix) with ESMTP id 58D341AC82A for <jose@ietf.org>; Sat, 18 Jan 2014 12:11:14 -0800 (PST)
Received: from BLUPR03CA028.namprd03.prod.outlook.com (10.141.30.21) by BLUPR03MB118.namprd03.prod.outlook.com (10.255.212.19) with Microsoft SMTP Server (TLS) id 15.0.847.13; Sat, 18 Jan 2014 20:11:00 +0000
Received: from BY2FFO11FD019.protection.gbl (2a01:111:f400:7c0c::172) by BLUPR03CA028.outlook.office365.com (2a01:111:e400:879::21) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Sat, 18 Jan 2014 20:11:00 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD019.mail.protection.outlook.com (10.1.14.107) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Sat, 18 Jan 2014 20:11:00 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id 14.03.0174.002; Sat, 18 Jan 2014 20:10:36 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: JWS Appendix D.  Notes on Key Selection
Thread-Index: Ac8UiVNxNp5GZfOFSy+z9wrwkMjRrg==
Date: Sat, 18 Jan 2014 20:10:36 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDB7926TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(199002)(189002)(74662001)(80976001)(92566001)(33656001)(81816001)(87266001)(54356001)(66066001)(74366001)(2656002)(81342001)(85306002)(6806004)(76482001)(83072002)(92726001)(77096001)(87936001)(81686001)(76176001)(50986001)(53806001)(71186001)(56816005)(74706001)(81542001)(90146001)(85806002)(85852003)(76796001)(59766001)(47446002)(19300405004)(76786001)(74502001)(512954002)(15202345003)(16236675002)(55846006)(74876001)(47736001)(84326002)(83322001)(47976001)(69226001)(46102001)(63696002)(15975445006)(54316002)(44976005)(80022001)(31966008)(20776003)(51856001)(65816001)(93136001)(49866001)(56776001)(19580395003)(4396001)(93516002)(77982001)(79102001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB118; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0095BCF226
X-OriginatorOrg: microsoft.com
Subject: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Jan 2014 20:11:21 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDB7926TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

This updated text for JWS Appendix D is intended to address Jim's comments =
from yesterday.

                                                            -- Mike

Appendix D.  Notes on Key Selection

This appendix describes a set of possible algorithms for selecting the key =
to be used to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance describ=
es a family of possible algorithms, rather than a single algorithm, because=
 in different contexts, not all the sources of keys will be used, they can =
be tried in different orders, and sometimes not all the collected keys will=
 be tried; hence, different algorithms will be used in different applicatio=
n contexts.

These algorithms use some or all of the steps described below; the order an=
d inclusion of the steps does not mean that they need to be performed in th=
is order or that they are required in all contexts. The steps below are des=
cribed for illustration purposes only; specific applications can and are li=
kely to use different algorithms. Specific applications will frequently hav=
e a much simpler method of determining the keys to use, as there may be one=
 or two key selection methods that are profiled for the application's use. =
This appendix supplements the normative information on key location in Sect=
ion 6 (Key Identification).

Algorithm steps may include:
1.   Collect a set of potentially applicable keys. Sources of keys may incl=
ude:
o   Keys supplied by the application protocol being used.
o   Keys referenced by the jku (JWK Set URL) Header Parameter.
o   The key provided by the jwk (JSON Web Key) Header Parameter.
o   Keys referenced by the x5u (X.509 URL) Header Parameter.
o   The key provided by the x5c (X.509 Certificate Chain) Header Parameter.
o   Other applicable keys available to the application.
2.   Order the set of collected keys. For instance, keys referenced by kid =
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be tr=
ied before other keys. Likewise, keys with certain kty (Key Type) values, a=
lg (Algorithm) values, or other member values might be ordered before keys =
with other kty values, alg values, or other member values.
3.   Filter the set of collected keys. For instance, only keys referenced b=
y kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might=
 be tried by the application. Keys with an invalid certificate chain would =
typically be excluded. Likewise, keys might be filtered to include or exclu=
de keys with certain kty (Key Type) values, alg (Algorithm) values, use (Ke=
y Use) values, key_ops (Key Operations) values, or other member values. A l=
imit on the number of keys to be tried might also be applied.
4.   Attempt signature or MAC validation for a JWS object or decryption of =
a JWE object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a successful =
validation or decryption.


--_000_4E1F6AAD24975D4BA5B16804296739437CDB7926TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l1
	{mso-list-id:1215579076;
	mso-list-template-ids:-626459286;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">This updated text for JWS Appendix D is intended to =
address Jim&#8217;s comments from yesterday.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<h3><span lang=3D"EN">Appendix D.&nbsp; Notes on Key Selection<o:p></o:p></=
span></h3>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">This appendix describes a set of possible algorithms=
 for selecting the key to be used to validate the digital signature or MAC =
of a JWS object or for selecting the key to be used to decrypt
 a JWE object. This guidance describes a family of possible algorithms, rat=
her than a single algorithm, because in different contexts, not all the sou=
rces of keys will be used, they can be tried in different orders, and somet=
imes not all the collected keys
 will be tried; hence, different algorithms will be used in different appli=
cation contexts.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">These algorithms use some or all of the steps descri=
bed below; the order and inclusion of the steps does not mean that they nee=
d to be performed in this order or that they are required
 in all contexts. The steps below are described for illustration purposes o=
nly; specific applications can and are likely to use different algorithms. =
Specific applications will frequently have a much simpler method of determi=
ning the keys to use, as there may
 be one or two key selection methods that are profiled for the application'=
s use. This appendix supplements the normative information on key location =
in Section&nbsp;6 (Key Identification).
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">Algorithm steps may include:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">1.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Collect a set of potenti=
ally applicable keys. Sources of keys may include:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys supplied by the app=
lication protocol being used.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jku</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JWK Set URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jwk</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JSON Web Key) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5u</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5c</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate Chain) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Other applicable keys av=
ailable to the application.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">2.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Order the set of collect=
ed keys. For instance, keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried before other keys. Likewise, keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values, or other member values might be ordere=
d before keys with other
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values, or other member values.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">3.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Filter the set of collec=
ted keys. For instance, only keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried by the application. Keys with an invalid certificate chain
 would typically be excluded. Likewise, keys might be filtered to include o=
r exclude keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">use</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Use) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">key_ops</span></tt>=
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black"> (Key Operations) values, or other member values. A lim=
it on the number of keys to be tried might also be applied.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">4.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Attempt signature or MAC=
 validation for a JWS object or decryption of a JWE object with some or all=
 of the collected and possibly ordered and/or filtered keys.
 This process will normally terminate following a successful validation or =
decryption.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDB7926TK5EX14MBXC286r_--

From ietf@augustcellars.com  Mon Jan 20 11:18:21 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BD981A01DC for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 11:18:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 zJHypfA-u0KP for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 11:18:18 -0800 (PST)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id F23DA1A024D for <jose@ietf.org>; Mon, 20 Jan 2014 11:18:17 -0800 (PST)
Received: from Philemon (c-98-247-233-24.hsd1.wa.comcast.net [98.247.233.24]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 03D0E2CA07; Mon, 20 Jan 2014 11:18:17 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>
References: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 20 Jan 2014 11:16:42 -0800
Message-ID: <03e801cf1614$279d4910$76d7db30$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_03E9_01CF15D1.197E00B0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGpWLfhUn34hIM0Q03gZdthSdaxsZrZZfFg
Content-Language: en-us
Subject: Re: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2014 19:18:21 -0000

This is a multipart message in MIME format.

------=_NextPart_000_03E9_01CF15D1.197E00B0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

It is a start but not all comments were addressed.

 

You need to try reading what you are writing with an eye that is looking for
things that can easily be mis-interpreted.

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, January 18, 2014 12:11 PM
To: jose@ietf.org
Subject: [jose] JWS Appendix D. Notes on Key Selection

 

This updated text for JWS Appendix D is intended to address Jim's comments
from yesterday.

 

                                                            -- Mike

 


Appendix D.  Notes on Key Selection


This appendix describes a set of possible algorithms for selecting the key
to be used to validate the digital signature or MAC of a JWS object or for
selecting the key to be used to decrypt a JWE object. This guidance
describes a family of possible algorithms, rather than a single algorithm,
because in different contexts, not all the sources of keys will be used,
they can be tried in different orders, and sometimes not all the collected
keys will be tried; hence, different algorithms will be used in different
application contexts. 

These algorithms use some or all of the steps described below; the order and
inclusion of the steps does not mean that they need to be performed in this
order or that they are required in all contexts. The steps below are
described for illustration purposes only; specific applications can and are
likely to use different algorithms. Specific applications will frequently
have a much simpler method of determining the keys to use, as there may be
one or two key selection methods that are profiled for the application's
use. This appendix supplements the normative information on key location in
Section 6 (Key Identification). 

Algorithm steps may include: 

Great - so I'll just skip steps 1 and 4.

1.   Collect a set of potentially applicable keys. Sources of keys may
include: 

o    Keys supplied by the application protocol being used. 

o    Keys referenced by the jku (JWK Set URL) Header Parameter. 

o    The key provided by the jwk (JSON Web Key) Header Parameter. 

o    Keys referenced by the x5u (X.509 URL) Header Parameter. 

o    The key provided by the x5c (X.509 Certificate Chain) Header Parameter.


o    Other applicable keys available to the application. 

2.   Order the set of collected keys. For instance, keys referenced by kid
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be
tried before other keys. Likewise, keys with certain kty (Key Type) values,
alg (Algorithm) values, or other member values might be ordered before keys
with other kty values, alg values, or other member values. 

3.   Filter the set of collected keys. For instance, only keys referenced by
kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be
tried by the application. Keys with an invalid certificate chain would
typically be excluded. Likewise, keys might be filtered to include or
exclude keys with certain kty (Key Type) values, alg (Algorithm) values, use
(Key Use) values, key_ops (Key Operations) values, or other member values. A
limit on the number of keys to be tried might also be applied. 

4.   Attempt signature or MAC validation for a JWS object or decryption of a
JWE object with some or all of the collected and possibly ordered and/or
filtered keys. This process will normally terminate following a successful
validation or decryption. 

 


------=_NextPart_000_03E9_01CF15D1.197E00B0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>It is a start but not all comments were =
addressed.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>You need to try reading =
what you are writing with an eye that is looking for things that can =
easily be mis-interpreted.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [mailto:jose-bounces@ietf.org] <b>On Behalf Of </b>Mike =
Jones<br><b>Sent:</b> Saturday, January 18, 2014 12:11 PM<br><b>To:</b> =
jose@ietf.org<br><b>Subject:</b> [jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>This updated =
text for JWS Appendix D is intended to address Jim&#8217;s comments from =
yesterday.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&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;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; -- Mike<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><h3><span lang=3DEN>Appendix =
D.&nbsp; Notes on Key Selection<o:p></o:p></span></h3><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>This appendix =
describes a set of possible algorithms for selecting the key to be used =
to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance =
describes a family of possible algorithms, rather than a single =
algorithm, because in different contexts, not all the sources of keys =
will be used, they can be tried in different orders, and sometimes not =
all the collected keys will be tried; hence, different algorithms will =
be used in different application contexts. =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>These =
algorithms use some or all of the steps described below; the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are required in all contexts. The steps below =
are described for illustration purposes only; specific applications can =
and are likely to use different algorithms. Specific applications will =
frequently have a much simpler method of determining the keys to use, as =
there may be one or two key selection methods that are profiled for the =
application's use. This appendix supplements the normative information =
on key location in Section&nbsp;6 (Key Identification). =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Algorithm steps =
may include: <o:p></o:p></span></p><p style=3D'margin-left:0in'><span =
lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Great &#8211; so I&#8217;ll just skip steps 1 and =
4.<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Collect a set =
of potentially applicable keys. Sources of keys may include: =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
supplied by the application protocol being used. =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jku</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JWK Set URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>The =
key provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jwk</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JSON Web Key) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5u</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>The =
key provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5c</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate Chain) Header Parameter. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Other =
applicable keys available to the application. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Order the set =
of collected keys. For instance, keys referenced by </span><tt><span =
lang=3DEN style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) parameters might be tried before other =
keys. Likewise, keys with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Type) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Algorithm) =
values, or other member values might be ordered before keys with other =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, or =
other member values. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>3.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Filter the set =
of collected keys. For instance, only keys referenced by =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) parameters might be tried by the =
application. Keys with an invalid certificate chain would typically be =
excluded. Likewise, keys might be filtered to include or exclude keys =
with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Type) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Algorithm) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>use</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Use) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>key_ops</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key =
Operations) values, or other member values. A limit on the number of =
keys to be tried might also be applied. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>4.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Attempt =
signature or MAC validation for a JWS object or decryption of a JWE =
object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a =
successful validation or decryption. <o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_03E9_01CF15D1.197E00B0--


From Michael.Jones@microsoft.com  Mon Jan 20 11:29:34 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85D931A022E for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 11:29:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 DLNF3mP1-Z76 for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 11:29:29 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0241.outbound.protection.outlook.com [207.46.163.241]) by ietfa.amsl.com (Postfix) with ESMTP id BF5691A0216 for <jose@ietf.org>; Mon, 20 Jan 2014 11:29:29 -0800 (PST)
Received: from BY2PR03CA029.namprd03.prod.outlook.com (10.242.234.150) by BY2PR03MB620.namprd03.prod.outlook.com (10.255.93.42) with Microsoft SMTP Server (TLS) id 15.0.847.13; Mon, 20 Jan 2014 19:29:28 +0000
Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::132) by BY2PR03CA029.outlook.office365.com (2a01:111:e400:2c2c::22) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Mon, 20 Jan 2014 19:29:28 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Mon, 20 Jan 2014 19:29:27 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0174.002; Mon, 20 Jan 2014 19:28:49 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] JWS Appendix D.  Notes on Key Selection
Thread-Index: Ac8UiVNxNp5GZfOFSy+z9wrwkMjRrgBitMoAAABP+tA=
Date: Mon, 20 Jan 2014 19:28:49 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDB9588@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com> <03e801cf1614$279d4910$76d7db30$@augustcellars.com>
In-Reply-To: <03e801cf1614$279d4910$76d7db30$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.74]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDB9588TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(199002)(189002)(377454003)(16236675002)(71186001)(80976001)(90146001)(81686001)(33656001)(31966008)(54316002)(85852003)(56776001)(76482001)(92566001)(87266001)(83072002)(74502001)(56816005)(55846006)(69226001)(63696002)(4396001)(81542001)(74366001)(93136001)(46102001)(66066001)(92726001)(54356001)(74662001)(80022001)(77982001)(81342001)(512954002)(51856001)(6806004)(20776003)(47446002)(53806001)(44976005)(83322001)(19580395003)(50986001)(19580405001)(19300405004)(47976001)(85806002)(49866001)(2656002)(76796001)(77096001)(15202345003)(87936001)(81816001)(47736001)(74876001)(84326002)(65816001)(79102001)(15975445006)(85306002)(76786001)(86362001)(93516002)(59766001)(74706001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB620; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00979FCB3A
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2014 19:29:34 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDB9588TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I can change "the order and inclusion of the steps does not mean that they =
need to be performed in this order or that they are required in all context=
s" to "the order and inclusion of the steps does not mean that they need to=
 be performed in this order or that they are all required in all contexts. =
 In particular, sorting and filtering sometimes will be unnecessary."  Does=
 that address the potential misinterpretation you're calling out or would y=
ou like to suggest a different way of handling it?

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 11:17 AM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

It is a start but not all comments were addressed.

You need to try reading what you are writing with an eye that is looking fo=
r things that can easily be mis-interpreted.

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, January 18, 2014 12:11 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] JWS Appendix D. Notes on Key Selection

This updated text for JWS Appendix D is intended to address Jim's comments =
from yesterday.

                                                            -- Mike

Appendix D.  Notes on Key Selection

This appendix describes a set of possible algorithms for selecting the key =
to be used to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance describ=
es a family of possible algorithms, rather than a single algorithm, because=
 in different contexts, not all the sources of keys will be used, they can =
be tried in different orders, and sometimes not all the collected keys will=
 be tried; hence, different algorithms will be used in different applicatio=
n contexts.

These algorithms use some or all of the steps described below; the order an=
d inclusion of the steps does not mean that they need to be performed in th=
is order or that they are required in all contexts. The steps below are des=
cribed for illustration purposes only; specific applications can and are li=
kely to use different algorithms. Specific applications will frequently hav=
e a much simpler method of determining the keys to use, as there may be one=
 or two key selection methods that are profiled for the application's use. =
This appendix supplements the normative information on key location in Sect=
ion 6 (Key Identification).

Algorithm steps may include:

Great - so I'll just skip steps 1 and 4.
1.   Collect a set of potentially applicable keys. Sources of keys may incl=
ude:
o    Keys supplied by the application protocol being used.
o    Keys referenced by the jku (JWK Set URL) Header Parameter.
o    The key provided by the jwk (JSON Web Key) Header Parameter.
o    Keys referenced by the x5u (X.509 URL) Header Parameter.
o    The key provided by the x5c (X.509 Certificate Chain) Header Parameter=
.
o    Other applicable keys available to the application.
2.   Order the set of collected keys. For instance, keys referenced by kid =
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be tr=
ied before other keys. Likewise, keys with certain kty (Key Type) values, a=
lg (Algorithm) values, or other member values might be ordered before keys =
with other kty values, alg values, or other member values.
3.   Filter the set of collected keys. For instance, only keys referenced b=
y kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might=
 be tried by the application. Keys with an invalid certificate chain would =
typically be excluded. Likewise, keys might be filtered to include or exclu=
de keys with certain kty (Key Type) values, alg (Algorithm) values, use (Ke=
y Use) values, key_ops (Key Operations) values, or other member values. A l=
imit on the number of keys to be tried might also be applied.
4.   Attempt signature or MAC validation for a JWS object or decryption of =
a JWE object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a successful =
validation or decryption.


--_000_4E1F6AAD24975D4BA5B16804296739437CDB9588TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I can change &#8220;</=
span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-=
serif&quot;;color:black">the order and inclusion of the steps does not mean=
 that they need to be performed in this order or that they are required
 in all contexts</span><span style=3D"color:#1F497D">&#8221; to &#8220;</sp=
an><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">the order and inclusion of the steps does not mean t=
hat they need to be performed in this order or that they are
</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;san=
s-serif&quot;;color:red">all </span>
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black">required in all contexts.&nbsp;
</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;san=
s-serif&quot;;color:red">In particular, sorting and filtering sometimes wil=
l be unnecessary</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana=
&quot;,&quot;sans-serif&quot;;color:black">.</span><span style=3D"color:#1F=
497D">&#8221;&nbsp;
 Does that address the potential misinterpretation you&#8217;re calling out=
 or would you like to suggest a different way of handling it?<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 20, 2014 11:17 AM<br>
<b>To:</b> Mike Jones; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">It is a start but not =
all comments were addressed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You need to try readin=
g what you are writing with an eye that is looking for things that can easi=
ly be mis-interpreted.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Saturday, January 18, 2014 12:11 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p></s=
pan></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This updated text for JWS Appendix D is intended to =
address Jim&#8217;s comments from yesterday.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<h3><span lang=3D"EN">Appendix D.&nbsp; Notes on Key Selection<o:p></o:p></=
span></h3>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">This appendix describes a set of possible algorithms=
 for selecting the key to be used to validate the digital signature or MAC =
of a JWS object or for selecting the key to be used to decrypt
 a JWE object. This guidance describes a family of possible algorithms, rat=
her than a single algorithm, because in different contexts, not all the sou=
rces of keys will be used, they can be tried in different orders, and somet=
imes not all the collected keys
 will be tried; hence, different algorithms will be used in different appli=
cation contexts.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">These algorithms use some or all of the steps descri=
bed below; the order and inclusion of the steps does not mean that they nee=
d to be performed in this order or that they are required
 in all contexts. The steps below are described for illustration purposes o=
nly; specific applications can and are likely to use different algorithms. =
Specific applications will frequently have a much simpler method of determi=
ning the keys to use, as there may
 be one or two key selection methods that are profiled for the application'=
s use. This appendix supplements the normative information on key location =
in Section&nbsp;6 (Key Identification).
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">Algorithm steps may include:
<o:p></o:p></span></p>
<p style=3D"margin-left:0in"><span lang=3D"EN" style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Great &=
#8211; so I&#8217;ll just skip steps 1 and 4.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">1.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Collect a set of potenti=
ally applicable keys. Sources of keys may include:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys supplied by the app=
lication protocol being used.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jku</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JWK Set URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jwk</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JSON Web Key) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5u</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5c</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate Chain) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Other applicable keys av=
ailable to the application.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">2.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Order the set of collect=
ed keys. For instance, keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried before other keys. Likewise, keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values, or other member values might be ordere=
d before keys with other
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values, or other member values.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">3.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Filter the set of collec=
ted keys. For instance, only keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried by the application. Keys with an invalid certificate chain
 would typically be excluded. Likewise, keys might be filtered to include o=
r exclude keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">use</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Use) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">key_ops</span></tt>=
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black"> (Key Operations) values, or other member values. A lim=
it on the number of keys to be tried might also be applied.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">4.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Attempt signature or MAC=
 validation for a JWS object or decryption of a JWE object with some or all=
 of the collected and possibly ordered and/or filtered keys.
 This process will normally terminate following a successful validation or =
decryption.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDB9588TK5EX14MBXC286r_--

From ietf@augustcellars.com  Mon Jan 20 12:25:03 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8B111A0230 for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 12:25:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 iK4qvlD92BwL for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 12:24:59 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 445071A0169 for <jose@ietf.org>; Mon, 20 Jan 2014 12:24:59 -0800 (PST)
Received: from Philemon (c-98-247-233-24.hsd1.wa.comcast.net [98.247.233.24]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 222F138F22; Mon, 20 Jan 2014 12:24:58 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>
References: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com> <03e801cf1614$279d4910$76d7db30$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDB9588@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDB9588@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 20 Jan 2014 12:23:23 -0800
Message-ID: <03fe01cf161d$786e9750$694bc5f0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_03FF_01CF15DA.6A506060"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGpWLfhUn34hIM0Q03gZdthSdaxsQMJoDmYAkeSkHmarv7pUA==
Content-Language: en-us
Subject: Re: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2014 20:25:04 -0000

This is a multipart message in MIME format.

------=_NextPart_000_03FF_01CF15DA.6A506060
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

As near as I can tell, the only step that is optional in anyway is the
sorting step based on my first set of comments.  And one could say that you
might use an non-sort sort in this case.

 

Also - you still need to look at the original message to find the things you
omitted.

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Monday, January 20, 2014 11:29 AM
To: Jim Schaad; jose@ietf.org
Subject: RE: [jose] JWS Appendix D. Notes on Key Selection

 

I can change "the order and inclusion of the steps does not mean that they
need to be performed in this order or that they are required in all
contexts" to "the order and inclusion of the steps does not mean that they
need to be performed in this order or that they are all required in all
contexts.  In particular, sorting and filtering sometimes will be
unnecessary."  Does that address the potential misinterpretation you're
calling out or would you like to suggest a different way of handling it?

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 11:17 AM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

 

It is a start but not all comments were addressed.

 

You need to try reading what you are writing with an eye that is looking for
things that can easily be mis-interpreted.

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, January 18, 2014 12:11 PM
To: jose@ietf.org
Subject: [jose] JWS Appendix D. Notes on Key Selection

 

This updated text for JWS Appendix D is intended to address Jim's comments
from yesterday.

 

                                                            -- Mike

 


Appendix D.  Notes on Key Selection


This appendix describes a set of possible algorithms for selecting the key
to be used to validate the digital signature or MAC of a JWS object or for
selecting the key to be used to decrypt a JWE object. This guidance
describes a family of possible algorithms, rather than a single algorithm,
because in different contexts, not all the sources of keys will be used,
they can be tried in different orders, and sometimes not all the collected
keys will be tried; hence, different algorithms will be used in different
application contexts. 

These algorithms use some or all of the steps described below; the order and
inclusion of the steps does not mean that they need to be performed in this
order or that they are required in all contexts. The steps below are
described for illustration purposes only; specific applications can and are
likely to use different algorithms. Specific applications will frequently
have a much simpler method of determining the keys to use, as there may be
one or two key selection methods that are profiled for the application's
use. This appendix supplements the normative information on key location in
Section 6 (Key Identification). 

Algorithm steps may include: 

Great - so I'll just skip steps 1 and 4.

1.   Collect a set of potentially applicable keys. Sources of keys may
include: 

o    Keys supplied by the application protocol being used. 

o    Keys referenced by the jku (JWK Set URL) Header Parameter. 

o    The key provided by the jwk (JSON Web Key) Header Parameter. 

o    Keys referenced by the x5u (X.509 URL) Header Parameter. 

o    The key provided by the x5c (X.509 Certificate Chain) Header Parameter.


o    Other applicable keys available to the application. 

2.   Order the set of collected keys. For instance, keys referenced by kid
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be
tried before other keys. Likewise, keys with certain kty (Key Type) values,
alg (Algorithm) values, or other member values might be ordered before keys
with other kty values, alg values, or other member values. 

3.   Filter the set of collected keys. For instance, only keys referenced by
kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be
tried by the application. Keys with an invalid certificate chain would
typically be excluded. Likewise, keys might be filtered to include or
exclude keys with certain kty (Key Type) values, alg (Algorithm) values, use
(Key Use) values, key_ops (Key Operations) values, or other member values. A
limit on the number of keys to be tried might also be applied. 

4.   Attempt signature or MAC validation for a JWS object or decryption of a
JWE object with some or all of the collected and possibly ordered and/or
filtered keys. This process will normally terminate following a successful
validation or decryption. 

 


------=_NextPart_000_03FF_01CF15DA.6A506060
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>As near as I can tell, the only step that is =
optional in anyway is the sorting step based on my first set of =
comments.&nbsp; And one could say that you might use an non-sort sort in =
this case.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Also &#8211; you still =
need to look at the original message to find the things you =
omitted.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> Monday, =
January 20, 2014 11:29 AM<br><b>To:</b> Jim Schaad; =
jose@ietf.org<br><b>Subject:</b> RE: [jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>I can change &#8220;</span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are required in all contexts</span><span =
style=3D'color:#1F497D'>&#8221; to &#8220;</span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are </span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:red'>all </span><span =
lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>required in all =
contexts.&nbsp; </span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:red'>In particular, =
sorting and filtering sometimes will be unnecessary</span><span =
lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>.</span><span =
style=3D'color:#1F497D'>&#8221;&nbsp; Does that address the potential =
misinterpretation you&#8217;re calling out or would you like to suggest =
a different way of handling it?<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Jim Schaad<br><b>Sent:</b> Monday, January 20, 2014 =
11:17 AM<br><b>To:</b> Mike Jones; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>It is a start but not all comments were =
addressed.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>You need to try reading =
what you are writing with an eye that is looking for things that can =
easily be mis-interpreted.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Mike Jones<br><b>Sent:</b> Saturday, January 18, =
2014 12:11 PM<br><b>To:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> =
[jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>This updated =
text for JWS Appendix D is intended to address Jim&#8217;s comments from =
yesterday.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&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;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; -- Mike<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><h3><span lang=3DEN>Appendix =
D.&nbsp; Notes on Key Selection<o:p></o:p></span></h3><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>This appendix =
describes a set of possible algorithms for selecting the key to be used =
to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance =
describes a family of possible algorithms, rather than a single =
algorithm, because in different contexts, not all the sources of keys =
will be used, they can be tried in different orders, and sometimes not =
all the collected keys will be tried; hence, different algorithms will =
be used in different application contexts. =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>These =
algorithms use some or all of the steps described below; the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are required in all contexts. The steps below =
are described for illustration purposes only; specific applications can =
and are likely to use different algorithms. Specific applications will =
frequently have a much simpler method of determining the keys to use, as =
there may be one or two key selection methods that are profiled for the =
application's use. This appendix supplements the normative information =
on key location in Section&nbsp;6 (Key Identification). =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Algorithm steps =
may include: <o:p></o:p></span></p><p style=3D'margin-left:0in'><span =
lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Great &#8211; so I&#8217;ll just skip steps 1 and =
4.<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Collect a set =
of potentially applicable keys. Sources of keys may include: =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
supplied by the application protocol being used. =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jku</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JWK Set URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>The =
key provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jwk</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JSON Web Key) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5u</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>The =
key provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5c</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate Chain) Header Parameter. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Other =
applicable keys available to the application. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Order the set =
of collected keys. For instance, keys referenced by </span><tt><span =
lang=3DEN style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) parameters might be tried before other =
keys. Likewise, keys with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Type) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Algorithm) =
values, or other member values might be ordered before keys with other =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, or =
other member values. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>3.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Filter the set =
of collected keys. For instance, only keys referenced by =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) parameters might be tried by the =
application. Keys with an invalid certificate chain would typically be =
excluded. Likewise, keys might be filtered to include or exclude keys =
with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Type) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Algorithm) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>use</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Use) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>key_ops</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key =
Operations) values, or other member values. A limit on the number of =
keys to be tried might also be applied. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>4.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Attempt =
signature or MAC validation for a JWS object or decryption of a JWE =
object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a =
successful validation or decryption. <o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></body></html>
------=_NextPart_000_03FF_01CF15DA.6A506060--


From Michael.Jones@microsoft.com  Mon Jan 20 12:36:53 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E18E71A0253 for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 12:36:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 k0ulcFuQIlwk for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 12:36:50 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0210.outbound.protection.outlook.com [207.46.163.210]) by ietfa.amsl.com (Postfix) with ESMTP id A7A2B1A0250 for <jose@ietf.org>; Mon, 20 Jan 2014 12:36:49 -0800 (PST)
Received: from DM2PR03CA002.namprd03.prod.outlook.com (10.141.52.150) by BN1PR03MB037.namprd03.prod.outlook.com (10.255.225.145) with Microsoft SMTP Server (TLS) id 15.0.847.13; Mon, 20 Jan 2014 20:36:48 +0000
Received: from BL2FFO11FD006.protection.gbl (2a01:111:f400:7c09::179) by DM2PR03CA002.outlook.office365.com (2a01:111:e400:2414::22) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Mon, 20 Jan 2014 20:36:48 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD006.mail.protection.outlook.com (10.173.161.2) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Mon, 20 Jan 2014 20:36:47 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0174.002; Mon, 20 Jan 2014 20:36:09 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] JWS Appendix D.  Notes on Key Selection
Thread-Index: Ac8UiVNxNp5GZfOFSy+z9wrwkMjRrgBitMoAAABP+tAAAgQ4gAAAZlNA
Date: Mon, 20 Jan 2014 20:36:08 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDB98E4@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com> <03e801cf1614$279d4910$76d7db30$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDB9588@TK5EX14MBXC286.redmond.corp.microsoft.com> <03fe01cf161d$786e9750$694bc5f0$@augustcellars.com>
In-Reply-To: <03fe01cf161d$786e9750$694bc5f0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.79]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDB98E4TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(189002)(199002)(512954002)(77982001)(85852003)(65816001)(56816005)(56776001)(55846006)(71186001)(74366001)(69226001)(80022001)(81542001)(93516002)(81342001)(92566001)(63696002)(59766001)(20776003)(79102001)(33656001)(86362001)(90146001)(15202345003)(92726001)(93136001)(46102001)(83072002)(66066001)(77096001)(87266001)(80976001)(85306002)(44976005)(47976001)(85806002)(6806004)(84326002)(83322001)(74662001)(74502001)(19580395003)(19580405001)(54316002)(87936001)(47446002)(53806001)(31966008)(54356001)(81816001)(49866001)(2656002)(51856001)(81686001)(15975445006)(19300405004)(4396001)(47736001)(74876001)(16236675002)(76786001)(76482001)(76796001)(50986001)(74706001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB037; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00979FCB3A
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2014 20:36:54 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDB98E4TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

You don't have to filter if you just try all the keys, which is reasonable =
if the number of keys is small, which it typically is.

You've sent a number of messages on this topic.  Which one are you referrin=
g to as "the original message"?

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 12:23 PM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

As near as I can tell, the only step that is optional in anyway is the sort=
ing step based on my first set of comments.  And one could say that you mig=
ht use an non-sort sort in this case.

Also - you still need to look at the original message to find the things yo=
u omitted.

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Monday, January 20, 2014 11:29 AM
To: Jim Schaad; jose@ietf.org<mailto:jose@ietf.org>
Subject: RE: [jose] JWS Appendix D. Notes on Key Selection

I can change "the order and inclusion of the steps does not mean that they =
need to be performed in this order or that they are required in all context=
s" to "the order and inclusion of the steps does not mean that they need to=
 be performed in this order or that they are all required in all contexts. =
 In particular, sorting and filtering sometimes will be unnecessary."  Does=
 that address the potential misinterpretation you're calling out or would y=
ou like to suggest a different way of handling it?

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 11:17 AM
To: Mike Jones; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

It is a start but not all comments were addressed.

You need to try reading what you are writing with an eye that is looking fo=
r things that can easily be mis-interpreted.

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, January 18, 2014 12:11 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] JWS Appendix D. Notes on Key Selection

This updated text for JWS Appendix D is intended to address Jim's comments =
from yesterday.

                                                            -- Mike

Appendix D.  Notes on Key Selection

This appendix describes a set of possible algorithms for selecting the key =
to be used to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance describ=
es a family of possible algorithms, rather than a single algorithm, because=
 in different contexts, not all the sources of keys will be used, they can =
be tried in different orders, and sometimes not all the collected keys will=
 be tried; hence, different algorithms will be used in different applicatio=
n contexts.

These algorithms use some or all of the steps described below; the order an=
d inclusion of the steps does not mean that they need to be performed in th=
is order or that they are required in all contexts. The steps below are des=
cribed for illustration purposes only; specific applications can and are li=
kely to use different algorithms. Specific applications will frequently hav=
e a much simpler method of determining the keys to use, as there may be one=
 or two key selection methods that are profiled for the application's use. =
This appendix supplements the normative information on key location in Sect=
ion 6 (Key Identification).

Algorithm steps may include:

Great - so I'll just skip steps 1 and 4.
1.   Collect a set of potentially applicable keys. Sources of keys may incl=
ude:
o   Keys supplied by the application protocol being used.
o   Keys referenced by the jku (JWK Set URL) Header Parameter.
o   The key provided by the jwk (JSON Web Key) Header Parameter.
o   Keys referenced by the x5u (X.509 URL) Header Parameter.
o   The key provided by the x5c (X.509 Certificate Chain) Header Parameter.
o   Other applicable keys available to the application.
2.   Order the set of collected keys. For instance, keys referenced by kid =
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be tr=
ied before other keys. Likewise, keys with certain kty (Key Type) values, a=
lg (Algorithm) values, or other member values might be ordered before keys =
with other kty values, alg values, or other member values.
3.   Filter the set of collected keys. For instance, only keys referenced b=
y kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might=
 be tried by the application. Keys with an invalid certificate chain would =
typically be excluded. Likewise, keys might be filtered to include or exclu=
de keys with certain kty (Key Type) values, alg (Algorithm) values, use (Ke=
y Use) values, key_ops (Key Operations) values, or other member values. A l=
imit on the number of keys to be tried might also be applied.
4.   Attempt signature or MAC validation for a JWS object or decryption of =
a JWE object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a successful =
validation or decryption.


--_000_4E1F6AAD24975D4BA5B16804296739437CDB98E4TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You don&#8217;t have t=
o filter if you just try all the keys, which is reasonable if the number of=
 keys is small, which it typically is.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You&#8217;ve sent a nu=
mber of messages on this topic.&nbsp; Which one are you referring to as &#8=
220;the original message&#8221;?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 20, 2014 12:23 PM<br>
<b>To:</b> Mike Jones; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">As near as I can tell,=
 the only step that is optional in anyway is the sorting step based on my f=
irst set of comments.&nbsp; And one could say that you might use an non-sor=
t sort in this case.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Also &#8211; you still=
 need to look at the original message to find the things you omitted.<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mike Jon=
es [<a href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@mic=
rosoft.com</a>]
<br>
<b>Sent:</b> Monday, January 20, 2014 11:29 AM<br>
<b>To:</b> Jim Schaad; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> RE: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I can change &#8220;</=
span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-=
serif&quot;;color:black">the order and inclusion of the steps does not mean=
 that they need to be performed in this order or that they are required
 in all contexts</span><span style=3D"color:#1F497D">&#8221; to &#8220;</sp=
an><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">the order and inclusion of the steps does not mean t=
hat they need to be performed in this order or that they are
</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;san=
s-serif&quot;;color:red">all </span>
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black">required in all contexts.&nbsp;
</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;san=
s-serif&quot;;color:red">In particular, sorting and filtering sometimes wil=
l be unnecessary</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana=
&quot;,&quot;sans-serif&quot;;color:black">.</span><span style=3D"color:#1F=
497D">&#8221;&nbsp;
 Does that address the potential misinterpretation you&#8217;re calling out=
 or would you like to suggest a different way of handling it?<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 20, 2014 11:17 AM<br>
<b>To:</b> Mike Jones; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> Re: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">It is a start but not =
all comments were addressed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You need to try readin=
g what you are writing with an eye that is looking for things that can easi=
ly be mis-interpreted.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Saturday, January 18, 2014 12:11 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p></s=
pan></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This updated text for JWS Appendix D is intended to =
address Jim&#8217;s comments from yesterday.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<h3><span lang=3D"EN">Appendix D.&nbsp; Notes on Key Selection<o:p></o:p></=
span></h3>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">This appendix describes a set of possible algorithms=
 for selecting the key to be used to validate the digital signature or MAC =
of a JWS object or for selecting the key to be used to decrypt
 a JWE object. This guidance describes a family of possible algorithms, rat=
her than a single algorithm, because in different contexts, not all the sou=
rces of keys will be used, they can be tried in different orders, and somet=
imes not all the collected keys
 will be tried; hence, different algorithms will be used in different appli=
cation contexts.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">These algorithms use some or all of the steps descri=
bed below; the order and inclusion of the steps does not mean that they nee=
d to be performed in this order or that they are required
 in all contexts. The steps below are described for illustration purposes o=
nly; specific applications can and are likely to use different algorithms. =
Specific applications will frequently have a much simpler method of determi=
ning the keys to use, as there may
 be one or two key selection methods that are profiled for the application'=
s use. This appendix supplements the normative information on key location =
in Section&nbsp;6 (Key Identification).
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">Algorithm steps may include:
<o:p></o:p></span></p>
<p style=3D"margin-left:0in"><span lang=3D"EN" style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Great &=
#8211; so I&#8217;ll just skip steps 1 and 4.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">1.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Collect a set of potenti=
ally applicable keys. Sources of keys may include:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys supplied by the app=
lication protocol being used.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jku</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JWK Set URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jwk</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JSON Web Key) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5u</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5c</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate Chain) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Other applicable keys av=
ailable to the application.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">2.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Order the set of collect=
ed keys. For instance, keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried before other keys. Likewise, keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values, or other member values might be ordere=
d before keys with other
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values, or other member values.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">3.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Filter the set of collec=
ted keys. For instance, only keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried by the application. Keys with an invalid certificate chain
 would typically be excluded. Likewise, keys might be filtered to include o=
r exclude keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">use</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Use) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">key_ops</span></tt>=
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black"> (Key Operations) values, or other member values. A lim=
it on the number of keys to be tried might also be applied.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">4.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Attempt signature or MAC=
 validation for a JWS object or decryption of a JWE object with some or all=
 of the collected and possibly ordered and/or filtered keys.
 This process will normally terminate following a successful validation or =
decryption.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDB98E4TK5EX14MBXC286r_--

From ietf@augustcellars.com  Mon Jan 20 13:10:04 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C41141A01C5 for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 13:10:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 EwhDkihzjcls for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 13:10:00 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 3AA0C1A0137 for <jose@ietf.org>; Mon, 20 Jan 2014 13:10:00 -0800 (PST)
Received: from Philemon (c-98-247-233-24.hsd1.wa.comcast.net [98.247.233.24]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 4E7DE38F2B; Mon, 20 Jan 2014 13:10:00 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>
References: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com> <03e801cf1614$279d4910$76d7db30$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDB9588@TK5EX14MBXC286.redmond.corp.microsoft.com> <03fe01cf161d$786e9750$694bc5f0$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDB98E4@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDB98E4@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 20 Jan 2014 13:08:25 -0800
Message-ID: <041501cf1623$c2709be0$4751d3a0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0416_01CF15E0.B452DA20"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGpWLfhUn34hIM0Q03gZdthSdaxsQMJoDmYAkeSkHkB1mBPXAJ/Zwjvmoxd+2A=
Content-Language: en-us
Subject: Re: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2014 21:10:04 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0416_01CF15E0.B452DA20
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

You need to filter based on use, kty, alg.  Would you consider it a success
to validate a signature with an RSA key that has "use":"enc"?

 

Restrict your self to this thead.

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Monday, January 20, 2014 12:36 PM
To: Jim Schaad; jose@ietf.org
Subject: RE: [jose] JWS Appendix D. Notes on Key Selection

 

You don't have to filter if you just try all the keys, which is reasonable
if the number of keys is small, which it typically is.

 

You've sent a number of messages on this topic.  Which one are you referring
to as "the original message"?

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 12:23 PM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

 

As near as I can tell, the only step that is optional in anyway is the
sorting step based on my first set of comments.  And one could say that you
might use an non-sort sort in this case.

 

Also - you still need to look at the original message to find the things you
omitted.

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Monday, January 20, 2014 11:29 AM
To: Jim Schaad; jose@ietf.org
Subject: RE: [jose] JWS Appendix D. Notes on Key Selection

 

I can change "the order and inclusion of the steps does not mean that they
need to be performed in this order or that they are required in all
contexts" to "the order and inclusion of the steps does not mean that they
need to be performed in this order or that they are all required in all
contexts.  In particular, sorting and filtering sometimes will be
unnecessary."  Does that address the potential misinterpretation you're
calling out or would you like to suggest a different way of handling it?

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 11:17 AM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

 

It is a start but not all comments were addressed.

 

You need to try reading what you are writing with an eye that is looking for
things that can easily be mis-interpreted.

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, January 18, 2014 12:11 PM
To: jose@ietf.org
Subject: [jose] JWS Appendix D. Notes on Key Selection

 

This updated text for JWS Appendix D is intended to address Jim's comments
from yesterday.

 

                                                            -- Mike

 


Appendix D.  Notes on Key Selection


This appendix describes a set of possible algorithms for selecting the key
to be used to validate the digital signature or MAC of a JWS object or for
selecting the key to be used to decrypt a JWE object. This guidance
describes a family of possible algorithms, rather than a single algorithm,
because in different contexts, not all the sources of keys will be used,
they can be tried in different orders, and sometimes not all the collected
keys will be tried; hence, different algorithms will be used in different
application contexts. 

These algorithms use some or all of the steps described below; the order and
inclusion of the steps does not mean that they need to be performed in this
order or that they are required in all contexts. The steps below are
described for illustration purposes only; specific applications can and are
likely to use different algorithms. Specific applications will frequently
have a much simpler method of determining the keys to use, as there may be
one or two key selection methods that are profiled for the application's
use. This appendix supplements the normative information on key location in
Section 6 (Key Identification). 

Algorithm steps may include: 

Great - so I'll just skip steps 1 and 4.

1.   Collect a set of potentially applicable keys. Sources of keys may
include: 

o    Keys supplied by the application protocol being used. 

o    Keys referenced by the jku (JWK Set URL) Header Parameter. 

o    The key provided by the jwk (JSON Web Key) Header Parameter. 

o    Keys referenced by the x5u (X.509 URL) Header Parameter. 

o    The key provided by the x5c (X.509 Certificate Chain) Header Parameter.


o    Other applicable keys available to the application. 

2.   Order the set of collected keys. For instance, keys referenced by kid
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be
tried before other keys. Likewise, keys with certain kty (Key Type) values,
alg (Algorithm) values, or other member values might be ordered before keys
with other kty values, alg values, or other member values. 

3.   Filter the set of collected keys. For instance, only keys referenced by
kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be
tried by the application. Keys with an invalid certificate chain would
typically be excluded. Likewise, keys might be filtered to include or
exclude keys with certain kty (Key Type) values, alg (Algorithm) values, use
(Key Use) values, key_ops (Key Operations) values, or other member values. A
limit on the number of keys to be tried might also be applied. 

4.   Attempt signature or MAC validation for a JWS object or decryption of a
JWE object with some or all of the collected and possibly ordered and/or
filtered keys. This process will normally terminate following a successful
validation or decryption. 

 


------=_NextPart_000_0416_01CF15E0.B452DA20
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>You need to filter based on use, kty, alg.&nbsp; =
Would you consider it a success to validate a signature with an RSA key =
that has &#8220;use&#8221;:&#8221;enc&#8221;?<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Restrict your self to =
this thead.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> Monday, =
January 20, 2014 12:36 PM<br><b>To:</b> Jim Schaad; =
jose@ietf.org<br><b>Subject:</b> RE: [jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>You don&#8217;t have to filter if you just try =
all the keys, which is reasonable if the number of keys is small, which =
it typically is.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>You&#8217;ve sent a =
number of messages on this topic.&nbsp; Which one are you referring to =
as &#8220;the original message&#8221;?<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'>&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;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Jim Schaad<br><b>Sent:</b> Monday, January 20, 2014 =
12:23 PM<br><b>To:</b> Mike Jones; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>As near as I can tell, the only step that is =
optional in anyway is the sorting step based on my first set of =
comments.&nbsp; And one could say that you might use an non-sort sort in =
this case.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Also &#8211; you still =
need to look at the original message to find the things you =
omitted.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mike Jones [<a =
href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@microsof=
t.com</a>] <br><b>Sent:</b> Monday, January 20, 2014 11:29 =
AM<br><b>To:</b> Jim Schaad; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> RE: =
[jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>I can change &#8220;</span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are required in all contexts</span><span =
style=3D'color:#1F497D'>&#8221; to &#8220;</span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are </span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:red'>all </span><span =
lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>required in all =
contexts.&nbsp; </span><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:red'>In particular, =
sorting and filtering sometimes will be unnecessary</span><span =
lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>.</span><span =
style=3D'color:#1F497D'>&#8221;&nbsp; Does that address the potential =
misinterpretation you&#8217;re calling out or would you like to suggest =
a different way of handling it?<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Jim Schaad<br><b>Sent:</b> Monday, January 20, 2014 =
11:17 AM<br><b>To:</b> Mike Jones; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>It is a start but not all comments were =
addressed.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>You need to try reading =
what you are writing with an eye that is looking for things that can =
easily be mis-interpreted.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Mike Jones<br><b>Sent:</b> Saturday, January 18, =
2014 12:11 PM<br><b>To:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> =
[jose] JWS Appendix D. Notes on Key =
Selection<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>This updated =
text for JWS Appendix D is intended to address Jim&#8217;s comments from =
yesterday.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&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;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; -- Mike<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><h3><span lang=3DEN>Appendix =
D.&nbsp; Notes on Key Selection<o:p></o:p></span></h3><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>This appendix =
describes a set of possible algorithms for selecting the key to be used =
to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance =
describes a family of possible algorithms, rather than a single =
algorithm, because in different contexts, not all the sources of keys =
will be used, they can be tried in different orders, and sometimes not =
all the collected keys will be tried; hence, different algorithms will =
be used in different application contexts. =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>These =
algorithms use some or all of the steps described below; the order and =
inclusion of the steps does not mean that they need to be performed in =
this order or that they are required in all contexts. The steps below =
are described for illustration purposes only; specific applications can =
and are likely to use different algorithms. Specific applications will =
frequently have a much simpler method of determining the keys to use, as =
there may be one or two key selection methods that are profiled for the =
application's use. This appendix supplements the normative information =
on key location in Section&nbsp;6 (Key Identification). =
<o:p></o:p></span></p><p><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Algorithm steps =
may include: <o:p></o:p></span></p><p style=3D'margin-left:0in'><span =
lang=3DEN =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Great &#8211; so I&#8217;ll just skip steps 1 and =
4.<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Collect a set =
of potentially applicable keys. Sources of keys may include: =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
supplied by the application protocol being used. =
<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jku</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JWK Set URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>The =
key provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>jwk</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (JSON Web Key) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Keys =
referenced by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5u</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 URL) =
Header Parameter. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>The =
key provided by the </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5c</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate Chain) Header Parameter. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:48.0pt;mso-margin-bottom-al=
t:auto;margin-left:120.0pt;text-indent:-.25in;mso-list:l0 level2 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'><span =
style=3D'mso-list:Ignore'>o<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span =
lang=3DEN style=3D'font-family:"Verdana","sans-serif";color:black'>Other =
applicable keys available to the application. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Order the set =
of collected keys. For instance, keys referenced by </span><tt><span =
lang=3DEN style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) parameters might be tried before other =
keys. Likewise, keys with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Type) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Algorithm) =
values, or other member values might be ordered before keys with other =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> values, or =
other member values. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>3.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Filter the set =
of collected keys. For instance, only keys referenced by =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kid</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key ID) or =
</span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>x5t</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (X.509 =
Certificate SHA-1 Thumbprint) parameters might be tried by the =
application. Keys with an invalid certificate chain would typically be =
excluded. Likewise, keys might be filtered to include or exclude keys =
with certain </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>kty</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Type) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>alg</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Algorithm) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>use</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key Use) =
values, </span><tt><span lang=3DEN =
style=3D'font-size:12.0pt'>key_ops</span></tt><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'> (Key =
Operations) values, or other member values. A limit on the number of =
keys to be tried might also be applied. <o:p></o:p></span></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-right:24.0pt;mso-margin-bottom-al=
t:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:l0 level1 =
lfo2'><![if !supportLists]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'><span =
style=3D'mso-list:Ignore'>4.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp; </span></span></span><![endif]><span lang=3DEN =
style=3D'font-family:"Verdana","sans-serif";color:black'>Attempt =
signature or MAC validation for a JWS object or decryption of a JWE =
object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a =
successful validation or decryption. <o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></body></h=
tml>
------=_NextPart_000_0416_01CF15E0.B452DA20--


From internet-drafts@ietf.org  Mon Jan 20 22:23:51 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AA771A00E5; Mon, 20 Jan 2014 22:23:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 0m6MrV5jHYkb; Mon, 20 Jan 2014 22:23:49 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A14B1A029A; Mon, 20 Jan 2014 22:23:47 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140121062347.22684.70314.idtracker@ietfa.amsl.com>
Date: Mon, 20 Jan 2014 22:23:47 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-signature-20.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 06:23:51 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Javascript Object Signing and Encryption =
Working Group of the IETF.

        Title           : JSON Web Signature (JWS)
        Authors         : Michael B. Jones
                          John Bradley
                          Nat Sakimura
	Filename        : draft-ietf-jose-json-web-signature-20.txt
	Pages           : 54
	Date            : 2014-01-20

Abstract:
   JSON Web Signature (JWS) represents content secured with digital
   signatures or Message Authentication Codes (MACs) using JavaScript
   Object Notation (JSON) based data structures.  Cryptographic
   algorithms and identifiers for use with this specification are
   described in the separate JSON Web Algorithms (JWA) specification and
   an IANA registry defined by that specification.  Related encryption
   capabilities are described in the separate JSON Web Encryption (JWE)
   specification.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-signature/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-20

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-json-web-signature-20


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From internet-drafts@ietf.org  Mon Jan 20 22:26:34 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B84B1A0054; Mon, 20 Jan 2014 22:26:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 2a8nqT-BGf5Z; Mon, 20 Jan 2014 22:26:32 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 615EC1A029F; Mon, 20 Jan 2014 22:26:30 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140121062630.19653.84832.idtracker@ietfa.amsl.com>
Date: Mon, 20 Jan 2014 22:26:30 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-encryption-20.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 06:26:34 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Javascript Object Signing and Encryption =
Working Group of the IETF.

        Title           : JSON Web Encryption (JWE)
        Authors         : Michael B. Jones
                          Eric Rescorla
                          Joe Hildebrand
	Filename        : draft-ietf-jose-json-web-encryption-20.txt
	Pages           : 54
	Date            : 2014-01-20

Abstract:
   JSON Web Encryption (JWE) represents encrypted content using
   JavaScript Object Notation (JSON) based data structures.
   Cryptographic algorithms and identifiers for use with this
   specification are described in the separate JSON Web Algorithms (JWA)
   specification and IANA registries defined by that specification.
   Related digital signature and MAC capabilities are described in the
   separate JSON Web Signature (JWS) specification.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-encryption/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-20

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-json-web-encryption-20


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From internet-drafts@ietf.org  Mon Jan 20 22:28:48 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE7E51A00E5; Mon, 20 Jan 2014 22:28:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 AkCsgi5xdRn8; Mon, 20 Jan 2014 22:28:47 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E37F1A02A2; Mon, 20 Jan 2014 22:28:45 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140121062845.18280.88859.idtracker@ietfa.amsl.com>
Date: Mon, 20 Jan 2014 22:28:45 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-key-20.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 06:28:48 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Javascript Object Signing and Encryption =
Working Group of the IETF.

        Title           : JSON Web Key (JWK)
        Author          : Michael B. Jones
	Filename        : draft-ietf-jose-json-web-key-20.txt
	Pages           : 40
	Date            : 2014-01-20

Abstract:
   A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data
   structure that represents a cryptographic key.  This specification
   also defines a JSON Web Key Set (JWK Set) JSON data structure for
   representing a set of JWKs.  Cryptographic algorithms and identifiers
   for use with this specification are described in the separate JSON
   Web Algorithms (JWA) specification and IANA registries defined by
   that specification.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-key/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-20

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-json-web-key-20


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From internet-drafts@ietf.org  Mon Jan 20 22:31:59 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C7B31A0020; Mon, 20 Jan 2014 22:31:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 kvJXJtvjJsVt; Mon, 20 Jan 2014 22:31:57 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 436401A029F; Mon, 20 Jan 2014 22:31:56 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140121063156.20960.55346.idtracker@ietfa.amsl.com>
Date: Mon, 20 Jan 2014 22:31:56 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-algorithms-20.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 06:31:59 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Javascript Object Signing and Encryption =
Working Group of the IETF.

        Title           : JSON Web Algorithms (JWA)
        Author          : Michael B. Jones
	Filename        : draft-ietf-jose-json-web-algorithms-20.txt
	Pages           : 72
	Date            : 2014-01-20

Abstract:
   The JSON Web Algorithms (JWA) specification registers cryptographic
   algorithms and identifiers to be used with the JSON Web Signature
   (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK)
   specifications.  It defines several IANA registries for these
   identifiers.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-algorithms/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-20

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-json-web-algorithms-20


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From Michael.Jones@microsoft.com  Mon Jan 20 23:18:39 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B3521A0053; Mon, 20 Jan 2014 23:18:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.641
X-Spam-Level: 
X-Spam-Status: No, score=-1.641 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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 D-v1tpeBTKmq; Mon, 20 Jan 2014 23:18:36 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0185.outbound.protection.outlook.com [207.46.163.185]) by ietfa.amsl.com (Postfix) with ESMTP id EFA7C1A005E; Mon, 20 Jan 2014 23:18:35 -0800 (PST)
Received: from BL2PR03CA016.namprd03.prod.outlook.com (10.141.66.24) by BL2PR03MB099.namprd03.prod.outlook.com (10.255.230.22) with Microsoft SMTP Server (TLS) id 15.0.847.13; Tue, 21 Jan 2014 07:18:34 +0000
Received: from BL2FFO11FD051.protection.gbl (2a01:111:f400:7c09::107) by BL2PR03CA016.outlook.office365.com (2a01:111:e400:c1b::24) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Tue, 21 Jan 2014 07:18:34 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD051.mail.protection.outlook.com (10.173.161.213) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Tue, 21 Jan 2014 07:18:34 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0174.002; Tue, 21 Jan 2014 07:18:08 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: JOSE -20 drafts intended for Working Group Last Call
Thread-Index: Ac8WeO1IXqqRdYRLSV67VQhbEGuKOg==
Date: Tue, 21 Jan 2014 07:18:08 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDBA9E9@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDBA9E9TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(199002)(189002)(47736001)(56816005)(6806004)(85806002)(15202345003)(76796001)(79102001)(512954002)(74502001)(74662001)(81542001)(81816001)(15975445006)(55846006)(46102001)(56776001)(31966008)(44976005)(85852003)(49866001)(76786001)(47976001)(50986001)(93516002)(85306002)(19300405004)(86362001)(74706001)(77096001)(33656001)(47446002)(2656002)(65816001)(87266001)(93136001)(83072002)(76176001)(74876001)(80976001)(80022001)(66066001)(74366001)(54356001)(20776003)(83322001)(63696002)(54316002)(59766001)(76482001)(81686001)(19580395003)(53806001)(84326002)(90146001)(16297215004)(69226001)(81342001)(71186001)(77982001)(92726001)(92566001)(51856001)(16236675002)(87936001)(4396001)(6606295002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB099; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0098BA6C6C
X-OriginatorOrg: microsoft.com
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: [jose] JOSE -20 drafts intended for Working Group Last Call
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 07:18:39 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDBA9E9TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

JSON Object Signing and Encryption (JOSE) -20 drafts have been published th=
at incorporate the changes agreed to on last week's JOSE working group call=
. Hopefully this brings us to the point of Working Group Last Call.

The only normative changes were to change the name of the "use_details" JWK=
 member to "key_ops" and to clarify that "use" is meant for public key use =
cases, "key_ops" is meant for use cases in which public, private, or symmet=
ric keys may be present, and that "use" and "key_ops" should not be used to=
gether.

The drafts, including JSON Web Token (JWT), now also reference draft-ietf-j=
son-rfc4627bis, rather than RFC 4627.

The drafts are available at:

*        http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-20

*        http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-20

*        http://tools.ietf.org/html/draft-ietf-jose-json-web-key-20

*        http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-20

*        http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-15

HTML formatted versions are also available at:

*        http://self-issued.info/docs/draft-ietf-jose-json-web-signature-20=
.html

*        http://self-issued.info/docs/draft-ietf-jose-json-web-encryption-2=
0.html

*        http://self-issued.info/docs/draft-ietf-jose-json-web-key-20.html

*        http://self-issued.info/docs/draft-ietf-jose-json-web-algorithms-2=
0.html

*        http://self-issued.info/docs/draft-ietf-oauth-json-web-token-15.ht=
ml

This notification has also been posted at http://self-issued.info/?p=3D1168=
 and on Twitter as @selfissued.

                                                            -- Mike


--_000_4E1F6AAD24975D4BA5B16804296739437CDBA9E9TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1098254242;
	mso-list-type:hybrid;
	mso-list-template-ids:-264357738 67698689 67698691 67698693 67698689 67698=
691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1292976506;
	mso-list-type:hybrid;
	mso-list-template-ids:714098162 67698689 67698691 67698693 67698689 676986=
91 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">JSON Object Signing and Encryption (JOSE) -20 drafts=
 have been published that incorporate the changes agreed to on last week&#8=
217;s JOSE working group call. Hopefully this brings us to the point of Wor=
king Group Last Call.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The only normative changes were to change the name o=
f the &#8220;<span style=3D"font-family:&quot;Courier New&quot;">use_detail=
s</span>&#8221; JWK member to &#8220;<span style=3D"font-family:&quot;Couri=
er New&quot;">key_ops</span>&#8221; and to clarify that &#8220;<span style=
=3D"font-family:&quot;Courier New&quot;">use</span>&#8221;
 is meant for public key use cases, &#8220;<span style=3D"font-family:&quot=
;Courier New&quot;">key_ops</span>&#8221; is meant for use cases in which p=
ublic, private, or symmetric keys may be present, and that &#8220;<span sty=
le=3D"font-family:&quot;Courier New&quot;">use</span>&#8221; and &#8220;<sp=
an style=3D"font-family:&quot;Courier New&quot;">key_ops</span>&#8221;
 should not be used together.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The drafts, including JSON Web Token (JWT), now also=
 reference draft-ietf-json-rfc4627bis, rather than RFC 4627.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The drafts are available at:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-signature-20">http://tools.ietf.org/html/draft-ietf-jose=
-json-web-signature-20</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-encryption-20">http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-encryption-20</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-key-20">http://tools.ietf.org/html/draft-ietf-jose-json-=
web-key-20</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-algorithms-20">http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-algorithms-20</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-oauth-json-web-token-15">http://tools.ietf.org/html/draft-ietf-oauth-j=
son-web-token-15</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">HTML formatted versions are also available at:<o:p><=
/o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-signature-20.html">http://self-issued.info/docs/draft-=
ietf-jose-json-web-signature-20.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-encryption-20.html">http://self-issued.info/docs/draft=
-ietf-jose-json-web-encryption-20.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-key-20.html">http://self-issued.info/docs/draft-ietf-j=
ose-json-web-key-20.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-algorithms-20.html">http://self-issued.info/docs/draft=
-ietf-jose-json-web-algorithms-20.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-oauth-json-web-token-15.html">http://self-issued.info/docs/draft-iet=
f-oauth-json-web-token-15.html</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This notification has also been posted at <a href=3D=
"http://self-issued.info/?p=3D1168">
http://self-issued.info/?p=3D1168</a> and on Twitter as @selfissued.<o:p></=
o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --=
 Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDBA9E9TK5EX14MBXC286r_--

From Michael.Jones@microsoft.com  Mon Jan 20 23:30:18 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA9391A0042 for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 23:30:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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 fVJIqapJZMxq for <jose@ietfa.amsl.com>; Mon, 20 Jan 2014 23:30:13 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0189.outbound.protection.outlook.com [207.46.163.189]) by ietfa.amsl.com (Postfix) with ESMTP id 6DF0A1A0053 for <jose@ietf.org>; Mon, 20 Jan 2014 23:30:13 -0800 (PST)
Received: from DM2PR03CA009.namprd03.prod.outlook.com (10.141.52.157) by BL2PR03MB605.namprd03.prod.outlook.com (10.255.109.39) with Microsoft SMTP Server (TLS) id 15.0.847.13; Tue, 21 Jan 2014 07:30:11 +0000
Received: from BY2FFO11FD019.protection.gbl (2a01:111:f400:7c0c::167) by DM2PR03CA009.outlook.office365.com (2a01:111:e400:2414::29) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Tue, 21 Jan 2014 07:30:10 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD019.mail.protection.outlook.com (10.1.14.107) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Tue, 21 Jan 2014 07:30:10 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.03.0158.001; Tue, 21 Jan 2014 07:29:46 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] JWS Appendix D.  Notes on Key Selection
Thread-Index: Ac8UiVNxNp5GZfOFSy+z9wrwkMjRrgBitMoAAABP+tAAAgQ4gAAAZlNAAAEsT4AAFaPXsA==
Date: Tue, 21 Jan 2014 07:29:45 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDBACFC@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CDB7926@TK5EX14MBXC286.redmond.corp.microsoft.com> <03e801cf1614$279d4910$76d7db30$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDB9588@TK5EX14MBXC286.redmond.corp.microsoft.com> <03fe01cf161d$786e9750$694bc5f0$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CDB98E4@TK5EX14MBXC286.redmond.corp.microsoft.com> <041501cf1623$c2709be0$4751d3a0$@augustcellars.com>
In-Reply-To: <041501cf1623$c2709be0$4751d3a0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDBACFCTK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(189002)(199002)(52604005)(71186001)(83072002)(47976001)(87936001)(2656002)(87266001)(90146001)(66066001)(81342001)(15202345003)(85306002)(19300405004)(51856001)(63696002)(54356001)(74662001)(84326002)(33656001)(85852003)(59766001)(56776001)(49866001)(512954002)(80022001)(20776003)(93136001)(65816001)(79102001)(4396001)(47736001)(31966008)(46102001)(56816005)(76796001)(74876001)(55846006)(76786001)(15975445006)(50986001)(47446002)(44976005)(74502001)(80976001)(81686001)(77096001)(81816001)(6806004)(19580405001)(83322001)(19580395003)(76482001)(85806002)(16236675002)(92566001)(92726001)(53806001)(77982001)(54316002)(69226001)(93516002)(81542001)(74366001)(74706001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB605; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0098BA6C6C
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Appendix D.  Notes on Key Selection
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 07:30:19 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDBACFCTK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I went back to the original message for issue #93 and I applied all the omi=
ssions I identified.  Thanks for helping to make the appendix as useful as =
possible.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 1:08 PM
To: Mike Jones; jose@ietf.org
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

You need to filter based on use, kty, alg.  Would you consider it a success=
 to validate a signature with an RSA key that has "use":"enc"?

Restrict your self to this thead.

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Monday, January 20, 2014 12:36 PM
To: Jim Schaad; jose@ietf.org<mailto:jose@ietf.org>
Subject: RE: [jose] JWS Appendix D. Notes on Key Selection

You don't have to filter if you just try all the keys, which is reasonable =
if the number of keys is small, which it typically is.

You've sent a number of messages on this topic.  Which one are you referrin=
g to as "the original message"?

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 12:23 PM
To: Mike Jones; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

As near as I can tell, the only step that is optional in anyway is the sort=
ing step based on my first set of comments.  And one could say that you mig=
ht use an non-sort sort in this case.

Also - you still need to look at the original message to find the things yo=
u omitted.

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Monday, January 20, 2014 11:29 AM
To: Jim Schaad; jose@ietf.org<mailto:jose@ietf.org>
Subject: RE: [jose] JWS Appendix D. Notes on Key Selection

I can change "the order and inclusion of the steps does not mean that they =
need to be performed in this order or that they are required in all context=
s" to "the order and inclusion of the steps does not mean that they need to=
 be performed in this order or that they are all required in all contexts. =
 In particular, sorting and filtering sometimes will be unnecessary."  Does=
 that address the potential misinterpretation you're calling out or would y=
ou like to suggest a different way of handling it?

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, January 20, 2014 11:17 AM
To: Mike Jones; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] JWS Appendix D. Notes on Key Selection

It is a start but not all comments were addressed.

You need to try reading what you are writing with an eye that is looking fo=
r things that can easily be mis-interpreted.

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, January 18, 2014 12:11 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] JWS Appendix D. Notes on Key Selection

This updated text for JWS Appendix D is intended to address Jim's comments =
from yesterday.

                                                            -- Mike

Appendix D.  Notes on Key Selection

This appendix describes a set of possible algorithms for selecting the key =
to be used to validate the digital signature or MAC of a JWS object or for =
selecting the key to be used to decrypt a JWE object. This guidance describ=
es a family of possible algorithms, rather than a single algorithm, because=
 in different contexts, not all the sources of keys will be used, they can =
be tried in different orders, and sometimes not all the collected keys will=
 be tried; hence, different algorithms will be used in different applicatio=
n contexts.

These algorithms use some or all of the steps described below; the order an=
d inclusion of the steps does not mean that they need to be performed in th=
is order or that they are required in all contexts. The steps below are des=
cribed for illustration purposes only; specific applications can and are li=
kely to use different algorithms. Specific applications will frequently hav=
e a much simpler method of determining the keys to use, as there may be one=
 or two key selection methods that are profiled for the application's use. =
This appendix supplements the normative information on key location in Sect=
ion 6 (Key Identification).

Algorithm steps may include:

Great - so I'll just skip steps 1 and 4.
1.   Collect a set of potentially applicable keys. Sources of keys may incl=
ude:
o   Keys supplied by the application protocol being used.
o   Keys referenced by the jku (JWK Set URL) Header Parameter.
o   The key provided by the jwk (JSON Web Key) Header Parameter.
o   Keys referenced by the x5u (X.509 URL) Header Parameter.
o   The key provided by the x5c (X.509 Certificate Chain) Header Parameter.
o   Other applicable keys available to the application.
2.   Order the set of collected keys. For instance, keys referenced by kid =
(Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might be tr=
ied before other keys. Likewise, keys with certain kty (Key Type) values, a=
lg (Algorithm) values, or other member values might be ordered before keys =
with other kty values, alg values, or other member values.
3.   Filter the set of collected keys. For instance, only keys referenced b=
y kid (Key ID) or x5t (X.509 Certificate SHA-1 Thumbprint) parameters might=
 be tried by the application. Keys with an invalid certificate chain would =
typically be excluded. Likewise, keys might be filtered to include or exclu=
de keys with certain kty (Key Type) values, alg (Algorithm) values, use (Ke=
y Use) values, key_ops (Key Operations) values, or other member values. A l=
imit on the number of keys to be tried might also be applied.
4.   Attempt signature or MAC validation for a JWS object or decryption of =
a JWE object with some or all of the collected and possibly ordered and/or =
filtered keys. This process will normally terminate following a successful =
validation or decryption.


--_000_4E1F6AAD24975D4BA5B16804296739437CDBACFCTK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:13.5pt;
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";
	color:#003366;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Helvetica","sans-serif";
	color:#333333;
	font-weight:bold;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:384794622;
	mso-list-template-ids:312141604;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I went back to the ori=
ginal message for issue #93 and I applied all the omissions I identified.&n=
bsp; Thanks for helping to make the appendix as useful as possible.<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 20, 2014 1:08 PM<br>
<b>To:</b> Mike Jones; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You need to filter bas=
ed on use, kty, alg.&nbsp; Would you consider it a success to validate a si=
gnature with an RSA key that has &#8220;use&#8221;:&#8221;enc&#8221;?<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Restrict your self to =
this thead.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mike Jon=
es [<a href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@mic=
rosoft.com</a>]
<br>
<b>Sent:</b> Monday, January 20, 2014 12:36 PM<br>
<b>To:</b> Jim Schaad; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> RE: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You don&#8217;t have t=
o filter if you just try all the keys, which is reasonable if the number of=
 keys is small, which it typically is.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You&#8217;ve sent a nu=
mber of messages on this topic.&nbsp; Which one are you referring to as &#8=
220;the original message&#8221;?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 20, 2014 12:23 PM<br>
<b>To:</b> Mike Jones; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> Re: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">As near as I can tell,=
 the only step that is optional in anyway is the sorting step based on my f=
irst set of comments.&nbsp; And one could say that you might use an non-sor=
t sort in this case.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Also &#8211; you still=
 need to look at the original message to find the things you omitted.<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mike Jon=
es [<a href=3D"mailto:Michael.Jones@microsoft.com">mailto:Michael.Jones@mic=
rosoft.com</a>]
<br>
<b>Sent:</b> Monday, January 20, 2014 11:29 AM<br>
<b>To:</b> Jim Schaad; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> RE: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I can change &#8220;</=
span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-=
serif&quot;;color:black">the order and inclusion of the steps does not mean=
 that they need to be performed in this order or that they are required
 in all contexts</span><span style=3D"color:#1F497D">&#8221; to &#8220;</sp=
an><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">the order and inclusion of the steps does not mean t=
hat they need to be performed in this order or that they are
</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;san=
s-serif&quot;;color:red">all </span>
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black">required in all contexts.&nbsp;
</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;san=
s-serif&quot;;color:red">In particular, sorting and filtering sometimes wil=
l be unnecessary</span><span lang=3D"EN" style=3D"font-family:&quot;Verdana=
&quot;,&quot;sans-serif&quot;;color:black">.</span><span style=3D"color:#1F=
497D">&#8221;&nbsp;
 Does that address the potential misinterpretation you&#8217;re calling out=
 or would you like to suggest a different way of handling it?<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Monday, January 20, 2014 11:17 AM<br>
<b>To:</b> Mike Jones; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><b=
r>
<b>Subject:</b> Re: [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p=
></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">It is a start but not =
all comments were addressed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You need to try readin=
g what you are writing with an eye that is looking for things that can easi=
ly be mis-interpreted.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Saturday, January 18, 2014 12:11 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] JWS Appendix D. Notes on Key Selection<o:p></o:p></s=
pan></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This updated text for JWS Appendix D is intended to =
address Jim&#8217;s comments from yesterday.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<h3><span lang=3D"EN">Appendix D.&nbsp; Notes on Key Selection<o:p></o:p></=
span></h3>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">This appendix describes a set of possible algorithms=
 for selecting the key to be used to validate the digital signature or MAC =
of a JWS object or for selecting the key to be used to decrypt
 a JWE object. This guidance describes a family of possible algorithms, rat=
her than a single algorithm, because in different contexts, not all the sou=
rces of keys will be used, they can be tried in different orders, and somet=
imes not all the collected keys
 will be tried; hence, different algorithms will be used in different appli=
cation contexts.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">These algorithms use some or all of the steps descri=
bed below; the order and inclusion of the steps does not mean that they nee=
d to be performed in this order or that they are required
 in all contexts. The steps below are described for illustration purposes o=
nly; specific applications can and are likely to use different algorithms. =
Specific applications will frequently have a much simpler method of determi=
ning the keys to use, as there may
 be one or two key selection methods that are profiled for the application'=
s use. This appendix supplements the normative information on key location =
in Section&nbsp;6 (Key Identification).
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-se=
rif&quot;;color:black">Algorithm steps may include:
<o:p></o:p></span></p>
<p style=3D"margin-left:0in"><span lang=3D"EN" style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Great &=
#8211; so I&#8217;ll just skip steps 1 and 4.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">1.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Collect a set of potenti=
ally applicable keys. Sources of keys may include:
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys supplied by the app=
lication protocol being used.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jku</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JWK Set URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">jwk</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (JSON Web Key) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Keys referenced by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5u</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 URL) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">The key provided by the
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5c</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate Chain) Header Parameter.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:48.0pt=
;mso-margin-bottom-alt:auto;margin-left:120.0pt;text-indent:-.25in;mso-list=
:l0 level2 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:&quot;Courier New&quot;;color:black"><span style=3D"mso-list:Ignore">o<sp=
an style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Other applicable keys av=
ailable to the application.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">2.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Order the set of collect=
ed keys. For instance, keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried before other keys. Likewise, keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values, or other member values might be ordere=
d before keys with other
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> values, or other member values.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">3.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Filter the set of collec=
ted keys. For instance, only keys referenced by
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kid</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key ID) or
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">x5t</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (X.509 Certificate SHA-1 Thumbprint) parameters might be t=
ried by the application. Keys with an invalid certificate chain
 would typically be excluded. Likewise, keys might be filtered to include o=
r exclude keys with certain
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">kty</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Type) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">alg</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Algorithm) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">use</span></tt><spa=
n lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quo=
t;;color:black"> (Key Use) values,
</span><tt><span lang=3D"EN" style=3D"font-size:12.0pt">key_ops</span></tt>=
<span lang=3D"EN" style=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif=
&quot;;color:black"> (Key Operations) values, or other member values. A lim=
it on the number of keys to be tried might also be applied.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l0 level1 lfo2">
<![if !supportLists]><span lang=3D"EN" style=3D"font-family:&quot;Verdana&q=
uot;,&quot;sans-serif&quot;;color:black"><span style=3D"mso-list:Ignore">4.=
<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-family:&quot=
;Verdana&quot;,&quot;sans-serif&quot;;color:black">Attempt signature or MAC=
 validation for a JWS object or decryption of a JWE object with some or all=
 of the collected and possibly ordered and/or filtered keys.
 This process will normally terminate following a successful validation or =
decryption.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDBACFCTK5EX14MBXC286r_--

From anders.rundgren.net@gmail.com  Tue Jan 21 00:25:59 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 829111A005B for <jose@ietfa.amsl.com>; Tue, 21 Jan 2014 00:25:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 Rj5LRIXILCpi for <jose@ietfa.amsl.com>; Tue, 21 Jan 2014 00:25:54 -0800 (PST)
Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) by ietfa.amsl.com (Postfix) with ESMTP id B10B01A0048 for <jose@ietf.org>; Tue, 21 Jan 2014 00:25:53 -0800 (PST)
Received: by mail-wg0-f53.google.com with SMTP id y10so7756277wgg.20 for <jose@ietf.org>; Tue, 21 Jan 2014 00:25:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=iFee/pi7/HmY4Vr+s5YH4YJZA2f8YxV6k88jvTP/3Co=; b=KCys8PWLQIV5wq/PLUuSbgodMVFukE7NEd83idLb+sYPEsrRPHdaSZR/0G/r4swoSi fUgysI3oM4PwNWFZgdhmdow8rGRjbbfIoz1v6nxI9F60wS65IBrlLN+5HVRXc+CpKyLo ZbLrNPGOZP/Rc04m/yOeZqXodyscOo+Kp7rNc4WXXEWnKG1j8t2NgZMQ5vADJnSn/2oL e+jdaiLZstHydlKuMDB+x0vRNeCRnY1yi+2tWhZ12yluwTPx3wRnyLO5avEkBCSzXvU7 Xq0p7/thYGZDnWUjafVPSUyCmHOLbadAlnadLFY5Rh9Ln1EV4kj+RrTkpkuImJHrXpPU 1KgA==
X-Received: by 10.180.74.174 with SMTP id u14mr13380566wiv.45.1390292753027; Tue, 21 Jan 2014 00:25:53 -0800 (PST)
Received: from [192.168.1.33] (66.100.176.95.rev.sfr.net. [95.176.100.66]) by mx.google.com with ESMTPSA id z1sm6273562wjq.19.2014.01.21.00.25.52 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 00:25:52 -0800 (PST)
Message-ID: <52DE2F0C.8050807@gmail.com>
Date: Tue, 21 Jan 2014 09:25:48 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>
References: <529B6B33.2070401@gmail.com> <52A2ACB7.50805@gmail.com> <CA+k3eCQ5h-6Ep-fc3fjdjVzPk_Mf5Y=kCLvynbQXOa_CkZ15Pw@mail.gmail.com> <52A784D8.1000307@gmail.com>
In-Reply-To: <52A784D8.1000307@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK counterpart to ds:CryptoBinary?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 08:25:59 -0000

Sorry for bringing up this thread again but apparently the answer was a bit
more convoluted than I thought :-(

For RSA the answer is YES but for EC it is NO:
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-6.2.1

I found out that when converting my JCS implementation from Java to JavaScript
because only in the JavaScript version I had to deal with SPKIs at the ASN.1 level:
https://code.google.com/p/openkeystore/source/browse/javascript/trunk/src/crypto/KeySerializing.js

There may be a bug here:
https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/jwk/ECKey.java#cl-727

This is the test-vector that caused my original code to fail:

var p521_spki = 'MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBCCAc9n4N7ZOr_tTu\
_wAOmPKi4qTp5X3su6O3010hxmBYj9zI4u_0dm6UZa0LsjdfvcAET6vH3mEApvGKpDWrRsAA_nJhyQ20ca7Nn0Zvyiq54FfCAblGK7kuduF\
BTPkxv9eOjiaeGp7V_f3qV1kxS_Il2LY7Tc5l2GSlW_-SzYKxgek';

FWIW, I have kept the "CryptoBinary" approach in JCS since compatibility with
other systems is only needed on the SPKI level.  There are other quirks in JWK
like mixing Base64URL and Base64 which I also didn't see the point with.

Cheers
Anders

On 2013-12-10 22:17, Anders Rundgren wrote:
> On 2013-12-10 21:41, Brian Campbell wrote:
>> I am likewise a non-cryptographer but that's my code so I guess I should comment :)
>>
>> The understanding of that part of the specs comes from the text, "... represented as the base64url encoding of the value's unsigned big endian representation as an octet sequence."  The spec drafts have been updated over time and the appearances of that text have moved around since I wrote that code but I think the intent hasn't changed  The text is currently used in each of the parameters for RSA keys http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-6.3. The same text was there for EC keys as well but recently was change to reference SEC1 (which I'm told is basically the same for for prime curves).
> 
> Brian, thank very much for pointing me to the right places!
> I'm happy to see that I'm still on the right track :-)
> 
> Cheers
> Anders
> 
>>
>>
>>
>>
>> On Fri, Dec 6, 2013 at 10:05 PM, Anders Rundgren <anders.rundgren.net@gmail.com <mailto:anders.rundgren.net@gmail.com>> wrote:
>>
>>     Well, a peek in another JOSE implementation seems to verify that this is an _implicit_ (understood) part of the specification:
>>
>>     https://bitbucket.org/b_c/jose4j/src/b782e9638a84431a58234b7258c2186da4e8189f/src/main/java/org/jose4j/keys/BigEndianBigInteger.java
>>
>>     As a non-cryptographer I interpret this as: X and Y for EC public keys must always be positive and this is also the case for RSA public exponent and modulus.
>>
>>     In an early version of an XML DSig implementation of mine I occasionally got run-time errors which was how I found out about ds:CryptoBinary...
>>
>>     Anders
>>
>>
>>     On 2013-12-01 18:00, Anders Rundgren wrote:
>>     > Hi List
>>     >
>>     > Pardon a non-cryptographer, but does JWK have a counterpart to
>>     >    http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary
>>     > ?
>>     >
>>     > If not, why?
>>     >
>>     > From what I can deduct the following implementation use CryptoBinary for both EC and RSA public keys:
>>     >
>>     > https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/util/BigIntegerUtils.java?at=master
>>     >
>>     > thanx,
>>     > Anders
>>     >
>>
>>     _______________________________________________
>>     jose mailing list
>>     jose@ietf.org <mailto:jose@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/jose
>>
>>
> 


From Michael.Jones@microsoft.com  Wed Jan 22 17:16:38 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 652911A01B7 for <jose@ietfa.amsl.com>; Wed, 22 Jan 2014 17:16:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 zXB2-ZAZ0hMa for <jose@ietfa.amsl.com>; Wed, 22 Jan 2014 17:16:36 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0241.outbound.protection.outlook.com [207.46.163.241]) by ietfa.amsl.com (Postfix) with ESMTP id E27A01A01B1 for <jose@ietf.org>; Wed, 22 Jan 2014 17:16:34 -0800 (PST)
Received: from BL2PR03CA015.namprd03.prod.outlook.com (10.141.66.23) by BL2PR03MB162.namprd03.prod.outlook.com (10.255.230.145) with Microsoft SMTP Server (TLS) id 15.0.847.13; Thu, 23 Jan 2014 01:16:32 +0000
Received: from BY2FFO11FD026.protection.gbl (2a01:111:f400:7c0c::119) by BL2PR03CA015.outlook.office365.com (2a01:111:e400:c1b::23) with Microsoft SMTP Server (TLS) id 15.0.847.13 via Frontend Transport; Thu, 23 Jan 2014 01:16:33 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD026.mail.protection.outlook.com (10.1.15.215) with Microsoft SMTP Server (TLS) id 15.0.847.12 via Frontend Transport; Thu, 23 Jan 2014 01:16:32 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0174.002; Thu, 23 Jan 2014 01:16:02 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Editor's draft update
Thread-Index: AQHPF9ebIupEvBTLC02234sbBTPbU5qRgU8Q
Date: Thu, 23 Jan 2014 01:16:01 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CDBDA92@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <CAEnTvdBGPOxzUM4ONQhCsC=ye+9dGJSxt15denkV3qLdroYM4g@mail.gmail.com>
In-Reply-To: <CAEnTvdBGPOxzUM4ONQhCsC=ye+9dGJSxt15denkV3qLdroYM4g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.73]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CDBDA92TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(979002)(199002)(189002)(69234005)(377454003)(56816005)(2656002)(85806002)(63696002)(81686001)(55846006)(81816001)(74706001)(65816001)(80022001)(47976001)(512954002)(85852003)(53806001)(77982001)(51856001)(4396001)(50986001)(54356001)(79102001)(59766001)(76482001)(80976001)(92726001)(83322001)(46102001)(94316002)(90146001)(31966008)(47446002)(74876001)(74366001)(20776003)(16236675002)(66066001)(47736001)(69226001)(87266001)(93136001)(92566001)(74662001)(81542001)(54316002)(6806004)(81342001)(71186001)(56776001)(19580395003)(76786001)(49866001)(15975445006)(77096001)(33656001)(15202345003)(74502001)(83072002)(85306002)(86362001)(76796001)(93516002)(84326002)(19580405001)(19300405004)(44976005)(87936001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB162; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0100732B76
X-OriginatorOrg: microsoft.com
Subject: [jose] FW: Editor's draft update
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2014 01:16:38 -0000

--_000_4E1F6AAD24975D4BA5B16804296739437CDBDA92TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

FYI, it seems that our latest JWK changes for WebCrypto are being incorpora=
ted into the WebCrypto specs, as we'd hoped.

                                                            Cheers,
                                                            -- Mike

From: Mark Watson [mailto:watsonm@netflix.com]
Sent: Wednesday, January 22, 2014 5:07 PM
To: public-webcrypto@w3.org
Subject: Editor's draft update

All,

I updated the Editor's Draft today:

(1) to align with the latest JWK draft (http://tools.ietf.org/html/draft-ie=
tf-jose-json-web-key-20) that includes the "key_ops" member which can repre=
sent all the WebCrypto key usages
(2) to add additional JWK algorithms for WebCrypto algorithms not covered b=
y JWK, specifically AES-CMAC, AES-CFB, HMAC-SHA-1, HMAC-SHA-224.
(3) to define mappings between WebCrypto and JWK
(4) to add myself as co-editor

...Mark

--_000_4E1F6AAD24975D4BA5B16804296739437CDBDA92TK5EX14MBXC286r_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">FYI, it seems that our la=
test JWK changes for WebCrypto are being incorporated into the WebCrypto sp=
ecs, as we&#8217;d hoped.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cheers,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mark Wat=
son [mailto:watsonm@netflix.com]
<br>
<b>Sent:</b> Wednesday, January 22, 2014 5:07 PM<br>
<b>To:</b> public-webcrypto@w3.org<br>
<b>Subject:</b> Editor's draft update<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">All,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I updated the Editor's Draft today:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">(1) to align with the latest JWK draft (<a href=3D"h=
ttp://tools.ietf.org/html/draft-ietf-jose-json-web-key-20">http://tools.iet=
f.org/html/draft-ietf-jose-json-web-key-20</a>) that includes the &quot;key=
_ops&quot; member which can represent all the
 WebCrypto key usages<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">(2) to add additional JWK algorithms for WebCrypto a=
lgorithms not covered by JWK, specifically AES-CMAC, AES-CFB, HMAC-SHA-1, H=
MAC-SHA-224.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">(3) to define mappings between WebCrypto and JWK<o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">(4) to add myself as co-editor<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CDBDA92TK5EX14MBXC286r_--

From odonoghue@isoc.org  Wed Jan 22 21:41:22 2014
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F39581A01B5 for <jose@ietfa.amsl.com>; Wed, 22 Jan 2014 21:41:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_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 NytiOlQ7cxsh for <jose@ietfa.amsl.com>; Wed, 22 Jan 2014 21:41:19 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0185.outbound.protection.outlook.com [207.46.163.185]) by ietfa.amsl.com (Postfix) with ESMTP id 5BE4A1A003E for <jose@ietf.org>; Wed, 22 Jan 2014 21:41:19 -0800 (PST)
Received: from kodonog-mac.local (74.214.48.55) by DM2PR06MB591.namprd06.prod.outlook.com (10.141.176.154) with Microsoft SMTP Server (TLS) id 15.0.851.15; Thu, 23 Jan 2014 05:41:17 +0000
Message-ID: <52E0AB7A.9060703@isoc.org>
Date: Thu, 23 Jan 2014 00:41:14 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [74.214.48.55]
X-ClientProxiedBy: BLUPR03CA034.namprd03.prod.outlook.com (10.141.30.27) To DM2PR06MB591.namprd06.prod.outlook.com (10.141.176.154)
X-Forefront-PRVS: 0100732B76
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(6009001)(199002)(189002)(56816005)(74366001)(49866001)(59896001)(80316001)(76482001)(77982001)(74706001)(54316002)(85306002)(64126003)(77096001)(56776001)(46102001)(87976001)(47976001)(80976001)(94316002)(50986001)(80022001)(558084003)(4396001)(47736001)(76786001)(92726001)(92566001)(85852003)(47776003)(93136001)(81542001)(79102001)(74876001)(83072002)(76176001)(63696002)(33656001)(47446002)(76796001)(69226001)(31966008)(65806001)(54356001)(65956001)(81342001)(83506001)(81686001)(42186004)(23756003)(59766001)(51856001)(90146001)(50466002)(83322001)(66066001)(53806001)(93516002)(74502001)(81816001)(74662001)(86362001)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR06MB591; H:kodonog-mac.local; CLIP:74.214.48.55; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; 
X-OriginatorOrg: isoc.org
Subject: [jose] remaining open issues for jose specs
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2014 05:41:22 -0000

Folks,

Jim and I have decided to start the WGLC process for JWE, JWK, JWS, and 
JWA. Please note that there are still some remaining open issues. Some 
of these will be closed shortly, and some we plan to address during the 
last call process.

Karen

From odonoghue@isoc.org  Wed Jan 22 21:41:41 2014
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D79C11A0200 for <jose@ietfa.amsl.com>; Wed, 22 Jan 2014 21:41:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_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 fd3z9ieMxwGP for <jose@ietfa.amsl.com>; Wed, 22 Jan 2014 21:41:38 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0212.outbound.protection.outlook.com [207.46.163.212]) by ietfa.amsl.com (Postfix) with ESMTP id E4B461A003E for <jose@ietf.org>; Wed, 22 Jan 2014 21:41:37 -0800 (PST)
Received: from kodonog-mac.local (74.214.48.55) by BY2PR06MB581.namprd06.prod.outlook.com (10.141.221.146) with Microsoft SMTP Server (TLS) id 15.0.851.15; Thu, 23 Jan 2014 05:41:30 +0000
Message-ID: <52E0AB85.1070409@isoc.org>
Date: Thu, 23 Jan 2014 00:41:25 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [74.214.48.55]
X-ClientProxiedBy: BLUPR03CA031.namprd03.prod.outlook.com (10.141.30.24) To BY2PR06MB581.namprd06.prod.outlook.com (10.141.221.146)
X-Forefront-PRVS: 0100732B76
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(6009001)(199002)(189002)(83322001)(92726001)(86362001)(51856001)(64126003)(74876001)(66066001)(50986001)(74706001)(80316001)(83072002)(47976001)(80022001)(50466002)(54356001)(47776003)(47736001)(19580395003)(42186004)(46102001)(53806001)(81686001)(90146001)(33656001)(94316002)(93516002)(92566001)(93136001)(74366001)(87976001)(23756003)(65956001)(80976001)(85852003)(56816005)(76482001)(4396001)(49866001)(65806001)(85306002)(81342001)(77096001)(59766001)(81542001)(81816001)(79102001)(63696002)(76176001)(31966008)(76786001)(54316002)(77982001)(15975445006)(59896001)(47446002)(74502001)(74662001)(83506001)(56776001)(69226001)(76796001)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR06MB581; H:kodonog-mac.local; CLIP:74.214.48.55; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; 
X-OriginatorOrg: isoc.org
Subject: [jose] WGLC for JWA, JWE, JWK, and JWS
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2014 05:41:42 -0000

Folks,

This message initiates three week WGLCs for the four JOSE WG specifications
referenced below:

https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-algorithms/
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-encryption/
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-key/
https://datatracker.ietf.org/doc/draft-ietf-jose-json-web-signature/

Please review and comment on the documents and put any issues in the
JOSE WG issue tracker. The WGLC will end on 13 February 2014.

Regards,
JOSE WG co-chairs


From TurnerS@ieca.com  Thu Jan 23 07:34:21 2014
Return-Path: <TurnerS@ieca.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D8CF1A0022 for <jose@ietfa.amsl.com>; Thu, 23 Jan 2014 07:34:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no
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 1wkAkN2dLlEX for <jose@ietfa.amsl.com>; Thu, 23 Jan 2014 07:34:19 -0800 (PST)
Received: from gateway01.websitewelcome.com (gateway01.websitewelcome.com [69.56.224.19]) by ietfa.amsl.com (Postfix) with ESMTP id 1E5E11A003A for <jose@ietf.org>; Thu, 23 Jan 2014 07:34:18 -0800 (PST)
Received: by gateway01.websitewelcome.com (Postfix, from userid 5007) id 3D237201B714E; Thu, 23 Jan 2014 09:34:17 -0600 (CST)
Received: from gator3286.hostgator.com (gator3286.hostgator.com [198.57.247.250]) by gateway01.websitewelcome.com (Postfix) with ESMTP id 1C503201B70FE for <jose@ietf.org>; Thu, 23 Jan 2014 09:34:17 -0600 (CST)
Received: from [198.180.150.142] (port=52362 helo=v142.vpn.iad.rg.net) by gator3286.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from <TurnerS@ieca.com>) id 1W6MIJ-0003AG-7Z; Thu, 23 Jan 2014 09:34:15 -0600
Content-Type: multipart/signed; boundary="Apple-Mail=_6D692B79-9F2B-42A4-B435-15980424AFE7"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: Sean Turner <TurnerS@ieca.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CDB0EFC@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Thu, 23 Jan 2014 16:34:07 +0100
Message-Id: <97ED708B-64E8-4881-A840-542D5C4302DE@ieca.com>
References: <20140114173143.16309.25761.idtracker@ietfa.amsl.com> <4E1F6AAD24975D4BA5B16804296739437CDB0EFC@TK5EX14MBXC286.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1827)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator3286.hostgator.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - ieca.com
X-BWhitelist: no
X-Source-IP: 198.180.150.142
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: (v142.vpn.iad.rg.net) [198.180.150.142]:52362
X-Source-Auth: sean.turner@ieca.com
X-Email-Count: 10
X-Source-Cap: ZG9tbWdyNDg7ZG9tbWdyNDg7Z2F0b3IzMjg2Lmhvc3RnYXRvci5jb20=
Cc: Richard Barnes <rlb@ipv.sx>, jose chair <jose-chairs@tools.ietf.org>, jose mailing list <jose@ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: Re: [jose] Document Action: 'Use Cases and Requirements for JSON Object Signing and Encryption (JOSE)' to Informational RFC (draft-ietf-jose-use-cases-06.txt)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2014 15:34:21 -0000

--Apple-Mail=_6D692B79-9F2B-42A4-B435-15980424AFE7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

These are pretty minor and can be fixed during AUTH48.  Between the =
chairs and I we=92ll remember to get this edited.

spt

On Jan 15, 2014, at 07:58, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

> Are the issues identified in =
http://www.ietf.org/mail-archive/web/jose/current/msg03817.html being =
addressed as RFC Editor notes?  If so, can you please point the working =
group to the editing instructions, so they can be reviewed by the =
working group?
>=20
> 				Thanks,
> 				-- Mike
>=20
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of The IESG
> Sent: Tuesday, January 14, 2014 9:32 AM
> To: IETF-Announce
> Cc: jose chair; jose mailing list; RFC Editor
> Subject: [jose] Document Action: 'Use Cases and Requirements for JSON =
Object Signing and Encryption (JOSE)' to Informational RFC =
(draft-ietf-jose-use-cases-06.txt)
>=20
> The IESG has approved the following document:
> - 'Use Cases and Requirements for JSON Object Signing and Encryption
>   (JOSE)'
>  (draft-ietf-jose-use-cases-06.txt) as Informational RFC
>=20
> This document is the product of the Javascript Object Signing and =
Encryption Working Group.
>=20
> The IESG contact persons are Sean Turner and Stephen Farrell.
>=20
> A URL of this Internet Draft is:
> http://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/
>=20
>=20
>=20
>=20
> Technical Summary
>=20
>   This document defines a set of use cases and requirements
>   for a secure object format encoded using JavaScript Object Notation
>   (JSON), drawn from a variety of application security mechanisms
>   currently in development.
>=20
> Working Group Summary
>=20
>   The document represents the consuses of the working group.
>   The document was not controversial during the working group
>   discussions.
>=20
> Document Quality
>=20
>  The document has not had a large amount of review outside of
>  the JOSE working group.  As such it is possible that the group
>  has missed or mis-represented the set of use cases that the
>  JOSE working group needs to address when generating the
>  specifications in the group.  The OAUTH working group views
>  are well presented, but it does not have sufficient apps area review.
>=20
> Personnel
>=20
>   Document Shepherd is Jim Schaad
>   Area Director is Sean Turner
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_6D692B79-9F2B-42A4-B435-15980424AFE7
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIEgDCCBHww
ggJkoAMCAQICCQCdWMxKNutUeTANBgkqhkiG9w0BAQsFADAiMQswCQYDVQQGEwJVUzETMBEGA1UE
ChMKSUVDQSwgSW5jLjAeFw0xMzA0MDMxNDUxMThaFw0xNDA0MDMxNDUxMThaMDgxCzAJBgNVBAYT
AlVTMRMwEQYDVQQKEwpJRUNBLCBJbmMuMRQwEgYDVQQDEwtTZWFuIFR1cm5lcjCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBAOpCGCRptT1m+bIpLTmbahZLZ0Qe4X99f8SgTQ7QISvUfpmn
tfOD1oA1AttXlOULEERYubzvDnUTXvstFomQx0XTA67IaV+mw9ODRtG1hPN/erdKX6sU6rH4tsEb
ba3Drr/I0HT3YVvD3SjWtGXjF12XLvTP6+LfMIIDTCAPiEd9KPG23D7skVu/4BvvmdLFI96OARhg
wQ86M+lTIn83KRJlbbfAeIevbRx/rUB7D+uvMdWxOzR0KZJhd6dEeTXVwBXZG4rnQ4uFM+mRSiD4
rxDCyOuIuOzR07tnOyCRio6sRipOZvwQUWttdsgMEs6IxLdWsaTXcs1HjCsxrdedovMCAwEAAaOB
njCBmzAOBgNVHQ8BAf8EBAMCBeAwHwYDVR0jBBgwFoAUAHRsSeXJUmFxTVY4q2HJ8uHl+w0wGwYD
VR0RBBQwEoEQVHVybmVyU0BpZWNhLmNvbTAyBgNVHR8EKzApMCegJaAjhiFodHRwOi8vd3d3Lmll
Y2EuY29tL2NybHMvaWVjYS5jcmwwFwYDVR0gBBAwDjAMBgorBgEEAYHXAAAAMA0GCSqGSIb3DQEB
CwUAA4ICAQAimDYm77ppTi4vK6qJSUhyvCDMGb8mngiEXEYKxsfdHPWoDO7+06j7dAZ8sDD9/FtE
kiUMyoNGSUmKHR+tGperVnNiM/Zk6WwCJv8dYZwhGXNQeEGzeys/UkFv7CFX7uDSn8GQeB8sOAZ1
N1hxV/TvT8qXvcRxP5+aWTAGAq3TKtCQxZjuU74L3st2hZiOhJlhjhqz0K5FIwWzXUK9uwhZe1th
GUpDbRustVgmKN2Xa0pzwqI1VUO0jnWt24A4u59xo6DJQXzQVMhCx0xhpemuT9BrsBDTX8eJdI1i
Wv9wp3ivSrfHjKXp8y8OGD+usiG40HCjj0W9C+dH0VfbgrB6QOI4vA9+kTg4mANth1cxyxwPYOSJ
v0zi1qR0eDIGI//2v2/s6TmGuNqbnRa26Ldv5gGqS7xj32Fiaby6UOXs4+aAIWGZEOH+BXjozcvE
eGBwjU/VRQYu6itR28PaNhNVji4D5ITaGxWWiycqK1EUaFraWHtk7W100ROX69xTeFVZP86D2ymi
/aohl5Vb1vlYHdqlbgqjDRl9dPbTxVCXEHf+jkexcuwlLTvr7F+5DIN6c/EbCpRqQx3edy193L48
OGyRDh1/Wmzpew0VWWAWOSXGl/P9VzXf3Z6GPt7flN/V9iEJAa3Mo+w+eIdzJkHBWR+yJcqQcCRM
MSyishMwLDGCAjgwggI0AgEBMC8wIjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCklFQ0EsIEluYy4C
CQCdWMxKNutUeTAJBgUrDgMCGgUAoIHfMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI
hvcNAQkFMQ8XDTE0MDEyMzE1MzQwOFowIwYJKoZIhvcNAQkEMRYEFIKHPePtpxfifuPP57d4F/O7
GzD9MD4GCSsGAQQBgjcQBDExMC8wIjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCklFQ0EsIEluYy4C
CQCdWMxKNutUeTBABgsqhkiG9w0BCRACCzExoC8wIjELMAkGA1UEBhMCVVMxEzARBgNVBAoTCklF
Q0EsIEluYy4CCQCdWMxKNutUeTANBgkqhkiG9w0BAQEFAASCAQCiC4fV95EMq0f1XmI+/3rFJVB8
n2sSX4fo/Y9LmeEGjCeyfwsFSf0/KNw2KsFSQ7d1d6ogWyxkoYnfnRkDmSW3kOmqk8eSW7+eHDf1
PC1ZlTXMzQ207ZeRWYaiVNC0nVDQN03n/XlQPiSirTPZzigalPrKnD09cwAiU5XZ8C/B/M9x5hPI
sl/o7VD2V9aFuxd//OCVjOHeutU8WlWqtiqKACAhcRqz5ssVABW+5dqaMoIFOQIm9OALVmZabpyD
wk+s+M9k0UWmw+1g/17PiQF3p0sQY8159X8fv4/CL3SOAIMTh8KiCx20VeskhfW6iwdBRQGk9p4c
GGsdGPJ/xr9oAAAAAAAA

--Apple-Mail=_6D692B79-9F2B-42A4-B435-15980424AFE7--

From ietf@augustcellars.com  Thu Jan 23 12:42:38 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3EF021A0197 for <jose@ietfa.amsl.com>; Thu, 23 Jan 2014 12:42:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 xvnOQPNZfqwN for <jose@ietfa.amsl.com>; Thu, 23 Jan 2014 12:42:35 -0800 (PST)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 2ABBB1A00C5 for <jose@ietf.org>; Thu, 23 Jan 2014 12:42:35 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 36F6C2CA1F; Thu, 23 Jan 2014 12:42:34 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <draft-ietf-jose-json-web-signature@tools.ietf.org>
Date: Thu, 23 Jan 2014 12:40:57 -0800
Message-ID: <026601cf187b$6b8bc5c0$42a35140$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0267_01CF1838.5D6A5A80"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac8YdVFWIkzAvGyyToOm/dHc3J4hWQ==
Content-Language: en-us
Cc: jose@ietf.org
Subject: [jose] Appendix D in draft -20
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2014 20:42:38 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0267_01CF1838.5D6A5A80
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I am only marginally happier with this draft of the document.

 

I do not see how one can possibly state that steps 1, 3 and 4 are in any way
optional in this algorithm.  The concept of not gathering keys, filtering
out keys that cannot possibly be correct and not checking the signature of
keys makes absolutely no sense to me.  If these steps are to be considered
optional then the reason for them being option must be clearly documented.

 

My understanding of x5u says that only a single key referenced by the chain
would be eligible for inclusion in the key set.  If this is not true then it
needs to clarified in the description of x5u.  If it is true then
s/keys/key/ in that description.

 

I need to have a much better understanding of the statement that you can
order based on the value of the kty value.  As it stands I have no idea what
this means and why one would do such an ordering.

 

I would probably swap steps 2 and 3 so that one can order with respect to
those keys which are reasonable to look at rather than looking at the entire
building of keys.  As part of this I would move the number of keys from
current step 3 to step 4.

 

If you are going to make the statement "Keys with inappropriate "alg"
(algorithm), "use" (public key       use), or "key_ops" (key operations)
values would likewise       typically be excluded." Then you need to provide
text to tell me under what circumstances I would not be excluding them.  My
understanding is that they would always be excluded and thus this text makes
no sense to me.
 
I would move the kty filter into the previous sentence.  It them make sense
to talk about applications filtering based on other values that might be
more application specific.
 
I would like to see the trust statement moved to a separate item in the list
of steps.  Again this is something that needs to be done, but it can be done
after step 4 rather than in the filter process.  The trust statement can be
made to be more general that what is current stated.  That is the trust
decision may be made based on internal application information, generic
information or an external certificate validation process.  In some cases
the trust decision may be determined to be implicit based on the source of
the key.    I would make this general rather than specific.  That is to say
I would say that a binding of trust needs to be made, and the following
items should be considered in the list of things to be included.  This
should not and would not be presented as an exhaustive list but should be
somewhat complete.  That is getting this from a jku has a degree of trust
that a jkw does not have.
 
Jim
 
 

 


------=_NextPart_000_0267_01CF1838.5D6A5A80
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I am only =
marginally happier with this draft of the document.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I do not see =
how one can possibly state that steps 1, 3 and 4 are in any way optional =
in this algorithm.&nbsp; The concept of not gathering keys, filtering =
out keys that cannot possibly be correct and not checking the signature =
of keys makes absolutely no sense to me. &nbsp;If these steps are to be =
considered optional then the reason for them being option must be =
clearly documented.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>My =
understanding of x5u says that only a single key referenced by the chain =
would be eligible for inclusion in the key set.&nbsp; If this is not =
true then it needs to clarified in the description of x5u.&nbsp; If it =
is true then s/keys/key/ in that description.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I need to =
have a much better understanding of the statement that you can order =
based on the value of the kty value.&nbsp; As it stands I have no idea =
what this means and why one would do such an ordering.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I would =
probably swap steps 2 and 3 so that one can order with respect to those =
keys which are reasonable to look at rather than looking at the entire =
building of keys.&nbsp; As part of this I would move the number of keys =
from current step 3 to step 4.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>If you are =
going to make the statement </span>&#8220;Keys with inappropriate =
&quot;alg&quot; (algorithm), &quot;use&quot; (public =
key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use), or &quot;key_ops&quot; =
(key operations) values would =
likewise&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; typically be =
excluded.&#8221; <span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>Then you =
need to provide text to tell me under what circumstances I would not be =
excluding them.&nbsp; My understanding is that they would always be =
excluded and thus this text makes no sense to =
me.<o:p></o:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;=
</o:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>I would =
move the kty filter into the previous sentence.&nbsp; It them make sense =
to talk about applications filtering based on other values that might be =
more application specific.<o:p></o:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;=
</o:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>I would =
like to see the trust statement moved to a separate item in the list of =
steps.&nbsp; Again this is something that needs to be done, but it can =
be done after step 4 rather than in the filter process.&nbsp; The trust =
statement can be made to be more general that what is current stated. =
&nbsp;That is the trust decision may be made based on internal =
application information, generic information or an external certificate =
validation process. &nbsp;In some cases the trust decision may be =
determined to be implicit based on the source of the key.&nbsp; =
&nbsp;&nbsp;I would make this general rather than specific.&nbsp; That =
is to say I would say that a binding of trust needs to be made, and the =
following items should be considered in the list of things to be =
included.&nbsp; This should not and would not be presented as an =
exhaustive list but should be somewhat complete.&nbsp; That is getting =
this from a jku has a degree of trust that a jkw does not =
have.<o:p></o:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;=
</o:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>Jim<o:p></o=
:p></span></pre><pre><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;=
</o:p></span></pre><pre><o:p>&nbsp;</o:p></pre><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0267_01CF1838.5D6A5A80--


From ietf-secretariat-reply@ietf.org  Sat Jan 25 12:51:02 2014
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EFFF1A003A for <jose@ietfa.amsl.com>; Sat, 25 Jan 2014 12:51:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 J7xbnysM_gVV for <jose@ietfa.amsl.com>; Sat, 25 Jan 2014 12:51:01 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 221C11A005F for <jose@ietf.org>; Sat, 25 Jan 2014 12:50:58 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
To: jose@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140125205058.32463.96388.idtracker@ietfa.amsl.com>
Date: Sat, 25 Jan 2014 12:50:58 -0800
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Subject: [jose] Milestones changed for jose WG
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Jan 2014 20:51:02 -0000

Changed milestone "WGLC JSON object integrity document.", set due date
to January 2014 from October 2013, added
draft-ietf-jose-json-web-signature to milestone.

Changed milestone "WGLC JSON object encryption document.", set due
date to January 2014 from October 2013, added
draft-ietf-jose-json-web-encryption to milestone.

Changed milestone "WGLC JSON key format document.", set due date to
January 2014 from October 2013, added draft-ietf-jose-json-web-key to
milestone.

Changed milestone "WGLC JSON algorithm document.", set due date to
January 2014 from October 2013, added
draft-ietf-jose-json-web-algorithms to milestone.

Changed milestone "WGLC JSON private and symmetric key document.", set
due date to January 2014 from October 2013, added
draft-ietf-jose-json-web-algorithms, draft-ietf-jose-json-web-key to
milestone.

Changed milestone "WGLC JSON private and symmetric key protection
document.", set due date to January 2014 from October 2013, added
draft-ietf-jose-json-web-algorithms,
draft-ietf-jose-json-web-encryption, draft-ietf-jose-json-web-key to
milestone.

URL: http://datatracker.ietf.org/wg/jose/charter/

From anders.rundgren.net@gmail.com  Wed Jan 29 08:59:30 2014
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7D051A0440 for <jose@ietfa.amsl.com>; Wed, 29 Jan 2014 08:59:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, 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 j5J73vfoc5Ke for <jose@ietfa.amsl.com>; Wed, 29 Jan 2014 08:59:29 -0800 (PST)
Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by ietfa.amsl.com (Postfix) with ESMTP id E71E11A043C for <jose@ietf.org>; Wed, 29 Jan 2014 08:59:25 -0800 (PST)
Received: by mail-wg0-f41.google.com with SMTP id n12so8590926wgh.2 for <jose@ietf.org>; Wed, 29 Jan 2014 08:59:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=RYo04TTF7ExB8l9BiB5QPiGXIilfS83iBpiEw/256bs=; b=WjC9mAGSQVgagzJRgLaD1Oi+PQuUyTYeZY8yya9l0UKxE6tVSzXbP7QPSFncpt592/ vkj0U4CP5oj5dmaeaM8XkKwL2oAl9Wmd2ns6DeQ+V4067tgNOCGcXoOP5/2WE+4O/RQt GOVm8/n1uSdDDL3Gm/XzI2jkCZeE+tHNGupsPEMJLsqByN4o/PT+YYFlGE2RK2bA0KmU 08vpamfw4cCVo70ab5rStiZN/jbmpJ6qCspoEW9Qy5ugAatgUUG6ajqHXwc9a6Qfz4v7 E+Uw5KmNaRqHf076K6E2TibzO238t2ejRC8N0qfOYCm/DTJURUM7xiv5y24bVfJQzJPP KEXA==
X-Received: by 10.194.104.39 with SMTP id gb7mr916079wjb.69.1391014762389; Wed, 29 Jan 2014 08:59:22 -0800 (PST)
Received: from [192.168.1.33] (66.100.176.95.rev.sfr.net. [95.176.100.66]) by mx.google.com with ESMTPSA id t6sm7689536wix.4.2014.01.29.08.59.21 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 08:59:21 -0800 (PST)
Message-ID: <52E93364.3000709@gmail.com>
Date: Wed, 29 Jan 2014 17:59:16 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [jose] WebCrypto/JCS Integration
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jan 2014 16:59:31 -0000

If you are the proud (?) owner of an Internet Explorer V11 or have recently downloaded "Chromium"
(and enabled "Experimental Web Platform features") you may be able to run a 20 second test/demo of a
system which integrates native browser/platform keys and crypto with JSON-based clear-text signatures:

https://mobilepki.org/jcs

Feel free reporting any problems you find including if you think that the WebCrypto code isn't
exactly what it should be.  Promises is a pattern I haven't used before.  Note the the Explorer
code is quite different to Chromium's since they are currently at different development stages,
and we are still waiting for the LC.

Enjoy!
Anders

From mamille2@cisco.com  Thu Jan 30 10:15:32 2014
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9094C1A042D for <jose@ietfa.amsl.com>; Thu, 30 Jan 2014 10:15:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.036
X-Spam-Level: 
X-Spam-Status: No, score=-15.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.535, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 gEApph607J_t for <jose@ietfa.amsl.com>; Thu, 30 Jan 2014 10:15:30 -0800 (PST)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id 950011A0419 for <jose@ietf.org>; Thu, 30 Jan 2014 10:15:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1707; q=dns/txt; s=iport; t=1391105727; x=1392315327; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=v2CZivGU/cOodhULUzUSMR90cWjRnaGZBcdvx6aaKbE=; b=dptNqWnUpPFDnOz/rPrXddX3Ppn+EUVmrAB1rflj8pkLgOqXNULbB6/h 5+cqZC3HED6AmlDXU5bmAqznxwCiNGwf/dRpnSsgB4dx69MNscUqbNkCg nXcq1d5xDW/v3clLsEIO7Y90Kk11Eef0HD5A2x9JWP8bZ3Shz6grJNA+s Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsILAMSV6lKtJV2c/2dsb2JhbABZgww4V6dClWKBDBZ0giUBAQEEdAQRCxgJFg8JAwIBAgErGgYBDAYCAQGIAcwtF45POoQ4AQOJETiOX5Ifg02CCg
X-IronPort-AV: E=Sophos;i="4.95,751,1384300800"; d="scan'208";a="300606887"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-1.cisco.com with ESMTP; 30 Jan 2014 18:15:27 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id s0UIFQqH017579 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 30 Jan 2014 18:15:26 GMT
Received: from excelsior.local (10.129.24.73) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 30 Jan 2014 12:15:26 -0600
Message-ID: <52EA96BD.1070000@cisco.com>
Date: Thu, 30 Jan 2014 11:15:25 -0700
From: Matt Miller <mamille2@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "Manger, James H" <James.H.Manger@team.telstra.com>, "<jose@ietf.org>" <jose@ietf.org>
References: <255B9BB34FB7D647A506DC292726F6E11536158EAB@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E11536158EAB@WSMSG3153V.srv.dir.telstra.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.129.24.73]
Subject: Re: [jose] PBE salt should include alg id
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jan 2014 18:15:32 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 11/7/13, 5:51 PM, Manger, James H wrote:
> JWA section 4.9 ?Key Encryption with PBES2? should follow the 
> recommendation of the PBES2 spec [RFC 2898 section 4.1 ?Salt?] by 
> including in the salt ?data that explicitly distinguishes between 
> different operations and different key lengths?.
> 
> 
> 
> We can do this quite easily in JWA by including the alg value (eg 
> ?PBES2-HS384+A192KW?) in the salt. I suggest:
> 
> 
> 
> salt = UTF8(alg) || 0x00 || BASE64URL_DECODE(p2s)
> 
> 
> 

When I read and interpreted that section, it came across as a
consideration for applications using PBES2 in JOSE.  I probably should
have pointed that out in my initial work on this.  C'est la vie.

That said, I personally don't have a problem with this change.
However, it does break existing implementations.  Given the stage
these drafts are in, it might be less disruptive to include
considerations and recommendations for applications.


- -- 
- - m&m

Matt Miller < mamille2@cisco.com >
Cisco Systems, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJS6pa9AAoJEDWi+S0W7cO1pbsIAIaX0FE/nvSV800Bmb+Ys7Yb
HQe97Yg1dAM136IBi1/jiVdsIv/wHI9a3cANx++d4ztuUwL2JbU4v/X1QIkHm8d8
bExZAqRCFUVq1w90NMDsUftX+/hCLqE+qd/zE7TfNbHvdYrV5inLIrkEOXUwOsRR
mkywGSpTRJBsZIl28SBfJXsXZjEfsawGCgCpNC/1nKMffl1yfDHmayK3NhVjKOhn
KTxPqNSnLs4jaJ9Fz2Euv/HIUEVN63BV/xzSlIL/bChCV+k3q3RLbUZMEaidBCf6
PBG0zUoIj56VyHjMB0OyQHWkP20usBYqvJDKqihuFI39QVez5JSdKuLOFzTpsv0=
=bMA2
-----END PGP SIGNATURE-----

From James.H.Manger@team.telstra.com  Thu Jan 30 16:59:18 2014
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23EF51A04F1 for <jose@ietfa.amsl.com>; Thu, 30 Jan 2014 16:59:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.202
X-Spam-Level: 
X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RCVD_IN_DNSWL_NONE=-0.0001, RELAY_IS_203=0.994] autolearn=no
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 vsIEvKagjOqm for <jose@ietfa.amsl.com>; Thu, 30 Jan 2014 16:59:16 -0800 (PST)
Received: from ipxbvo.tcif.telstra.com.au (ipxbvo.tcif.telstra.com.au [203.35.135.204]) by ietfa.amsl.com (Postfix) with ESMTP id 077A11A04EE for <jose@ietf.org>; Thu, 30 Jan 2014 16:59:15 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.95,753,1384261200"; d="scan'208";a="191478359"
Received: from unknown (HELO ipccvi.tcif.telstra.com.au) ([10.97.217.208]) by ipobvi.tcif.telstra.com.au with ESMTP; 31 Jan 2014 11:59:10 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,7334"; a="190928359"
Received: from wsmsg3705.srv.dir.telstra.com ([172.49.40.203]) by ipccvi.tcif.telstra.com.au with ESMTP; 31 Jan 2014 11:58:10 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3705.srv.dir.telstra.com ([172.49.40.203]) with mapi; Fri, 31 Jan 2014 11:58:10 +1100
From: "Manger, James" <James.H.Manger@team.telstra.com>
To: Matt Miller <mamille2@cisco.com>, "<jose@ietf.org>" <jose@ietf.org>
Date: Fri, 31 Jan 2014 11:58:09 +1100
Thread-Topic: [jose] PBE salt should include alg id
Thread-Index: Ac8d50Uc2ub4wil4Qq+QdJVTQ8SfBAAMjnug
Message-ID: <255B9BB34FB7D647A506DC292726F6E11539FEE229@WSMSG3153V.srv.dir.telstra.com>
References: <255B9BB34FB7D647A506DC292726F6E11536158EAB@WSMSG3153V.srv.dir.telstra.com> <52EA96BD.1070000@cisco.com>
In-Reply-To: <52EA96BD.1070000@cisco.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Subject: Re: [jose] PBE salt should include alg id
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 00:59:18 -0000

PiBPbiAxMS83LzEzLCA1OjUxIFBNLCBNYW5nZXIsIEphbWVzIEggd3JvdGU6DQo+ID4gSldBIHNl
Y3Rpb24gNC45ID9LZXkgRW5jcnlwdGlvbiB3aXRoIFBCRVMyPyBzaG91bGQgZm9sbG93IHRoZQ0K
PiA+IHJlY29tbWVuZGF0aW9uIG9mIHRoZSBQQkVTMiBzcGVjIFtSRkMgMjg5OCBzZWN0aW9uIDQu
MSA/U2FsdD9dIGJ5DQo+ID4gaW5jbHVkaW5nIGluIHRoZSBzYWx0ID9kYXRhIHRoYXQgZXhwbGlj
aXRseSBkaXN0aW5ndWlzaGVzIGJldHdlZW4NCj4gPiBkaWZmZXJlbnQgb3BlcmF0aW9ucyBhbmQg
ZGlmZmVyZW50IGtleSBsZW5ndGhzPy4NCj4gPg0KPiA+IFdlIGNhbiBkbyB0aGlzIHF1aXRlIGVh
c2lseSBpbiBKV0EgYnkgaW5jbHVkaW5nIHRoZSBhbGcgdmFsdWUgKGVnDQo+ID4gP1BCRVMyLUhT
Mzg0K0ExOTJLVz8pIGluIHRoZSBzYWx0LiBJIHN1Z2dlc3Q6DQo+ID4NCj4gPiBzYWx0ID0gVVRG
OChhbGcpIHx8IDB4MDAgfHwgQkFTRTY0VVJMX0RFQ09ERShwMnMpDQoNCg0KTWF0dCByZXBsaWVk
OiANCj4gV2hlbiBJIHJlYWQgYW5kIGludGVycHJldGVkIHRoYXQgc2VjdGlvbiwgaXQgY2FtZSBh
Y3Jvc3MgYXMgYQ0KPiBjb25zaWRlcmF0aW9uIGZvciBhcHBsaWNhdGlvbnMgdXNpbmcgUEJFUzIg
aW4gSk9TRS4gIEkgcHJvYmFibHkgc2hvdWxkDQo+IGhhdmUgcG9pbnRlZCB0aGF0IG91dCBpbiBt
eSBpbml0aWFsIHdvcmsgb24gdGhpcy4gIEMnZXN0IGxhIHZpZS4NCj4gDQo+IFRoYXQgc2FpZCwg
SSBwZXJzb25hbGx5IGRvbid0IGhhdmUgYSBwcm9ibGVtIHdpdGggdGhpcyBjaGFuZ2UuDQo+IEhv
d2V2ZXIsIGl0IGRvZXMgYnJlYWsgZXhpc3RpbmcgaW1wbGVtZW50YXRpb25zLiAgR2l2ZW4gdGhl
IHN0YWdlDQo+IHRoZXNlIGRyYWZ0cyBhcmUgaW4sIGl0IG1pZ2h0IGJlIGxlc3MgZGlzcnVwdGl2
ZSB0byBpbmNsdWRlDQo+IGNvbnNpZGVyYXRpb25zIGFuZCByZWNvbW1lbmRhdGlvbnMgZm9yIGFw
cGxpY2F0aW9ucy4NCg0KDQpNYXR0LA0KDQpJJ20gbm90IHN1cmUgd2hhdCB5b3UgbWVhbiBieSAi
aW5jbHVkZSBjb25zaWRlcmF0aW9ucyBhbmQgcmVjb21tZW5kYXRpb25zIGZvciBhcHBsaWNhdGlv
bnMiLg0KRG8geW91IG1lYW4gSldBIHNlY3Rpb24gNC44LjEuMS4gInAycyAoUEJFUzIgc2FsdCkg
UGFyYW1ldGVyIiBzaG91bGQgc2F5Og0KICAiQSBzYWx0IE1VU1QgaW5jbHVkZSA4IG9yIG1vcmUg
cmFuZG9tIG9jdGV0cywgYW5kIGNhbiBpbmNsdWRlIHRoZSAiYWxnIiB2YWx1ZSINCg0KSSBkb24n
dCB0aGluayB0aGF0IGhlbHBzLiBUaGUgaXNzdWUgaXMgdGhhdCB0aGUgSk9TRSAqcmVjaXBpZW50
KiBuZWVkcyB0byBlbnN1cmUgdGhlIGNvcnJlY3QgImFsZyIgdmFsdWUgaXMgaW4gdGhlIHNhbHQu
DQoNCk9yIGFyZSB5b3Ugc3VnZ2VzdGluZyBhcHAtc3BlY2lmaWMgcHJvZmlsZXMgb2YgSk9TRSBj
YW4gYWRkIGEgcmVxdWlyZW1lbnQ6DQogICJBIHNhbHQgTVVTVCBpbmNsdWRlIHRoZSAiYWxnIiB2
YWx1ZSBhbmQgOCBvciBtb3JlIHJhbmRvbSBvY3RldHMuIEEgcmVjaXBpZW50IE1VU1QgY29uZmly
bSB0aGF0IHRoZSAicDJzIiB2YWx1ZSAoYWZ0ZXIgYmFzZTY0dXJsLWRlY29kaW5nKSBzdGFydHMg
d2l0aCB0aGUgImFsZyIgdmFsdWUuIg0KDQpUaGF0IHdvdWxkIHRoZW9yZXRpY2FsbHkgd29yaywg
ZXhjZXB0IHRoYXQgaXQgYWRkcyBhYm91dCAzMCBieXRlcyB0byBtZXNzYWdlcywgaXMgZWFzaWx5
IGlnbm9yZWQsIGFuZCBpcyBhd2t3YXJkIHRvIGltcGxlbWVudCBhcyBpdCByZXF1aXJlcyBhbiBh
cHAtc3BlY2lmaWMgcnVsZSB0byBiZSBlbmZvcmNlZCBkZWVwIGluc2lkZSBhcHAtYWdub3N0aWMg
Sk9TRSBsaWJyYXJpZXMuDQoNCiJwMnMiIGhhcyBvbmx5IGJlZW4gaW4gdGhlIGRyYWZ0cyBmb3Ig
NiBtb250aHMuDQpDYW4ndCB3ZSBmaXggaXQgcHJvcGVybHk/DQoNCi0tDQpKYW1lcyBNYW5nZXIN
Cg==

From Michael.Jones@microsoft.com  Thu Jan 30 17:10:11 2014
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48B4B1A04EE for <jose@ietfa.amsl.com>; Thu, 30 Jan 2014 17:10:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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 fOyKciWZNdWX for <jose@ietfa.amsl.com>; Thu, 30 Jan 2014 17:10:09 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0212.outbound.protection.outlook.com [207.46.163.212]) by ietfa.amsl.com (Postfix) with ESMTP id B92461A04E2 for <jose@ietf.org>; Thu, 30 Jan 2014 17:10:08 -0800 (PST)
Received: from DM2PR03CA008.namprd03.prod.outlook.com (10.141.52.156) by BY2PR03MB074.namprd03.prod.outlook.com (10.255.241.154) with Microsoft SMTP Server (TLS) id 15.0.859.15; Fri, 31 Jan 2014 01:10:03 +0000
Received: from BL2FFO11FD048.protection.gbl (2a01:111:f400:7c09::179) by DM2PR03CA008.outlook.office365.com (2a01:111:e400:2414::28) with Microsoft SMTP Server (TLS) id 15.0.868.8 via Frontend Transport; Fri, 31 Jan 2014 01:10:03 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD048.mail.protection.outlook.com (10.173.161.210) with Microsoft SMTP Server (TLS) id 15.0.856.14 via Frontend Transport; Fri, 31 Jan 2014 01:10:02 +0000
Received: from TK5EX14MBXC288.redmond.corp.microsoft.com ([169.254.3.129]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.03.0158.001; Fri, 31 Jan 2014 01:09:31 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Manger, James" <James.H.Manger@team.telstra.com>, Matt Miller <mamille2@cisco.com>, "<jose@ietf.org>" <jose@ietf.org>
Thread-Topic: [jose] PBE salt should include alg id
Thread-Index: Ac7cHLJnGKhPO+FXRQOSbPZhHYsMrBByoyuAAA4Qt4AAAEkQQA==
Date: Fri, 31 Jan 2014 01:09:30 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739438A6C1D69@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <255B9BB34FB7D647A506DC292726F6E11536158EAB@WSMSG3153V.srv.dir.telstra.com> <52EA96BD.1070000@cisco.com> <255B9BB34FB7D647A506DC292726F6E11539FEE229@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E11539FEE229@WSMSG3153V.srv.dir.telstra.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.78]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(6009001)(13464003)(199002)(189002)(24454002)(377454003)(479174003)(51704005)(52604005)(66066001)(6806004)(83322001)(54316002)(23726002)(19580405001)(44976005)(65816001)(19580395003)(80022001)(94946001)(76786001)(81342001)(93136001)(92726001)(86362001)(77096001)(93516002)(76796001)(69226001)(59766001)(47446002)(20776003)(47776003)(63696002)(74502001)(31966008)(74662001)(81542001)(55846006)(74366001)(74706001)(74876001)(50466002)(56776001)(46406003)(76482001)(94316002)(53806001)(54356001)(15975445006)(92566001)(2656002)(49866001)(87266001)(47976001)(50986001)(87936001)(79102001)(77982001)(33656001)(85852003)(4396001)(56816005)(81816001)(51856001)(83072002)(46102001)(85306002)(47736001)(81686001)(90146001)(80976001)(491001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB074; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; InfoDomainNonexistentA:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0108A997B2
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] PBE salt should include alg id
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 01:10:11 -0000

Given that the PBE algorithms are recent additions that I don't believe hav=
e been widely deployed, I'm personally OK with making this change, if the c=
onsensus is that it's the right thing to do from a security perspective.

Thanks for bringing this to our attention, James.

				-- Mike

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Manger, James
Sent: Thursday, January 30, 2014 4:58 PM
To: Matt Miller; <jose@ietf.org>
Subject: Re: [jose] PBE salt should include alg id

> On 11/7/13, 5:51 PM, Manger, James H wrote:
> > JWA section 4.9 ?Key Encryption with PBES2? should follow the=20
> > recommendation of the PBES2 spec [RFC 2898 section 4.1 ?Salt?] by=20
> > including in the salt ?data that explicitly distinguishes between=20
> > different operations and different key lengths?.
> >
> > We can do this quite easily in JWA by including the alg value (eg
> > ?PBES2-HS384+A192KW?) in the salt. I suggest:
> >
> > salt =3D UTF8(alg) || 0x00 || BASE64URL_DECODE(p2s)


Matt replied:=20
> When I read and interpreted that section, it came across as a=20
> consideration for applications using PBES2 in JOSE.  I probably should=20
> have pointed that out in my initial work on this.  C'est la vie.
>=20
> That said, I personally don't have a problem with this change.
> However, it does break existing implementations.  Given the stage=20
> these drafts are in, it might be less disruptive to include=20
> considerations and recommendations for applications.


Matt,

I'm not sure what you mean by "include considerations and recommendations f=
or applications".
Do you mean JWA section 4.8.1.1. "p2s (PBES2 salt) Parameter" should say:
  "A salt MUST include 8 or more random octets, and can include the "alg" v=
alue"

I don't think that helps. The issue is that the JOSE *recipient* needs to e=
nsure the correct "alg" value is in the salt.

Or are you suggesting app-specific profiles of JOSE can add a requirement:
  "A salt MUST include the "alg" value and 8 or more random octets. A recip=
ient MUST confirm that the "p2s" value (after base64url-decoding) starts wi=
th the "alg" value."

That would theoretically work, except that it adds about 30 bytes to messag=
es, is easily ignored, and is awkward to implement as it requires an app-sp=
ecific rule to be enforced deep inside app-agnostic JOSE libraries.

"p2s" has only been in the drafts for 6 months.
Can't we fix it properly?

--
James Manger
_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

From bcampbell@pingidentity.com  Fri Jan 31 05:47:26 2014
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E29B1A0522 for <jose@ietfa.amsl.com>; Fri, 31 Jan 2014 05:47:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.912
X-Spam-Level: 
X-Spam-Status: No, score=-2.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665] 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 UMgmg3gBXvv3 for <jose@ietfa.amsl.com>; Fri, 31 Jan 2014 05:47:24 -0800 (PST)
Received: from na3sys009aog102.obsmtp.com (na3sys009aog102.obsmtp.com [74.125.149.69]) by ietfa.amsl.com (Postfix) with ESMTP id 0D46C1A011B for <jose@ietf.org>; Fri, 31 Jan 2014 05:47:23 -0800 (PST)
Received: from mail-ig0-f169.google.com ([209.85.213.169]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKUuupYav7eXtdKQBU/yOgZddTu56XhKOe@postini.com; Fri, 31 Jan 2014 05:47:20 PST
Received: by mail-ig0-f169.google.com with SMTP id uq10so925785igb.0 for <jose@ietf.org>; Fri, 31 Jan 2014 05:46:17 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=vziKh4DlopW6BxzfLZyk3xhtZp+kC9hNiIKjxDqUKH0=; b=M9LOH3K2J+Z+UKOo30+kzrLo6pr2kxTgNYHBDq6DTbkEJPskaUNShJJMf+Hzpo54K6 +rtskgjDcz5XagWs9v7nzq7JydvEOe4swoB4UzSOwxWdgc4DO5SrQCgpS9XXS+PE6v2/ 5rZTcJTQhZRpfLibKhKD2xp3mKkb0dfRuLkAWV1GfvVyMm2i0WjJOzn/rhlLmfur+3BL NJhC1/0vEEu753jXDV3aM1NYzI1zbq6auE70/9Cq0IzKIcFw6zcy0yzuvx/yNR5GE/c9 Zd0y4AWUk2lsfJgAm2L/ms1AEHEvFV1Ee+D8I5NUKMilzU0IqTyIVvWNHzmy/qt1emer pT/w==
X-Gm-Message-State: ALoCoQkrW6TsPx1VVemtL7oJolVQfUkY75BKPvykNyTWDH+6bzXfYAKpBC/GuXbQG2TLDNmILRReeV8MCBgz6Uu5tTaxg9Ey5u8ySbx8Yh+vUHIxyIwCjyVAUzlHVbkYTtfCnHBecLfEKDo4Ryw8/MKOLoOb2XA0Vw==
X-Received: by 10.50.222.99 with SMTP id ql3mr19382740igc.42.1391175977046; Fri, 31 Jan 2014 05:46:17 -0800 (PST)
X-Received: by 10.50.222.99 with SMTP id ql3mr19382732igc.42.1391175976927; Fri, 31 Jan 2014 05:46:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.50.65.4 with HTTP; Fri, 31 Jan 2014 05:45:45 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739438A6C1D69@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <255B9BB34FB7D647A506DC292726F6E11536158EAB@WSMSG3153V.srv.dir.telstra.com> <52EA96BD.1070000@cisco.com> <255B9BB34FB7D647A506DC292726F6E11539FEE229@WSMSG3153V.srv.dir.telstra.com> <4E1F6AAD24975D4BA5B16804296739438A6C1D69@TK5EX14MBXC288.redmond.corp.microsoft.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 31 Jan 2014 06:45:45 -0700
Message-ID: <CA+k3eCQw8NKNnz2G5h5uZ8NtVQyf1iGMCA92OEy6-gfTX1+qWA@mail.gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=001a11346b12ecdc1704f144657d
Cc: "Manger, James" <James.H.Manger@team.telstra.com>, "<jose@ietf.org>" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] PBE salt should include alg id
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 13:47:26 -0000

--001a11346b12ecdc1704f144657d
Content-Type: text/plain; charset=ISO-8859-1

As an implementor who's not yet implemented the PBE algorithms, I'm okay
with making changes to them (assuming WG consensus, of course).


On Thu, Jan 30, 2014 at 6:09 PM, Mike Jones <Michael.Jones@microsoft.com>wrote:

> Given that the PBE algorithms are recent additions that I don't believe
> have been widely deployed, I'm personally OK with making this change, if
> the consensus is that it's the right thing to do from a security
> perspective.
>
> Thanks for bringing this to our attention, James.
>
>                                 -- Mike
>
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Manger, James
> Sent: Thursday, January 30, 2014 4:58 PM
> To: Matt Miller; <jose@ietf.org>
> Subject: Re: [jose] PBE salt should include alg id
>
> > On 11/7/13, 5:51 PM, Manger, James H wrote:
> > > JWA section 4.9 ?Key Encryption with PBES2? should follow the
> > > recommendation of the PBES2 spec [RFC 2898 section 4.1 ?Salt?] by
> > > including in the salt ?data that explicitly distinguishes between
> > > different operations and different key lengths?.
> > >
> > > We can do this quite easily in JWA by including the alg value (eg
> > > ?PBES2-HS384+A192KW?) in the salt. I suggest:
> > >
> > > salt = UTF8(alg) || 0x00 || BASE64URL_DECODE(p2s)
>
>
> Matt replied:
> > When I read and interpreted that section, it came across as a
> > consideration for applications using PBES2 in JOSE.  I probably should
> > have pointed that out in my initial work on this.  C'est la vie.
> >
> > That said, I personally don't have a problem with this change.
> > However, it does break existing implementations.  Given the stage
> > these drafts are in, it might be less disruptive to include
> > considerations and recommendations for applications.
>
>
> Matt,
>
> I'm not sure what you mean by "include considerations and recommendations
> for applications".
> Do you mean JWA section 4.8.1.1. "p2s (PBES2 salt) Parameter" should say:
>   "A salt MUST include 8 or more random octets, and can include the "alg"
> value"
>
> I don't think that helps. The issue is that the JOSE *recipient* needs to
> ensure the correct "alg" value is in the salt.
>
> Or are you suggesting app-specific profiles of JOSE can add a requirement:
>   "A salt MUST include the "alg" value and 8 or more random octets. A
> recipient MUST confirm that the "p2s" value (after base64url-decoding)
> starts with the "alg" value."
>
> That would theoretically work, except that it adds about 30 bytes to
> messages, is easily ignored, and is awkward to implement as it requires an
> app-specific rule to be enforced deep inside app-agnostic JOSE libraries.
>
> "p2s" has only been in the drafts for 6 months.
> Can't we fix it properly?
>
> --
> James Manger
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

--001a11346b12ecdc1704f144657d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">As an implementor who&#39;s not yet implemented the PBE al=
gorithms, I&#39;m okay with making changes to them (assuming WG consensus, =
of course). <br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmai=
l_quote">

On Thu, Jan 30, 2014 at 6:09 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Given that the PBE algorithms are recent additions that I don&#39;t believe=
 have been widely deployed, I&#39;m personally OK with making this change, =
if the consensus is that it&#39;s the right thing to do from a security per=
spective.<br>


<br>
Thanks for bringing this to our attention, James.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Mike<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
-----Original Message-----<br>
From: jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ie=
tf.org</a>] On Behalf Of Manger, James<br>
Sent: Thursday, January 30, 2014 4:58 PM<br>
To: Matt Miller; &lt;<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>&gt;=
<br>
Subject: Re: [jose] PBE salt should include alg id<br>
<br>
&gt; On 11/7/13, 5:51 PM, Manger, James H wrote:<br>
&gt; &gt; JWA section 4.9 ?Key Encryption with PBES2? should follow the<br>
&gt; &gt; recommendation of the PBES2 spec [RFC 2898 section 4.1 ?Salt?] by=
<br>
&gt; &gt; including in the salt ?data that explicitly distinguishes between=
<br>
&gt; &gt; different operations and different key lengths?.<br>
&gt; &gt;<br>
&gt; &gt; We can do this quite easily in JWA by including the alg value (eg=
<br>
&gt; &gt; ?PBES2-HS384+A192KW?) in the salt. I suggest:<br>
&gt; &gt;<br>
&gt; &gt; salt =3D UTF8(alg) || 0x00 || BASE64URL_DECODE(p2s)<br>
<br>
<br>
Matt replied:<br>
&gt; When I read and interpreted that section, it came across as a<br>
&gt; consideration for applications using PBES2 in JOSE. =A0I probably shou=
ld<br>
&gt; have pointed that out in my initial work on this. =A0C&#39;est la vie.=
<br>
&gt;<br>
&gt; That said, I personally don&#39;t have a problem with this change.<br>
&gt; However, it does break existing implementations. =A0Given the stage<br=
>
&gt; these drafts are in, it might be less disruptive to include<br>
&gt; considerations and recommendations for applications.<br>
<br>
<br>
Matt,<br>
<br>
I&#39;m not sure what you mean by &quot;include considerations and recommen=
dations for applications&quot;.<br>
Do you mean JWA section 4.8.1.1. &quot;p2s (PBES2 salt) Parameter&quot; sho=
uld say:<br>
=A0 &quot;A salt MUST include 8 or more random octets, and can include the =
&quot;alg&quot; value&quot;<br>
<br>
I don&#39;t think that helps. The issue is that the JOSE *recipient* needs =
to ensure the correct &quot;alg&quot; value is in the salt.<br>
<br>
Or are you suggesting app-specific profiles of JOSE can add a requirement:<=
br>
=A0 &quot;A salt MUST include the &quot;alg&quot; value and 8 or more rando=
m octets. A recipient MUST confirm that the &quot;p2s&quot; value (after ba=
se64url-decoding) starts with the &quot;alg&quot; value.&quot;<br>
<br>
That would theoretically work, except that it adds about 30 bytes to messag=
es, is easily ignored, and is awkward to implement as it requires an app-sp=
ecific rule to be enforced deep inside app-agnostic JOSE libraries.<br>


<br>
&quot;p2s&quot; has only been in the drafts for 6 months.<br>
Can&#39;t we fix it properly?<br>
<br>
--<br>
James Manger<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div>

--001a11346b12ecdc1704f144657d--

From mamille2@cisco.com  Fri Jan 31 10:31:05 2014
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14A521A0522 for <jose@ietfa.amsl.com>; Fri, 31 Jan 2014 10:31:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.036
X-Spam-Level: 
X-Spam-Status: No, score=-15.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.535, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 8t1cz_3Ov6E6 for <jose@ietfa.amsl.com>; Fri, 31 Jan 2014 10:31:02 -0800 (PST)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id 443F51A046F for <jose@ietf.org>; Fri, 31 Jan 2014 10:31:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3322; q=dns/txt; s=iport; t=1391193059; x=1392402659; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=L0u4omRu4e+Jytr5/PQDxujqry0iNocpIbOjpllIpNw=; b=KdC1xXx1YjYZNSVif92k5jNuIe0fN63B+/KR7oy5vAnxrwv2wS92ASIF 76VohSZJPZTKkQmCz0Z2tekYUZopT3cjbVE+2oEWBnGCW7kKMbImWGs4v ihVu28KpawNKfb/JIZsjZdNgKsdjilElWy5yOnSKC69KebR4nojboZIxq M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AugLACnr61KtJV2Y/2dsb2JhbABZgww4V4MBpFeVYoENFnSCJQEBAQQjUQQRCxgCAgUWCwICCQMCAQIBRQYBDAYCAQGIAatcoScXgSmNJjqCb4FJAQOJSY5hkiGDTYIK
X-IronPort-AV: E=Sophos;i="4.95,759,1384300800"; d="scan'208";a="301080418"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by rcdn-iport-3.cisco.com with ESMTP; 31 Jan 2014 18:30:58 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id s0VIUwPo028253 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 31 Jan 2014 18:30:58 GMT
Received: from jack.cisco.com (64.101.72.76) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 31 Jan 2014 12:30:58 -0600
Message-ID: <52EBEBE1.9060009@cisco.com>
Date: Fri, 31 Jan 2014 11:30:57 -0700
From: Matt Miller <mamille2@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "Manger, James" <James.H.Manger@team.telstra.com>, "<jose@ietf.org>" <jose@ietf.org>
References: <255B9BB34FB7D647A506DC292726F6E11536158EAB@WSMSG3153V.srv.dir.telstra.com> <52EA96BD.1070000@cisco.com> <255B9BB34FB7D647A506DC292726F6E11539FEE229@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E11539FEE229@WSMSG3153V.srv.dir.telstra.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [64.101.72.76]
Subject: Re: [jose] PBE salt should include alg id
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jan 2014 18:31:05 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 1/30/14, 5:58 PM, Manger, James wrote:
>> On 11/7/13, 5:51 PM, Manger, James H wrote:
>>> JWA section 4.9 ?Key Encryption with PBES2? should follow the 
>>> recommendation of the PBES2 spec [RFC 2898 section 4.1 ?Salt?]
>>> by including in the salt ?data that explicitly distinguishes
>>> between different operations and different key lengths?.
>>> 
>>> We can do this quite easily in JWA by including the alg value
>>> (eg ?PBES2-HS384+A192KW?) in the salt. I suggest:
>>> 
>>> salt = UTF8(alg) || 0x00 || BASE64URL_DECODE(p2s)
> 
> 
> Matt replied:
>> When I read and interpreted that section, it came across as a 
>> consideration for applications using PBES2 in JOSE.  I probably
>> should have pointed that out in my initial work on this.  C'est
>> la vie.
>> 
>> That said, I personally don't have a problem with this change. 
>> However, it does break existing implementations.  Given the
>> stage these drafts are in, it might be less disruptive to
>> include considerations and recommendations for applications.
> 
> 
> Matt,
> 
> I'm not sure what you mean by "include considerations and
> recommendations for applications". Do you mean JWA section 4.8.1.1.
> "p2s (PBES2 salt) Parameter" should say: "A salt MUST include 8 or
> more random octets, and can include the "alg" value"
> 
> I don't think that helps. The issue is that the JOSE *recipient*
> needs to ensure the correct "alg" value is in the salt.
> 
> Or are you suggesting app-specific profiles of JOSE can add a
> requirement: "A salt MUST include the "alg" value and 8 or more
> random octets. A recipient MUST confirm that the "p2s" value (after
> base64url-decoding) starts with the "alg" value."
> 
> That would theoretically work, except that it adds about 30 bytes
> to messages, is easily ignored, and is awkward to implement as it
> requires an app-specific rule to be enforced deep inside
> app-agnostic JOSE libraries.
> 
> "p2s" has only been in the drafts for 6 months. Can't we fix it
> properly?
> 
> -- James Manger
> 

I was suggesting that app-specific profiles can add a requirement, as
suits their needs -- maybe it's what you wrote, maybe it's something
else.  That's why I think there's two parts to that section in RFC 2898.

I don't think it requires app-agnostic libraries to enforce.  It does
require the application to enforce it's own policies, although how
awkward it is depends on how accessible this information out of the
JOSE library.

But this might all be moot if no one objects to the breaking change.


- -- 
- - m&m

Matt Miller < mamille2@cisco.com >
Cisco Systems, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJS6+vhAAoJEDWi+S0W7cO1r3QIAJg84Jfbn2XLs/n71arXAd/x
kF6+pAVlJYxHjbxL5mp9KRHjNiA56XrncnFoeQs2pgFnnexpDB9EXNiVyxR75mG6
BKYZB8T/cGADW8gv9f6yu4PyoZeyM76qhXzMoOVeXIEKrNQNg+pBUtv/wLATs6Qq
I2K4r2LlaopVy1gwkhlsKsU/x2dWZVSXCgqwwxGXZVpXmKTp5TY1XoFhTS+Lk2OC
hHDLbvkxGrlKKHofLaTDc+K77NGt40uHgnhJ+3CVGeu8PU9dZB3YbukrDf3PSh7A
bdGkqGoMWOB72+cdav3kXPITfQFEB5IffVT2xG8O0pdfT6zU0+UbO25Xq6u+R3A=
=dJsJ
-----END PGP SIGNATURE-----
