
From nobody Thu May  1 00:03:36 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 0B6161A0A15 for <jose@ietfa.amsl.com>; Thu,  1 May 2014 00:03:34 -0700 (PDT)
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 ioDvFm3Z48Jx for <jose@ietfa.amsl.com>; Thu,  1 May 2014 00:03:31 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0190.outbound.protection.outlook.com [207.46.163.190]) by ietfa.amsl.com (Postfix) with ESMTP id AF28A1A0A29 for <jose@ietf.org>; Thu,  1 May 2014 00:03:30 -0700 (PDT)
Received: from BL2PR03CA021.namprd03.prod.outlook.com (10.141.66.29) by BL2PR03MB228.namprd03.prod.outlook.com (10.255.231.21) with Microsoft SMTP Server (TLS) id 15.0.929.12; Thu, 1 May 2014 07:03:26 +0000
Received: from BL2FFO11FD036.protection.gbl (2a01:111:f400:7c09::169) by BL2PR03CA021.outlook.office365.com (2a01:111:e400:c1b::29) with Microsoft SMTP Server (TLS) id 15.0.929.12 via Frontend Transport; Thu, 1 May 2014 07:03:27 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD036.mail.protection.outlook.com (10.173.161.132) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Thu, 1 May 2014 07:03:26 +0000
Received: from TK5EX14MBXC288.redmond.corp.microsoft.com ([169.254.3.63]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.03.0174.002; Thu, 1 May 2014 07:02:56 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Hollenbeck, Scott" <shollenbeck@verisign.com>, Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-25
Thread-Index: AQHPU2RzcJshBhie6kap9ZpttPs22psrbfmQ
Date: Thu, 1 May 2014 07:02:55 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439A1A145A@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <CA+k3eCRFLNz0d7BRUzBN7zK2-UPor7C+UwzFgA5XqPM0TBC=RQ@mail.gmail.com>
In-Reply-To: <CA+k3eCRFLNz0d7BRUzBN7zK2-UPor7C+UwzFgA5XqPM0TBC=RQ@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.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739439A1A145ATK5EX14MBXC288r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(438001)(377454003)(51914003)(51444003)(189002)(199002)(24454002)(13464003)(15202345003)(77982001)(66066001)(92566001)(92726001)(86612001)(46102001)(20776003)(16236675002)(80022001)(33656001)(74662001)(512954002)(74502001)(31966008)(86362001)(85852003)(2656002)(79102001)(97736001)(83072002)(2009001)(84326002)(84676001)(81542001)(50986999)(99396002)(76176999)(54356999)(15975445006)(6806004)(4396001)(19300405004)(19580405001)(19580395003)(83322001)(44976005)(55846006)(76482001)(87936001)(81342001)(71186001)(80976001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB228; H:mail.microsoft.com; FPR:DA2EF23F.AFF2501D.32E37FC9.4326FD6A.2031E; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 01986AE76B
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/zkQQoZ0kX6u8BO4RJVnXtl-xMxE
Cc: "Kaliski, Burt" <bkaliski@verisign.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-25
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, 01 May 2014 07:03:34 -0000

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

http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3=
.4 has been augmented to clarify that the R and S representations conform t=
o SEC1.  I hope that this addresses the issue that you raised, Scott.  And =
thanks for the useful follow-up comments, Brian.

                                                            Thanks all,
                                                            -- Mike

From: Brian Campbell [mailto:bcampbell@pingidentity.com]
Sent: Tuesday, April 08, 2014 12:43 PM
To: Mike Jones
Cc: Hollenbeck, Scott; jose@ietf.org; Kaliski, Burt
Subject: Re: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorit=
hms-25

But that section (6.2.1.2) is about the EC parameters x and y in JWK. The c=
omment was about the ECDSA signature values R & S in section 3.4 for JWS. I=
 believe that Scott is correct in saying that it is currently ambiguous and=
 could be clarified. I think that left zero padding is what was intended an=
d what most of us have (eventually) inferred should be done. But it should =
probably be stated explicitly.

On Mon, Apr 7, 2014 at 3:57 PM, Mike Jones <Michael.Jones@microsoft.com<mai=
lto:Michael.Jones@microsoft.com>> wrote:

Thanks for the useful reviews, Scott and Burt.  Replies are inline.

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>] On =
Behalf Of Hollenbeck, Scott
Sent: Friday, April 04, 2014 5:43 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Cc: Kaliski, Burt
Subject: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-=
25

Sec. 3.4:  For ECDSA P-521 SHA-512, as noted, "R and S will be 521 bits eac=
h, resulting in a 132-octet sequence."  Unclear how R and S are to be conve=
rted into respective 66-octet values (pad with 0 bits on the left versus ri=
ght).  Should be consistent with practice in other specifications, e.g., IE=
EE 1363.



Per http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#secti=
on-6.2.1.2, this is specified by the SEC1 specification, which the "x" and =
"y" definitions reference.  (SEC1 specifies padding on the left in Section =
2.3.1 - "BitString-to-OctetString Conversion".)

--_000_4E1F6AAD24975D4BA5B16804296739439A1A145ATK5EX14MBXC288r_
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;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
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.EmailStyle18
	{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;
	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"><a href=3D"http://tools.i=
etf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3.4">http://too=
ls.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3.4</a>
 has been augmented to clarify that the R and S representations conform to =
SEC1.&nbsp; I hope that this addresses the issue that you raised, Scott.&nb=
sp; And thanks for the useful follow-up comments, Brian.<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; Thanks all,<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; -- 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;"> Brian Ca=
mpbell [mailto:bcampbell@pingidentity.com]
<br>
<b>Sent:</b> Tuesday, April 08, 2014 12:43 PM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> Hollenbeck, Scott; jose@ietf.org; Kaliski, Burt<br>
<b>Subject:</b> Re: [jose] WG Last Call Comments: draft-ietf-jose-json-web-=
algorithms-25<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">But that section (6.2.1.2) is about the EC parameter=
s x and y in JWK. The comment was about the ECDSA signature values R &amp; =
S in section 3.4 for JWS. I believe that Scott is correct in saying that it=
 is currently ambiguous and could be clarified.
 I think that left zero padding is what was intended and what most of us ha=
ve (eventually) inferred should be done. But it should probably be stated e=
xplicitly.<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, Apr 7, 2014 at 3:57 PM, Mike Jones &lt;<a hr=
ef=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@m=
icrosoft.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p>Thanks for the useful reviews, Scott and Burt.&nbsp; <span style=3D"colo=
r:#00B050">Replies
</span>are inline.<o:p></o:p></p>
<div>
<p>-----Original Message-----<br>
From: jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blan=
k">jose-bounces@ietf.org</a>] On Behalf Of Hollenbeck, Scott<br>
Sent: Friday, April 04, 2014 5:43 PM<br>
To: <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br=
>
Cc: Kaliski, Burt<br>
Subject: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-=
25<o:p></o:p></p>
<p>Sec. 3.4:&nbsp; For ECDSA P-521 SHA-512, as noted, &quot;R and S will be=
 521 bits each, resulting in a 132-octet sequence.&quot;&nbsp; Unclear how =
R and S are to be converted into respective 66-octet values (pad with 0 bit=
s on the left versus right).&nbsp; Should be consistent with
 practice in other specifications, e.g., IEEE 1363.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
</div>
<p><span style=3D"color:#00B050">Per </span><a href=3D"http://tools.ietf.or=
g/html/draft-ietf-jose-json-web-algorithms-25#section-6.2.1.2" target=3D"_b=
lank">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#sec=
tion-6.2.1.2</a><span style=3D"color:#00B050">,
 this is specified by the SEC1 specification, which the &#8220;x&#8221; and=
 &#8220;y&#8221; definitions reference.&nbsp; (SEC1 specifies padding on th=
e left in Section 2.3.1 &#8211; &#8220;BitString-to-OctetString Conversion&=
#8221;.)</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739439A1A145ATK5EX14MBXC288r_--


From nobody Thu May  1 00:10:46 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 20AB41A0A25 for <jose@ietfa.amsl.com>; Thu,  1 May 2014 00:10:44 -0700 (PDT)
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 W2Qjra_52TzV for <jose@ietfa.amsl.com>; Thu,  1 May 2014 00:10:39 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (dns-bn1lp0143.outbound.protection.outlook.com [207.46.163.143]) by ietfa.amsl.com (Postfix) with ESMTP id ABC711A0A24 for <jose@ietf.org>; Thu,  1 May 2014 00:10:38 -0700 (PDT)
Received: from DM2PR03CA010.namprd03.prod.outlook.com (10.141.52.158) by DM2PR03MB558.namprd03.prod.outlook.com (10.141.83.155) with Microsoft SMTP Server (TLS) id 15.0.921.12; Thu, 1 May 2014 07:10:35 +0000
Received: from BL2FFO11FD014.protection.gbl (2a01:111:f400:7c09::136) by DM2PR03CA010.outlook.office365.com (2a01:111:e400:2414::30) with Microsoft SMTP Server (TLS) id 15.0.929.12 via Frontend Transport; Thu, 1 May 2014 07:10:35 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD014.mail.protection.outlook.com (10.173.160.222) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Thu, 1 May 2014 07:10:34 +0000
Received: from TK5EX14MBXC288.redmond.corp.microsoft.com ([169.254.3.63]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0174.002; Thu, 1 May 2014 07:09:11 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] AD review of draft-ietf-jose-json-web-algorithms
Thread-Index: AQHPWkx0MohT4foJy0+5ox2RzsAQFpsWAxPQgABOCICADI7/AIAAPl5QgAhEwzA=
Date: Thu, 1 May 2014 07:09:10 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.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_4E1F6AAD24975D4BA5B16804296739439A1A14A2TK5EX14MBXC288r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(438001)(199002)(189002)(51704005)(51444003)(13464003)(43784003)(24454002)(377454003)(479174003)(164054003)(69224002)(46102001)(86612001)(4396001)(71186001)(20776003)(54356999)(74502001)(77982001)(92566001)(50986999)(31966008)(512874002)(66066001)(16297215004)(83072002)(19300405004)(80976001)(19580405001)(79102001)(85852003)(76482001)(83322001)(16236675002)(76176999)(15975445006)(99396002)(81342001)(80022001)(2656002)(33656001)(84326002)(2009001)(44976005)(81542001)(92726001)(87936001)(55846006)(74662001)(97736001)(86362001)(15202345003)(84676001)(19580395003)(6806004)(579004)(559001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR03MB558; H:mail.microsoft.com; FPR:CE0CDDED.A3F2D3DD.7DDF3D4B.9AAAF960.209D1; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 01986AE76B
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/WDELj8cyl3Vxp90FD3CdOrUQKo4
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Thu, 01 May 2014 07:10:44 -0000

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

VGhlIGFsZ29yaXRobSBuYW1lIOKAnFJTQS1PQUVQLTI1NuKAnSBmb3IgUlNBRVMgT0FFUCB1c2lu
ZyBTSEEtMjU2IGFuZCBNR0YxIHdpdGggU0hBLTI1NiBoYXMgYmVlbiBhZGRlZCBhdCBodHRwOi8v
dG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1pZXRmLWpvc2UtanNvbi13ZWItYWxnb3JpdGhtcy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Cj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgLS0gTWlrZQ0KDQo+DQoNCj4NCg0KDQoNCg0KDQoNCg0KLS0NCg0KDQoNCkJlc3Qg
cmVnYXJkcywNCg0KS2F0aGxlZW4NCg0KDQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fDQoNCmpvc2UgbWFpbGluZyBsaXN0DQoNCmpvc2VAaWV0Zi5vcmc8
bWFpbHRvOmpvc2VAaWV0Zi5vcmc+DQoNCmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlz
dGluZm8vam9zZQ0KDQoNCg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgIFRoYW5rcyBhZ2FpbiwNCg0KICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0tIE1pa2UN
Cg0KDQo=

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBja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mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsgLS0gTWlrZTxvOnA+
PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPjxzcGFuIHN0eWxlPSJj
b2xvcjojMDA3MEMwIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwvYm9k
eT4NCjwvaHRtbD4NCg==

--_000_4E1F6AAD24975D4BA5B16804296739439A1A14A2TK5EX14MBXC288r_--


From nobody Thu May  1 09:12:08 2014
Return-Path: <shollenbeck@verisign.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 F037E1A6F83 for <jose@ietfa.amsl.com>; Thu,  1 May 2014 09:12:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 19XZ3RQi_jAT for <jose@ietfa.amsl.com>; Thu,  1 May 2014 09:12:04 -0700 (PDT)
Received: from exprod6og113.obsmtp.com (exprod6og113.obsmtp.com [64.18.1.31]) by ietfa.amsl.com (Postfix) with ESMTP id 6C0021A08D0 for <jose@ietf.org>; Thu,  1 May 2014 09:12:02 -0700 (PDT)
Received: from osprey.verisign.com ([216.168.239.75]) (using TLSv1) by exprod6ob113.postini.com ([64.18.5.12]) with SMTP ID DSNKU2JyUNpyY+VBmY3q8jOpDMYbHV6cy49y@postini.com; Thu, 01 May 2014 09:12:02 PDT
Received: from BRN1WNEXCHM01.vcorp.ad.vrsn.com (brn1wnexchm01.vcorp.ad.vrsn.com [10.173.152.255]) by osprey.verisign.com (8.13.6/8.13.4) with ESMTP id s41GBxOl004738 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 1 May 2014 12:11:59 -0400
Received: from BRN1WNEXMBX01.vcorp.ad.vrsn.com ([::1]) by BRN1WNEXCHM01.vcorp.ad.vrsn.com ([::1]) with mapi id 14.03.0174.001; Thu, 1 May 2014 12:11:45 -0400
From: "Hollenbeck, Scott" <shollenbeck@verisign.com>
To: Mike Jones <Michael.Jones@microsoft.com>, Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-25
Thread-Index: AQHPU2RzcJshBhie6kap9ZpttPs22psrbfmQgACbV6A=
Date: Thu, 1 May 2014 16:11:58 +0000
Message-ID: <831693C2CDA2E849A7D7A712B24E257F493C5A43@BRN1WNEXMBX01.vcorp.ad.vrsn.com>
References: <CA+k3eCRFLNz0d7BRUzBN7zK2-UPor7C+UwzFgA5XqPM0TBC=RQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1A145A@TK5EX14MBXC288.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439A1A145A@TK5EX14MBXC288.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.173.152.4]
Content-Type: multipart/alternative; boundary="_000_831693C2CDA2E849A7D7A712B24E257F493C5A43BRN1WNEXMBX01vc_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/ucjvXDOB-zYxebLk91L_Q-Dq6tY
Cc: "Kaliski, Burt" <bkaliski@verisign.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-25
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, 01 May 2014 16:12:07 -0000

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

Looks fine to me - thanks!

Scott

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Thursday, May 01, 2014 3:03 AM
To: Hollenbeck, Scott; Brian Campbell
Cc: jose@ietf.org; Kaliski, Burt
Subject: RE: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorit=
hms-25

http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3=
.4 has been augmented to clarify that the R and S representations conform t=
o SEC1.  I hope that this addresses the issue that you raised, Scott.  And =
thanks for the useful follow-up comments, Brian.

                                                            Thanks all,
                                                            -- Mike

From: Brian Campbell [mailto:bcampbell@pingidentity.com]
Sent: Tuesday, April 08, 2014 12:43 PM
To: Mike Jones
Cc: Hollenbeck, Scott; jose@ietf.org<mailto:jose@ietf.org>; Kaliski, Burt
Subject: Re: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorit=
hms-25

But that section (6.2.1.2) is about the EC parameters x and y in JWK. The c=
omment was about the ECDSA signature values R & S in section 3.4 for JWS. I=
 believe that Scott is correct in saying that it is currently ambiguous and=
 could be clarified. I think that left zero padding is what was intended an=
d what most of us have (eventually) inferred should be done. But it should =
probably be stated explicitly.

On Mon, Apr 7, 2014 at 3:57 PM, Mike Jones <Michael.Jones@microsoft.com<mai=
lto:Michael.Jones@microsoft.com>> wrote:

Thanks for the useful reviews, Scott and Burt.  Replies are inline.

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>] On =
Behalf Of Hollenbeck, Scott
Sent: Friday, April 04, 2014 5:43 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Cc: Kaliski, Burt
Subject: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-=
25

Sec. 3.4:  For ECDSA P-521 SHA-512, as noted, "R and S will be 521 bits eac=
h, resulting in a 132-octet sequence."  Unclear how R and S are to be conve=
rted into respective 66-octet values (pad with 0 bits on the left versus ri=
ght).  Should be consistent with practice in other specifications, e.g., IE=
EE 1363.



Per http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#secti=
on-6.2.1.2, this is specified by the SEC1 specification, which the "x" and =
"y" definitions reference.  (SEC1 specifies padding on the left in Section =
2.3.1 - "BitString-to-OctetString Conversion".)

--_000_831693C2CDA2E849A7D7A712B24E257F493C5A43BRN1WNEXMBX01vc_
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;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
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.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#993366;
	font-weight:normal;
	font-style:normal;}
.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-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#993366">Looks fine to me &#8211; thanks!<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#993366"><o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#993366">Scott</span><span style=
=3D"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#993366"><=
o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#993366"><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 [mailto:Michael.Jones@microsoft.com]
<br>
<b>Sent:</b> Thursday, May 01, 2014 3:03 AM<br>
<b>To:</b> Hollenbeck, Scott; Brian Campbell<br>
<b>Cc:</b> jose@ietf.org; Kaliski, Burt<br>
<b>Subject:</b> RE: [jose] WG Last Call Comments: draft-ietf-jose-json-web-=
algorithms-25<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"><a href=3D"http://tools.i=
etf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3.4">http://too=
ls.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3.4</a>
 has been augmented to clarify that the R and S representations conform to =
SEC1.&nbsp; I hope that this addresses the issue that you raised, Scott.&nb=
sp; And thanks for the useful follow-up comments, Brian.<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; Thanks all,<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; -- 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;"> Brian Ca=
mpbell [<a href=3D"mailto:bcampbell@pingidentity.com">mailto:bcampbell@ping=
identity.com</a>]
<br>
<b>Sent:</b> Tuesday, April 08, 2014 12:43 PM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> Hollenbeck, Scott; <a href=3D"mailto:jose@ietf.org">jose@ietf.or=
g</a>; Kaliski, Burt<br>
<b>Subject:</b> Re: [jose] WG Last Call Comments: draft-ietf-jose-json-web-=
algorithms-25<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">But that section (6.2.1.2) is about the EC parameter=
s x and y in JWK. The comment was about the ECDSA signature values R &amp; =
S in section 3.4 for JWS. I believe that Scott is correct in saying that it=
 is currently ambiguous and could be clarified.
 I think that left zero padding is what was intended and what most of us ha=
ve (eventually) inferred should be done. But it should probably be stated e=
xplicitly.<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, Apr 7, 2014 at 3:57 PM, Mike Jones &lt;<a hr=
ef=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@m=
icrosoft.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p>Thanks for the useful reviews, Scott and Burt.&nbsp; <span style=3D"colo=
r:#00B050">Replies
</span>are inline.<o:p></o:p></p>
<div>
<p>-----Original Message-----<br>
From: jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blan=
k">jose-bounces@ietf.org</a>] On Behalf Of Hollenbeck, Scott<br>
Sent: Friday, April 04, 2014 5:43 PM<br>
To: <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br=
>
Cc: Kaliski, Burt<br>
Subject: [jose] WG Last Call Comments: draft-ietf-jose-json-web-algorithms-=
25<o:p></o:p></p>
<p>Sec. 3.4:&nbsp; For ECDSA P-521 SHA-512, as noted, &quot;R and S will be=
 521 bits each, resulting in a 132-octet sequence.&quot;&nbsp; Unclear how =
R and S are to be converted into respective 66-octet values (pad with 0 bit=
s on the left versus right).&nbsp; Should be consistent with
 practice in other specifications, e.g., IEEE 1363.<o:p></o:p></p>
<p>&nbsp;<o:p></o:p></p>
</div>
<p><span style=3D"color:#00B050">Per </span><a href=3D"http://tools.ietf.or=
g/html/draft-ietf-jose-json-web-algorithms-25#section-6.2.1.2" target=3D"_b=
lank">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#sec=
tion-6.2.1.2</a><span style=3D"color:#00B050">,
 this is specified by the SEC1 specification, which the &#8220;x&#8221; and=
 &#8220;y&#8221; definitions reference.&nbsp; (SEC1 specifies padding on th=
e left in Section 2.3.1 &#8211; &#8220;BitString-to-OctetString Conversion&=
#8221;.)</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_831693C2CDA2E849A7D7A712B24E257F493C5A43BRN1WNEXMBX01vc_--


From nobody Thu May  1 10:46:53 2014
Return-Path: <kathleen.moriarty.ietf@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 DA1091A6FD9 for <jose@ietfa.amsl.com>; Thu,  1 May 2014 10:46:50 -0700 (PDT)
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 LT1B2SJXbRLk for <jose@ietfa.amsl.com>; Thu,  1 May 2014 10:46:47 -0700 (PDT)
Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 55F451A6FCF for <jose@ietf.org>; Thu,  1 May 2014 10:46:47 -0700 (PDT)
Received: by mail-lb0-f175.google.com with SMTP id p9so2363684lbv.34 for <jose@ietf.org>; Thu, 01 May 2014 10:46:44 -0700 (PDT)
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 :cc:content-type:content-transfer-encoding; bh=qZ4iEytPDHRvMhOyWAsru0TWWqnXBrt+tIveC5lyefE=; b=S0WojG9ZUM4T2dV0FjnTRapwwcHN9FPoCC6F8kusIIlSIZv82g/tni3mEwICs4N0N1 t9JWUCICpnRq+0dZYYxqRBiHKuoE33lMaz8MV03vgyfyh1SFr5XGfB3KpkZJkmjeKjvA Ytc2BaLBcaFq9pREtyjbXAKmGEoxozxa+rfUotdREYH/NNT2QGo07U8GIqSelJCWwSfN Zj6koyzgwrETD/Md+N4a87BjpsAIT4rkREIUiYz18SiJQTS9sJ5S/p371Xzts6kG++4Y 098BE8rArbT0kMVgd1LXMKGO7SPJ5O1SQbP2DcO3rssvw2zF57OfZQ5bjiV5fiZb86Nr YzYw==
MIME-Version: 1.0
X-Received: by 10.152.170.193 with SMTP id ao1mr8511960lac.27.1398966404797; Thu, 01 May 2014 10:46:44 -0700 (PDT)
Received: by 10.112.26.142 with HTTP; Thu, 1 May 2014 10:46:44 -0700 (PDT)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com>
Date: Thu, 1 May 2014 13:46:44 -0400
Message-ID: <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/SJyp5qNPUoVO4DX_IG2eo09s1aU
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Thu, 01 May 2014 17:46:51 -0000

Hi Mike,

Thanks for posting the updated draft.  At a minimum, the security
considerations update still needs to be updated.  I'd like an okay
from Jim, the document shepherd when he thinks this is all ready in
case I am missing any other open issues.  The rest is in-line as this
seems to summarize all of the issues and there were discussions in
other threads that I would prefer to not see them get lost.

On Thu, May 1, 2014 at 3:09 AM, Mike Jones <Michael.Jones@microsoft.com> wr=
ote:
> The algorithm name =E2=80=9CRSA-OAEP-256=E2=80=9D for RSAES OAEP using SH=
A-256 and MGF1 with
> SHA-256 has been added at
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section=
-4.3,
> per your request, Kathleen.
>
>
>
>
> -- Mike
>
>
>
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
> Sent: Friday, April 25, 2014 6:38 PM
>
>
> To: Kathleen Moriarty; Jim Schaad
> Cc: jose@ietf.org; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>
> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>
>
>
> Thanks, Kathleen.  Comments are inline, marked =E2=80=9CMike>=E2=80=9D=E2=
=80=A6
>
>
>
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen Moriarty
> Sent: Friday, April 25, 2014 2:07 PM
> To: Jim Schaad
> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org;
> jose@ietf.org
> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>
>
>
> Sorry for the delay in my response.  I'll answer in-line below.
>
>
>
> Thanks!
>
>
>
> On Thu, Apr 17, 2014 at 5:20 PM, Jim Schaad <ietf@augustcellars.com> wrot=
e:
>
>>
>
>>
>
>>
>
>>
>
>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>
>> Sent: Thursday, April 17, 2014 10:46 AM
>
>> To: Kathleen Moriarty; jose@ietf.org
>
>> Cc: draft-ietf-jose-json-web-algorithms@tools.ietf.org
>
>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>
>>
>
>>
>
>>
>
>> Thanks for taking the time to do the review, Kathleen.  Responses are
>
>> inline, flagged by =E2=80=9CMike>=E2=80=9D.  I also pasted your follow-o=
n note in and
>
>> responded to it as well.
>
>>
>
>>
>
>>
>
>> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
>
>> Sent: Thursday, April 17, 2014 7:51 AM
>
>> To: jose@ietf.org
>
>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>
>> Subject: AD review of draft-ietf-jose-json-web-algorithms
>
>>
>
>>
>
>>
>
>> Hello Mike & JOSE members,
>
>>
>
>>
>
>>
>
>> I am working my way through the requested reviews to progress the JOSE
>
>> drafts and can see a lot of work has been done, thank you.  As I read
>
>> through the Algorithms (JWA) draft there are some changes that will
>
>> need to be made to avoid problems during the IESG review.  This is a
>
>> pretty big change for the draft, but will help make the review and
>> approval faster.
>
>> Typically, the lists of algorithms are handled through a draft update
>
>> as opposed to creating an IANA registry.  A good example is a recent
>
>> update of a draft in the IPSECME working group so you can see the
>
>> structure and the precedence for this model.
>
>>
>
>>
>
>>
>
>> https://datatracker.ietf.org/doc/draft-ietf-ipsecme-esp-ah-reqts
>
>>
>
>>
>
>>
>
>> Mike> So you=E2=80=99re suggesting that future JWA drafts might obsolete=
 the
>
>> Mike> current
>
>> one, much like draft-ietf-ipsecme-esp-ah-reqts will obsolete RFC 4835,
>
>> which obsoleted RFC 4305, etc.?  If so, could work on revising the JWA
>
>> draft accordingly and send proposed changes to the working group.
>
>>
>
>>
>
> KM> I am not sure where Jim's response is, but I have been looking
>
> into this.  My initial message came after some conversations with Sean.  =
In
> response to your posts, I reached out to a couple of other ADs who may ha=
ve
> had concerns and *think* we are okay as long as the registries will be us=
ed
> with a designated expert review to add to the registry.  If a draft is
> required for an update, that would cause problems as opposed to a draft w=
ith
> no registries.  Sorry for the confusion here.
>
>
>
> Mike> Jim=E2=80=99s response is at
> http://www.ietf.org/mail-archive/web/jose/current/msg04071.html, starting
> with =E2=80=9C[JLS] Kathleen, I don=E2=80=99t know that I agree with this=
 statement.  There
> are a number of different places where IANA registries are used for the
> purpose of having lists of algorithms.=E2=80=9D  All the registries estab=
lished
> already require expert review, as described at
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#section=
-7.
> So it sounds like we should be OK.  That=E2=80=99s good.  Thanks for work=
ing the
> issue.
>
>
>
>>
>
>> Now for other edits and questions:
>
>>
>
>>
>
>>
>
>> Section 3.6 - Can you explain why would this be included?  If you are
>
>> not going to sign, I am not sure why one would use JOSE at all.
>
>>
>
>>
>
>>
>
>> Mike> This is included to enable representing content that is
>
>> Mike> optionally
>
>> signed in protocols using JWS.  Having this means that whether or not
>
>> the content is signed, it can use a uniform representation, which is
>
>> easy to parse.  This is in production use, for instance, to enable
>
>> OAuth authorization request messages that are optionally signed.
>
>> Sometimes content need not be signed at the JWS level because it=E2=80=
=99s
>
>> integrity protected by other protocol layers =E2=80=93 in particular, of=
ten by
>
>> the use of TLS.  Another use case is where signing adds additional
>
>> optional value, but where there=E2=80=99s no harm in using unsigned cont=
ent =E2=80=93
>
>> for instance, while normal OAuth requests are inline and unsigned, a
>
>> registered extension enables request parameters to be passed by
>
>> reference, rather than by value; the object referenced containing the
>
>> parameters is a JWS; the JWS can optionally be signed.  The current,
>
>> carefully refined treatment of =E2=80=9Cnone=E2=80=9D is the result of s=
ubstantial mailing
>> list discussions and discussions on working group calls.
>
>> While a less parallel treatment of unsigned JWSs was proposed in
>
>> http://trac.tools.ietf.org/wg/jose/trac/ticket/36, this alternative
>
>> syntax was rejected by the working group in favor of the current approac=
h.
>
>>
>
>>
>
> KM> I responded to Vladamir on this one and would just like to know if
>
> there is WG consensus behind the decision.  Can you point me to discussio=
ns
> on this?
>
>
>
> Mike> Brian Campbell did a good job summarizing the consensus in his note
> http://www.ietf.org/mail-archive/web/jose/current/msg04082.html.  Jim Sch=
aad
> documented the consensus in his note closing issue #36 at the end of
> http://trac.tools.ietf.org/wg/jose/trac/ticket/36.
>
>
>
> Mike> This was extensively discussed on a thread titled =E2=80=9C[jose] #=
36:
> Algorithm "none" should be removed=E2=80=9D between 7/31/13 and 8/22/13 a=
nd then
> also on a follow-up thread named =E2=80=9C[jose] Text about applications =
and
> "alg":"none"=E2=80=9D between 9/3/13 and 9/9/13.  The latter thread resul=
ted from an
> action items from the preceding interim working group call (the agenda fo=
r
> which was published at
> http://www.ietf.org/proceedings/interim/2013/08/19/jose/agenda/agenda-int=
erim-2013-jose-5).
>
>
>
> Mike> The text agreed to by the working group that Brian referred to was
> added in draft-ietf-jose-json-web-algorithms-16, published on 9/15/13.  J=
im
> closed the issue on 10/28/13.
>

My read of the threads and issue tracker was that implementations won
out to close this discussion, but that there was no consensus.  There
were many involved in the discussion that provided arguments and
support for not including alg none.  I'll support this as a WG
decision based on implementations, as that's how I read it.  I
appreciate all of the feedback on actual use of this as it will be
helpful in case this comes up during last call.

>
>
>>
>
>> Section 5.2 - The write up of this section seems a bit more
>
>> complicated than necessary.  It seems it would have just been simpler
>
>> to state that the sizes vary as required by the algorithms and key
>
>> lengths used rather than providing the differences from one to the next.
>> Can you simplify this?
>
>>
>
>> After looking through some of the mailing list discussions, it seems
>
>> there was already agreement to slim this and other sections down by
>
>> pointing to the draft-mcgrew-aead-aes-cbc-hmac-sha2
>
>>
>
>>
>
>>
>
>> http://www.ietf.org/mail-archive/web/jose/current/msg02276.html
>
>>
>
>> Can I get an update as to where that stands, referencing what you can
>
>> from that draft as opposed to duplicating text?  Thanks!
>
>>
>
>> Mike> Sure.  The key part of the message you cited is =E2=80=9COnce the =
McGrew
>
>> Mike> draft
>
>> has been refactored to separate the description of the calculation
>
>> steps (which JOSE is using) from the AEAD representation steps (which
>
>> JOSE is not using), and to include test vector values that show
>
>> results without performing the AEAD representation concatenations, I
>
>> agree that we'll be able to just reference it, rather than duplicating
>
>> it.=E2=80=9D  The problem is that the refactoring was never done.  The
>
>> algorithm description in
>
>> draft-mcgrew-aead-aes-cbc-hmac-sha2 is written in such a way that the
>
>> ciphertext C, as described, also includes the IV value as a prefix and
>
>> the authentication tag T as a suffix, rather than treating each of
>
>> those as separate values.  The test vectors do the same.  Yes, David
>
>> added appendix B saying that the values could be treated as separate,
>
>> but the write-up does no favors to implementers, as both the core
>
>> algorithm description and the test vectors assume they are combined.
>
>> (I personally know that working out how to treat them as separate from
>
>> David=E2=80=99s current draft is a tedious and error-prone exercise, hav=
ing
>
>> had to do so to tease them apart for the current JWA write-up.)  David
>
>> has been asked about doing the refactoring several times by multiple
>
>> parties, but he=E2=80=99s a busy guy, and I don=E2=80=99t think it=E2=80=
=99s ever reached the
>
>> top of his queue.  As it is, the JWA description is clear and
>
>> semantically equivalent and implementers have shown that they can
>
>> successfully build it.  Finally, we wouldn=E2=80=99t want to take a norm=
ative
>
>> dependency upon a draft that appears to have been largely abandoned
>
>> (or at least neglected), as doing so could indefinitely stall publicatio=
n
>> of RFC versions of the JOSE specs.
>
>>
>
>>
>
>>
>
>> [JLS]  I always considered this to be a sufficient refactoring to use
>
>> the mcgrew draft as a basis.  I did not have the same type of problems
>
>> with breaking the test vectors apart that you seem to have had.
>
>>
>
>
>
> KM> OK, has anyone reached out to Dave McGrew to discuss?  How can we
>
> clear this up?
>
>
>
> Mike> I=E2=80=99d had in-person and phone conversations with him about it=
 last year,
> but not much happened as a result.
>
>
>
> Mike> I wrote more about your question at
> http://www.ietf.org/mail-archive/web/jose/current/msg04074.html in which =
I
> pointed out errors and sources of confusion in David=E2=80=99s draft that=
 would
> complicate life for developers and possibly result in incorrect
> implementations; Jim responded at
> http://www.ietf.org/mail-archive/web/jose/current/msg04075.html.  I=E2=80=
=99ll send
> a note to David pointing these out and offering to produce proposed chang=
es
> for him to incorporate, but unless he either decides to devote bandwidth =
to
> advancing the draft (it=E2=80=99s already expired once) or is willing to =
delegate it
> to us to do so, I think we don=E2=80=99t have much choice but to continue=
 to have a
> complete and accurate description of the algorithms in the JWA doc, and l=
et
> his draft advance at its own pace.  I=E2=80=99ll note that we also don=E2=
=80=99t have a
> publication vehicle for the draft to become an RFC, because it=E2=80=99s =
not in any
> working group, nor does it have AD sponsorship that I=E2=80=99m aware of.
>
>

Thank you, please keep us posted on the status/progress so we know how
to move forward.

>
>>
>
>>
>
>> Security Considerations: While it is true the content is covered in
>
>> other places, this section could benefit from improvement before it
>
>> goes to the SecDir review.  The second sentence in the first paragraph
>
>> says the
>
>> following:
>
>>
>
>>    Among these issues are
>
>>
>
>>    protecting the user's private and symmetric keys, preventing
>
>> various
>
>>
>
>>    attacks, and helping the user avoid mistakes such as inadvertently
>
>>
>
>>    encrypting a message for the wrong recipient.
>
>>
>
>> It would be helpful if you could expand the text and make it more
>
>> descriptive and applicable to this document.  For example, shouldn=E2=80=
=99t
>
>> the first section say user=E2=80=99s private asymmetric and symmetric ke=
ys?  I
>
>> assume that is what was intended with private, but it reads funny to
>
>> me without that.  The only =E2=80=98attack=E2=80=99 or caution mentioned=
 in the
>
>> document is for the application to prevent a user from selecting the
>
>> wrong key.  Please include some attacks that developers and
>
>> implementers should be aware and cautioned on, or state that specific
>
>> attacks and considers are detailed in the subsections to follow.
>
>>
>
>>
>
>>
>
>> Mike> OK, I can work on expanding that.  There are some other attacks
>
>> mentioned in the other drafts, such as timing attacks, which can
>
>> probably at least be mentioned here.  I=E2=80=99ll send draft text to th=
e list
>
>> and consult with you before doing anything to the actual drafts.
>
>> Specific suggestions from working group participants would also be highl=
y
>> appreciated.
>
>>
>

The Security Considerations section requires updating, let me know
when this has been done.  Thanks!
>>
>
> KM> Great, thank you!
>
>>
>
>> I think that's it for now. Although I do need to look through some
>
>> more of the previous conversations on the mailing list and in the issue
>> tracker.
>
>>
>
>>
>
>>
>
>> I see there are some open discussions, like the one Richard raised
>
>> yesterday that need to be resolved in the document as well before we
>
>> move forward with this one.  Thanks for all of your effort on this draft=
!!
>
>>
>
>>
>
>>
>
>> Mike> Per my note
>
>> http://www.ietf.org/mail-archive/web/jose/current/msg04061.html, I
>
>> don=E2=80=99t believe that that particular issue is open.  It had been
>
>> extensively discussed within the working group multiple times and the
>
>> issue was explicitly closed by the chairs, leaving the status quo in
>
>> place in which there are required algorithms for interoperability reason=
s.
>
>>
>
>>
>
>>
>
>> I'm going to add one more question to the review as I had the same
>
>> thought as Scott & Burt in their review of JWA (and also in JWS).  Why
>
>> are there no other options in addition to SHA1?  The response to Scott
>
>> pointed back to early WG decisions, but I have heard this concern from
>
>> others and have it myself, so I am not sure this one is resolved.  I'd
>> like to revisit it.
>
>>
>
>>
>
>>
>
>> http://www.ietf.org/mail-archive/web/jose/current/msg04020.html
>
>>
>
>>
>
>>
>
>> Mike> If adding a new =E2=80=9CRSA-OAEP-256=E2=80=9D algorithm identifie=
r for =E2=80=9CRSAES
>
>> Mike> with
>
>> Optimal Asymmetric Encryption Padding using the MGF1 mask generation
>
>> function and the SHA-256 hash function=E2=80=9D would make a number of p=
eople
>
>> more comfortable, including you, there=E2=80=99s nothing wrong with doin=
g so.
>
>> However, it=E2=80=99s also not clear that it would be of much short-term
>
>> practical benefit because, at least as of the implementation survey
>
>> done in July 2012, many crypto libraries don=E2=80=99t expose a way to g=
et at this
>> algorithm combination.
>
>> However, the same argument could be made about RSASSA-PSS, which we
>
>> did add identifiers for in the end.  In short, I don=E2=80=99t think any=
one in
>
>> the working group would stridently object if you asked for this
>
>> additional algorithm identifier to be added.  Your call=E2=80=A6
>
>>
>
> KM> I'd say to add it.  I'll have a similar comment for the JWS draft
>
> for SHA256 support on thumbprints.
>
>
>
> Mike> OK =E2=80=93 I=E2=80=99ll add it.
>

Thanks, and I see Scott's review and okay as well, which is helpful.
>
>
> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed.  I=E2=
=80=99m
> aware of no SHA-256 certificate thumbprint deployments.  I=E2=80=99ll not=
e that even
> if SHA-1 were completely broken, that wouldn=E2=80=99t be a security issu=
e because
> it=E2=80=99s just being used to generate a digest of publicly available c=
ertificate
> information.  It=E2=80=99s not being used to cryptographically obscure an=
ything.
> (But that=E2=80=99s actually a discussion for another draft. J)
>

This is in place for the XML equivalents and should be possible for
JSON.  I used this at least 2 years ago in the XML Oxygen editor.  I
believe this has been brought up before in terms of JSON, so I am not
the first.  But it is another draft... I'd like to get through these
all soon :-)

>
>
>>
>
>>
>
>> --
>
>>
>
>>
>
>>
>
>> Best regards,
>
>>
>
>> Kathleen
>
>>
>
>>
>
>>
>
>>                                                             Thanks a
>
>> bunch,
>
>>
>
>>                                                             -- Mike
>
>>
>
>>
>
>
>
>
>
>
>
> --
>
>
>
> Best regards,
>
> Kathleen
>
>
>
> _______________________________________________
>
> jose mailing list
>
> jose@ietf.org
>
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
>                                                                 Thanks
> again,
>
>                                                                 -- Mike
>
>

Thanks for your help!!

--=20

Best regards,
Kathleen


From nobody Thu May  1 11:11:24 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 962E01A7028 for <jose@ietfa.amsl.com>; Thu,  1 May 2014 11:11:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 rX2qylMTBsEj for <jose@ietfa.amsl.com>; Thu,  1 May 2014 11:11:13 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0183.outbound.protection.outlook.com [207.46.163.183]) by ietfa.amsl.com (Postfix) with ESMTP id 461551A093A for <jose@ietf.org>; Thu,  1 May 2014 11:11:13 -0700 (PDT)
Received: from BL2PR03MB162.namprd03.prod.outlook.com (10.255.230.145) by BL2PR03MB195.namprd03.prod.outlook.com (10.255.230.153) with Microsoft SMTP Server (TLS) id 15.0.934.12; Thu, 1 May 2014 18:11:10 +0000
Received: from BL2PR03CA014.namprd03.prod.outlook.com (10.141.66.22) by BL2PR03MB162.namprd03.prod.outlook.com (10.255.230.145) with Microsoft SMTP Server (TLS) id 15.0.929.12; Thu, 1 May 2014 18:11:08 +0000
Received: from BY2FFO11FD043.protection.gbl (2a01:111:f400:7c0c::143) by BL2PR03CA014.outlook.office365.com (2a01:111:e400:c1b::22) with Microsoft SMTP Server (TLS) id 15.0.934.12 via Frontend Transport; Thu, 1 May 2014 18:11:08 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD043.mail.protection.outlook.com (10.1.14.228) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Thu, 1 May 2014 18:11:08 +0000
Received: from TK5EX14MBXC288.redmond.corp.microsoft.com ([169.254.3.63]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0181.007; Thu, 1 May 2014 18:10:27 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] AD review of draft-ietf-jose-json-web-algorithms
Thread-Index: AQHPWkx0MohT4foJy0+5ox2RzsAQFpsWAxPQgABOCICADI7/AIAAPl5QgAhEwzCAALLNAIAAA+lQ
Date: Thu, 1 May 2014 18:10:26 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439A1A3C64@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com> <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com>
In-Reply-To: <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@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.71]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(6009001)(438001)(52084003)(52604005)(51704005)(377454003)(479174003)(41574002)(40764003)(51444003)(164054003)(189002)(199002)(24454002)(13464003)(50986999)(80022001)(4396001)(79102001)(15975445006)(97736001)(54356999)(86612001)(76482001)(46102001)(92566001)(55846006)(2009001)(31966008)(20776003)(92726001)(77982001)(66066001)(83322001)(6806004)(85852003)(44976005)(19580395003)(80976001)(84676001)(19580405001)(86362001)(47776003)(83072002)(2656002)(81342001)(76176999)(99396002)(74502001)(81542001)(23676002)(87936001)(15202345003)(33656001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB162; H:mail.microsoft.com; FPR:CE0CDDED.A3F2D3DD.FDD73D4B.9AAAF871.20A87; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 01986AE76B
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/PI7vQsT1CCHmmOv0epyIWgt9_Cc
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Thu, 01 May 2014 18:11:17 -0000

WWVzLCBJIHJlYWxpemUgdGhhdCBJIGhhdmVuJ3QgcmV2aXNlZCB0aGUgc2VjdXJpdHkgY29uc2lk
ZXJhdGlvbnMgeWV0LiAgSSBzdGFydGVkIHRvIGRvIGl0IGFuZCByZWFsaXplZCB0aGF0IGl0IHdh
cyBhIG1vcmUgaW50cmljYXRlIGV4ZXJjaXNlIHRoYW4gSSdkIG9yaWdpbmFsbHkgYW50aWNpcGF0
ZWQsIHNvIGRlY2lkZWQgdG8gZ2V0IHRoZSAtMjYgZHJhZnRzIG91dCB3aXRoIHRoZSBlYXN5IHN0
dWZmIGZpcnN0LCBmb3Igd29ya2luZyBncm91cCByZXZpZXcuICBUaGVzZSBtb3N0bHkgYWRkcmVz
cyBjb21tZW50cyBieSB5b3UsIFNjb3R0LCBIYW5uZXMgVHNjaG9mZW5pZyAod2hpY2ggd2FzIGFj
dHVhbGx5IGEgY29tbWVudCBvbiBKV1QsIGJ1dCB0aGF0IGFwcGxpZWQgdG8gSk9TRSBhcyB3ZWxs
KSwgYW5kIEFudG9uaW8gU2Fuc28uDQoNCldPUktJTkcgR1JPVVA6ICBJIHdvdWxkIGFwcHJlY2lh
dGUgYW55IHNwZWNpZmljIHN1Z2dlc3Rpb25zIG9uIGFkZGl0aW9ucyB0aGF0IHlvdSdkIGxpa2Ug
dG8gaGF2ZSBtY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91Z2ggdGhlc2UgYWxsIHNvb24gOi0pDQoNCj4NCj4NCj4+DQo+DQo+Pg0KPg0KPj4g
LS0NCj4NCj4+DQo+DQo+Pg0KPg0KPj4NCj4NCj4+IEJlc3QgcmVnYXJkcywNCj4NCj4+DQo+DQo+
PiBLYXRobGVlbg0KPg0KPj4NCj4NCj4+DQo+DQo+Pg0KPg0KPj4gICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgVGhhbmtzIGENCj4NCj4+
IGJ1bmNoLA0KPg0KPj4NCj4NCj4+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgIC0tIE1pa2UNCj4NCj4+DQo+DQo+Pg0KPg0KPg0KPg0K
Pg0KPg0KPg0KPg0KPiAtLQ0KPg0KPg0KPg0KPiBCZXN0IHJlZ2FyZHMsDQo+DQo+IEthdGhsZWVu
DQo+DQo+DQo+DQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fDQo+DQo+IGpvc2UgbWFpbGluZyBsaXN0DQo+DQo+IGpvc2VAaWV0Zi5vcmcNCj4NCj4gaHR0
cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9qb3NlDQo+DQo+DQo+DQo+ICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICBUaGFua3MgDQo+IGFnYWluLA0KPg0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLS0gDQo+IE1pa2UNCj4NCj4NCg0KVGhh
bmtzIGZvciB5b3VyIGhlbHAhIQ0KDQotLSANCg0KQmVzdCByZWdhcmRzLA0KS2F0aGxlZW4NCg==


From nobody Fri May  2 07:18:30 2014
Return-Path: <kathleen.moriarty.ietf@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 756B31A6FBC for <jose@ietfa.amsl.com>; Fri,  2 May 2014 07:18:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MIME_QP_LONG_LINE=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 Oq_rgGH3ikqX for <jose@ietfa.amsl.com>; Fri,  2 May 2014 07:18:26 -0700 (PDT)
Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id 317561A6FB4 for <jose@ietf.org>; Fri,  2 May 2014 07:18:26 -0700 (PDT)
Received: by mail-ie0-f169.google.com with SMTP id rl12so5128402iec.0 for <jose@ietf.org>; Fri, 02 May 2014 07:18:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=DllfIoImtkfsVBT8ocghoNgp1vVr2OiRi1ZgzXK6c9E=; b=evL7gQ70/4RPjOlF216wamnuUzr3nKigX43iCFW2cEztPoFBMaVxWyfE5QBMYK4dJt MTDUXl2FlcCn2ygp6Thm0M9qGfdABs6fmTKNGQVgrotuJtOYdhXuDcdXtSHv2TKNRWuD m8ctcmPomt5InBVk1TSDlnFDxlZS1FhuJjG8Cux2cndEJ7zWOU6bRclZobJGXVhbG0nu VIQNvCYy6ImzjiRHBRRAyjrfYPS23eHo8i0R38oCxFsOWfhQXtqigEcnSRYtKUprxEOF dhejbQtZnk/IhDPdtcYvRlOB301pG/A+k/WcA7yExPV7ddJWdW0i5w1N/cS5EAvMLxq1 Z+Bg==
X-Received: by 10.42.161.69 with SMTP id s5mr2377478icx.70.1399040303786; Fri, 02 May 2014 07:18:23 -0700 (PDT)
Received: from [10.0.245.50] (mobile-166-147-100-113.mycingular.net. [166.147.100.113]) by mx.google.com with ESMTPSA id sc2sm6998627igb.5.2014.05.02.07.18.21 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 May 2014 07:18:21 -0700 (PDT)
X-Google-Original-From: Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (1.0)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: iPhone Mail (11D167)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439A1A3C64@TK5EX14MBXC288.redmond.corp.microsoft.com>
Date: Fri, 2 May 2014 09:18:20 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C134FBC-EF0D-4B4E-AACD-1869EFAD34AA@gmail.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com> <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1A3C64@TK5EX14MBXC288.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/IrMZlmOjD5RMAgaAOpNAfNqWrRc
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Fri, 02 May 2014 14:18:29 -0000

Thanks for the detailed response and all of your efforts on this draft. =20

I need to backtrack on the statement I made about the WG decision on consens=
us for alg none.  They both have informed me that there was consensus, not j=
ust agreement to keep it in for implementations.  Could this be more explici=
t in the issue tracker or on the list by the chairs so I have something to p=
oint to if it comes up in last call?

I am traveling today, so I don't have time to search for links on the equiva=
lent for 'thumbprints' in XML.  They refer to this as a fingerprint and it w=
as implemented in the XML oxygen editor used for certificates.  This may hel=
p in case folks are interested and have some time to look into it. =20

Thank you,
Kathleen=20

Sent from my iPhone

> On May 1, 2014, at 1:10 PM, Mike Jones <Michael.Jones@microsoft.com> wrote=
:
>=20
> Yes, I realize that I haven't revised the security considerations yet.  I s=
tarted to do it and realized that it was a more intricate exercise than I'd o=
riginally anticipated, so decided to get the -26 drafts out with the easy st=
uff first, for working group review.  These mostly address comments by you, S=
cott, Hannes Tschofenig (which was actually a comment on JWT, but that appli=
ed to JOSE as well), and Antonio Sanso.
>=20
> WORKING GROUP:  I would appreciate any specific suggestions on additions t=
hat you'd like to have made to the security considerations section at http:/=
/tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-8.
>=20
> I also realize that I still need to write the note to David McGrew.
>=20
> Kathleen, can you point us to the XML equivalents of certificate thumbprin=
ts that you used?  That could be interesting.  FYI, I also submitted an indi=
vidual -00 JSON thumbprint draft last month at http://tools.ietf.org/html/dr=
aft-jones-jose-jwk-thumbprint-00 (because the need for a JSON-based thumbpri=
nt came up in practice), but I'm not proposing that we try to jam it into JW=
S at this point.  It's fine for that to be work after a recharter, should th=
e WG want to take it up.
>=20
>                Best wishes,
>                -- Mike
>=20
> -----Original Message-----
> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]=20
> Sent: Thursday, May 01, 2014 10:47 AM
> To: Mike Jones
> Cc: jose@ietf.org
> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>=20
> Hi Mike,
>=20
> Thanks for posting the updated draft.  At a minimum, the security consider=
ations update still needs to be updated.  I'd like an okay from Jim, the doc=
ument shepherd when he thinks this is all ready in case I am missing any oth=
er open issues.  The rest is in-line as this seems to summarize all of the i=
ssues and there were discussions in other threads that I would prefer to not=
 see them get lost.
>=20
>> On Thu, May 1, 2014 at 3:09 AM, Mike Jones <Michael.Jones@microsoft.com> w=
rote:
>> The algorithm name =E2=80=9CRSA-OAEP-256=E2=80=9D for RSAES OAEP using SH=
A-256 and=20
>> MGF1 with
>> SHA-256 has been added at
>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#sect
>> ion-4.3,
>> per your request, Kathleen.
>>=20
>>=20
>>=20
>>=20
>> -- Mike
>>=20
>>=20
>>=20
>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>> Sent: Friday, April 25, 2014 6:38 PM
>>=20
>>=20
>> To: Kathleen Moriarty; Jim Schaad
>> Cc: jose@ietf.org; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>=20
>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>=20
>>=20
>>=20
>> Thanks, Kathleen.  Comments are inline, marked =E2=80=9CMike>=E2=80=9D=E2=
=80=A6
>>=20
>>=20
>>=20
>> -----Original Message-----
>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen=20
>> Moriarty
>> Sent: Friday, April 25, 2014 2:07 PM
>> To: Jim Schaad
>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org;
>> jose@ietf.org
>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>=20
>>=20
>>=20
>> Sorry for the delay in my response.  I'll answer in-line below.
>>=20
>>=20
>>=20
>> Thanks!
>>=20
>>=20
>>=20
>>> On Thu, Apr 17, 2014 at 5:20 PM, Jim Schaad <ietf@augustcellars.com> wro=
te:
>>>=20
>>=20
>>=20
>>=20
>>=20
>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>>=20
>>> Sent: Thursday, April 17, 2014 10:46 AM
>>=20
>>> To: Kathleen Moriarty; jose@ietf.org
>>=20
>>> Cc: draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>=20
>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>=20
>>=20
>>=20
>>=20
>>> Thanks for taking the time to do the review, Kathleen.  Responses are
>>=20
>>> inline, flagged by =E2=80=9CMike>=E2=80=9D.  I also pasted your follow-o=
n note in and
>>=20
>>> responded to it as well.
>>=20
>>=20
>>=20
>>=20
>>> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
>>=20
>>> Sent: Thursday, April 17, 2014 7:51 AM
>>=20
>>> To: jose@ietf.org
>>=20
>>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>=20
>>> Subject: AD review of draft-ietf-jose-json-web-algorithms
>>=20
>>=20
>>=20
>>=20
>>> Hello Mike & JOSE members,
>>=20
>>=20
>>=20
>>=20
>>> I am working my way through the requested reviews to progress the=20
>>> JOSE
>>=20
>>> drafts and can see a lot of work has been done, thank you.  As I read
>>=20
>>> through the Algorithms (JWA) draft there are some changes that will
>>=20
>>> need to be made to avoid problems during the IESG review.  This is a
>>=20
>>> pretty big change for the draft, but will help make the review and=20
>>> approval faster.
>>=20
>>> Typically, the lists of algorithms are handled through a draft update
>>=20
>>> as opposed to creating an IANA registry.  A good example is a recent
>>=20
>>> update of a draft in the IPSECME working group so you can see the
>>=20
>>> structure and the precedence for this model.
>>=20
>>=20
>>=20
>>=20
>>> https://datatracker.ietf.org/doc/draft-ietf-ipsecme-esp-ah-reqts
>>=20
>>=20
>>=20
>>=20
>>> Mike> So you=E2=80=99re suggesting that future JWA drafts might obsolete=
 the
>>=20
>>> Mike> current
>>=20
>>> one, much like draft-ietf-ipsecme-esp-ah-reqts will obsolete RFC=20
>>> 4835,
>>=20
>>> which obsoleted RFC 4305, etc.?  If so, could work on revising the=20
>>> JWA
>>=20
>>> draft accordingly and send proposed changes to the working group.
>>=20
>>=20
>>=20
>> KM> I am not sure where Jim's response is, but I have been looking
>>=20
>> into this.  My initial message came after some conversations with=20
>> Sean.  In response to your posts, I reached out to a couple of other=20
>> ADs who may have had concerns and *think* we are okay as long as the=20
>> registries will be used with a designated expert review to add to the=20
>> registry.  If a draft is required for an update, that would cause=20
>> problems as opposed to a draft with no registries.  Sorry for the confusi=
on here.
>>=20
>>=20
>>=20
>> Mike> Jim=E2=80=99s response is at
>> http://www.ietf.org/mail-archive/web/jose/current/msg04071.html,=20
>> starting with =E2=80=9C[JLS] Kathleen, I don=E2=80=99t know that I agree w=
ith this=20
>> statement.  There are a number of different places where IANA=20
>> registries are used for the purpose of having lists of algorithms.=E2=80=9D=
 =20
>> All the registries established already require expert review, as=20
>> described at http://tools.ietf.org/html/draft-ietf-jose-json-web-algorith=
ms-25#section-7.
>> So it sounds like we should be OK.  That=E2=80=99s good.  Thanks for work=
ing=20
>> the issue.
>>=20
>>=20
>>=20
>>=20
>>> Now for other edits and questions:
>>=20
>>=20
>>=20
>>=20
>>> Section 3.6 - Can you explain why would this be included?  If you are
>>=20
>>> not going to sign, I am not sure why one would use JOSE at all.
>>=20
>>=20
>>=20
>>=20
>>> Mike> This is included to enable representing content that is
>>=20
>>> Mike> optionally
>>=20
>>> signed in protocols using JWS.  Having this means that whether or not
>>=20
>>> the content is signed, it can use a uniform representation, which is
>>=20
>>> easy to parse.  This is in production use, for instance, to enable
>>=20
>>> OAuth authorization request messages that are optionally signed.
>>=20
>>> Sometimes content need not be signed at the JWS level because it=E2=80=99=
s
>>=20
>>> integrity protected by other protocol layers =E2=80=93 in particular, of=
ten=20
>>> by
>>=20
>>> the use of TLS.  Another use case is where signing adds additional
>>=20
>>> optional value, but where there=E2=80=99s no harm in using unsigned cont=
ent =E2=80=93
>>=20
>>> for instance, while normal OAuth requests are inline and unsigned, a
>>=20
>>> registered extension enables request parameters to be passed by
>>=20
>>> reference, rather than by value; the object referenced containing the
>>=20
>>> parameters is a JWS; the JWS can optionally be signed.  The current,
>>=20
>>> carefully refined treatment of =E2=80=9Cnone=E2=80=9D is the result of s=
ubstantial=20
>>> mailing list discussions and discussions on working group calls.
>>=20
>>> While a less parallel treatment of unsigned JWSs was proposed in
>>=20
>>> http://trac.tools.ietf.org/wg/jose/trac/ticket/36, this alternative
>>=20
>>> syntax was rejected by the working group in favor of the current approac=
h.
>>=20
>>=20
>>=20
>> KM> I responded to Vladamir on this one and would just like to know if
>>=20
>> there is WG consensus behind the decision.  Can you point me to=20
>> discussions on this?
>>=20
>>=20
>>=20
>> Mike> Brian Campbell did a good job summarizing the consensus in his=20
>> Mike> note
>> http://www.ietf.org/mail-archive/web/jose/current/msg04082.html.  Jim=20
>> Schaad documented the consensus in his note closing issue #36 at the=20
>> end of http://trac.tools.ietf.org/wg/jose/trac/ticket/36.
>>=20
>>=20
>>=20
>> Mike> This was extensively discussed on a thread titled =E2=80=9C[jose] #=
36:
>> Algorithm "none" should be removed=E2=80=9D between 7/31/13 and 8/22/13 a=
nd=20
>> then also on a follow-up thread named =E2=80=9C[jose] Text about applicat=
ions=20
>> and "alg":"none"=E2=80=9D between 9/3/13 and 9/9/13.  The latter thread=20=

>> resulted from an action items from the preceding interim working group=20=

>> call (the agenda for which was published at=20
>> http://www.ietf.org/proceedings/interim/2013/08/19/jose/agenda/agenda-int=
erim-2013-jose-5).
>>=20
>>=20
>>=20
>> Mike> The text agreed to by the working group that Brian referred to=20
>> Mike> was
>> added in draft-ietf-jose-json-web-algorithms-16, published on 9/15/13. =20=

>> Jim closed the issue on 10/28/13.
>=20
> My read of the threads and issue tracker was that implementations won out t=
o close this discussion, but that there was no consensus.  There were many i=
nvolved in the discussion that provided arguments and support for not includ=
ing alg none.  I'll support this as a WG decision based on implementations, a=
s that's how I read it.  I appreciate all of the feedback on actual use of t=
his as it will be helpful in case this comes up during last call.
>=20
>>=20
>>=20
>>=20
>>> Section 5.2 - The write up of this section seems a bit more
>>=20
>>> complicated than necessary.  It seems it would have just been simpler
>>=20
>>> to state that the sizes vary as required by the algorithms and key
>>=20
>>> lengths used rather than providing the differences from one to the next.=

>>> Can you simplify this?
>>=20
>>=20
>>> After looking through some of the mailing list discussions, it seems
>>=20
>>> there was already agreement to slim this and other sections down by
>>=20
>>> pointing to the draft-mcgrew-aead-aes-cbc-hmac-sha2
>>=20
>>=20
>>=20
>>=20
>>> http://www.ietf.org/mail-archive/web/jose/current/msg02276.html
>>=20
>>=20
>>> Can I get an update as to where that stands, referencing what you can
>>=20
>>> from that draft as opposed to duplicating text?  Thanks!
>>=20
>>=20
>>> Mike> Sure.  The key part of the message you cited is =E2=80=9COnce the=20=

>>> Mike> McGrew
>>=20
>>> Mike> draft
>>=20
>>> has been refactored to separate the description of the calculation
>>=20
>>> steps (which JOSE is using) from the AEAD representation steps (which
>>=20
>>> JOSE is not using), and to include test vector values that show
>>=20
>>> results without performing the AEAD representation concatenations, I
>>=20
>>> agree that we'll be able to just reference it, rather than=20
>>> duplicating
>>=20
>>> it.=E2=80=9D  The problem is that the refactoring was never done.  The
>>=20
>>> algorithm description in
>>=20
>>> draft-mcgrew-aead-aes-cbc-hmac-sha2 is written in such a way that the
>>=20
>>> ciphertext C, as described, also includes the IV value as a prefix=20
>>> and
>>=20
>>> the authentication tag T as a suffix, rather than treating each of
>>=20
>>> those as separate values.  The test vectors do the same.  Yes, David
>>=20
>>> added appendix B saying that the values could be treated as separate,
>>=20
>>> but the write-up does no favors to implementers, as both the core
>>=20
>>> algorithm description and the test vectors assume they are combined.
>>=20
>>> (I personally know that working out how to treat them as separate=20
>>> from
>>=20
>>> David=E2=80=99s current draft is a tedious and error-prone exercise, hav=
ing
>>=20
>>> had to do so to tease them apart for the current JWA write-up.) =20
>>> David
>>=20
>>> has been asked about doing the refactoring several times by multiple
>>=20
>>> parties, but he=E2=80=99s a busy guy, and I don=E2=80=99t think it=E2=80=
=99s ever reached the
>>=20
>>> top of his queue.  As it is, the JWA description is clear and
>>=20
>>> semantically equivalent and implementers have shown that they can
>>=20
>>> successfully build it.  Finally, we wouldn=E2=80=99t want to take a norm=
ative
>>=20
>>> dependency upon a draft that appears to have been largely abandoned
>>=20
>>> (or at least neglected), as doing so could indefinitely stall=20
>>> publication of RFC versions of the JOSE specs.
>>=20
>>=20
>>=20
>>=20
>>> [JLS]  I always considered this to be a sufficient refactoring to use
>>=20
>>> the mcgrew draft as a basis.  I did not have the same type of=20
>>> problems
>>=20
>>> with breaking the test vectors apart that you seem to have had.
>>=20
>>=20
>>=20
>>=20
>> KM> OK, has anyone reached out to Dave McGrew to discuss?  How can we
>>=20
>> clear this up?
>>=20
>>=20
>>=20
>> Mike> I=E2=80=99d had in-person and phone conversations with him about it=
 last=20
>> Mike> year,
>> but not much happened as a result.
>>=20
>>=20
>>=20
>> Mike> I wrote more about your question at
>> http://www.ietf.org/mail-archive/web/jose/current/msg04074.html in=20
>> which I pointed out errors and sources of confusion in David=E2=80=99s dr=
aft=20
>> that would complicate life for developers and possibly result in=20
>> incorrect implementations; Jim responded at=20
>> http://www.ietf.org/mail-archive/web/jose/current/msg04075.html.  I=E2=80=
=99ll=20
>> send a note to David pointing these out and offering to produce=20
>> proposed changes for him to incorporate, but unless he either decides=20
>> to devote bandwidth to advancing the draft (it=E2=80=99s already expired o=
nce)=20
>> or is willing to delegate it to us to do so, I think we don=E2=80=99t hav=
e=20
>> much choice but to continue to have a complete and accurate=20
>> description of the algorithms in the JWA doc, and let his draft=20
>> advance at its own pace.  I=E2=80=99ll note that we also don=E2=80=99t ha=
ve a=20
>> publication vehicle for the draft to become an RFC, because it=E2=80=99s n=
ot in any working group, nor does it have AD sponsorship that I=E2=80=99m aw=
are of.
>=20
> Thank you, please keep us posted on the status/progress so we know how to m=
ove forward.
>=20
>>=20
>>=20
>>=20
>>> Security Considerations: While it is true the content is covered in
>>=20
>>> other places, this section could benefit from improvement before it
>>=20
>>> goes to the SecDir review.  The second sentence in the first=20
>>> paragraph
>>=20
>>> says the
>>=20
>>> following:
>>=20
>>=20
>>>   Among these issues are
>>=20
>>=20
>>>   protecting the user's private and symmetric keys, preventing
>>=20
>>> various
>>=20
>>=20
>>>   attacks, and helping the user avoid mistakes such as inadvertently
>>=20
>>=20
>>>   encrypting a message for the wrong recipient.
>>=20
>>=20
>>> It would be helpful if you could expand the text and make it more
>>=20
>>> descriptive and applicable to this document.  For example, shouldn=E2=80=
=99t
>>=20
>>> the first section say user=E2=80=99s private asymmetric and symmetric ke=
ys? =20
>>> I
>>=20
>>> assume that is what was intended with private, but it reads funny to
>>=20
>>> me without that.  The only =E2=80=98attack=E2=80=99 or caution mentioned=
 in the
>>=20
>>> document is for the application to prevent a user from selecting the
>>=20
>>> wrong key.  Please include some attacks that developers and
>>=20
>>> implementers should be aware and cautioned on, or state that specific
>>=20
>>> attacks and considers are detailed in the subsections to follow.
>>=20
>>=20
>>=20
>>=20
>>> Mike> OK, I can work on expanding that.  There are some other attacks
>>=20
>>> mentioned in the other drafts, such as timing attacks, which can
>>=20
>>> probably at least be mentioned here.  I=E2=80=99ll send draft text to th=
e=20
>>> list
>>=20
>>> and consult with you before doing anything to the actual drafts.
>>=20
>>> Specific suggestions from working group participants would also be=20
>>> highly appreciated.
>>=20
>=20
> The Security Considerations section requires updating, let me know when th=
is has been done.  Thanks!
>>=20
>> KM> Great, thank you!
>>=20
>>=20
>>> I think that's it for now. Although I do need to look through some
>>=20
>>> more of the previous conversations on the mailing list and in the=20
>>> issue tracker.
>>=20
>>=20
>>=20
>>=20
>>> I see there are some open discussions, like the one Richard raised
>>=20
>>> yesterday that need to be resolved in the document as well before we
>>=20
>>> move forward with this one.  Thanks for all of your effort on this draft=
!!
>>=20
>>=20
>>=20
>>=20
>>> Mike> Per my note
>>=20
>>> http://www.ietf.org/mail-archive/web/jose/current/msg04061.html, I
>>=20
>>> don=E2=80=99t believe that that particular issue is open.  It had been
>>=20
>>> extensively discussed within the working group multiple times and the
>>=20
>>> issue was explicitly closed by the chairs, leaving the status quo in
>>=20
>>> place in which there are required algorithms for interoperability reason=
s.
>>=20
>>=20
>>=20
>>=20
>>> I'm going to add one more question to the review as I had the same
>>=20
>>> thought as Scott & Burt in their review of JWA (and also in JWS). =20
>>> Why
>>=20
>>> are there no other options in addition to SHA1?  The response to=20
>>> Scott
>>=20
>>> pointed back to early WG decisions, but I have heard this concern=20
>>> from
>>=20
>>> others and have it myself, so I am not sure this one is resolved. =20
>>> I'd like to revisit it.
>>=20
>>=20
>>=20
>>=20
>>> http://www.ietf.org/mail-archive/web/jose/current/msg04020.html
>>=20
>>=20
>>=20
>>=20
>>> Mike> If adding a new =E2=80=9CRSA-OAEP-256=E2=80=9D algorithm identifie=
r for =E2=80=9CRSAES
>>=20
>>> Mike> with
>>=20
>>> Optimal Asymmetric Encryption Padding using the MGF1 mask generation
>>=20
>>> function and the SHA-256 hash function=E2=80=9D would make a number of p=
eople
>>=20
>>> more comfortable, including you, there=E2=80=99s nothing wrong with doin=
g so.
>>=20
>>> However, it=E2=80=99s also not clear that it would be of much short-term=

>>=20
>>> practical benefit because, at least as of the implementation survey
>>=20
>>> done in July 2012, many crypto libraries don=E2=80=99t expose a way to g=
et at=20
>>> this algorithm combination.
>>=20
>>> However, the same argument could be made about RSASSA-PSS, which we
>>=20
>>> did add identifiers for in the end.  In short, I don=E2=80=99t think any=
one=20
>>> in
>>=20
>>> the working group would stridently object if you asked for this
>>=20
>>> additional algorithm identifier to be added.  Your call=E2=80=A6
>>=20
>>=20
>> KM> I'd say to add it.  I'll have a similar comment for the JWS draft
>>=20
>> for SHA256 support on thumbprints.
>>=20
>>=20
>>=20
>> Mike> OK =E2=80=93 I=E2=80=99ll add it.
>=20
> Thanks, and I see Scott's review and okay as well, which is helpful.
>>=20
>>=20
>> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed. =20
>> Mike> I=E2=80=99m
>> aware of no SHA-256 certificate thumbprint deployments.  I=E2=80=99ll not=
e=20
>> that even if SHA-1 were completely broken, that wouldn=E2=80=99t be a sec=
urity=20
>> issue because it=E2=80=99s just being used to generate a digest of public=
ly=20
>> available certificate information.  It=E2=80=99s not being used to crypto=
graphically obscure anything.
>> (But that=E2=80=99s actually a discussion for another draft. J)
>=20
> This is in place for the XML equivalents and should be possible for JSON. =
 I used this at least 2 years ago in the XML Oxygen editor.  I believe this h=
as been brought up before in terms of JSON, so I am not the first.  But it i=
s another draft... I'd like to get through these all soon :-)
>=20
>>=20
>>=20
>>=20
>>=20
>>> --
>>=20
>>=20
>>=20
>>=20
>>> Best regards,
>>=20
>>=20
>>> Kathleen
>>=20
>>=20
>>=20
>>=20
>>>                                                            Thanks a
>>=20
>>> bunch,
>>=20
>>=20
>>>                                                            -- Mike
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>>=20
>> --
>>=20
>>=20
>>=20
>> Best regards,
>>=20
>> Kathleen
>>=20
>>=20
>>=20
>> _______________________________________________
>>=20
>> jose mailing list
>>=20
>> jose@ietf.org
>>=20
>> https://www.ietf.org/mailman/listinfo/jose
>>=20
>>=20
>>=20
>>                                                                Thanks=20
>> again,
>>=20
>>                                                                --=20
>> Mike
>=20
> Thanks for your help!!
>=20
> --=20
>=20
> Best regards,
> Kathleen


From nobody Fri May  2 07:54:45 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 55F401A7011 for <jose@ietfa.amsl.com>; Fri,  2 May 2014 07:54:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 K10gKNAXkAU6 for <jose@ietfa.amsl.com>; Fri,  2 May 2014 07:54:38 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0181.outbound.protection.outlook.com [207.46.163.181]) by ietfa.amsl.com (Postfix) with ESMTP id 7B54A1A6FF4 for <jose@ietf.org>; Fri,  2 May 2014 07:54:37 -0700 (PDT)
Received: from ISOC-REM-MBA2187.local (74.214.48.55) by BY2PR06MB583.namprd06.prod.outlook.com (10.141.221.149) with Microsoft SMTP Server (TLS) id 15.0.934.12; Fri, 2 May 2014 14:54:32 +0000
Message-ID: <5363B1A7.2080404@isoc.org>
Date: Fri, 2 May 2014 10:54:31 -0400
From: Karen ODonoghue <odonoghue@isoc.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: <jose@ietf.org>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com> <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1A3C64@TK5EX14MBXC288.redmond.corp.microsoft.com> <3C134FBC-EF0D-4B4E-AACD-1869EFAD34AA@gmail.com>
In-Reply-To: <3C134FBC-EF0D-4B4E-AACD-1869EFAD34AA@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 8bit
X-Originating-IP: [74.214.48.55]
X-ClientProxiedBy: BLUPR08CA016.namprd08.prod.outlook.com (10.141.30.36) To BY2PR06MB583.namprd06.prod.outlook.com (10.141.221.149)
X-Forefront-PRVS: 019919A9E4
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019001)(979002)(6009001)(428001)(479174003)(377454003)(51444003)(69234005)(52604005)(51704005)(69224002)(164054003)(52084003)(189002)(199002)(51914003)(40764003)(24454002)(41574002)(13464003)(87976001)(4396001)(77982001)(65816999)(42186004)(76482001)(33656001)(46102001)(36756003)(59896001)(20776003)(80022001)(65806001)(65956001)(99396002)(66066001)(54356999)(80976001)(76176999)(19580395003)(19580405001)(83322001)(79102001)(50986999)(80316001)(47776003)(87266999)(74662001)(15975445006)(74502001)(83506001)(15202345003)(31966008)(50466002)(86362001)(85852003)(23676002)(83072002)(81542001)(64126003)(92726001)(81342001)(92566001)(101416001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR06MB583; H:ISOC-REM-MBA2187.local; FPR:; MLV:ovrnspm; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Received-SPF: None (: isoc.org does not designate permitted sender hosts)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=odonoghue@isoc.org; 
X-OriginatorOrg: isoc.org
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/OWoiJope54k-Yxszqmf0VL5aE1s
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Fri, 02 May 2014 14:54:42 -0000

Kathleen,

I will add some text to the tracker to make this clearer. My apologies 
for the confusion. Thanks for your efforts. I know there is a pile of 
stuff to plow through...

Regards,
Karen

On 5/2/14 10:18 AM, Kathleen Moriarty wrote:
> Thanks for the detailed response and all of your efforts on this draft.
>
> I need to backtrack on the statement I made about the WG decision on consensus for alg none.  They both have informed me that there was consensus, not just agreement to keep it in for implementations.  Could this be more explicit in the issue tracker or on the list by the chairs so I have something to point to if it comes up in last call?
>
> I am traveling today, so I don't have time to search for links on the equivalent for 'thumbprints' in XML.  They refer to this as a fingerprint and it was implemented in the XML oxygen editor used for certificates.  This may help in case folks are interested and have some time to look into it.
>
> Thank you,
> Kathleen
>
> Sent from my iPhone
>
>> On May 1, 2014, at 1:10 PM, Mike Jones <Michael.Jones@microsoft.com> wrote:
>>
>> Yes, I realize that I haven't revised the security considerations yet.  I started to do it and realized that it was a more intricate exercise than I'd originally anticipated, so decided to get the -26 drafts out with the easy stuff first, for working group review.  These mostly address comments by you, Scott, Hannes Tschofenig (which was actually a comment on JWT, but that applied to JOSE as well), and Antonio Sanso.
>>
>> WORKING GROUP:  I would appreciate any specific suggestions on additions that you'd like to have made to the security considerations section at http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-8.
>>
>> I also realize that I still need to write the note to David McGrew.
>>
>> Kathleen, can you point us to the XML equivalents of certificate thumbprints that you used?  That could be interesting.  FYI, I also submitted an individual -00 JSON thumbprint draft last month at http://tools.ietf.org/html/draft-jones-jose-jwk-thumbprint-00 (because the need for a JSON-based thumbprint came up in practice), but I'm not proposing that we try to jam it into JWS at this point.  It's fine for that to be work after a recharter, should the WG want to take it up.
>>
>>                 Best wishes,
>>                 -- Mike
>>
>> -----Original Message-----
>> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
>> Sent: Thursday, May 01, 2014 10:47 AM
>> To: Mike Jones
>> Cc: jose@ietf.org
>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>
>> Hi Mike,
>>
>> Thanks for posting the updated draft.  At a minimum, the security considerations update still needs to be updated.  I'd like an okay from Jim, the document shepherd when he thinks this is all ready in case I am missing any other open issues.  The rest is in-line as this seems to summarize all of the issues and there were discussions in other threads that I would prefer to not see them get lost.
>>
>>> On Thu, May 1, 2014 at 3:09 AM, Mike Jones <Michael.Jones@microsoft.com> wrote:
>>> The algorithm name “RSA-OAEP-256” for RSAES OAEP using SHA-256 and
>>> MGF1 with
>>> SHA-256 has been added at
>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#sect
>>> ion-4.3,
>>> per your request, Kathleen.
>>>
>>>
>>>
>>>
>>> -- Mike
>>>
>>>
>>>
>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>>> Sent: Friday, April 25, 2014 6:38 PM
>>>
>>>
>>> To: Kathleen Moriarty; Jim Schaad
>>> Cc: jose@ietf.org; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>>
>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>
>>>
>>>
>>> Thanks, Kathleen.  Comments are inline, marked “Mike>”…
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen
>>> Moriarty
>>> Sent: Friday, April 25, 2014 2:07 PM
>>> To: Jim Schaad
>>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org;
>>> jose@ietf.org
>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>
>>>
>>>
>>> Sorry for the delay in my response.  I'll answer in-line below.
>>>
>>>
>>>
>>> Thanks!
>>>
>>>
>>>
>>>> On Thu, Apr 17, 2014 at 5:20 PM, Jim Schaad <ietf@augustcellars.com> wrote:
>>>>
>>>
>>>
>>>
>>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>>>> Sent: Thursday, April 17, 2014 10:46 AM
>>>> To: Kathleen Moriarty; jose@ietf.org
>>>> Cc: draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>
>>>
>>>
>>>> Thanks for taking the time to do the review, Kathleen.  Responses are
>>>> inline, flagged by “Mike>”.  I also pasted your follow-on note in and
>>>> responded to it as well.
>>>
>>>
>>>
>>>> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
>>>> Sent: Thursday, April 17, 2014 7:51 AM
>>>> To: jose@ietf.org
>>>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>>> Subject: AD review of draft-ietf-jose-json-web-algorithms
>>>
>>>
>>>
>>>> Hello Mike & JOSE members,
>>>
>>>
>>>
>>>> I am working my way through the requested reviews to progress the
>>>> JOSE
>>>> drafts and can see a lot of work has been done, thank you.  As I read
>>>> through the Algorithms (JWA) draft there are some changes that will
>>>> need to be made to avoid problems during the IESG review.  This is a
>>>> pretty big change for the draft, but will help make the review and
>>>> approval faster.
>>>> Typically, the lists of algorithms are handled through a draft update
>>>> as opposed to creating an IANA registry.  A good example is a recent
>>>> update of a draft in the IPSECME working group so you can see the
>>>> structure and the precedence for this model.
>>>
>>>
>>>
>>>> https://datatracker.ietf.org/doc/draft-ietf-ipsecme-esp-ah-reqts
>>>
>>>
>>>
>>>> Mike> So you’re suggesting that future JWA drafts might obsolete the
>>>> Mike> current
>>>> one, much like draft-ietf-ipsecme-esp-ah-reqts will obsolete RFC
>>>> 4835,
>>>> which obsoleted RFC 4305, etc.?  If so, could work on revising the
>>>> JWA
>>>> draft accordingly and send proposed changes to the working group.
>>>
>>>
>>> KM> I am not sure where Jim's response is, but I have been looking
>>>
>>> into this.  My initial message came after some conversations with
>>> Sean.  In response to your posts, I reached out to a couple of other
>>> ADs who may have had concerns and *think* we are okay as long as the
>>> registries will be used with a designated expert review to add to the
>>> registry.  If a draft is required for an update, that would cause
>>> problems as opposed to a draft with no registries.  Sorry for the confusion here.
>>>
>>>
>>>
>>> Mike> Jim’s response is at
>>> http://www.ietf.org/mail-archive/web/jose/current/msg04071.html,
>>> starting with “[JLS] Kathleen, I don’t know that I agree with this
>>> statement.  There are a number of different places where IANA
>>> registries are used for the purpose of having lists of algorithms.”
>>> All the registries established already require expert review, as
>>> described at http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#section-7.
>>> So it sounds like we should be OK.  That’s good.  Thanks for working
>>> the issue.
>>>
>>>
>>>
>>>
>>>> Now for other edits and questions:
>>>
>>>
>>>
>>>> Section 3.6 - Can you explain why would this be included?  If you are
>>>> not going to sign, I am not sure why one would use JOSE at all.
>>>
>>>
>>>
>>>> Mike> This is included to enable representing content that is
>>>> Mike> optionally
>>>> signed in protocols using JWS.  Having this means that whether or not
>>>> the content is signed, it can use a uniform representation, which is
>>>> easy to parse.  This is in production use, for instance, to enable
>>>> OAuth authorization request messages that are optionally signed.
>>>> Sometimes content need not be signed at the JWS level because it’s
>>>> integrity protected by other protocol layers – in particular, often
>>>> by
>>>> the use of TLS.  Another use case is where signing adds additional
>>>> optional value, but where there’s no harm in using unsigned content –
>>>> for instance, while normal OAuth requests are inline and unsigned, a
>>>> registered extension enables request parameters to be passed by
>>>> reference, rather than by value; the object referenced containing the
>>>> parameters is a JWS; the JWS can optionally be signed.  The current,
>>>> carefully refined treatment of “none” is the result of substantial
>>>> mailing list discussions and discussions on working group calls.
>>>> While a less parallel treatment of unsigned JWSs was proposed in
>>>> http://trac.tools.ietf.org/wg/jose/trac/ticket/36, this alternative
>>>> syntax was rejected by the working group in favor of the current approach.
>>>
>>>
>>> KM> I responded to Vladamir on this one and would just like to know if
>>>
>>> there is WG consensus behind the decision.  Can you point me to
>>> discussions on this?
>>>
>>>
>>>
>>> Mike> Brian Campbell did a good job summarizing the consensus in his
>>> Mike> note
>>> http://www.ietf.org/mail-archive/web/jose/current/msg04082.html.  Jim
>>> Schaad documented the consensus in his note closing issue #36 at the
>>> end of http://trac.tools.ietf.org/wg/jose/trac/ticket/36.
>>>
>>>
>>>
>>> Mike> This was extensively discussed on a thread titled “[jose] #36:
>>> Algorithm "none" should be removed” between 7/31/13 and 8/22/13 and
>>> then also on a follow-up thread named “[jose] Text about applications
>>> and "alg":"none"” between 9/3/13 and 9/9/13.  The latter thread
>>> resulted from an action items from the preceding interim working group
>>> call (the agenda for which was published at
>>> http://www.ietf.org/proceedings/interim/2013/08/19/jose/agenda/agenda-interim-2013-jose-5).
>>>
>>>
>>>
>>> Mike> The text agreed to by the working group that Brian referred to
>>> Mike> was
>>> added in draft-ietf-jose-json-web-algorithms-16, published on 9/15/13.
>>> Jim closed the issue on 10/28/13.
>> My read of the threads and issue tracker was that implementations won out to close this discussion, but that there was no consensus.  There were many involved in the discussion that provided arguments and support for not including alg none.  I'll support this as a WG decision based on implementations, as that's how I read it.  I appreciate all of the feedback on actual use of this as it will be helpful in case this comes up during last call.
>>
>>>
>>>
>>>> Section 5.2 - The write up of this section seems a bit more
>>>> complicated than necessary.  It seems it would have just been simpler
>>>> to state that the sizes vary as required by the algorithms and key
>>>> lengths used rather than providing the differences from one to the next.
>>>> Can you simplify this?
>>>
>>>> After looking through some of the mailing list discussions, it seems
>>>> there was already agreement to slim this and other sections down by
>>>> pointing to the draft-mcgrew-aead-aes-cbc-hmac-sha2
>>>
>>>
>>>
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg02276.html
>>>
>>>> Can I get an update as to where that stands, referencing what you can
>>>> from that draft as opposed to duplicating text?  Thanks!
>>>
>>>> Mike> Sure.  The key part of the message you cited is “Once the
>>>> Mike> McGrew
>>>> Mike> draft
>>>> has been refactored to separate the description of the calculation
>>>> steps (which JOSE is using) from the AEAD representation steps (which
>>>> JOSE is not using), and to include test vector values that show
>>>> results without performing the AEAD representation concatenations, I
>>>> agree that we'll be able to just reference it, rather than
>>>> duplicating
>>>> it.”  The problem is that the refactoring was never done.  The
>>>> algorithm description in
>>>> draft-mcgrew-aead-aes-cbc-hmac-sha2 is written in such a way that the
>>>> ciphertext C, as described, also includes the IV value as a prefix
>>>> and
>>>> the authentication tag T as a suffix, rather than treating each of
>>>> those as separate values.  The test vectors do the same.  Yes, David
>>>> added appendix B saying that the values could be treated as separate,
>>>> but the write-up does no favors to implementers, as both the core
>>>> algorithm description and the test vectors assume they are combined.
>>>> (I personally know that working out how to treat them as separate
>>>> from
>>>> David’s current draft is a tedious and error-prone exercise, having
>>>> had to do so to tease them apart for the current JWA write-up.)
>>>> David
>>>> has been asked about doing the refactoring several times by multiple
>>>> parties, but he’s a busy guy, and I don’t think it’s ever reached the
>>>> top of his queue.  As it is, the JWA description is clear and
>>>> semantically equivalent and implementers have shown that they can
>>>> successfully build it.  Finally, we wouldn’t want to take a normative
>>>> dependency upon a draft that appears to have been largely abandoned
>>>> (or at least neglected), as doing so could indefinitely stall
>>>> publication of RFC versions of the JOSE specs.
>>>
>>>
>>>
>>>> [JLS]  I always considered this to be a sufficient refactoring to use
>>>> the mcgrew draft as a basis.  I did not have the same type of
>>>> problems
>>>> with breaking the test vectors apart that you seem to have had.
>>>
>>>
>>>
>>> KM> OK, has anyone reached out to Dave McGrew to discuss?  How can we
>>>
>>> clear this up?
>>>
>>>
>>>
>>> Mike> I’d had in-person and phone conversations with him about it last
>>> Mike> year,
>>> but not much happened as a result.
>>>
>>>
>>>
>>> Mike> I wrote more about your question at
>>> http://www.ietf.org/mail-archive/web/jose/current/msg04074.html in
>>> which I pointed out errors and sources of confusion in David’s draft
>>> that would complicate life for developers and possibly result in
>>> incorrect implementations; Jim responded at
>>> http://www.ietf.org/mail-archive/web/jose/current/msg04075.html.  I’ll
>>> send a note to David pointing these out and offering to produce
>>> proposed changes for him to incorporate, but unless he either decides
>>> to devote bandwidth to advancing the draft (it’s already expired once)
>>> or is willing to delegate it to us to do so, I think we don’t have
>>> much choice but to continue to have a complete and accurate
>>> description of the algorithms in the JWA doc, and let his draft
>>> advance at its own pace.  I’ll note that we also don’t have a
>>> publication vehicle for the draft to become an RFC, because it’s not in any working group, nor does it have AD sponsorship that I’m aware of.
>> Thank you, please keep us posted on the status/progress so we know how to move forward.
>>
>>>
>>>
>>>> Security Considerations: While it is true the content is covered in
>>>> other places, this section could benefit from improvement before it
>>>> goes to the SecDir review.  The second sentence in the first
>>>> paragraph
>>>> says the
>>>> following:
>>>
>>>>    Among these issues are
>>>
>>>>    protecting the user's private and symmetric keys, preventing
>>>> various
>>>
>>>>    attacks, and helping the user avoid mistakes such as inadvertently
>>>
>>>>    encrypting a message for the wrong recipient.
>>>
>>>> It would be helpful if you could expand the text and make it more
>>>> descriptive and applicable to this document.  For example, shouldn’t
>>>> the first section say user’s private asymmetric and symmetric keys?
>>>> I
>>>> assume that is what was intended with private, but it reads funny to
>>>> me without that.  The only ‘attack’ or caution mentioned in the
>>>> document is for the application to prevent a user from selecting the
>>>> wrong key.  Please include some attacks that developers and
>>>> implementers should be aware and cautioned on, or state that specific
>>>> attacks and considers are detailed in the subsections to follow.
>>>
>>>
>>>
>>>> Mike> OK, I can work on expanding that.  There are some other attacks
>>>> mentioned in the other drafts, such as timing attacks, which can
>>>> probably at least be mentioned here.  I’ll send draft text to the
>>>> list
>>>> and consult with you before doing anything to the actual drafts.
>>>> Specific suggestions from working group participants would also be
>>>> highly appreciated.
>> The Security Considerations section requires updating, let me know when this has been done.  Thanks!
>>> KM> Great, thank you!
>>>
>>>
>>>> I think that's it for now. Although I do need to look through some
>>>> more of the previous conversations on the mailing list and in the
>>>> issue tracker.
>>>
>>>
>>>
>>>> I see there are some open discussions, like the one Richard raised
>>>> yesterday that need to be resolved in the document as well before we
>>>> move forward with this one.  Thanks for all of your effort on this draft!!
>>>
>>>
>>>
>>>> Mike> Per my note
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04061.html, I
>>>> don’t believe that that particular issue is open.  It had been
>>>> extensively discussed within the working group multiple times and the
>>>> issue was explicitly closed by the chairs, leaving the status quo in
>>>> place in which there are required algorithms for interoperability reasons.
>>>
>>>
>>>
>>>> I'm going to add one more question to the review as I had the same
>>>> thought as Scott & Burt in their review of JWA (and also in JWS).
>>>> Why
>>>> are there no other options in addition to SHA1?  The response to
>>>> Scott
>>>> pointed back to early WG decisions, but I have heard this concern
>>>> from
>>>> others and have it myself, so I am not sure this one is resolved.
>>>> I'd like to revisit it.
>>>
>>>
>>>
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04020.html
>>>
>>>
>>>
>>>> Mike> If adding a new “RSA-OAEP-256” algorithm identifier for “RSAES
>>>> Mike> with
>>>> Optimal Asymmetric Encryption Padding using the MGF1 mask generation
>>>> function and the SHA-256 hash function” would make a number of people
>>>> more comfortable, including you, there’s nothing wrong with doing so.
>>>> However, it’s also not clear that it would be of much short-term
>>>> practical benefit because, at least as of the implementation survey
>>>> done in July 2012, many crypto libraries don’t expose a way to get at
>>>> this algorithm combination.
>>>> However, the same argument could be made about RSASSA-PSS, which we
>>>> did add identifiers for in the end.  In short, I don’t think anyone
>>>> in
>>>> the working group would stridently object if you asked for this
>>>> additional algorithm identifier to be added.  Your call…
>>>
>>> KM> I'd say to add it.  I'll have a similar comment for the JWS draft
>>>
>>> for SHA256 support on thumbprints.
>>>
>>>
>>>
>>> Mike> OK – I’ll add it.
>> Thanks, and I see Scott's review and okay as well, which is helpful.
>>>
>>> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed.
>>> Mike> I’m
>>> aware of no SHA-256 certificate thumbprint deployments.  I’ll note
>>> that even if SHA-1 were completely broken, that wouldn’t be a security
>>> issue because it’s just being used to generate a digest of publicly
>>> available certificate information.  It’s not being used to cryptographically obscure anything.
>>> (But that’s actually a discussion for another draft. J)
>> This is in place for the XML equivalents and should be possible for JSON.  I used this at least 2 years ago in the XML Oxygen editor.  I believe this has been brought up before in terms of JSON, so I am not the first.  But it is another draft... I'd like to get through these all soon :-)
>>
>>>
>>>
>>>
>>>> --
>>>
>>>
>>>
>>>> Best regards,
>>>
>>>> Kathleen
>>>
>>>
>>>
>>>>                                                             Thanks a
>>>> bunch,
>>>
>>>>                                                             -- Mike
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Kathleen
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> jose mailing list
>>>
>>> jose@ietf.org
>>>
>>> https://www.ietf.org/mailman/listinfo/jose
>>>
>>>
>>>
>>>                                                                 Thanks
>>> again,
>>>
>>>                                                                 --
>>> Mike
>> Thanks for your help!!
>>
>> -- 
>>
>> Best regards,
>> Kathleen
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From nobody Fri May  2 08:05:29 2014
Return-Path: <kathleen.moriarty.ietf@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 3C6E51A6FB4 for <jose@ietfa.amsl.com>; Fri,  2 May 2014 08:05:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MIME_QP_LONG_LINE=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 CtyE_TRI3CUH for <jose@ietfa.amsl.com>; Fri,  2 May 2014 08:05:24 -0700 (PDT)
Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) by ietfa.amsl.com (Postfix) with ESMTP id D49481A6FD1 for <jose@ietf.org>; Fri,  2 May 2014 08:05:23 -0700 (PDT)
Received: by mail-ig0-f176.google.com with SMTP id hl10so1975886igb.15 for <jose@ietf.org>; Fri, 02 May 2014 08:05:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7It7Kt7blpHBGl8mGkazTNNAzFqC4cXSbxvzROGyvH4=; b=xue9tm0Q7FkolZdRAXKdNm4lssIUdYLk1f02OI1pfN7WehAb6fQXG11uU7c8cIZ3fb 4DRENROivUU2O5sAbZHcDKvBJttBFDHwlzbTwqRiwTNWWzFr5HwrI5wgLOFivkpJXVxZ R59M31HiuhzrKYHpnlttmwwx6wg1UzSdHeDcI5OH77IiT83Rk9qK8D81Y1shvPm4Eyax KJaRCrVHBjGyouYEdkhIH8MFHvj11fDhUlgc72PLbD7TKGnHjaOluk6OH4Ak58KiT944 908LBCynirIQCc/UWuVxR58NC3LQDmhsFEDpyCzYQ3smLh5+snNQSa0C/B1NGWZNrbIB l6ag==
X-Received: by 10.51.17.5 with SMTP id ga5mr5030248igd.2.1399043121407; Fri, 02 May 2014 08:05:21 -0700 (PDT)
Received: from [10.0.245.50] (mobile-166-147-100-113.mycingular.net. [166.147.100.113]) by mx.google.com with ESMTPSA id k8sm7378919ige.0.2014.05.02.08.05.18 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 May 2014 08:05:19 -0700 (PDT)
X-Google-Original-From: Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (1.0)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: iPhone Mail (11D167)
In-Reply-To: <5363B1A7.2080404@isoc.org>
Date: Fri, 2 May 2014 10:05:17 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <8137EF92-E3D2-454C-AB1F-76B2AF3692B2@gmail.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com> <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1A3C64@TK5EX14MBXC288.redmond.corp.microsoft.com> <3C134FBC-EF0D-4B4E-AACD-1869EFAD34AA@gmail.com> <5363B1A7.2080404@isoc.org>
To: Karen ODonoghue <odonoghue@isoc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/vYsisuYO096U5nzOTCXBVAmIvQQ
Cc: "<jose@ietf.org>" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Fri, 02 May 2014 15:05:28 -0000

Thank you, Karen.

'They' below should have said the chairs.

Thanks,
Kathleen=20

Sent from my iPhone

> On May 2, 2014, at 9:54 AM, Karen ODonoghue <odonoghue@isoc.org> wrote:
>=20
> Kathleen,
>=20
> I will add some text to the tracker to make this clearer. My apologies for=
 the confusion. Thanks for your efforts. I know there is a pile of stuff to p=
low through...
>=20
> Regards,
> Karen
>=20
>> On 5/2/14 10:18 AM, Kathleen Moriarty wrote:
>> Thanks for the detailed response and all of your efforts on this draft.
>>=20
>> I need to backtrack on the statement I made about the WG decision on cons=
ensus for alg none.  They both have informed me that there was consensus, no=
t just agreement to keep it in for implementations.  Could this be more expl=
icit in the issue tracker or on the list by the chairs so I have something t=
o point to if it comes up in last call?
>>=20
>> I am traveling today, so I don't have time to search for links on the equ=
ivalent for 'thumbprints' in XML.  They refer to this as a fingerprint and i=
t was implemented in the XML oxygen editor used for certificates.  This may h=
elp in case folks are interested and have some time to look into it.
>>=20
>> Thank you,
>> Kathleen
>>=20
>> Sent from my iPhone
>>=20
>>> On May 1, 2014, at 1:10 PM, Mike Jones <Michael.Jones@microsoft.com> wro=
te:
>>>=20
>>> Yes, I realize that I haven't revised the security considerations yet.  I=
 started to do it and realized that it was a more intricate exercise than I'=
d originally anticipated, so decided to get the -26 drafts out with the easy=
 stuff first, for working group review.  These mostly address comments by yo=
u, Scott, Hannes Tschofenig (which was actually a comment on JWT, but that a=
pplied to JOSE as well), and Antonio Sanso.
>>>=20
>>> WORKING GROUP:  I would appreciate any specific suggestions on additions=
 that you'd like to have made to the security considerations section at http=
://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-8.
>>>=20
>>> I also realize that I still need to write the note to David McGrew.
>>>=20
>>> Kathleen, can you point us to the XML equivalents of certificate thumbpr=
ints that you used?  That could be interesting.  FYI, I also submitted an in=
dividual -00 JSON thumbprint draft last month at http://tools.ietf.org/html/=
draft-jones-jose-jwk-thumbprint-00 (because the need for a JSON-based thumbp=
rint came up in practice), but I'm not proposing that we try to jam it into J=
WS at this point.  It's fine for that to be work after a recharter, should t=
he WG want to take it up.
>>>=20
>>>                Best wishes,
>>>                -- Mike
>>>=20
>>> -----Original Message-----
>>> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
>>> Sent: Thursday, May 01, 2014 10:47 AM
>>> To: Mike Jones
>>> Cc: jose@ietf.org
>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>=20
>>> Hi Mike,
>>>=20
>>> Thanks for posting the updated draft.  At a minimum, the security consid=
erations update still needs to be updated.  I'd like an okay from Jim, the d=
ocument shepherd when he thinks this is all ready in case I am missing any o=
ther open issues.  The rest is in-line as this seems to summarize all of the=
 issues and there were discussions in other threads that I would prefer to n=
ot see them get lost.
>>>=20
>>>> On Thu, May 1, 2014 at 3:09 AM, Mike Jones <Michael.Jones@microsoft.com=
> wrote:
>>>> The algorithm name =E2=80=9CRSA-OAEP-256=E2=80=9D for RSAES OAEP using S=
HA-256 and
>>>> MGF1 with
>>>> SHA-256 has been added at
>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#sect
>>>> ion-4.3,
>>>> per your request, Kathleen.
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>> -- Mike
>>>>=20
>>>>=20
>>>>=20
>>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>>>> Sent: Friday, April 25, 2014 6:38 PM
>>>>=20
>>>>=20
>>>> To: Kathleen Moriarty; Jim Schaad
>>>> Cc: jose@ietf.org; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>>>=20
>>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>>=20
>>>>=20
>>>>=20
>>>> Thanks, Kathleen.  Comments are inline, marked =E2=80=9CMike>=E2=80=9D=E2=
=80=A6
>>>>=20
>>>>=20
>>>>=20
>>>> -----Original Message-----
>>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen
>>>> Moriarty
>>>> Sent: Friday, April 25, 2014 2:07 PM
>>>> To: Jim Schaad
>>>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org;
>>>> jose@ietf.org
>>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>>=20
>>>>=20
>>>>=20
>>>> Sorry for the delay in my response.  I'll answer in-line below.
>>>>=20
>>>>=20
>>>>=20
>>>> Thanks!
>>>>=20
>>>>=20
>>>>=20
>>>>> On Thu, Apr 17, 2014 at 5:20 PM, Jim Schaad <ietf@augustcellars.com> w=
rote:
>>>>=20
>>>>=20
>>>>=20
>>>>> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
>>>>> Sent: Thursday, April 17, 2014 10:46 AM
>>>>> To: Kathleen Moriarty; jose@ietf.org
>>>>> Cc: draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>>>> Subject: Re: [jose] AD review of draft-ietf-jose-json-web-algorithms
>>>>=20
>>>>=20
>>>>=20
>>>>> Thanks for taking the time to do the review, Kathleen.  Responses are
>>>>> inline, flagged by =E2=80=9CMike>=E2=80=9D.  I also pasted your follow=
-on note in and
>>>>> responded to it as well.
>>>>=20
>>>>=20
>>>>=20
>>>>> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
>>>>> Sent: Thursday, April 17, 2014 7:51 AM
>>>>> To: jose@ietf.org
>>>>> Cc: Mike Jones; draft-ietf-jose-json-web-algorithms@tools.ietf.org
>>>>> Subject: AD review of draft-ietf-jose-json-web-algorithms
>>>>=20
>>>>=20
>>>>=20
>>>>> Hello Mike & JOSE members,
>>>>=20
>>>>=20
>>>>=20
>>>>> I am working my way through the requested reviews to progress the
>>>>> JOSE
>>>>> drafts and can see a lot of work has been done, thank you.  As I read
>>>>> through the Algorithms (JWA) draft there are some changes that will
>>>>> need to be made to avoid problems during the IESG review.  This is a
>>>>> pretty big change for the draft, but will help make the review and
>>>>> approval faster.
>>>>> Typically, the lists of algorithms are handled through a draft update
>>>>> as opposed to creating an IANA registry.  A good example is a recent
>>>>> update of a draft in the IPSECME working group so you can see the
>>>>> structure and the precedence for this model.
>>>>=20
>>>>=20
>>>>=20
>>>>> https://datatracker.ietf.org/doc/draft-ietf-ipsecme-esp-ah-reqts
>>>>=20
>>>>=20
>>>>=20
>>>>> Mike> So you=E2=80=99re suggesting that future JWA drafts might obsole=
te the
>>>>> Mike> current
>>>>> one, much like draft-ietf-ipsecme-esp-ah-reqts will obsolete RFC
>>>>> 4835,
>>>>> which obsoleted RFC 4305, etc.?  If so, could work on revising the
>>>>> JWA
>>>>> draft accordingly and send proposed changes to the working group.
>>>>=20
>>>>=20
>>>> KM> I am not sure where Jim's response is, but I have been looking
>>>>=20
>>>> into this.  My initial message came after some conversations with
>>>> Sean.  In response to your posts, I reached out to a couple of other
>>>> ADs who may have had concerns and *think* we are okay as long as the
>>>> registries will be used with a designated expert review to add to the
>>>> registry.  If a draft is required for an update, that would cause
>>>> problems as opposed to a draft with no registries.  Sorry for the confu=
sion here.
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> Jim=E2=80=99s response is at
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04071.html,
>>>> starting with =E2=80=9C[JLS] Kathleen, I don=E2=80=99t know that I agre=
e with this
>>>> statement.  There are a number of different places where IANA
>>>> registries are used for the purpose of having lists of algorithms.=E2=80=
=9D
>>>> All the registries established already require expert review, as
>>>> described at http://tools.ietf.org/html/draft-ietf-jose-json-web-algori=
thms-25#section-7.
>>>> So it sounds like we should be OK.  That=E2=80=99s good.  Thanks for wo=
rking
>>>> the issue.
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>>> Now for other edits and questions:
>>>>=20
>>>>=20
>>>>=20
>>>>> Section 3.6 - Can you explain why would this be included?  If you are
>>>>> not going to sign, I am not sure why one would use JOSE at all.
>>>>=20
>>>>=20
>>>>=20
>>>>> Mike> This is included to enable representing content that is
>>>>> Mike> optionally
>>>>> signed in protocols using JWS.  Having this means that whether or not
>>>>> the content is signed, it can use a uniform representation, which is
>>>>> easy to parse.  This is in production use, for instance, to enable
>>>>> OAuth authorization request messages that are optionally signed.
>>>>> Sometimes content need not be signed at the JWS level because it=E2=80=
=99s
>>>>> integrity protected by other protocol layers =E2=80=93 in particular, o=
ften
>>>>> by
>>>>> the use of TLS.  Another use case is where signing adds additional
>>>>> optional value, but where there=E2=80=99s no harm in using unsigned co=
ntent =E2=80=93
>>>>> for instance, while normal OAuth requests are inline and unsigned, a
>>>>> registered extension enables request parameters to be passed by
>>>>> reference, rather than by value; the object referenced containing the
>>>>> parameters is a JWS; the JWS can optionally be signed.  The current,
>>>>> carefully refined treatment of =E2=80=9Cnone=E2=80=9D is the result of=
 substantial
>>>>> mailing list discussions and discussions on working group calls.
>>>>> While a less parallel treatment of unsigned JWSs was proposed in
>>>>> http://trac.tools.ietf.org/wg/jose/trac/ticket/36, this alternative
>>>>> syntax was rejected by the working group in favor of the current appro=
ach.
>>>>=20
>>>>=20
>>>> KM> I responded to Vladamir on this one and would just like to know if
>>>>=20
>>>> there is WG consensus behind the decision.  Can you point me to
>>>> discussions on this?
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> Brian Campbell did a good job summarizing the consensus in his
>>>> Mike> note
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04082.html.  Jim
>>>> Schaad documented the consensus in his note closing issue #36 at the
>>>> end of http://trac.tools.ietf.org/wg/jose/trac/ticket/36.
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> This was extensively discussed on a thread titled =E2=80=9C[jose]=
 #36:
>>>> Algorithm "none" should be removed=E2=80=9D between 7/31/13 and 8/22/13=
 and
>>>> then also on a follow-up thread named =E2=80=9C[jose] Text about applic=
ations
>>>> and "alg":"none"=E2=80=9D between 9/3/13 and 9/9/13.  The latter thread=

>>>> resulted from an action items from the preceding interim working group
>>>> call (the agenda for which was published at
>>>> http://www.ietf.org/proceedings/interim/2013/08/19/jose/agenda/agenda-i=
nterim-2013-jose-5).
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> The text agreed to by the working group that Brian referred to
>>>> Mike> was
>>>> added in draft-ietf-jose-json-web-algorithms-16, published on 9/15/13.
>>>> Jim closed the issue on 10/28/13.
>>> My read of the threads and issue tracker was that implementations won ou=
t to close this discussion, but that there was no consensus.  There were man=
y involved in the discussion that provided arguments and support for not inc=
luding alg none.  I'll support this as a WG decision based on implementation=
s, as that's how I read it.  I appreciate all of the feedback on actual use o=
f this as it will be helpful in case this comes up during last call.
>>>=20
>>>>=20
>>>>=20
>>>>> Section 5.2 - The write up of this section seems a bit more
>>>>> complicated than necessary.  It seems it would have just been simpler
>>>>> to state that the sizes vary as required by the algorithms and key
>>>>> lengths used rather than providing the differences from one to the nex=
t.
>>>>> Can you simplify this?
>>>>=20
>>>>> After looking through some of the mailing list discussions, it seems
>>>>> there was already agreement to slim this and other sections down by
>>>>> pointing to the draft-mcgrew-aead-aes-cbc-hmac-sha2
>>>>=20
>>>>=20
>>>>=20
>>>>> http://www.ietf.org/mail-archive/web/jose/current/msg02276.html
>>>>=20
>>>>> Can I get an update as to where that stands, referencing what you can
>>>>> from that draft as opposed to duplicating text?  Thanks!
>>>>=20
>>>>> Mike> Sure.  The key part of the message you cited is =E2=80=9COnce th=
e
>>>>> Mike> McGrew
>>>>> Mike> draft
>>>>> has been refactored to separate the description of the calculation
>>>>> steps (which JOSE is using) from the AEAD representation steps (which
>>>>> JOSE is not using), and to include test vector values that show
>>>>> results without performing the AEAD representation concatenations, I
>>>>> agree that we'll be able to just reference it, rather than
>>>>> duplicating
>>>>> it.=E2=80=9D  The problem is that the refactoring was never done.  The=

>>>>> algorithm description in
>>>>> draft-mcgrew-aead-aes-cbc-hmac-sha2 is written in such a way that the
>>>>> ciphertext C, as described, also includes the IV value as a prefix
>>>>> and
>>>>> the authentication tag T as a suffix, rather than treating each of
>>>>> those as separate values.  The test vectors do the same.  Yes, David
>>>>> added appendix B saying that the values could be treated as separate,
>>>>> but the write-up does no favors to implementers, as both the core
>>>>> algorithm description and the test vectors assume they are combined.
>>>>> (I personally know that working out how to treat them as separate
>>>>> from
>>>>> David=E2=80=99s current draft is a tedious and error-prone exercise, h=
aving
>>>>> had to do so to tease them apart for the current JWA write-up.)
>>>>> David
>>>>> has been asked about doing the refactoring several times by multiple
>>>>> parties, but he=E2=80=99s a busy guy, and I don=E2=80=99t think it=E2=80=
=99s ever reached the
>>>>> top of his queue.  As it is, the JWA description is clear and
>>>>> semantically equivalent and implementers have shown that they can
>>>>> successfully build it.  Finally, we wouldn=E2=80=99t want to take a no=
rmative
>>>>> dependency upon a draft that appears to have been largely abandoned
>>>>> (or at least neglected), as doing so could indefinitely stall
>>>>> publication of RFC versions of the JOSE specs.
>>>>=20
>>>>=20
>>>>=20
>>>>> [JLS]  I always considered this to be a sufficient refactoring to use
>>>>> the mcgrew draft as a basis.  I did not have the same type of
>>>>> problems
>>>>> with breaking the test vectors apart that you seem to have had.
>>>>=20
>>>>=20
>>>>=20
>>>> KM> OK, has anyone reached out to Dave McGrew to discuss?  How can we
>>>>=20
>>>> clear this up?
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> I=E2=80=99d had in-person and phone conversations with him about i=
t last
>>>> Mike> year,
>>>> but not much happened as a result.
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> I wrote more about your question at
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04074.html in
>>>> which I pointed out errors and sources of confusion in David=E2=80=99s d=
raft
>>>> that would complicate life for developers and possibly result in
>>>> incorrect implementations; Jim responded at
>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04075.html.  I=E2=80=
=99ll
>>>> send a note to David pointing these out and offering to produce
>>>> proposed changes for him to incorporate, but unless he either decides
>>>> to devote bandwidth to advancing the draft (it=E2=80=99s already expire=
d once)
>>>> or is willing to delegate it to us to do so, I think we don=E2=80=99t h=
ave
>>>> much choice but to continue to have a complete and accurate
>>>> description of the algorithms in the JWA doc, and let his draft
>>>> advance at its own pace.  I=E2=80=99ll note that we also don=E2=80=99t h=
ave a
>>>> publication vehicle for the draft to become an RFC, because it=E2=80=99=
s not in any working group, nor does it have AD sponsorship that I=E2=80=99m=
 aware of.
>>> Thank you, please keep us posted on the status/progress so we know how t=
o move forward.
>>>=20
>>>>=20
>>>>=20
>>>>> Security Considerations: While it is true the content is covered in
>>>>> other places, this section could benefit from improvement before it
>>>>> goes to the SecDir review.  The second sentence in the first
>>>>> paragraph
>>>>> says the
>>>>> following:
>>>>=20
>>>>>   Among these issues are
>>>>=20
>>>>>   protecting the user's private and symmetric keys, preventing
>>>>> various
>>>>=20
>>>>>   attacks, and helping the user avoid mistakes such as inadvertently
>>>>=20
>>>>>   encrypting a message for the wrong recipient.
>>>>=20
>>>>> It would be helpful if you could expand the text and make it more
>>>>> descriptive and applicable to this document.  For example, shouldn=E2=80=
=99t
>>>>> the first section say user=E2=80=99s private asymmetric and symmetric k=
eys?
>>>>> I
>>>>> assume that is what was intended with private, but it reads funny to
>>>>> me without that.  The only =E2=80=98attack=E2=80=99 or caution mention=
ed in the
>>>>> document is for the application to prevent a user from selecting the
>>>>> wrong key.  Please include some attacks that developers and
>>>>> implementers should be aware and cautioned on, or state that specific
>>>>> attacks and considers are detailed in the subsections to follow.
>>>>=20
>>>>=20
>>>>=20
>>>>> Mike> OK, I can work on expanding that.  There are some other attacks
>>>>> mentioned in the other drafts, such as timing attacks, which can
>>>>> probably at least be mentioned here.  I=E2=80=99ll send draft text to t=
he
>>>>> list
>>>>> and consult with you before doing anything to the actual drafts.
>>>>> Specific suggestions from working group participants would also be
>>>>> highly appreciated.
>>> The Security Considerations section requires updating, let me know when t=
his has been done.  Thanks!
>>>> KM> Great, thank you!
>>>>=20
>>>>=20
>>>>> I think that's it for now. Although I do need to look through some
>>>>> more of the previous conversations on the mailing list and in the
>>>>> issue tracker.
>>>>=20
>>>>=20
>>>>=20
>>>>> I see there are some open discussions, like the one Richard raised
>>>>> yesterday that need to be resolved in the document as well before we
>>>>> move forward with this one.  Thanks for all of your effort on this dra=
ft!!
>>>>=20
>>>>=20
>>>>=20
>>>>> Mike> Per my note
>>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04061.html, I
>>>>> don=E2=80=99t believe that that particular issue is open.  It had been=

>>>>> extensively discussed within the working group multiple times and the
>>>>> issue was explicitly closed by the chairs, leaving the status quo in
>>>>> place in which there are required algorithms for interoperability reas=
ons.
>>>>=20
>>>>=20
>>>>=20
>>>>> I'm going to add one more question to the review as I had the same
>>>>> thought as Scott & Burt in their review of JWA (and also in JWS).
>>>>> Why
>>>>> are there no other options in addition to SHA1?  The response to
>>>>> Scott
>>>>> pointed back to early WG decisions, but I have heard this concern
>>>>> from
>>>>> others and have it myself, so I am not sure this one is resolved.
>>>>> I'd like to revisit it.
>>>>=20
>>>>=20
>>>>=20
>>>>> http://www.ietf.org/mail-archive/web/jose/current/msg04020.html
>>>>=20
>>>>=20
>>>>=20
>>>>> Mike> If adding a new =E2=80=9CRSA-OAEP-256=E2=80=9D algorithm identif=
ier for =E2=80=9CRSAES
>>>>> Mike> with
>>>>> Optimal Asymmetric Encryption Padding using the MGF1 mask generation
>>>>> function and the SHA-256 hash function=E2=80=9D would make a number of=
 people
>>>>> more comfortable, including you, there=E2=80=99s nothing wrong with do=
ing so.
>>>>> However, it=E2=80=99s also not clear that it would be of much short-te=
rm
>>>>> practical benefit because, at least as of the implementation survey
>>>>> done in July 2012, many crypto libraries don=E2=80=99t expose a way to=
 get at
>>>>> this algorithm combination.
>>>>> However, the same argument could be made about RSASSA-PSS, which we
>>>>> did add identifiers for in the end.  In short, I don=E2=80=99t think a=
nyone
>>>>> in
>>>>> the working group would stridently object if you asked for this
>>>>> additional algorithm identifier to be added.  Your call=E2=80=A6
>>>>=20
>>>> KM> I'd say to add it.  I'll have a similar comment for the JWS draft
>>>>=20
>>>> for SHA256 support on thumbprints.
>>>>=20
>>>>=20
>>>>=20
>>>> Mike> OK =E2=80=93 I=E2=80=99ll add it.
>>> Thanks, and I see Scott's review and okay as well, which is helpful.
>>>>=20
>>>> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed.
>>>> Mike> I=E2=80=99m
>>>> aware of no SHA-256 certificate thumbprint deployments.  I=E2=80=99ll n=
ote
>>>> that even if SHA-1 were completely broken, that wouldn=E2=80=99t be a s=
ecurity
>>>> issue because it=E2=80=99s just being used to generate a digest of publ=
icly
>>>> available certificate information.  It=E2=80=99s not being used to cryp=
tographically obscure anything.
>>>> (But that=E2=80=99s actually a discussion for another draft. J)
>>> This is in place for the XML equivalents and should be possible for JSON=
.  I used this at least 2 years ago in the XML Oxygen editor.  I believe thi=
s has been brought up before in terms of JSON, so I am not the first.  But i=
t is another draft... I'd like to get through these all soon :-)
>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>>> --
>>>>=20
>>>>=20
>>>>=20
>>>>> Best regards,
>>>>=20
>>>>> Kathleen
>>>>=20
>>>>=20
>>>>=20
>>>>>                                                            Thanks a
>>>>> bunch,
>>>>=20
>>>>>                                                            -- Mike
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>> --
>>>>=20
>>>>=20
>>>>=20
>>>> Best regards,
>>>>=20
>>>> Kathleen
>>>>=20
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>>=20
>>>> jose mailing list
>>>>=20
>>>> jose@ietf.org
>>>>=20
>>>> https://www.ietf.org/mailman/listinfo/jose
>>>>=20
>>>>=20
>>>>=20
>>>>                                                                Thanks
>>>> again,
>>>>=20
>>>>                                                                --
>>>> Mike
>>> Thanks for your help!!
>>>=20
>>> --=20
>>>=20
>>> Best regards,
>>> Kathleen
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From nobody Fri May  2 08:24:59 2014
Return-Path: <rlb@ipv.sx>
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 154371A6FF4 for <jose@ietfa.amsl.com>; Fri,  2 May 2014 08:24:56 -0700 (PDT)
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, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-0.7] 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 AkxsS0mTptkj for <jose@ietfa.amsl.com>; Fri,  2 May 2014 08:24:54 -0700 (PDT)
Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by ietfa.amsl.com (Postfix) with ESMTP id 05B101A6F66 for <jose@ietf.org>; Fri,  2 May 2014 08:24:53 -0700 (PDT)
Received: by mail-oa0-f41.google.com with SMTP id m1so2818428oag.0 for <jose@ietf.org>; Fri, 02 May 2014 08:24:51 -0700 (PDT)
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=8LKvtz8wR8qDtlecXT59As3iz1i6ZBk+hKrbGD8Ol6w=; b=M5mA6g7ayZ2JueviuGA86Gan4T3E0U2ab/nimYOGTyq0FLXX1ugsS04+JaxnE3jKQL b9aUkBlToPbATUdINhOOuT7DcvAiqWMoAY7HK4jPAky0UdjQCKRn0n0xXI2CalZlYD5z JmIWnI8Xi+p6bfNxEdg1hFK+wmsbrKvIoCDuAMealOtNSKsVmCHm7qzaJh5dwzZPIK+1 dFPVYyh44R9G1KTU2SmPa5VAZ0Vbsrr/VWSyv1ysxiszg4xFtZhfBaKcAlIU5RyUQznu rFdd0dUxD4kSdvI7dm6vaEQLJBk+Y267VxTLEJOW5xrQQ5yE8klUz81hVrPCYlZYAg95 FIIQ==
X-Gm-Message-State: ALoCoQmeaen+mtU+uUkC4fHV1KNEeLUIBcYrAB0tcrbsZd0QTO9vF8Mlc8hriqqPhKMAP809Iglm
MIME-Version: 1.0
X-Received: by 10.60.77.35 with SMTP id p3mr17358941oew.46.1399044291703; Fri, 02 May 2014 08:24:51 -0700 (PDT)
Received: by 10.60.136.231 with HTTP; Fri, 2 May 2014 08:24:51 -0700 (PDT)
In-Reply-To: <CA+k3eCSgCWdJA0CjW-t=d7dwScq50dE6P6Zs5VeQKUic+zefiw@mail.gmail.com>
References: <20140417111031.3c376e9e86469f12ae2f88da05bfa671.79baba1ed9.wbe@email07.europe.secureserver.net> <CAHbuEH7zxznCiB7TernP6s=hqaZFrYjMcy2X9T8ER6qfxp3hqQ@mail.gmail.com> <CA+k3eCSgCWdJA0CjW-t=d7dwScq50dE6P6Zs5VeQKUic+zefiw@mail.gmail.com>
Date: Fri, 2 May 2014 08:24:51 -0700
Message-ID: <CAL02cgSJNgg20ohoVHdnQsJ2x1yYdGcv-gb4-POxyMS7-inm7Q@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Brian Campbell <bcampbell@pingidentity.com>
Content-Type: multipart/alternative; boundary=047d7b33d24408472804f86c6298
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/g8_T6_-R7HwgOxeCJ_XqS41Igys
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, "<draft-ietf-jose-json-web-algorithms@tools.ietf.org>" <draft-ietf-jose-json-web-algorithms@tools.ietf.org>, Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>, Vladimir Dzhuvinov <vladimir@connect2id.com>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Fri, 02 May 2014 15:24:56 -0000

--047d7b33d24408472804f86c6298
Content-Type: text/plain; charset=UTF-8

I'm mostly staying out of this.  I've had my bite at this apple, and it
came back sour.  Brian's note on the roughness of consensus is spot on.
 The security considerations text is good enough that I'm not going to
argue things further, but I'm far from convinced that it will result in
alg:none actually being deployed securely.

On Fri, Apr 25, 2014 at 3:17 PM, Brian Campbell
<bcampbell@pingidentity.com>wrote:

> Plaintext JWSs haven't been free of controversy but the topic has been
> discussed many times and the [rough] consensus of the WG is that the "none"
> JWS alg is useful. It is in use by the finalized versions of OpenID
> Connect, as Vladimir has alluded to. And it has been fairly wildly deployed
> in production use.
>

The "production use" point has been made a few times.  That argument is
completely irrelevant to the question of whether a feature leads to
security risks.  Just because something is in production use doesn't mean
it's secure.  It just means that whatever flaws it has haven't been
exploited enough to get people to quit using it.

--Richard



>
> The "Plaintext JWS Security Considerations" in section 8.5 of JWA [1]
> represents the consensus the WG came to, which keeps the "none" alg but
> mandates that implementations "MUST NOT accept such objects as valid unless
> the application specifies that it is acceptable for a specific object."
>
> [1]
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#section-8.5
>
> Vladimir
>
> On Fri, Apr 25, 2014 at 2:51 PM, Kathleen Moriarty <
> kathleen.moriarty.ietf@gmail.com> wrote:
>
>> Thanks, Vladimir.
>>
>> Is there consensus in the WG that this is the right thing to do?  I'm
>> expecting some push-back on this one and want to make sure it has
>> consensus behind it.  I have heard of a couple of objections already.
>>
>> On Thu, Apr 17, 2014 at 2:10 PM, Vladimir Dzhuvinov
>> <vladimir@connect2id.com> wrote:
>> >> Thanks, Vladimir.
>> >>
>> >> How would they be secured then?  With the current threat landscape, it
>> >> seems odd that we would be putting forth a method that is not secured?
>> >>  Does this rely on transport for security?
>> >
>> > Yes, securing the JWS message with TLS for instance, as Mike just
>> > pointed
>> > out in the his response.
>> >
>> > JWT-encoded ID tokens in OpenID Connect is one such example, but only
>> > when
>> > the token is returned from the OAuth 2.0 token endpoint where TLS is
>> > mandatory, clients can then register to receive plaintext ID tokens:
>> >
>> > http://openid.net/specs/openid-connect-core-1_0.html#IDToken
>> >
>> >
>> > There is a section in the JWA spec to instruct developers of the various
>> > security
>> > considerations regarding use of "none" alg JWS:
>> >
>> >
>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-25#section-8.5
>> >
>> >
>> > Vladimir
>> >
>> >
>> >
>> >> On Thu, Apr 17, 2014 at 12:57 PM, Vladimir Dzhuvinov <
>> >> vladimir@connect2id.com> wrote:
>> >>
>> >> > Hi Kathleen,
>> >> >
>> >> >
>> >> > > Section 3.6 - Can you explain why would this be included?  If you
>> are
>> >> > not going to sign, I am not sure why one would use JOSE at all.
>> >> > >
>> >> >
>> >> > Perhaps the most popular application of JWS today is to construct
>> JSON
>> >> > Web Tokens (JWT), such as the ID tokens in OpenID Connect. The JWT
>> spec
>> >> > permits plain tokens that don't have a signature and this is enabled
>> by
>> >> > the special case "none" alg in JWS.
>> >> >
>> >> > Plaintext JWTs are explained here:
>> >> >
>> >> >
>> http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-19#section-6
>> >> >
>> >> >
>> >> > Vladimir
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >>
>> >> Best regards,
>> >> Kathleen
>>
>>
>>
>> --
>>
>> Best regards,
>> Kathleen
>>
>> _______________________________________________
>> 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
>
>

--047d7b33d24408472804f86c6298
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">I&#3=
9;m mostly staying out of this. =C2=A0I&#39;ve had my bite at this apple, a=
nd it came back sour. =C2=A0Brian&#39;s note on the roughness of consensus =
is spot on. =C2=A0The security considerations text is good enough that I&#3=
9;m not going to argue things further, but I&#39;m far from convinced that =
it will result in alg:none actually being deployed securely.</div>
<div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">On Fri, Apr=
 25, 2014 at 3:17 PM, Brian Campbell <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.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 dir=3D"ltr"><div>Plaintext JWSs haven&#=
39;t been free of controversy but the topic has been discussed many times a=
nd the [rough] consensus of the WG is that the &quot;none&quot; JWS alg is =
useful. It is in use by the finalized versions of OpenID Connect, as Vladim=
ir has alluded to. And it has been fairly wildly deployed in production use=
.<br>
</div></div></blockquote><div><br></div><div>The &quot;production use&quot;=
 point has been made a few times. =C2=A0That argument is completely irrelev=
ant to the question of whether a feature leads to security risks. =C2=A0Jus=
t because something is in production use doesn&#39;t mean it&#39;s secure. =
=C2=A0It just means that whatever flaws it has haven&#39;t been exploited e=
nough to get people to quit using it.</div>
<div><br></div><div>--Richard</div><div><br></div><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><div dir=3D"ltr"><div>

<br></div>The &quot;Plaintext JWS Security Considerations&quot; in section =
8.5 of JWA [1] represents the consensus the WG came to, which keeps the &qu=
ot;none&quot; alg but mandates that implementations &quot;MUST NOT accept s=
uch objects as valid unless the application specifies that it is acceptable=
 for a specific object.&quot; <br>


<br>[1] <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algo=
rithms-25#section-8.5" target=3D"_blank">http://tools.ietf.org/html/draft-i=
etf-jose-json-web-algorithms-25#section-8.5</a><br><div><div class=3D"gmail=
_extra">
<br>Vladimir<div><div class=3D"h5"><br>

<div class=3D"gmail_quote">On Fri, Apr 25, 2014 at 2:51 PM, Kathleen Moriar=
ty <span dir=3D"ltr">&lt;<a href=3D"mailto:kathleen.moriarty.ietf@gmail.com=
" target=3D"_blank">kathleen.moriarty.ietf@gmail.com</a>&gt;</span> wrote:<=
br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks, Vladimir.<br>
<br>
Is there consensus in the WG that this is the right thing to do? =C2=A0I&#3=
9;m<br>
expecting some push-back on this one and want to make sure it has<br>
consensus behind it. =C2=A0I have heard of a couple of objections already.<=
br>
<br>
On Thu, Apr 17, 2014 at 2:10 PM, Vladimir Dzhuvinov<br>
<div><div>&lt;<a href=3D"mailto:vladimir@connect2id.com" target=3D"_blank">=
vladimir@connect2id.com</a>&gt; wrote:<br>
&gt;&gt; Thanks, Vladimir.<br>
&gt;&gt;<br>
&gt;&gt; How would they be secured then? =C2=A0With the current threat land=
scape, it<br>
&gt;&gt; seems odd that we would be putting forth a method that is not secu=
red?<br>
&gt;&gt; =C2=A0Does this rely on transport for security?<br>
&gt;<br>
&gt; Yes, securing the JWS message with TLS for instance, as Mike just<br>
&gt; pointed<br>
&gt; out in the his response.<br>
&gt;<br>
&gt; JWT-encoded ID tokens in OpenID Connect is one such example, but only<=
br>
&gt; when<br>
&gt; the token is returned from the OAuth 2.0 token endpoint where TLS is<b=
r>
&gt; mandatory, clients can then register to receive plaintext ID tokens:<b=
r>
&gt;<br>
&gt; <a href=3D"http://openid.net/specs/openid-connect-core-1_0.html#IDToke=
n" target=3D"_blank">http://openid.net/specs/openid-connect-core-1_0.html#I=
DToken</a><br>
&gt;<br>
&gt;<br>
&gt; There is a section in the JWA spec to instruct developers of the vario=
us<br>
&gt; security<br>
&gt; considerations regarding use of &quot;none&quot; alg JWS:<br>
&gt;<br>
&gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorit=
hms-25#section-8.5" target=3D"_blank">http://tools.ietf.org/html/draft-ietf=
-jose-json-web-algorithms-25#section-8.5</a><br>
&gt;<br>
&gt;<br>
&gt; Vladimir<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt; On Thu, Apr 17, 2014 at 12:57 PM, Vladimir Dzhuvinov &lt;<br>
&gt;&gt; <a href=3D"mailto:vladimir@connect2id.com" target=3D"_blank">vladi=
mir@connect2id.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; Hi Kathleen,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt; Section 3.6 - Can you explain why would this be included=
? =C2=A0If you are<br>
&gt;&gt; &gt; not going to sign, I am not sure why one would use JOSE at al=
l.<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Perhaps the most popular application of JWS today is to const=
ruct JSON<br>
&gt;&gt; &gt; Web Tokens (JWT), such as the ID tokens in OpenID Connect. Th=
e JWT spec<br>
&gt;&gt; &gt; permits plain tokens that don&#39;t have a signature and this=
 is enabled by<br>
&gt;&gt; &gt; the special case &quot;none&quot; alg in JWS.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Plaintext JWTs are explained here:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-oauth-json-w=
eb-token-19#section-6" target=3D"_blank">http://tools.ietf.org/html/draft-i=
etf-oauth-json-web-token-19#section-6</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Vladimir<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Kathleen<br>
<br>
<br>
<br>
--<br>
<br>
Best regards,<br>
Kathleen<br>
<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><br>
</div></div></blockquote></div><br></div></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></div>

--047d7b33d24408472804f86c6298--


From nobody Sat May  3 06:37:28 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 4CEEF1A00C2 for <jose@ietfa.amsl.com>; Sat,  3 May 2014 06:37:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.578
X-Spam-Level: 
X-Spam-Status: No, score=-3.578 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_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 tO4jfJUExy7K for <jose@ietfa.amsl.com>; Sat,  3 May 2014 06:37:24 -0700 (PDT)
Received: from na3sys009aog137.obsmtp.com (na3sys009aog137.obsmtp.com [74.125.149.18]) by ietfa.amsl.com (Postfix) with ESMTP id 6FAA11A00BF for <jose@ietf.org>; Sat,  3 May 2014 06:37:24 -0700 (PDT)
Received: from mail-ie0-f174.google.com ([209.85.223.174]) (using TLSv1) by na3sys009aob137.postini.com ([74.125.148.12]) with SMTP ID DSNKU2TxEeXbeU0U2CMe9bznnNedHATJJu0D@postini.com; Sat, 03 May 2014 06:37:22 PDT
Received: by mail-ie0-f174.google.com with SMTP id ar20so6059403iec.5 for <jose@ietf.org>; Sat, 03 May 2014 06:37:21 -0700 (PDT)
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=2f/Bh/jyWZCf0fYO+FwVUqbKOdo6rX+h3skFHpSDWiM=; b=KqY6rqFQvrKf+NIrZTykaL7rdAgFd9/PhisVnMFNS55yilUF8E5GWNYu26lYM+WW5J YiBNjPL/5PdhRv98kPqKcUG/LUMAY8h7L+4N6aLLGRcUuOP4SUJ9bUQn3931I1TrJNi6 i3i0Un/QYGgnKEm5Y7H4ZN9kI0zAxRDOHgLQ5m5fBRQNUPkp/xNgwGdWs50zRwSmYojX /P3EKnLyU7+36ZhUp82aWABE4KePUjb+GMDmon0E59gYJebKrTwi3p6647jzMmq8wUi5 bcZ/JAQM+UZKKIoYpfnBMw3qgByo/YLvp5eMGlQbjYruv8Wd3iYnE+/FDGHfUpgUOIAa n0KA==
X-Gm-Message-State: ALoCoQlQcD98J0QBV8lww/lslEl1LD60jIE7asvB+k6Y+d9iijEpHgo4MW6apOXVUwwvebqegYpourB0yuVNNFVTj+GjyGNB1VO8D92+nVdlxv53qirQslUTBFTVfNanekF9qxfbey2U
X-Received: by 10.42.136.130 with SMTP id u2mr21852739ict.51.1399124241336; Sat, 03 May 2014 06:37:21 -0700 (PDT)
X-Received: by 10.42.136.130 with SMTP id u2mr21852727ict.51.1399124241184; Sat, 03 May 2014 06:37:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Sat, 3 May 2014 06:36:51 -0700 (PDT)
In-Reply-To: <5363C88E.5070209@gmail.com>
References: <5363C88E.5070209@gmail.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Sat, 3 May 2014 07:36:51 -0600
Message-ID: <CA+k3eCSG8E5918RqiHG5fqLV-gs3kTofuAng6yBM15_rn+35SA@mail.gmail.com>
To: Sergey Beryozkin <sberyozkin@gmail.com>, "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=90e6ba6e8c0664988004f87eff32
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/vit5EDdrnK291C8lPMivWKqpfHQ
Cc: "<oauth@ietf.org>" <oauth@ietf.org>
Subject: Re: [jose] [OAUTH-WG] [OT] Validation of JWE spec Appendix 1
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, 03 May 2014 13:37:26 -0000

--90e6ba6e8c0664988004f87eff32
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Sergey,

This question might be more appropriate for the JOSE WG [0] list (which
I've cc'd) as JWE is being developed there.

Some of the algorithms, RSAES OAEP being one of them, are probabilistic
encryption schemes which incorporate some element of randomness to yield a
different output even when encrypting the same content multiple times. So
the behavior you are observing is to be expected.

That means that exactly reproducing the various steps of the examples in
the specs will not be possible in some cases. I was recently discussing
this off list with Matt Miller, the author of the JOSE Cookbook [1], and my
suggestion was to have the cookbook just make note of which examples, or
which parts of which examples, can't be easily reproduced due to
non-deterministic algorithms. I think that your question here suggests that
that idea might well provide utility to users/readers of that document.

Hope that helps,
Brian


[0] http://tools.ietf.org/wg/jose/
[1] http://tools.ietf.org/html/draft-ietf-jose-cookbook-02






On Fri, May 2, 2014 at 10:32 AM, Sergey Beryozkin <sberyozkin@gmail.com>wro=
te:

> Hi,
>
> I'm starting experimenting with JWE, and the 1st thing I wanted to do was
> to quickly test the example at [1].
>
> Sorry if it is something that is very obvious and off-topic, but I can't
> seem to validate the encryption of the content encryption key: I keep
> getting a different output every time the test code runs.
>
> The code is the one that I wrote by 'scraping' the code from all over the
> Web but also I see Jose.4.j [3] produces a different output too.
> Is it due to the given key properties specified in [1] or it is actually
> indeed expected that production at [2] is reproducible ?
>
> Cheers, Sergey
>
> [1] http://tools.ietf.org/html/draft-ietf-jose-json-web-
> encryption-26#appendix-A.1
> [2] http://tools.ietf.org/html/draft-ietf-jose-json-web-
> encryption-26#appendix-A.1.3
> [3] https://bitbucket.org/b_c/jose4j/wiki/Home
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>



--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
[Enter Title]
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--90e6ba6e8c0664988004f87eff32
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Hi Sergey,<br><br></div><div>This question =
might be more appropriate for the JOSE WG [0] list (which I&#39;ve cc&#39;d=
) as JWE is being developed there.<br></div><div><br></div>Some of the algo=
rithms, RSAES OAEP being one of them, are probabilistic encryption schemes =
which incorporate some element of randomness to yield a different output ev=
en when encrypting the same content multiple times. So the behavior you are=
 observing is to be expected.<br>


<br></div>That means that exactly reproducing the various steps of the exam=
ples in the specs will not be possible in some cases. I was recently discus=
sing this off list with Matt Miller, the author of the JOSE Cookbook [1], a=
nd my suggestion was to have the cookbook just make note of which examples,=
 or which parts of which examples, can&#39;t be easily reproduced due to no=
n-deterministic algorithms. I think that your question here suggests that t=
hat idea might well provide utility to users/readers of that document.<br>

<br></div>Hope that helps,<br>Brian<br><div>
<br><br>[0] <a href=3D"http://tools.ietf.org/wg/jose/">http://tools.ietf.or=
g/wg/jose/</a><br>[1] <a href=3D"http://tools.ietf.org/html/draft-ietf-jose=
-cookbook-02" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-=
cookbook-02</a><br>

<div><br><br><br><br></div><div class=3D"gmail_extra"><br><br><div class=3D=
"gmail_quote">
On Fri, May 2, 2014 at 10:32 AM, Sergey Beryozkin <span dir=3D"ltr">&lt;<a =
href=3D"mailto:sberyozkin@gmail.com" target=3D"_blank">sberyozkin@gmail.com=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
>


Hi,<br>
<br>
I&#39;m starting experimenting with JWE, and the 1st thing I wanted to do w=
as to quickly test the example at [1].<br>
<br>
Sorry if it is something that is very obvious and off-topic, but I can&#39;=
t seem to validate the encryption of the content encryption key: I keep get=
ting a different output every time the test code runs.<br>
<br>
The code is the one that I wrote by &#39;scraping&#39; the code from all ov=
er the Web but also I see Jose.4.j [3] produces a different output too.<br>
Is it due to the given key properties specified in [1] or it is actually in=
deed expected that production at [2] is reproducible ?<br>
<br>
Cheers, Sergey<br>
<br>
[1] <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-encrypti=
on-26#appendix-A.1" target=3D"_blank">http://tools.ietf.org/html/<u></u>dra=
ft-ietf-jose-json-web-<u></u>encryption-26#appendix-A.1</a><br>
[2] <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-encrypti=
on-26#appendix-A.1.3" target=3D"_blank">http://tools.ietf.org/html/<u></u>d=
raft-ietf-jose-json-web-<u></u>encryption-26#appendix-A.1.3</a><br>
[3] <a href=3D"https://bitbucket.org/b_c/jose4j/wiki/Home" target=3D"_blank=
">https://bitbucket.org/b_c/<u></u>jose4j/wiki/Home</a><br>
<br>
______________________________<u></u>_________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/<u></u>listinfo/oauth</a><br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>

<div style=3D"padding-bottom:5px;margin-bottom:0px">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width: 75px; min-height: 79px; margin: 0px; border: medium none=
;"></a></td>



				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:rgb(230,29,60);font-family:arial,helvetica,sans-=
serif;font-weight:bold;font-size:14px">Brian Campbell</span><br>
						<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><span s=
tyle=3D"font-size:14px">[Enter Title]</span></font></div>
					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid rgb(230,29,60=
);padding:0px 5px 0px 0px">
									<span style=3D"color:rgb(230,29,60);font-family:arial,helvetica,sa=
ns-serif;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0px 0px 0px 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid rgb(230,60,29=
);padding:0px;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width: 13px; min-height: 16px;"></td=
>
								<td style=3D"text-align:left;padding:0px 0px 0px 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"tel:%2B1%20720.317.2061" value=3D"+17=
203172061" target=3D"_blank">+1 720.317.2061</a></span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:rgb(153,153,153)">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width: 20px; min-height: 23px; border: medium none; margin: 0px;"><=
/a> <a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-d=
ecoration:none" title=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"you=
tube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/youtube.=
gif" style=3D"width: 23px; min-height: 23px; border: medium none; margin: 0=
px;"></a> <a href=3D"https://www.linkedin.com/company/21870" style=3D"text-=
decoration:none" title=3D"Ping on LinkedIn" target=3D"_blank"><img alt=3D"L=
inkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/linke=
din.gif" style=3D"width: 23px; min-height: 23px; border: medium none; margi=
n: 0px;"></a> <a href=3D"https://www.facebook.com/pingidentitypage" style=
=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_blank"><img=
 alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity/ima=
ges/facebook.gif" style=3D"width: 23px; min-height: 23px; border: medium no=
ne; margin: 0px;"></a> <a href=3D"https://plus.google.com/u/0/1142669777393=
97708540" style=3D"text-decoration:none" title=3D"Ping on Google+" target=
=3D"_blank"><img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/p=
ingidentity/images/google%2B.gif" style=3D"width: 23px; min-height: 23px; b=
order: medium none; margin: 0px;"></a> <a href=3D"http://www.slideshare.net=
/PingIdentity" style=3D"text-decoration:none" title=3D"Ping on SlideShare" =
target=3D"_blank"><img alt=3D"slideshare logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/slideshare.gif" style=3D"width: 23px; min-heigh=
t: 23px; border: medium none; margin: 0px;"></a> <a href=3D"http://flip.it/=
vjBF7" style=3D"text-decoration:none" title=3D"Ping on Flipboard" target=3D=
"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pi=
ngidentity/images/flipboard.gif" style=3D"width: 23px; min-height: 23px; bo=
rder: medium none; margin: 0px;"></a> <a href=3D"https://www.pingidentity.c=
om/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_b=
lank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/rss.gif" style=3D"width: 23px; min-height: 23px; border: medi=
um none; margin: 0px;"></a></td>



							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0px;border-collapse:collapse;border-top:1px dotted =
rgb(153,153,153);width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0px;vertical-ali=
gn:top;border:medium none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:rgb(204,204,204)" title=3D"Register for Cloud Identity Summi=
t 2014 | Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, =
CA" target=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 |=
 Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=
=3D"http://4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" styl=
e=3D"width: 172px; min-height: 81px; margin: 0px; border: medium none;"></a=
></td>



			</tr>
		</tbody>
	</table>
</div>
<br>
</div></div></div>

--90e6ba6e8c0664988004f87eff32--


From nobody Sat May  3 13:03:48 2014
Return-Path: <asanso@adobe.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 D931A1A011D for <jose@ietfa.amsl.com>; Sat,  3 May 2014 13:03:46 -0700 (PDT)
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 khdt-XYqs9BC for <jose@ietfa.amsl.com>; Sat,  3 May 2014 13:03:44 -0700 (PDT)
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 291681A011C for <jose@ietf.org>; Sat,  3 May 2014 13:03:43 -0700 (PDT)
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB207.namprd02.prod.outlook.com (10.242.165.145) with Microsoft SMTP Server (TLS) id 15.0.934.12; Sat, 3 May 2014 20:03:32 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Sat, 3 May 2014 20:03:31 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Thread-Topic: [jose] RSASSA-PKCS-v1_5 SHA-256 validation example
Thread-Index: AQHPTjt3WJ46n0d+20ui8xGQPXp8Gpsrc3GAgAQFmIA=
Date: Sat, 3 May 2014 20:03:30 +0000
Message-ID: <F6069EB5-B4CF-44A1-A605-CF1D62E5DAF5@adobe.com>
References: <1D94AAA8-83B4-4BBB-B432-B4965CF00755@adobe.com> <4E1F6AAD24975D4BA5B16804296739439A1A13FE@TK5EX14MBXC288.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439A1A13FE@TK5EX14MBXC288.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [178.83.47.250]
x-forefront-prvs: 0200DDA8BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(189002)(199002)(377454003)(24454002)(54356999)(76176999)(4396001)(86362001)(50986999)(46102001)(21056001)(20776003)(36756003)(83716003)(92726001)(80976001)(82746002)(85852003)(87936001)(2656002)(77982001)(15975445006)(92566001)(101416001)(83072002)(99286001)(76482001)(99396002)(33656001)(79102001)(81542001)(81342001)(31966008)(19580405001)(83322001)(19580395003)(1511001)(74662001)(74502001)(64706001)(66066001)(80022001)(16236675002)(15202345003)(100906001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB207; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_F6069EB5B4CF44A1A605CF1D62E5DAF5adobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/5WV5IayDqzvTWM2KVGoRXxSOJOg
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSASSA-PKCS-v1_5 SHA-256 validation example
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, 03 May 2014 20:03:47 -0000

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

thanks a lot Mike

regards

antonio

On May 1, 2014, at 8:54 AM, Mike Jones <Michael.Jones@microsoft.com<mailto:=
Michael.Jones@microsoft.com>> wrote:

FYI, the -26 draft has been edited to clarify the issue you raised.  See ht=
tp://tools.ietf.org/html/draft-ietf-jose-json-web-signature-26#appendix-A.2=
.2.

                                             Thanks for your feedback,
                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Antonio Sanso
Sent: Tuesday, April 01, 2014 11:19 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] RSASSA-PKCS-v1_5 SHA-256 validation example

hi *,

IMHO the RSASSA-PKCS-v1_5 SHA-256 validation example n [0] can be a bit bet=
ter explained.
Indeed it says


We pass (n, e), JWS Signature, and the JWS Signing Input to

   an RSASSA-PKCS-v1_5 signature verifier that has been configured to

   use the SHA-256 hash function.


There is no mention on the fact the JWS Signature should be decoded in orde=
r to be verified.
IMHO a bit of more wording around this would not harm.
WDYT?

regards

antonio

[0] http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-25#append=
ix-A.2.2
_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose


--_000_F6069EB5B4CF44A1A605CF1D62E5DAF5adobecom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <0B253F41DAAAA84E903EE5AB8A30AF9E@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
thanks a lot Mike
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div style=3D"">
<div>On May 1, 2014, at 8:54 AM, Mike Jones &lt;<a href=3D"mailto:Michael.J=
ones@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: He=
lvetica; font-size: 12px; font-style: normal; font-variant: normal; font-we=
ight: normal; letter-spacing: normal; line-height: normal; orphans: auto; t=
ext-align: start; text-indent: 0px; text-transform: none; white-space: norm=
al; 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: 'Time=
s New Roman', serif;">
<span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: rg=
b(31, 73, 125);">FYI, the -26 draft has been edited to clarify the issue yo=
u raised.&nbsp; See<span class=3D"Apple-converted-space">&nbsp;</span><a hr=
ef=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-26#appe=
ndix-A.2.2" style=3D"color: purple; text-decoration: underline;">http://too=
ls.ietf.org/html/draft-ietf-jose-json-web-signature-26#appendix-A.2.2</a>.<=
o:p></o:p></span></div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: rg=
b(31, 73, 125);">&nbsp;</span></div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: rg=
b(31, 73, 125);">&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; Thanks for your fe=
edback,<o:p></o:p></span></div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: rg=
b(31, 73, 125);">&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;&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: 'Time=
s New Roman', serif;">
<span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: rg=
b(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: 'Time=
s 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>]<span class=3D"App=
le-converted-space">&nbsp;</span><b>On
 Behalf Of<span class=3D"Apple-converted-space">&nbsp;</span></b>Antonio Sa=
nso<br>
<b>Sent:</b><span class=3D"Apple-converted-space">&nbsp;</span>Tuesday, Apr=
il 01, 2014 11:19 PM<br>
<b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span><a href=3D"mai=
lto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b><span class=3D"Apple-converted-space">&nbsp;</span>[jose] RS=
ASSA-PKCS-v1_5 SHA-256 validation example<o:p></o:p></span></div>
</div>
</div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
hi *,<o:p></o:p></div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
IMHO the&nbsp;RSASSA-PKCS-v1_5 SHA-256 validation example n [0] can be a bi=
t better explained.<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
Indeed it says<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
</div>
<div>
<pre style=3D"margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Cour=
ier New'; page-break-before: always;"><span style=3D"font-size: 12pt;">We p=
ass (n, e), JWS Signature, and the JWS Signing Input to<o:p></o:p></span></=
pre>
<pre style=3D"margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Cour=
ier New'; page-break-before: always;"><span style=3D"font-size: 12pt;">&nbs=
p;&nbsp; an RSASSA-PKCS-v1_5 signature verifier that has been configured to=
<o:p></o:p></span></pre>
<pre style=3D"margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Cour=
ier New'; page-break-before: always;"><span style=3D"font-size: 12pt;">&nbs=
p;&nbsp; use the SHA-256 hash function.<o:p></o:p></span></pre>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
There is no mention on the fact the JWS Signature should be decoded in orde=
r to be verified.<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
IMHO a bit of more wording around this would not harm.<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
WDYT?<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
regards<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
antonio<o:p></o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
<o:p>&nbsp;</o:p></div>
</div>
<div>
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Time=
s New Roman', serif;">
[0]&nbsp;<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-sig=
nature-25#appendix-A.2.2" style=3D"color: purple; text-decoration: underlin=
e;">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-25#append=
ix-A.2.2</a><o:p></o:p></div>
</div>
</div>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" style=3D"color: purple; text-decoration: u=
nderline;">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" style=3D"color: purp=
le; text-decoration: underline;">https://www.ietf.org/mailman/listinfo/jose=
</a></div>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_F6069EB5B4CF44A1A605CF1D62E5DAF5adobecom_--


From nobody Mon May  5 20:40:38 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 B33A31A06BF for <jose@ietfa.amsl.com>; Mon,  5 May 2014 20:40:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.578
X-Spam-Level: 
X-Spam-Status: No, score=-3.578 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_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 mmaNkVX-SWH1 for <jose@ietfa.amsl.com>; Mon,  5 May 2014 20:40:35 -0700 (PDT)
Received: from na3sys009aog107.obsmtp.com (na3sys009aog107.obsmtp.com [74.125.149.197]) by ietfa.amsl.com (Postfix) with ESMTP id EE0371A0228 for <jose@ietf.org>; Mon,  5 May 2014 20:40:34 -0700 (PDT)
Received: from mail-ig0-f175.google.com ([209.85.213.175]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKU2hZr0YUkFksCxVHRXbaJiSEVihh6iHN@postini.com; Mon, 05 May 2014 20:40:31 PDT
Received: by mail-ig0-f175.google.com with SMTP id uq10so3223434igb.2 for <jose@ietf.org>; Mon, 05 May 2014 20:40:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=ZtOlizcXuor+raQR7SMypiNpBhTPE96G7SDGh6qRZks=; b=bGOz7//cI5fOs0m5Sa3+4ufzoQQixO9mtLGhBGvzi3oC/I3YRhExHATWGxL9cbxV5D rEjUqk9OfJbJWzmcBF3sVZuiBhS5/ZgLwf/8DwFbbs9j8pH/XQxyl8Vjr5eJz5W6QIY+ QpSpY5F+nJ1bbjqwSi6UoF6suUwYGxB3/iUvgGN4PjBD7RX1eZn6s7LnC8Let8a37gwc ZhtKWyGBVurxCv0eabh+qw8J+k7ii0jAQIUS8NYXtjIl+C8iwAakUNyr0oE4DDB6HSXj Enti/Gt407p2G4kGvd5VzJ1RLi83y851o7jgroHEN6hAbiSTlhx8tr9odOhZYnMWRrhI 7+ZA==
X-Gm-Message-State: ALoCoQnr1uaLHLeuuN2kactWHEgiB6EII/6ZaAHaM1K4Q29WWSyC+RMSZ9Yoq/59ZXsY0+AXyUf3+bR6k7mzA4oanThp0AqxlSjGZSMSTqnrlRyMIk8ke2t3ACO6M2EZqDOrXlTSBJnT
X-Received: by 10.50.13.100 with SMTP id g4mr29561583igc.9.1399347630856; Mon, 05 May 2014 20:40:30 -0700 (PDT)
X-Received: by 10.50.13.100 with SMTP id g4mr29561561igc.9.1399347630631; Mon, 05 May 2014 20:40:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Mon, 5 May 2014 20:40:00 -0700 (PDT)
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Mon, 5 May 2014 20:40:00 -0700
Message-ID: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com>
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=089e013c66147103b804f8b30271
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/GlHPlv5nd3sbQ_BijJBiwM3h2M8
Subject: [jose] RSA-OAEP-256 Example
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, 06 May 2014 03:40:36 -0000

--089e013c66147103b804f8b30271
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key
encryption but, AFAIK, there are no examples using it. I recently added
support for it to https://bitbucket.org/b_c/jose4j and am looking to get
some kind of confirmation that I've done it correctly (other than self
interop). With that in mind, here is a JWE using RSA-OAEP-256 which I've
produced and I'm hopeful that someone on this WG list will be able to
decrypt. The RSA key that was used (in JWK format with both public and
private parts) is below the JWE.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA

{"kty":"RSA","n":"2cQJH1f6yF9DcGa8Cmbnhn4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ=
8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbdSIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXz=
uJQoeDkuUCXXcCwA4Msyyd2OHV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hAqCUxlYqyt10","dq":"MJFbuGtWZvQE=
dRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-E=
uU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQw=
YpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ct=
CKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0=
DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}

--089e013c66147103b804f8b30271
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The latest revision of JWA added a new &#39;RSA-OAEP-256&#=
39; JWE alg for key encryption but, AFAIK, there are no examples using it. =
I recently added support for it to <a href=3D"https://bitbucket.org/b_c/jos=
e4j">https://bitbucket.org/b_c/jose4j</a> and am looking to get some kind o=
f confirmation that I&#39;ve done it correctly (other than self interop). W=
ith that in mind, here is a JWE using RSA-OAEP-256 which I&#39;ve produced =
and I&#39;m hopeful that someone on this WG list will be able to decrypt. T=
he RSA key that was used (in JWK format with both public and private parts)=
 is below the JWE.<br>

<br>eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2Hj=
tHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36te=
yjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3=
o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMR=
Kf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_Qo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K-HbgBVHCprC2CfaM1mxFJZahxg=
FjC9ehuV8OzMNyFs8kekS82EsQGksi8HJPxyR1fU6ATa36ogPG0nNaqm3EDmYyjowhntgBz2Okb=
FAsTMHTdna-pZBRJa9lm5U&quot;,&quot;q&quot;:&quot;6R4dzo9LwHLO73EMQPQsmwXjVO=
vAS5W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVFykDLwJ30GepLQ8nTlzeV6clx0x70saG=
GKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj1ExSk_pGMqGRFd26K8g0jJsXXM&quot=
;,&quot;dp&quot;:&quot;VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVDkej7-6H=
7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXRYOjpJp5=
yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10&quot;,&quot;dq&quot;:&quot;MJF=
buGtWZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwk=
bTnJEIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTv=
dyD-L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAOQKC8FVU=
c0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ=
2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<=
br>

</div>

--089e013c66147103b804f8b30271--


From nobody Tue May  6 02:34:41 2014
Return-Path: <asanso@adobe.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 264C01A0188 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 02:34:40 -0700 (PDT)
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, HTML_MESSAGE=0.001, 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 67laV4p28k-B for <jose@ietfa.amsl.com>; Tue,  6 May 2014 02:34:37 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0140.outbound.protection.outlook.com [207.46.163.140]) by ietfa.amsl.com (Postfix) with ESMTP id DB93D1A0157 for <jose@ietf.org>; Tue,  6 May 2014 02:34:36 -0700 (PDT)
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB207.namprd02.prod.outlook.com (10.242.165.145) with Microsoft SMTP Server (TLS) id 15.0.934.12; Tue, 6 May 2014 09:34:30 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Tue, 6 May 2014 09:34:30 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUA
Date: Tue, 6 May 2014 09:34:29 +0000
Message-ID: <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com>
In-Reply-To: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.147.117.11]
x-forefront-prvs: 0203C93D51
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(189002)(199002)(24454002)(377454003)(101416001)(92566001)(76482001)(92726001)(99286001)(4396001)(99396002)(76176999)(83716003)(86362001)(575784001)(54356999)(21056001)(2656002)(15975445006)(77982001)(87936001)(81542001)(50986999)(81342001)(82746002)(83072002)(36756003)(46102001)(85852003)(31966008)(19580405001)(83322001)(19580395003)(74662001)(74502001)(16236675002)(80022001)(66066001)(64706001)(20776003)(79102001)(33656001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB207; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_8B0ED727E1024362B9A34411773E48A6adobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/YdMjkElmbJMpUeMJLBikLytCWA4
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 09:34:40 -0000

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

Hi Brian,

I will give a try and let you know

regards

antonio

On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key encry=
ption but, AFAIK, there are no examples using it. I recently added support =
for it to https://bitbucket.org/b_c/jose4j and am looking to get some kind =
of confirmation that I've done it correctly (other than self interop). With=
 that in mind, here is a JWE using RSA-OAEP-256 which I've produced and I'm=
 hopeful that someone on this WG list will be able to decrypt. The RSA key =
that was used (in JWK format with both public and private parts) is below t=
he JWE.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA

{"kty":"RSA","n":"2cQJH1f6yF9DcGa8Cmbnhn4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ=
8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbdSIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXz=
uJQoeDkuUCX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wpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZvQE=
dRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-E=
uU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQw=
YpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ct=
CKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0=
DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose


--_000_8B0ED727E1024362B9A34411773E48A6adobecom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <5174DB1F1348604894975E6653B71819@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
Hi Brian,
<div><br>
</div>
<div>I will give a try and let you know</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div>
<div>On May 6, 2014, at 5:40 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg for key encryption but, AFAIK, there are no examples using it. I recent=
ly added support for it to
<a href=3D"https://bitbucket.org/b_c/jose4j">https://bitbucket.org/b_c/jose=
4j</a> and am looking to get some kind of confirmation that I've done it co=
rrectly (other than self interop). With that in mind, here is a JWE using R=
SA-OAEP-256 which I've produced and
 I'm hopeful that someone on this WG list will be able to decrypt. The RSA =
key that was used (in JWK format with both public and private parts) is bel=
ow the JWE.<br>
<br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA<br>
<br>
{&quot;kty&quot;:&quot;RSA&quot;,&quot;n&quot;:&quot;2cQJH1f6yF9DcGa8Cmbnhn=
4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbd=
SIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXzuJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjH=
wjINty3UoKm08lCvAevBKHsuA-FFwQII9bycvRx5wRqFUjdMAyiOmLYBHBaJSi11g3HVexMcb29=
v14PSlVzdGUMN8oboa-zcIyaPrIiczLqAkSXQNdEFHrjsJHfFeNMfOblLM7icKN_tyWujYeItt4=
kqUIimPn5dHjwgcQYE7w&quot;,&quot;e&quot;:&quot;A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nJ=
EIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-=
L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG=
5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P=
_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<br>
</div>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
https://www.ietf.org/mailman/listinfo/jose<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_8B0ED727E1024362B9A34411773E48A6adobecom_--


From nobody Tue May  6 06:25:23 2014
Return-Path: <asanso@adobe.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 98BA11A015E for <jose@ietfa.amsl.com>; Tue,  6 May 2014 06:25:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.555
X-Spam-Level: 
X-Spam-Status: No, score=0.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 mgFyh0bET_6O for <jose@ietfa.amsl.com>; Tue,  6 May 2014 06:25:19 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0142.outbound.protection.outlook.com [207.46.163.142]) by ietfa.amsl.com (Postfix) with ESMTP id DBB161A00ED for <jose@ietf.org>; Tue,  6 May 2014 06:25:18 -0700 (PDT)
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB208.namprd02.prod.outlook.com (10.242.165.150) with Microsoft SMTP Server (TLS) id 15.0.934.12; Tue, 6 May 2014 13:25:13 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Tue, 6 May 2014 13:25:12 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhAA=
Date: Tue, 6 May 2014 13:25:12 +0000
Message-ID: <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com>
In-Reply-To: <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.147.117.11]
x-forefront-prvs: 0203C93D51
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(377454003)(189002)(199002)(24454002)(46102001)(16236675002)(81342001)(76482001)(33656001)(4396001)(81542001)(92566001)(86362001)(85852003)(83072002)(87936001)(92726001)(101416001)(83716003)(74662001)(2656002)(575784001)(21056001)(77982001)(79102001)(19580395003)(20776003)(83322001)(82746002)(66066001)(80022001)(50986999)(36756003)(54356999)(15975445006)(74502001)(76176999)(99396002)(31966008)(19580405001)(64706001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB208; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_7BAE88303CD74BD5B1E76A09FE34F402adobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/tPofCYD1NMdj0Y7Q3YSYhwIMgXA
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 13:25:21 -0000

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

Well, as of this moment, they're on DOUBLE SECRET PROBATION!

On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com<mailto:asanso@=
adobe.com>> wrote:

Hi Brian,

I will give a try and let you know

regards

antonio

On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key encry=
ption but, AFAIK, there are no examples using it. I recently added support =
for it to https://bitbucket.org/b_c/jose4j and am looking to get some kind =
of confirmation that I've done it correctly (other than self interop). With=
 that in mind, here is a JWE using RSA-OAEP-256 which I've produced and I'm=
 hopeful that someone on this WG list will be able to decrypt. The RSA key =
that was used (in JWK format with both public and private parts) is below t=
he JWE.

eyJhbGci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24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose



--_000_7BAE88303CD74BD5B1E76A09FE34F402adobecom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <79C3B6326AD4D342B9BA0C616AFB0B0A@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
<div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;">Well, as =
of this moment, they're on DOUBLE SECRET PROBATION!</div>
</div>
<br>
<div style=3D"">
<div>On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:asans=
o@adobe.com">asanso@adobe.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space;">
Hi Brian,
<div><br>
</div>
<div>I will give a try and let you know</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div>
<div>On May 6, 2014, at 5:40 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg for key encryption but, AFAIK, there are no examples using it. I recent=
ly added support for it to
<a href=3D"https://bitbucket.org/b_c/jose4j">https://bitbucket.org/b_c/jose=
4j</a> and am looking to get some kind of confirmation that I've done it co=
rrectly (other than self interop). With that in mind, here is a JWE using R=
SA-OAEP-256 which I've produced and
 I'm hopeful that someone on this WG list will be able to decrypt. The RSA =
key that was used (in JWK format with both public and private parts) is bel=
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0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG=
5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P=
_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<br>
</div>
_______________________________________________<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">https://www.ietf.org=
/mailman/listinfo/jose</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>

--_000_7BAE88303CD74BD5B1E76A09FE34F402adobecom_--


From nobody Tue May  6 06:30:16 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 447F91A02A3 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 06:30:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.123
X-Spam-Level: 
X-Spam-Status: No, score=-1.123 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 xYrHcLKiOeEF for <jose@ietfa.amsl.com>; Tue,  6 May 2014 06:30:12 -0700 (PDT)
Received: from na3sys009aog127.obsmtp.com (na3sys009aog127.obsmtp.com [74.125.149.107]) by ietfa.amsl.com (Postfix) with ESMTP id 2742D1A00ED for <jose@ietf.org>; Tue,  6 May 2014 06:30:09 -0700 (PDT)
Received: from mail-ie0-f181.google.com ([209.85.223.181]) (using TLSv1) by na3sys009aob127.postini.com ([74.125.148.12]) with SMTP ID DSNKU2jj2I237CnPd6nUWd4bHV92baR4Fc4J@postini.com; Tue, 06 May 2014 06:30:06 PDT
Received: by mail-ie0-f181.google.com with SMTP id y20so9734031ier.40 for <jose@ietf.org>; Tue, 06 May 2014 06:29:59 -0700 (PDT)
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=tyWEqsoCS16PyNai7qM8is2xV0aR2m1ly0oI0pEwlB0=; b=gO6nHzSiluiqY6g4QBXePtytFIiWKD6a+HE3lxnnqdQiOxdmDXstsvkGQHDWOsp+Cy 748WYH9Ha51A3L6uLM2wypfTr2nCsWH6LrFKvi0yxBxrNghArPl2NGkcXX29T1mVaUuY 2OSNKgiSYVi0bP5UUwc5tcqSfF0zR20YVYGs+ArQ1nerZlH+0vjpeSGoybdjXfEl+jar /yozk50sUjEXSvuBLi/ApEX1cxCqBf9+ecTvExtzqx4QkwgM8ibE/6Gj2MxEKaz8L+8Q Az4vZrKaFOaRaxdUUbvmirCu1YOUcTjVRPHsMGvUq3wGk6rXDKa03YsX27TTBYlNCcy5 TvgA==
X-Gm-Message-State: ALoCoQlS1hAFhgaencqi4Jp8trh5jQIt2opXo3SkgaBWckAg0RRUWNRu/xKw2VTYQ4bly5ZAdAeXWy8sUrOTjivTgd/P5mU3typXkOFL3n5qPL/UOmYbhS8ob+tj51zr0TgfCjxMf800
X-Received: by 10.51.17.5 with SMTP id ga5mr32470760igd.2.1399382999705; Tue, 06 May 2014 06:29:59 -0700 (PDT)
X-Received: by 10.51.17.5 with SMTP id ga5mr32470746igd.2.1399382999565; Tue, 06 May 2014 06:29:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Tue, 6 May 2014 06:29:28 -0700 (PDT)
In-Reply-To: <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 6 May 2014 06:29:28 -0700
Message-ID: <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com>
To: Antonio Sanso <asanso@adobe.com>
Content-Type: multipart/alternative; boundary=001a1135e1da98206004f8bb3e79
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/JZ4GSjq5g9sg7r0dsIka54lIlGw
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 13:30:14 -0000

--001a1135e1da98206004f8bb3e79
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

>From the venerable film Animal House, of course,
https://www.youtube.com/watch?v=3DvVXEQ8hjyGI

Thanks for checking that Antonio.

Hopefully we could get a non Java based implementing to verify it too.




On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com> wrote:

>  Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>
>  On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com> wrote:
>
>  Hi Brian,
>
>  I will give a try and let you know
>
>  regards
>
>  antonio
>
>  On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com>
> wrote:
>
>  The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key
> encryption but, AFAIK, there are no examples using it. I recently added
> support for it to https://bitbucket.org/b_c/jose4j and am looking to get
> some kind of confirmation that I've done it correctly (other than self
> interop). With that in mind, here is a JWE using RSA-OAEP-256 which I've
> produced and I'm hopeful that someone on this WG list will be able to
> decrypt. The RSA key that was used (in JWK format with both public and
> private parts) is below the JWE.
>
>
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtH=
OcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyj=
l9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-=
YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf=
0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W25=
1nTviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP=
5dBgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCG=
nhWT9qyuUSSA
>
>
> {"kty":"RSA","n":"2cQJH1f6yF9DcGa8Cmbnhn4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMC=
KZ8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbdSIomCcDwvGo0eyhty0DILLWTMXzGEVM3B=
XzuJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjH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dq":"MJFbuGtWZv=
QEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh=
-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0Y=
QwYpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1=
ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CA=
O0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
>  _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
>


--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--001a1135e1da98206004f8bb3e79
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>From the venerable film Animal House, of course,=
 <a href=3D"https://www.youtube.com/watch?v=3DvVXEQ8hjyGI">https://www.yout=
ube.com/watch?v=3DvVXEQ8hjyGI</a> <br><br></div>Thanks for checking that An=
tonio. <br>

<br></div>Hopefully we could get a non Java based implementing to verify it=
 too.<br><div><div><div><br><br></div></div></div></div><div class=3D"gmail=
_extra"><br><br><div class=3D"gmail_quote">On Tue, May 6, 2014 at 6:25 AM, =
Antonio Sanso <span dir=3D"ltr">&lt;<a href=3D"mailto:asanso@adobe.com" tar=
get=3D"_blank">asanso@adobe.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">
<div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco">Well, as of thi=
s moment, they&#39;re on DOUBLE SECRET PROBATION!</div>
</div><div><div class=3D"h5">
<br>
<div>
<div>On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:asans=
o@adobe.com" target=3D"_blank">asanso@adobe.com</a>&gt; wrote:</div>
<br>
<blockquote type=3D"cite">
<div style=3D"word-wrap:break-word">
Hi Brian,
<div><br>
</div>
<div>I will give a try and let you know</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div>
<div>On May 6, 2014, at 5:40 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">The latest revision of JWA added a new &#39;RSA-OAEP-256&#=
39; JWE alg for key encryption but, AFAIK, there are no examples using it. =
I recently added support for it to
<a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_blank">https://bitb=
ucket.org/b_c/jose4j</a> and am looking to get some kind of confirmation th=
at I&#39;ve done it correctly (other than self interop). With that in mind,=
 here is a JWE using RSA-OAEP-256 which I&#39;ve produced and
 I&#39;m hopeful that someone on this WG list will be able to decrypt. The =
RSA key that was used (in JWK format with both public and private parts) is=
 below the JWE.<br>
<br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLU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zUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P=
_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<br>


</div>
_______________________________________________<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><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>

</blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D"ltr">

<div style=3D"padding-bottom:5px;margin-bottom:0">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width:75px;height:79px;margin:0;border:none"></a></td>


				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">Brian Campbell</span><br><font color=3D"#00=
0000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>


					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e61d3c;paddi=
ng:0 5px 0 0">
									<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-seri=
f;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e63c1d;paddi=
ng:0;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px">+1 720.317.2061</span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:#999999">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width:20px;height:23px;border:none;margin:0"></a> <a href=3D"https:=
//www.youtube.com/user/PingIdentityTV" style=3D"text-decoration:none" title=
=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"youtube logo" src=3D"htt=
p://4.pingidentity.com/rs/pingidentity/images/youtube.gif" style=3D"width:2=
3px;height:23px;border:none;margin:0"></a> <a href=3D"https://www.linkedin.=
com/company/21870" style=3D"text-decoration:none" title=3D"Ping on LinkedIn=
" target=3D"_blank"><img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/linkedin.gif" style=3D"width:23px;height:23px;b=
order:none;margin:0"></a> <a href=3D"https://www.facebook.com/pingidentityp=
age" style=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_b=
lank"><img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/facebook.gif" style=3D"width:23px;height:23px;border:none;mar=
gin:0"></a> <a href=3D"https://plus.google.com/u/0/114266977739397708540" s=
tyle=3D"text-decoration:none" title=3D"Ping on Google+" target=3D"_blank"><=
img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/i=
mages/google%2B.gif" style=3D"width:23px;height:23px;border:none;margin:0">=
</a> <a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decor=
ation:none" title=3D"Ping on SlideShare" target=3D"_blank"><img alt=3D"slid=
eshare logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/slides=
hare.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a> <a hre=
f=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Ping on =
Flipboard" target=3D"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/flipboard.gif" style=3D"width:23px;he=
ight:23px;border:none;margin:0"></a> <a href=3D"https://www.pingidentity.co=
m/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_bl=
ank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingide=
ntity/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a></td>


							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #9=
99999;width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-=
align:top;border:none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | =
Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" targe=
t=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern I=
dentity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http:/=
/4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width=
:172px;height:81px;margin:0;border:none"></a></td>


			</tr>
		</tbody>
	</table>
</div>
<br></div>
</div>

--001a1135e1da98206004f8bb3e79--


From nobody Tue May  6 06:33:08 2014
Return-Path: <asanso@adobe.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 80F3D1A048E for <jose@ietfa.amsl.com>; Tue,  6 May 2014 06:33:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.155
X-Spam-Level: *
X-Spam-Status: No, score=1.155 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_NONE=-0.0001, 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 qmqdKPfPHAUF for <jose@ietfa.amsl.com>; Tue,  6 May 2014 06:33:02 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0184.outbound.protection.outlook.com [207.46.163.184]) by ietfa.amsl.com (Postfix) with ESMTP id 71FDB1A043B for <jose@ietf.org>; Tue,  6 May 2014 06:33:01 -0700 (PDT)
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB207.namprd02.prod.outlook.com (10.242.165.145) with Microsoft SMTP Server (TLS) id 15.0.934.12; Tue, 6 May 2014 13:32:55 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Tue, 6 May 2014 13:32:54 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhACAAAElAIAAAQQA
Date: Tue, 6 May 2014 13:32:54 +0000
Message-ID: <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com>
In-Reply-To: <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.147.117.11]
x-forefront-prvs: 0203C93D51
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(189002)(199002)(52604005)(24454002)(377454003)(101416001)(92566001)(76482001)(18206015023)(92726001)(76176999)(54356999)(4396001)(99396002)(575784001)(86362001)(19617315010)(21056001)(77982001)(87936001)(19618635001)(15198665003)(81542001)(50986999)(83072002)(81342001)(82746002)(36756003)(46102001)(85852003)(2656002)(15975445006)(31966008)(83322001)(19273905006)(19580405001)(19580395003)(74662001)(74502001)(16236675002)(15395725003)(80022001)(66066001)(83716003)(64706001)(15202345003)(79102001)(20776003)(33656001)(9984715005); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB207; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_C2972F75E43C4E79A248860CFA1F9E6Aadobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/7scFclXvPOhTCcRPHxNsu2EBff8
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 13:33:04 -0000

--_000_C2972F75E43C4E79A248860CFA1F9E6Aadobecom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

hi Brian,


On May 6, 2014, at 3:29 PM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

>From the venerable film Animal House, of course, https://www.youtube.com/wa=
tch?v=3DvVXEQ8hjyGI

Thanks for checking that Antonio.

Hopefully we could get a non Java based implementing to verify it too.

just for completeness I did *not* use jose4j to verify it=85 (just to be sa=
fe)

regards

antonio





On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com<mailto:asan=
so@adobe.com>> wrote:
Well, as of this moment, they're on DOUBLE SECRET PROBATION!

On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com<mailto:asanso@=
adobe.com>> wrote:

Hi Brian,

I will give a try and let you know

regards

antonio

On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key encry=
ption but, AFAIK, there are no examples using it. I recently added support =
for it to https://bitbucket.org/b_c/jose4j and am looking to get some kind =
of confirmation that I've done it correctly (other than self interop). With=
 that in mind, here is a JWE using RSA-OAEP-256 which I've produced and I'm=
 hopeful that someone on this WG list will be able to decrypt. The RSA key =
that was used (in JWK format with both public and private parts) is below t=
he JWE.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA

{"kty":"RSA","n":"2cQJH1f6yF9DcGa8Cmbnhn4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ=
8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbdSIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXz=
uJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjHwjINty3UoKm08lCvAevBKHsuA-FFwQII9by=
cvRx5wRqFUjdMAyiOmLYBHBaJSi11g3HVexMcb29v14PSlVzdGUMN8oboa-zcIyaPrIiczLqAkS=
XQNdEFHrjsJHfFeNMfOblLM7icKN_tyWujYeItt4kqUIimPn5dHjwgcQYE7w","e":"AQAB","d=
":"dyUz3ItVceX1Tv1WqtZMnKA_0jN5gWMcL7ayf5JISAlCssGfnUre2C10TH0UQjbVMIh-nLMn=
D5KNJw9Qz5MR28oGG932Gq7hm__ZeA34l-OCe4DdpgwhpvVSHOU9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3JLuh-oAT_6kmbLx6CAO0=
DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose





--
[Ping Identity logo]<https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
@       bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
[phone] +1 720.317.2061
Connect with us=85
[twitter logo]<https://twitter.com/pingidentity> [youtube logo] <https://ww=
w.youtube.com/user/PingIdentityTV>  [LinkedIn logo] <https://www.linkedin.c=
om/company/21870>  [Facebook logo] <https://www.facebook.com/pingidentitypa=
ge>  [Google+ logo] <https://plus.google.com/u/0/114266977739397708540>  [s=
lideshare logo] <http://www.slideshare.net/PingIdentity>  [flipboard logo] =
<http://flip.it/vjBF7>  [rss feed icon] <https://www.pingidentity.com/blogs=
/>

[Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19=
=9623 July, 2014 | Monterey, CA]<https://www.cloudidentitysummit.com/>



--_000_C2972F75E43C4E79A248860CFA1F9E6Aadobecom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <27F63BCAD34FAC41940D6094FD1C005C@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
hi Brian,
<div><br>
</div>
<div><br>
<div>
<div>On May 6, 2014, at 3:29 PM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div>From the venerable film Animal House, of course, <a href=3D"https://ww=
w.youtube.com/watch?v=3DvVXEQ8hjyGI">
https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a> <br>
<br>
</div>
Thanks for checking that Antonio. <br>
<br>
</div>
Hopefully we could get a non Java based implementing to verify it too.<br>
</div>
</blockquote>
<div><br>
</div>
<div>just for completeness I did *not* use jose4j to verify it=85 (just to =
be safe)</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div><br>
<br>
</div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">asanso@adobe.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">
<div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco">Well, as of thi=
s moment, they're on DOUBLE SECRET PROBATION!</div>
</div>
<div>
<div class=3D"h5"><br>
<div>
<div>On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:asans=
o@adobe.com" target=3D"_blank">asanso@adobe.com</a>&gt; wrote:</div>
<br>
<blockquote type=3D"cite">
<div style=3D"word-wrap:break-word">Hi Brian,
<div><br>
</div>
<div>I will give a try and let you know</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div>
<div>On May 6, 2014, at 5:40 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg for key encryption but, AFAIK, there are no examples using it. I recent=
ly added support for it to
<a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_blank">https://bitb=
ucket.org/b_c/jose4j</a> and am looking to get some kind of confirmation th=
at I've done it correctly (other than self interop). With that in mind, her=
e is a JWE using RSA-OAEP-256 which
 I've produced and I'm hopeful that someone on this WG list will be able to=
 decrypt. The RSA key that was used (in JWK format with both public and pri=
vate parts) is below the JWE.<br>
<br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA<br>
<br>
{&quot;kty&quot;:&quot;RSA&quot;,&quot;n&quot;:&quot;2cQJH1f6yF9DcGa8Cmbnhn=
4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbd=
SIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXzuJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjH=
wjINty3UoKm08lCvAevBKHsuA-FFwQII9bycvRx5wRqFUjdMAyiOmLYBHBaJSi11g3HVexMcb29=
v14PSlVzdGUMN8oboa-zcIyaPrIiczLqAkSXQNdEFHrjsJHfFeNMfOblLM7icKN_tyWujYeItt4=
kqUIimPn5dHjwgcQYE7w&quot;,&quot;e&quot;:&quot;AQAB&quot;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h-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-=
L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG=
5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P=
_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<br>
</div>
_______________________________________________<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><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;h=
eight:79px;margin:0;border:none"></a></td>
<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>
</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px">&#43;1 720.317.2061</span><=
/font></td>
</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=85</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;height:23px;border:none;margin:0"><=
/a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google&#43;" target=3D"_blank">
<img alt=3D"Google&#43; logo" src=3D"http://4.pingidentity.com/rs/pingident=
ity/images/google%2B.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a>=
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=9623 July, 2014 | Monterey, CA" target=3D"_blank=
"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identity Rev=
olution | 19=9623 July, 2014 | Monterey, CA" src=3D"http://4.pingidentity.c=
om/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172px;height:81p=
x;margin:0;border:none"></a></td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_C2972F75E43C4E79A248860CFA1F9E6Aadobecom_--


From nobody Tue May  6 07:01:05 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 661681A0322 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 07:01:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.523
X-Spam-Level: 
X-Spam-Status: No, score=-0.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_MED=-2.3, 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 vXawwSRizcfD for <jose@ietfa.amsl.com>; Tue,  6 May 2014 07:01:02 -0700 (PDT)
Received: from na3sys009aog121.obsmtp.com (na3sys009aog121.obsmtp.com [74.125.149.145]) by ietfa.amsl.com (Postfix) with ESMTP id 25FD11A02EA for <jose@ietf.org>; Tue,  6 May 2014 07:01:02 -0700 (PDT)
Received: from mail-ig0-f176.google.com ([209.85.213.176]) (using TLSv1) by na3sys009aob121.postini.com ([74.125.148.12]) with SMTP ID DSNKU2jrGtFdevD1ylscfombQ9F6cwWxCdzm@postini.com; Tue, 06 May 2014 07:00:58 PDT
Received: by mail-ig0-f176.google.com with SMTP id hl10so6249519igb.9 for <jose@ietf.org>; Tue, 06 May 2014 07:00:58 -0700 (PDT)
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=uOfg38qnzc2F6lJ04RMgb/8RYcrjq7pbdMYHZxIRB0I=; b=Ytw5fYjoYPPslRvGWeEG3m+L8fTkIjxQAM3Uh+PrqCmY3lKKMG3jTv6BCHEA7hMB27 njq5nE+W6PQfTW0MYWFWh/2dZ2rythxYolZ8dVTdvDe0QHkf4xfsyPvNBR8Dlhxj+lYV p900i5Rbwg3mf2mETpAHalhSIUBCtBPAHgQWGp73N2zw7DXRPHELaJj7PH1GA1l39P56 wao7T0S1yknjGMmwPLkUdntU8kIZPriLqUrPPHsqF3VWqHGnEkt3gHj/R4hEoq3w77Ie tKwm5+81RROOuD8rWK4YgFc+bs3cgqx4RVADO5+WUmk22Lv1XoqLfVIfL7iRPlcjPFyr STsw==
X-Gm-Message-State: ALoCoQnF2NKu2uCi58qAeEMT88juCegfqetaLQ6KtzUkXQaZaw/IfRS0rd1eXt4taiL5eQ8tWVTT599QlOhrUxSGcBHQYi/a8pB+11COSKDWDPN8jsrkSXrzquc0W7kMlhQ8Ys+GMb62
X-Received: by 10.50.153.49 with SMTP id vd17mr32947557igb.40.1399384858076; Tue, 06 May 2014 07:00:58 -0700 (PDT)
X-Received: by 10.50.153.49 with SMTP id vd17mr32947514igb.40.1399384857868; Tue, 06 May 2014 07:00:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Tue, 6 May 2014 07:00:27 -0700 (PDT)
In-Reply-To: <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 6 May 2014 07:00:27 -0700
Message-ID: <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
To: Antonio Sanso <asanso@adobe.com>
Content-Type: multipart/alternative; boundary=089e014954be5bde5c04f8bbad40
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/AAP9RyCra_tmcxBfCSht2lx0t8M
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 14:01:04 -0000

--089e014954be5bde5c04f8bbad40
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

But you probable did do something very similar to what I did in jose4j -
i.e. just getting a cipher instance with
"RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?

I think that's the right thing to do (and JWA even implies it) but a check
from a different language/platform would help verify that assumption. I
don't know if maybe more specifics need to be provided to the cipher via
OAEPParameterSpec or something - the JCA APIs can be a bit mysterious at
times.


On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com> wrote:

>  hi Brian,
>
>
>  On May 6, 2014, at 3:29 PM, Brian Campbell <bcampbell@pingidentity.com>
> wrote:
>
>   From the venerable film Animal House, of course,
> https://www.youtube.com/watch?v=3DvVXEQ8hjyGI
>
>  Thanks for checking that Antonio.
>
>  Hopefully we could get a non Java based implementing to verify it too.
>
>
>  just for completeness I did *not* use jose4j to verify it=E2=80=A6 (just=
 to be
> safe)
>
>  regards
>
>  antonio
>
>
>
>
>
> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com> wrote:
>
>>  Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>
>>  On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com> wrote:
>>
>>  Hi Brian,
>>
>>  I will give a try and let you know
>>
>>  regards
>>
>>  antonio
>>
>>  On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com>
>> wrote:
>>
>>  The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key
>> encryption but, AFAIK, there are no examples using it. I recently added
>> support for it to https://bitbucket.org/b_c/jose4j and am looking to get
>> some kind of confirmation that I've done it correctly (other than self
>> interop). With that in mind, here is a JWE using RSA-OAEP-256 which I've
>> produced and I'm hopeful that someone on this WG list will be able to
>> decrypt. The RSA key that was used (in JWK format with both public and
>> private parts) is below the JWE.
>>
>>
>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2Hjt=
HOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36tey=
jl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o=
-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRK=
f0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W2=
51nTviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJ=
P5dBgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeC=
GnhWT9qyuUSSA
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_pGMqGRFd26K8g0jJsXXM","dp":"VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_=
3ZzJWVDkej7-6H7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOX=
sucrzXRYOjpJp5yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZ=
vQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEI=
h-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0=
YQwYpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc=
1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6C=
AO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
>>  _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>>
>>
>>
>>
>
>
> --
>    [image: Ping Identity logo] <https://www.pingidentity.com/>
> Brian Campbell
> Portfolio Architect
>   @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
> with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity=
> [image:
> youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
> LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
> logo] <https://www.facebook.com/pingidentitypage> [image: Google+ logo]<h=
ttps://plus.google.com/u/0/114266977739397708540> [image:
> slideshare logo] <http://www.slideshare.net/PingIdentity> [image:
> flipboard logo] <http://flip.it/vjBF7> [image: rss feed icon]<https://www=
.pingidentity.com/blogs/>
>    [image: Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA]<https://www.cloudid=
entitysummit.com/>
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>


--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--089e014954be5bde5c04f8bbad40
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>But you probable did do something very similar to wha=
t I did in jose4j - i.e. just getting a cipher instance with &quot;RSA/ECB/=
OAEPWithSHA-256AndMGF1Padding&quot;?<br><br></div>I think that&#39;s the ri=
ght thing to do (and JWA even implies it) but a check from a different lang=
uage/platform would help verify that assumption. I don&#39;t know if maybe =
more specifics need to be provided to the cipher via OAEPParameterSpec or s=
omething - the JCA APIs can be a bit mysterious at times.<br>

</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue,=
 May 6, 2014 at 6:32 AM, Antonio Sanso <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:asanso@adobe.com" target=3D"_blank">asanso@adobe.com</a>&gt;</span> wro=
te:<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">
hi Brian,
<div><br>
</div>
<div><br>
<div><div class=3D"">
<div>On May 6, 2014, at 3:29 PM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div>From the venerable film Animal House, of course, <a href=3D"https://ww=
w.youtube.com/watch?v=3DvVXEQ8hjyGI" target=3D"_blank">
https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a> <br>
<br>
</div>
Thanks for checking that Antonio. <br>
<br>
</div>
Hopefully we could get a non Java based implementing to verify it too.<br>
</div>
</blockquote>
<div><br>
</div>
</div><div>just for completeness I did *not* use jose4j to verify it=E2=80=
=A6 (just to be safe)</div>
<div><br>
</div>
<div>regards</div><span class=3D"HOEnZb"><font color=3D"#888888">
<div><br>
</div>
<div>antonio</div></font></span><div><div class=3D"h5">
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div><br>
<br>
</div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">asanso@adobe.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">
<div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco">Well, as of thi=
s moment, they&#39;re on DOUBLE SECRET PROBATION!</div>
</div>
<div>
<div><br>
<div>
<div>On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:asans=
o@adobe.com" target=3D"_blank">asanso@adobe.com</a>&gt; wrote:</div>
<br>
<blockquote type=3D"cite">
<div style=3D"word-wrap:break-word">Hi Brian,
<div><br>
</div>
<div>I will give a try and let you know</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div>
<div>On May 6, 2014, at 5:40 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">The latest revision of JWA added a new &#39;RSA-OAEP-256&#=
39; JWE alg for key encryption but, AFAIK, there are no examples using it. =
I recently added support for it to
<a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_blank">https://bitb=
ucket.org/b_c/jose4j</a> and am looking to get some kind of confirmation th=
at I&#39;ve done it correctly (other than self interop). With that in mind,=
 here is a JWE using RSA-OAEP-256 which
 I&#39;ve produced and I&#39;m hopeful that someone on this WG list will be=
 able to decrypt. The RSA key that was used (in JWK format with both public=
 and private parts) is below the JWE.<br>
<br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA<br>


<br>
{&quot;kty&quot;:&quot;RSA&quot;,&quot;n&quot;:&quot;2cQJH1f6yF9DcGa8Cmbnhn=
4LHLs5L6kNb2rxkrNF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qGRFd26K8g0jJsXXM&quot;,&q=
uot;dp&quot;:&quot;VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVDkej7-6H7vcJ=
-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXRYOjpJp5yNl2=
zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10&quot;,&quot;dq&quot;:&quot;MJFbuGt=
WZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJ=
EIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-=
L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG=
5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P=
_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<br>


</div>
_______________________________________________<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><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;m=
in-height:79px;margin:0;border:none"></a></td>


<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>


</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;min-height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"tel:%2B1%20720.3=
17.2061" value=3D"+17203172061" target=3D"_blank">+1 720.317.2061</a></span=
></font></td>


</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=E2=80=A6</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;min-height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;min-height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google+" target=3D"_blank">
<img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/google%2B.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;min-height:23px;border:none;m=
argin:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;min-height:23px;border:none;mar=
gin:0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;min-height:23px;border:none;margin:0">=
</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" target=3D"=
_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identi=
ty Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172p=
x;min-height:81px;margin:0;border:none"></a></td>


</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
</blockquote>
</div></div></div>
<br>
</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><br clear=3D"all"><br>-- <br><div dir=3D"ltr">

<div style=3D"padding-bottom:5px;margin-bottom:0">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width:75px;height:79px;margin:0;border:none"></a></td>


				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">Brian Campbell</span><br><font color=3D"#00=
0000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>


					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e61d3c;paddi=
ng:0 5px 0 0">
									<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-seri=
f;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e63c1d;paddi=
ng:0;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px">+1 720.317.2061</span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:#999999">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width:20px;height:23px;border:none;margin:0"></a> <a href=3D"https:=
//www.youtube.com/user/PingIdentityTV" style=3D"text-decoration:none" title=
=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"youtube logo" src=3D"htt=
p://4.pingidentity.com/rs/pingidentity/images/youtube.gif" style=3D"width:2=
3px;height:23px;border:none;margin:0"></a> <a href=3D"https://www.linkedin.=
com/company/21870" style=3D"text-decoration:none" title=3D"Ping on LinkedIn=
" target=3D"_blank"><img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/linkedin.gif" style=3D"width:23px;height:23px;b=
order:none;margin:0"></a> <a href=3D"https://www.facebook.com/pingidentityp=
age" style=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_b=
lank"><img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/facebook.gif" style=3D"width:23px;height:23px;border:none;mar=
gin:0"></a> <a href=3D"https://plus.google.com/u/0/114266977739397708540" s=
tyle=3D"text-decoration:none" title=3D"Ping on Google+" target=3D"_blank"><=
img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/i=
mages/google%2B.gif" style=3D"width:23px;height:23px;border:none;margin:0">=
</a> <a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decor=
ation:none" title=3D"Ping on SlideShare" target=3D"_blank"><img alt=3D"slid=
eshare logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/slides=
hare.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a> <a hre=
f=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Ping on =
Flipboard" target=3D"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/flipboard.gif" style=3D"width:23px;he=
ight:23px;border:none;margin:0"></a> <a href=3D"https://www.pingidentity.co=
m/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_bl=
ank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingide=
ntity/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a></td>


							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #9=
99999;width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-=
align:top;border:none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | =
Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" targe=
t=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern I=
dentity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http:/=
/4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width=
:172px;height:81px;margin:0;border:none"></a></td>


			</tr>
		</tbody>
	</table>
</div>
<br></div>
</div>

--089e014954be5bde5c04f8bbad40--


From nobody Tue May  6 07:14: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 9921E1A058E for <jose@ietfa.amsl.com>; Tue,  6 May 2014 07:14:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.055
X-Spam-Level: *
X-Spam-Status: No, score=1.055 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, FRT_ADOBE2=2.455, J_CHICKENPOX_41=0.6, 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 0ESo5ctEVy_t for <jose@ietfa.amsl.com>; Tue,  6 May 2014 07:14:56 -0700 (PDT)
Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) by ietfa.amsl.com (Postfix) with ESMTP id B72651A032F for <jose@ietf.org>; Tue,  6 May 2014 07:14:55 -0700 (PDT)
Received: by mail-we0-f173.google.com with SMTP id u57so2526252wes.4 for <jose@ietf.org>; Tue, 06 May 2014 07:14:51 -0700 (PDT)
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=J6VBdvIJ3u/Y/bMl2ghOYlDWwjj92oZAT2lW0szkk3A=; b=RK8Q/OTjosIkhVhmErUUp7aXpcamP/1hKOIDt7s7P0Po2AMjD7TAuWA+0RRQD95m8n +PaOzbn1PK/GnXzh9s+/nmnb7di9pajB4IJzWW8MXw1JzOTbDOMaYoVKzdik58KE2qJt Cq0dKTWxvBwsTWhWKj6JeXEBrYA087fb6H245ErlTwWFpiZZ81irFHbLdPK0quAdnNI5 clc2FKTNlWz+cn8ERKo5Y9d4gLKBm+f5vgSORbhaNpzP4+bZEB5sow0vDqz9cH+hwVM/ rnvUC8qeQibk4fl+M+l8whmWpGO8hWstPVuBsip697veIkeGFir2F5YN+uTF+xXm/dWw w3Uw==
X-Received: by 10.194.89.40 with SMTP id bl8mr837098wjb.90.1399385691509; Tue, 06 May 2014 07:14:51 -0700 (PDT)
Received: from [192.168.1.99] (48.248.130.77.rev.sfr.net. [77.130.248.48]) by mx.google.com with ESMTPSA id q9sm22247677wjo.3.2014.05.06.07.14.50 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 07:14:50 -0700 (PDT)
Message-ID: <5368EE57.8060008@gmail.com>
Date: Tue, 06 May 2014 16:14:47 +0200
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.5.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>,  Antonio Sanso <asanso@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
In-Reply-To: <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/XMWEdYJNwasKo57u54aRIDjMXrw
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: [jose] BouncyCastle? Re:  RSA-OAEP-256 Example
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, 06 May 2014 14:14:57 -0000

https://bugs.openjdk.java.net/browse/JDK-7038158

Anders

On 2014-05-06 16:00, Brian Campbell wrote:
> But you probable did do something very similar to what I did in jose4j - i.e. just getting a cipher instance with "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?
> 
> I think that's the right thing to do (and JWA even implies it) but a check from a different language/platform would help verify that assumption. I don't know if maybe more specifics need to be provided to the cipher via OAEPParameterSpec or something - the JCA APIs can be a bit mysterious at times.
> 
> 
> On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com <mailto:asanso@adobe.com>> wrote:
> 
>     hi Brian,
> 
> 
>     On May 6, 2014, at 3:29 PM, Brian Campbell <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>> wrote:
> 
>>     From the venerable film Animal House, of course, https://www.youtube.com/watch?v=vVXEQ8hjyGI
>>
>>     Thanks for checking that Antonio.
>>
>>     Hopefully we could get a non Java based implementing to verify it too.
> 
>     just for completeness I did *not* use jose4j to verify it… (just to be safe)
> 
>     regards
> 
>     antonio
> 
>>
>>
>>
>>
>>     On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com <mailto:asanso@adobe.com>> wrote:
>>
>>         Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>
>>         On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com <mailto:asanso@adobe.com>> wrote:
>>
>>>         Hi Brian,
>>>
>>>         I will give a try and let you know
>>>
>>>         regards
>>>
>>>         antonio
>>>
>>>         On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>> wrote:
>>>
>>>>         The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key encryption but, AFAIK, there are no examples using it. I recently added support for it to https://bitbucket.org/b_c/jose4j and am looking to get some kind of confirmation that I've done it correctly (other than self interop). With that in mind, here is a JWE using RSA-OAEP-256 which I've produced and I'm hopeful that someone on this WG list will be able to decrypt. The RSA key that was used (in JWK format with both public and private parts) is below the JWE.
>>>>
>>>>         eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251nTviMAwPAjs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vAS5W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVFykDLwJ30G
epLQ8nTlzeV6clx0x70saGGKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj1ExSk_pGMqGRFd26K8g0jJsXXM","dp":"VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVDkej7-6H7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXRYOjpJp5yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQwYpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
>>>>         _______________________________________________
>>>>         jose mailing list
>>>>         jose@ietf.org <mailto:jose@ietf.org>
>>>>         https://www.ietf.org/mailman/listinfo/jose
>>>
>>
>>
>>
>>
>>     -- 
>>     Ping Identity logo <https://www.pingidentity.com/> 	
>>     Brian Campbell
>>     Portfolio Architect
>>     @ 	bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>
>>     phone 	+1 720.317.2061 <tel:%2B1%20720.317.2061>
>>     Connect with us…
>>     twitter logo <https://twitter.com/pingidentity> youtube logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo <https://www.linkedin.com/company/21870> Facebook logo <https://www.facebook.com/pingidentitypage> Google+ logo <https://plus.google.com/u/0/114266977739397708540> slideshare logo <http://www.slideshare.net/PingIdentity> flipboard logo <http://flip.it/vjBF7> rss feed icon <https://www.pingidentity.com/blogs/>
>>
>>     Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19–23 July, 2014 | Monterey, CA <https://www.cloudidentitysummit.com/>
>>
>>
> 
> 
>     _______________________________________________
>     jose mailing list
>     jose@ietf.org <mailto:jose@ietf.org>
>     https://www.ietf.org/mailman/listinfo/jose
> 
> 
> 
> 
> -- 
> Ping Identity logo <https://www.pingidentity.com/> 	
> Brian Campbell
> Portfolio Architect
> @ 	bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>
> phone 	+1 720.317.2061
> Connect with us…
> twitter logo <https://twitter.com/pingidentity> youtube logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo <https://www.linkedin.com/company/21870> Facebook logo <https://www.facebook.com/pingidentitypage> Google+ logo <https://plus.google.com/u/0/114266977739397708540> slideshare logo <http://www.slideshare.net/PingIdentity> flipboard logo <http://flip.it/vjBF7> rss feed icon <https://www.pingidentity.com/blogs/>
> 
> Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19–23 July, 2014 | Monterey, CA <https://www.cloudidentitysummit.com/>
> 
> 
> 
> 
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> 


From nobody Tue May  6 07:21:50 2014
Return-Path: <jricher@mitre.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 611CC1A0651 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 07:21:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.795
X-Spam-Level: 
X-Spam-Status: No, score=-1.795 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651] 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 5NhxjvUy7xTn for <jose@ietfa.amsl.com>; Tue,  6 May 2014 07:21:46 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id 91DF91A0347 for <jose@ietf.org>; Tue,  6 May 2014 07:21:44 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id A2AB61F02AE; Tue,  6 May 2014 10:21:40 -0400 (EDT)
Received: from IMCCAS02.MITRE.ORG (imccas02.mitre.org [129.83.29.79]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 854611F02A7; Tue,  6 May 2014 10:21:40 -0400 (EDT)
Received: from IMCMBX01.MITRE.ORG ([169.254.1.73]) by IMCCAS02.MITRE.ORG ([129.83.29.69]) with mapi id 14.03.0174.001; Tue, 6 May 2014 10:21:39 -0400
From: "Richer, Justin P." <jricher@mitre.org>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhACAAEQzAIAAAPYAgAAHsoCAAAXtgA==
Date: Tue, 6 May 2014 14:21:38 +0000
Message-ID: <7270EE89-048D-4BF1-9B3F-48C902B097FE@mitre.org>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
In-Reply-To: <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.31.50.80]
Content-Type: multipart/alternative; boundary="_000_7270EE89048D4BF19B3F48C902B097FEmitreorg_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/IGyyz6aJtrTKmqsSNU7M3IZ84Ss
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 14:21:48 -0000

--_000_7270EE89048D4BF19B3F48C902B097FEmitreorg_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

For what it's worth, this morning I copied Brian's homework and implemented=
 the RSA-OAEP-256 algorithm in Nimbus-JOSE-JWT (on Java / BouncyCastle) usi=
ng the Cipher instance he mentions below. I was able to do the decryption a=
nd get out the same clear text as Antonio.

So if we're wrong, we're all at least wrong in the exact same way.

 -- Justin

On May 6, 2014, at 10:00 AM, Brian Campbell <bcampbell@pingidentity.com<mai=
lto:bcampbell@pingidentity.com>> wrote:

But you probable did do something very similar to what I did in jose4j - i.=
e. just getting a cipher instance with "RSA/ECB/OAEPWithSHA-256AndMGF1Paddi=
ng"?

I think that's the right thing to do (and JWA even implies it) but a check =
from a different language/platform would help verify that assumption. I don=
't know if maybe more specifics need to be provided to the cipher via OAEPP=
arameterSpec or something - the JCA APIs can be a bit mysterious at times.


On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com<mailto:asan=
so@adobe.com>> wrote:
hi Brian,


On May 6, 2014, at 3:29 PM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

>From the venerable film Animal House, of course, https://www.youtube.com/wa=
tch?v=3DvVXEQ8hjyGI

Thanks for checking that Antonio.

Hopefully we could get a non Java based implementing to verify it too.

just for completeness I did *not* use jose4j to verify it=85 (just to be sa=
fe)

regards

antonio





On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com<mailto:asan=
so@adobe.com>> wrote:
Well, as of this moment, they're on DOUBLE SECRET PROBATION!

On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com<mailto:asanso@=
adobe.com>> wrote:

Hi Brian,

I will give a try and let you know

regards

antonio

On May 6, 2014, at 5:40 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg for key encry=
ption but, AFAIK, there are no examples using it. I recently added support =
for it to https://bitbucket.org/b_c/jose4j and am looking to get some kind =
of confirmation that I've done it correctly (other than self interop). With=
 that in mind, here is a JWE using RSA-OAEP-256 which I've produced and I'm=
 hopeful that someone on this WG list will be able to decrypt. The RSA key =
that was used (in JWK format with both public and private parts) is below t=
he JWE.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgy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Q","p":"7yQmgE60SL7QrXpAJhChLgK=
nXWi6C8tVx1lA8FTpphpLaCtK-HbgBVHCprC2CfaM1mxFJZahxgFjC9ehuV8OzMNyFs8kekS82E=
sQGksi8HJPxyR1fU6ATa36ogPG0nNaqm3EDmYyjowhntgBz2OkbFAsTMHTdna-pZBRJa9lm5U",=
"q":"6R4dzo9LwHLO73EMQPQsmwXjVOvAS5W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVF=
ykDLwJ30GepLQ8nTlzeV6clx0x70saGGKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj=
1ExSk_pGMqGRFd26K8g0jJsXXM","dp":"VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3Zz=
JWVDkej7-6H7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsuc=
rzXRYOjpJp5yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZvQE=
dRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-E=
uU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQw=
YpmmFy_k0","qi":"vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ct=
CKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0=
DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg"}
_______________________________________________
jose mailing list
jose@ietf.org<mailto:jose@ietf.org>
https://www.ietf.org/mailman/listinfo/jose





--
[Ping Identity logo]<https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
@       bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
[phone] +1 720.317.2061<tel:%2B1%20720.317.2061>
Connect with us=85
[twitter logo]<https://twitter.com/pingidentity> [youtube logo] <https://ww=
w.youtube.com/user/PingIdentityTV>  [LinkedIn logo] <https://www.linkedin.c=
om/company/21870>  [Facebook logo] <https://www.facebook.com/pingidentitypa=
ge>  [Google+ logo] <https://plus.google.com/u/0/114266977739397708540>  [s=
lideshare logo] <http://www.slideshare.net/PingIdentity>  [flipboard logo] =
<http://flip.it/vjBF7>  [rss feed icon] <https://www.pingidentity.com/blogs=
/>

[Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19=
=9623 July, 2014 | Monterey, CA]<https://www.cloudidentitysummit.com/>



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




--
[Ping Identity logo]<https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
@       bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
[phone] +1 720.317.2061
Connect with us=85
[twitter logo]<https://twitter.com/pingidentity> [youtube logo] <https://ww=
w.youtube.com/user/PingIdentityTV>  [LinkedIn logo] <https://www.linkedin.c=
om/company/21870>  [Facebook logo] <https://www.facebook.com/pingidentitypa=
ge>  [Google+ logo] <https://plus.google.com/u/0/114266977739397708540>  [s=
lideshare logo] <http://www.slideshare.net/PingIdentity>  [flipboard logo] =
<http://flip.it/vjBF7>  [rss feed icon] <https://www.pingidentity.com/blogs=
/>

[Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19=
=9623 July, 2014 | Monterey, CA]<https://www.cloudidentitysummit.com/>

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


--_000_7270EE89048D4BF19B3F48C902B097FEmitreorg_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <2BD7FBF5DE5A9F40AF2D0267B529D41D@imc.mitre.org>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
For what it's worth, this morning I copied Brian's homework and implemented=
 the RSA-OAEP-256 algorithm in Nimbus-JOSE-JWT (on Java / BouncyCastle) usi=
ng the Cipher instance he mentions below. I was able to do the decryption a=
nd get out the same clear text as
 Antonio.
<div><br>
</div>
<div>So if we're wrong, we're all at least wrong in the exact same way.</di=
v>
<div><br>
</div>
<div>&nbsp;-- Justin<br>
<div><br>
<div>
<div>On May 6, 2014, at 10:00 AM, Brian Campbell &lt;<a href=3D"mailto:bcam=
pbell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>But you probable did do something very similar to what I did in jose4j=
 - i.e. just getting a cipher instance with &quot;RSA/ECB/OAEPWithSHA-256An=
dMGF1Padding&quot;?<br>
<br>
</div>
I think that's the right thing to do (and JWA even implies it) but a check =
from a different language/platform would help verify that assumption. I don=
't know if maybe more specifics need to be provided to the cipher via OAEPP=
arameterSpec or something - the
 JCA APIs can be a bit mysterious at times.<br>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">asanso@adobe.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">hi Brian,
<div><br>
</div>
<div><br>
<div>
<div class=3D"">
<div>On May 6, 2014, at 3:29 PM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div>From the venerable film Animal House, of course, <a href=3D"https://ww=
w.youtube.com/watch?v=3DvVXEQ8hjyGI" target=3D"_blank">
https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a> <br>
<br>
</div>
Thanks for checking that Antonio. <br>
<br>
</div>
Hopefully we could get a non Java based implementing to verify it too.<br>
</div>
</blockquote>
<div><br>
</div>
</div>
<div>just for completeness I did *not* use jose4j to verify it=85 (just to =
be safe)</div>
<div><br>
</div>
<div>regards</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br>
</div>
<div>antonio</div>
</font></span>
<div>
<div class=3D"h5"><br>
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div><br>
<br>
</div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">asanso@adobe.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">
<div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco">Well, as of thi=
s moment, they're on DOUBLE SECRET PROBATION!</div>
</div>
<div>
<div><br>
<div>
<div>On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:asans=
o@adobe.com" target=3D"_blank">asanso@adobe.com</a>&gt; wrote:</div>
<br>
<blockquote type=3D"cite">
<div style=3D"word-wrap:break-word">Hi Brian,
<div><br>
</div>
<div>I will give a try and let you know</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
<div>
<div>On May 6, 2014, at 5:40 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg for key encryption but, AFAIK, there are no examples using it. I recent=
ly added support for it to
<a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_blank">https://bitb=
ucket.org/b_c/jose4j</a> and am looking to get some kind of confirmation th=
at I've done it correctly (other than self interop). With that in mind, her=
e is a JWE using RSA-OAEP-256 which
 I've produced and I'm hopeful that someone on this WG list will be able to=
 decrypt. The RSA key that was used (in JWK format with both public and pri=
vate parts) is below the JWE.<br>
<br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2HjtHOc=
XduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36teyjl9=
oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE3o-YJ=
520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJMRKf0N=
DikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0W251n=
TviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3nOJP5d=
BgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrfeCGnh=
WT9qyuUSSA<br>
<br>
{&quot;kty&quot;:&quot;RSA&quot;,&quot;n&quot;:&quot;2cQJH1f6yF9DcGa8Cmbnhn=
4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbd=
SIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXzuJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjH=
wjINty3UoKm08lCvAevBKHsuA-FFwQII9bycvRx5wRqFUjdMAyiOmLYBHBaJSi11g3HV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DlXhAqCUxlYqyt10&quot;,&quot;dq&quot;:&quot;MJFbuGt=
WZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJ=
EIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-=
L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAOQKC8FVUc0TG=
5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7iXj6yHmZ2s8P=
_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&quot;}<br>
</div>
_______________________________________________<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><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;m=
in-height:79px;margin:0;border:none"></a></td>
<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>
</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;min-height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"tel:%2B1%20720.3=
17.2061" value=3D"&#43;17203172061" target=3D"_blank">&#43;1 720.317.2061</=
a></span></font></td>
</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=85</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;min-height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;min-height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google&#43;" target=3D"_blank">
<img alt=3D"Google&#43; logo" src=3D"http://4.pingidentity.com/rs/pingident=
ity/images/google%2B.gif" style=3D"width:23px;min-height:23px;border:none;m=
argin:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;min-height:23px;border:none;m=
argin:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;min-height:23px;border:none;mar=
gin:0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;min-height:23px;border:none;margin:0">=
</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=9623 July, 2014 | Monterey, CA" target=3D"_blank=
"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identity Rev=
olution | 19=9623 July, 2014 | Monterey, CA" src=3D"http://4.pingidentity.c=
om/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172px;min-height=
:81px;margin:0;border:none"></a></td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</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>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;h=
eight:79px;margin:0;border:none"></a></td>
<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>
</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px">&#43;1 720.317.2061</span><=
/font></td>
</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=85</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;height:23px;border:none;margin:0"><=
/a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google&#43;" target=3D"_blank">
<img alt=3D"Google&#43; logo" src=3D"http://4.pingidentity.com/rs/pingident=
ity/images/google%2B.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a>=
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=9623 July, 2014 | Monterey, CA" target=3D"_blank=
"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identity Rev=
olution | 19=9623 July, 2014 | Monterey, CA" src=3D"http://4.pingidentity.c=
om/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172px;height:81p=
x;margin:0;border:none"></a></td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
https://www.ietf.org/mailman/listinfo/jose<br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>

--_000_7270EE89048D4BF19B3F48C902B097FEmitreorg_--


From nobody Tue May  6 10:12:06 2014
Return-Path: <sberyozkin@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 83F381A03A4; Mon,  5 May 2014 10:08:27 -0700 (PDT)
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 M7PnJac7umrx; Mon,  5 May 2014 10:08:24 -0700 (PDT)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) by ietfa.amsl.com (Postfix) with ESMTP id 2F8931A038B; Mon,  5 May 2014 10:08:24 -0700 (PDT)
Received: by mail-wi0-f178.google.com with SMTP id hm4so5939242wib.17 for <multiple recipients>; Mon, 05 May 2014 10:08:20 -0700 (PDT)
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=s9Bmno+YbQdzsrCL5+ZH6Tz5B90U1VSs6iN0VqNzxfc=; b=PN4/tLloiqx/0CefwdPfri4ZvcjuLkCSODd2Fj0JjYs0zKDVeUIz+r7Y+hJWU7Z5km JLztG7qjVtMtrpkIh+/cXlsN8uzyzyhp9PSyJuU7s/msQ8/sGlnvbvgaYUt429k72rgd 2VTGWRtdQOcsnF8zFan38VYJTAACr08xjOTJ0qb6rZQpXUwJ7JmrNKFb+51T3QAQmzMf uOchTGO/ygrHeZE7/r6suVrXRofEK1OUrsIzmCSgHKE8kRtXZ/yFa9jXPm79wdiPPKz3 FJQWNftdwsB9wMMM6s374FO0qg5nehcwqloHUTTB8kQgPN9lsdTS2BeQPPuS9jghNV+n p1WA==
X-Received: by 10.194.203.2 with SMTP id km2mr2709870wjc.72.1399309700213; Mon, 05 May 2014 10:08:20 -0700 (PDT)
Received: from [192.168.2.7] ([89.100.139.33]) by mx.google.com with ESMTPSA id n5sm18976240wiz.1.2014.05.05.10.08.18 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 10:08:19 -0700 (PDT)
Message-ID: <5367C582.3010705@gmail.com>
Date: Mon, 05 May 2014 18:08:18 +0100
From: Sergey Beryozkin <sberyozkin@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>,  "jose@ietf.org" <jose@ietf.org>
References: <5363C88E.5070209@gmail.com> <CA+k3eCSG8E5918RqiHG5fqLV-gs3kTofuAng6yBM15_rn+35SA@mail.gmail.com>
In-Reply-To: <CA+k3eCSG8E5918RqiHG5fqLV-gs3kTofuAng6yBM15_rn+35SA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/joeIB5_R0F7uuqLlAD3BcgB67wg
X-Mailman-Approved-At: Tue, 06 May 2014 10:12:05 -0700
Cc: "<oauth@ietf.org>" <oauth@ietf.org>
Subject: Re: [jose] [OAUTH-WG] [OT] Validation of JWE spec Appendix 1
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, 05 May 2014 17:08:27 -0000

Hi Brian
On 03/05/14 14:36, Brian Campbell wrote:
> Hi Sergey,
>
> This question might be more appropriate for the JOSE WG [0] list (which
> I've cc'd) as JWE is being developed there.
>
Sure, I'll be asking at [0] next time...
> Some of the algorithms, RSAES OAEP being one of them, are probabilistic
> encryption schemes which incorporate some element of randomness to yield
> a different output even when encrypting the same content multiple times.
> So the behavior you are observing is to be expected.
>
I was starting blaming myself for the fact I could not get the code 
producing a match :-)
> That means that exactly reproducing the various steps of the examples in
> the specs will not be possible in some cases. I was recently discussing
> this off list with Matt Miller, the author of the JOSE Cookbook [1], and
> my suggestion was to have the cookbook just make note of which examples,
> or which parts of which examples, can't be easily reproduced due to
> non-deterministic algorithms. I think that your question here suggests
> that that idea might well provide utility to users/readers of that document.
>
+1

Thanks for the help,
Sergey

> Hope that helps,
> Brian
>
>
> [0] http://tools.ietf.org/wg/jose/
> [1] http://tools.ietf.org/html/draft-ietf-jose-cookbook-02
>
>
>
>
>
>
> On Fri, May 2, 2014 at 10:32 AM, Sergey Beryozkin <sberyozkin@gmail.com
> <mailto:sberyozkin@gmail.com>> wrote:
>
>     Hi,
>
>     I'm starting experimenting with JWE, and the 1st thing I wanted to
>     do was to quickly test the example at [1].
>
>     Sorry if it is something that is very obvious and off-topic, but I
>     can't seem to validate the encryption of the content encryption key:
>     I keep getting a different output every time the test code runs.
>
>     The code is the one that I wrote by 'scraping' the code from all
>     over the Web but also I see Jose.4.j [3] produces a different output
>     too.
>     Is it due to the given key properties specified in [1] or it is
>     actually indeed expected that production at [2] is reproducible ?
>
>     Cheers, Sergey
>
>     [1]
>     http://tools.ietf.org/html/__draft-ietf-jose-json-web-__encryption-26#appendix-A.1
>     <http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-26#appendix-A.1>
>     [2]
>     http://tools.ietf.org/html/__draft-ietf-jose-json-web-__encryption-26#appendix-A.1.3
>     <http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-26#appendix-A.1.3>
>     [3] https://bitbucket.org/b_c/__jose4j/wiki/Home
>     <https://bitbucket.org/b_c/jose4j/wiki/Home>
>
>     _________________________________________________
>     OAuth mailing list
>     OAuth@ietf.org <mailto:OAuth@ietf.org>
>     https://www.ietf.org/mailman/__listinfo/oauth
>     <https://www.ietf.org/mailman/listinfo/oauth>
>
>
>
>
> --
> Ping Identity logo <https://www.pingidentity.com/> 	
> Brian Campbell
> [Enter Title]
> @ 	bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>
> phone 	+1 720.317.2061 <tel:%2B1%20720.317.2061>
> Connect with us…
> twitter logo <https://twitter.com/pingidentity> youtube logo
> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> <https://www.linkedin.com/company/21870> Facebook logo
> <https://www.facebook.com/pingidentitypage> Google+ logo
> <https://plus.google.com/u/0/114266977739397708540> slideshare logo
> <http://www.slideshare.net/PingIdentity> flipboard logo
> <http://flip.it/vjBF7> rss feed icon <https://www.pingidentity.com/blogs/>
>
> Register for Cloud Identity Summit 2014 | Modern Identity Revolution |
> 19–23 July, 2014 | Monterey, CA <https://www.cloudidentitysummit.com/>
>
>



From nobody Tue May  6 12:32:10 2014
Return-Path: <Axel.Nennker@telekom.de>
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 6A4281A03E0 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 12:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.155
X-Spam-Level: 
X-Spam-Status: No, score=0.155 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.651] 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 2Mcm0dkdwNe4 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 12:32:05 -0700 (PDT)
Received: from tcmail13.telekom.de (tcmail13.telekom.de [80.149.113.165]) by ietfa.amsl.com (Postfix) with ESMTP id 8707E1A03B5 for <jose@ietf.org>; Tue,  6 May 2014 12:32:04 -0700 (PDT)
Received: from he111527.emea1.cds.t-internal.com ([10.125.90.86]) by tcmail11.telekom.de with ESMTP/TLS/AES128-SHA; 06 May 2014 21:31:59 +0200
Received: from HE111541.emea1.cds.t-internal.com ([10.125.90.97]) by HE111527.EMEA1.CDS.T-INTERNAL.COM ([2002:7cd:5a56::7cd:5a56]) with mapi; Tue, 6 May 2014 21:31:58 +0200
From: <Axel.Nennker@telekom.de>
To: <bcampbell@pingidentity.com>, <asanso@adobe.com>
Date: Tue, 6 May 2014 21:31:53 +0200
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: Ac9pM55u+KswQ9wOQJ6mdd8wBDasfwALHRzA
Message-ID: <CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5@HE111541.emea1.cds.t-internal.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
In-Reply-To: <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
Accept-Language: de-DE
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: multipart/related; boundary="_004_CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5HE111541eme_"; type="multipart/alternative"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/TbD7LfvL4w4nfy447o3YUWw8rgc
Cc: jose@ietf.org
Subject: Re: [jose] RSA-OAEP-256 Example
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, 06 May 2014 19:32:08 -0000

--_004_CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5HE111541eme_
Content-Type: multipart/alternative;
	boundary="_000_CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5HE111541eme_"

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

SGkgYWxsLA0KDQpodHRwOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1pZXRmLWpvc2UtanNv
bi13ZWItYWxnb3JpdGhtcy0yNiNhcHBlbmRpeC1BLjIgc3BlY2lmaWVzIGV4YWN0bHkgdGhlc2Ug
cGFyYW1ldGVycy4NC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mRlcjpzb2xpZCB3
aW5kb3d0ZXh0IDEuMHB0O3BhZGRpbmc6MGNtO3RleHQtZGVjb3JhdGlvbjpub25lJz48aW1nIGJv
cmRlcj0wIHdpZHRoPTEwMCBoZWlnaHQ9MTAwIGlkPSJfeDAwMDBfaTEwNDYiIHNyYz0iY2lkOn5X
UkQwMDAuanBnIiBhbHQ9IkltYWdlIHJlbW92ZWQgYnkgc2VuZGVyLiBSZWdpc3RlciBmb3IgQ2xv
dWQgSWRlbnRpdHkgU3VtbWl0IDIwMTQgfCBNb2Rlcm4gSWRlbnRpdHkgUmV2b2x1dGlvbiB8IDE5
4oCTMjMgSnVseSwgMjAxNCB8IE1vbnRlcmV5LCBDQSI+PC9zcGFuPjwvYT48bzpwPjwvbzpwPjwv
cD48L3RkPjwvdHI+PC90YWJsZT48cCBjbGFzcz1Nc29Ob3JtYWw+PG86cD4mbmJzcDs8L286cD48
L3A+PC9kaXY+PC9kaXY+PC9kaXY+PC9ib2R5PjwvaHRtbD4=

--_000_CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5HE111541eme_--

--_004_CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5HE111541eme_
Content-Type: image/jpeg; name="~WRD000.jpg"
Content-Description: ~WRD000.jpg
Content-Disposition: inline; filename="~WRD000.jpg"; size=823;
	creation-date="Tue, 06 May 2014 19:19:17 GMT";
	modification-date="Tue, 06 May 2014 19:19:17 GMT"
Content-ID: <~WRD000.jpg>
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCABkAGQDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK
KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigD//2Q==

--_004_CE8995AB5D178F44A2154F5C9A97CAF402631C6038C5HE111541eme_--


From nobody Tue May  6 20:39:33 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 1DDC21A021D for <jose@ietfa.amsl.com>; Tue,  6 May 2014 20:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.097
X-Spam-Level: 
X-Spam-Status: No, score=-12.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FRT_ADOBE2=2.455, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, 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 saF9luSgjSlU for <jose@ietfa.amsl.com>; Tue,  6 May 2014 20:39:28 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by ietfa.amsl.com (Postfix) with ESMTP id 010F21A0217 for <jose@ietf.org>; Tue,  6 May 2014 20:39:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9158; q=dns/txt; s=iport; t=1399433964; x=1400643564; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=LeO2zERgpfOR0IeOCGcp09mci7gAvVUHrrSKpKK1WE0=; b=aJtwKt1iQarPNOIX8ctdi3l/NQ5p3KARlrmbgs61kn4i4kCiCT1RjLOk PytNyHAUP55//do8GUuxFzBz8LvCXUoqrVaf5BcD4e5wXwF9o8Q+23r14 Sda6CX2QaVWUX1dbUBTOmGxdyKD1zEJ7QDXSwfiaABllMA2rU0SQQr3C0 U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtAHACiqaVOtJA2J/2dsb2JhbABRBgODBk9RB6p4AQEBAQEBBpJShzmBIBZ0giUBAQEEAQEBawoBDgILDgoJFggHCQMCAQIBCQwfEQYBDAEFAgEBiD0IBc5GFwSFUoVtgjQoIxAHEYQuBIRaAoUsiFeGWIE8i2GFXoNTghA
X-IronPort-AV: E=Sophos;i="4.97,1000,1389744000"; d="scan'208";a="322915310"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-5.cisco.com with ESMTP; 07 May 2014 03:39:22 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s473dMjV027751 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 7 May 2014 03:39:22 GMT
Received: from MAMILLE2-M-T03K.CISCO.COM (10.86.245.104) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 6 May 2014 22:39:22 -0500
Message-ID: <5369AAE7.2060704@cisco.com>
Date: Tue, 6 May 2014 21:39:19 -0600
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.5.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>, Antonio Sanso <asanso@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
In-Reply-To: <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [10.86.245.104]
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/L5BAApECEBPe0fHSe8hXOhb_fN0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 03:39:32 -0000

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

Short answer:
You are all equally broken -- except from a certain point of view d-:

Long answer:
The code I have is based on OpenSSL, which is hard-coded to use SHA1
for the hash and mask generation (boo!), which means one has to
implement OAEP-SHA256 from scratch (hiss!!).

When I implemented it per RFC 3447 and
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
could decrypt provided results.  A search through BouncyCastle's code
shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
function of SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
Further evidence is shown with how [FORGE] can be made to work with
Java (search their homepage for "Compatible with Java's
RSA/ECB/OAEPWithSHA-256AndMGF1Padding").

Reconciling all of this with
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
very straight-forward.  It appears that the JCA identifier is meant to
be "MGF1 with SHA1"; that ought to be explicitly noted.  The XMLENC
reference is arguably incomplete, since
"http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
"http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
probably be addressed by explicitly stating the mask generation
function is "http://www.w3.org/2009/xmlenc11#mgf1sha256" (MGF1 with
SHA-256).


- --=20
- - m&m

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

[FORGE] Forge < https://github.com/digitalbazaar/forge >

On 5/6/14, 8:00 AM, Brian Campbell wrote:
> But you probable did do something very similar to what I did in
> jose4j - i.e. just getting a cipher instance with=20
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?
>=20
> I think that's the right thing to do (and JWA even implies it) but
> a check from a different language/platform would help verify that=20
> assumption. I don't know if maybe more specifics need to be
> provided to the cipher via OAEPParameterSpec or something - the JCA
> APIs can be a bit mysterious at times.
>=20
>=20
> On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com=20
> <mailto:asanso@adobe.com>> wrote:
>=20
> hi Brian,
>=20
>=20
> On May 6, 2014, at 3:29 PM, Brian Campbell=20
> <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>>
> wrote:
>=20
>> From the venerable film Animal House, of course,=20
>> https://www.youtube.com/watch?v=3DvVXEQ8hjyGI
>>=20
>> Thanks for checking that Antonio.
>>=20
>> Hopefully we could get a non Java based implementing to verify it
>> too.
>=20
> just for completeness I did *not* use jose4j to verify it=85 (just
> to be safe)
>=20
> regards
>=20
> antonio
>=20
>>=20
>>=20
>>=20
>>=20
>> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com=20
>> <mailto:asanso@adobe.com>> wrote:
>>=20
>> Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>=20
>> On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com=20
>> <mailto:asanso@adobe.com>> wrote:
>>=20
>>> Hi Brian,
>>>=20
>>> I will give a try and let you know
>>>=20
>>> regards
>>>=20
>>> antonio
>>>=20
>>> On May 6, 2014, at 5:40 AM, Brian Campbell=20
>>> <bcampbell@pingidentity.com=20
>>> <mailto:bcampbell@pingidentity.com>> wrote:
>>>=20
>>>> The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg
>>>> for key encryption but, AFAIK, there are no examples using
>>>> it. I recently added support for it to=20
>>>> https://bitbucket.org/b_c/jose4j and am looking to get some=20
>>>> kind of confirmation that I've done it correctly (other than=20
>>>> self interop). With that in mind, here is a JWE using=20
>>>> RSA-OAEP-256 which I've produced and I'm hopeful that someone
>>>> on this WG list will be able to decrypt. The RSA key that was
>>>> used (in JWK format with both public and private parts) is
>>>> below the JWE.
>>>>=20
>>>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2H=
jtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36t=
eyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE=
3o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJM=
RKf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0=
W251nTviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3n=
OJP5dBgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrf=
eCGnhWT9qyuUSSA
>>>>
>>>>
>>>>=20
{"kty":"RSA","n":"2cQJH1f6yF9DcGa8Cmbnhn4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ=
8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbdSIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXz=
uJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjHwjINty3UoKm08lCvAevBKHsuA-FFwQII9by=
cvRx5wRqFUjdMAyiOmLYBHBaJSi11g3HVexMcb29v14PSlVzdGUMN8oboa-zcIyaPrIiczLqAkS=
XQNdEFHrjsJH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k1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQwYpmmFy_k0","qi":"vy7XCwZ=
3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqB=
Qda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN=
1AOrSRCmE3nwxg"}
>>>> _______________________________________________ jose mailing
>>>> list jose@ietf.org <mailto:jose@ietf.org>=20
>>>> https://www.ietf.org/mailman/listinfo/jose
>>>=20
>>=20
>>=20
>>=20
>>=20
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
>> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061
>> <tel:%2B1%20720.317.2061> Connect with us=85 twitter logo
>> <https://twitter.com/pingidentity> youtube logo=20
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo=20
>> <https://www.linkedin.com/company/21870> Facebook logo=20
>> <https://www.facebook.com/pingidentitypage> Google+ logo=20
>> <https://plus.google.com/u/0/114266977739397708540> slideshare=20
>> logo <http://www.slideshare.net/PingIdentity> flipboard logo=20
>> <http://flip.it/vjBF7> rss feed icon=20
>> <https://www.pingidentity.com/blogs/>
>>=20
>> Register for Cloud Identity Summit 2014 | Modern Identity=20
>> Revolution | 19=9623 July, 2014 | Monterey, CA=20
>> <https://www.cloudidentitysummit.com/>
>>=20
>>=20
>=20
>=20
> _______________________________________________ jose mailing list=20
> jose@ietf.org <mailto:jose@ietf.org>=20
> https://www.ietf.org/mailman/listinfo/jose
>=20
>=20
>=20
>=20
> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061 Connect
> with us=85 twitter logo <https://twitter.com/pingidentity> youtube
> logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo=20
> <https://www.linkedin.com/company/21870> Facebook logo=20
> <https://www.facebook.com/pingidentitypage> Google+ logo=20
> <https://plus.google.com/u/0/114266977739397708540> slideshare
> logo <http://www.slideshare.net/PingIdentity> flipboard logo=20
> <http://flip.it/vjBF7> rss feed icon
> <https://www.pingidentity.com/blogs/>
>=20
> Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19=9623 July, 2014 | Monterey, CA
> <https://www.cloudidentitysummit.com/>
>=20
>=20
>=20
>=20
> _______________________________________________ jose mailing list=20
> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>=20

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaarnAAoJEDWi+S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad
CuBlGYa4POF74O3QGqKF+aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK+zB6z7jsr6F/sikmCJIbgNHeRn
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW+A=3D
=3DO9Ex
-----END PGP SIGNATURE-----


From nobody Tue May  6 21:54:31 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 F09BE1A0451 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 21:54:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.523
X-Spam-Level: 
X-Spam-Status: No, score=-0.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_MED=-2.3, 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 rzJfrWeYGWNA for <jose@ietfa.amsl.com>; Tue,  6 May 2014 21:54:27 -0700 (PDT)
Received: from na3sys009aog120.obsmtp.com (na3sys009aog120.obsmtp.com [74.125.149.140]) by ietfa.amsl.com (Postfix) with ESMTP id B45E91A022B for <jose@ietf.org>; Tue,  6 May 2014 21:54:26 -0700 (PDT)
Received: from mail-ig0-f178.google.com ([209.85.213.178]) (using TLSv1) by na3sys009aob120.postini.com ([74.125.148.12]) with SMTP ID DSNKU2m8futRMPrm+XDN5SY1M/z+FpdYyL5/@postini.com; Tue, 06 May 2014 21:54:23 PDT
Received: by mail-ig0-f178.google.com with SMTP id hl10so624617igb.11 for <jose@ietf.org>; Tue, 06 May 2014 21:54:22 -0700 (PDT)
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=IWUrhoLj7nnBHcCyrbkvfkJ3UAqI2jWQSB5LQ+hKV1Q=; b=fq/9sni30fIo0E5feELwzdQfTarN5QlYiPweYjBZ6r4c79GW2cDiJ2TJRXgiOzKLAG ljBHRZ/bcMMpphsX/3lqKsDDeDFvMITTgNvNsc8Zw8NGxBeVdsHurzkBwI9HzljNSxrq +YzEZKj6pBzFMfDPZHvZmaoCfagoUDq9s1oQBwl8JRRJ5HQIQN5VDkBYik1UKbv5AvYm Nc6FGHuJGvrN8f1MdnQX4EgBxtqw9QoX5+ObezXZlWJCFUf+l6eKBS0E+zXzb9jIzhZP 3vCQuo4RuKW6L4hmD7mdxoHAamvqSQG1rAWVxh/BoTKtSErwukcC7STY4OED3NLX3tAe R6Lw==
X-Gm-Message-State: ALoCoQmBx/9gHJ7s4vJk3Ke5SttVt0uZlGEManVA8BgevLmtx+aUZu4wcZhFG6lUV1vnNj6537D7DftRLgYUuC7j4D3UZgiwcDFtHHcN3ypu2NauKR2OC2iW3TtQeTgWh2p7MsKvoB+g
X-Received: by 10.51.17.5 with SMTP id ga5mr39252421igd.2.1399438462131; Tue, 06 May 2014 21:54:22 -0700 (PDT)
X-Received: by 10.51.17.5 with SMTP id ga5mr39252396igd.2.1399438461923; Tue, 06 May 2014 21:54:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Tue, 6 May 2014 21:53:51 -0700 (PDT)
In-Reply-To: <5369AAE7.2060704@cisco.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 6 May 2014 21:53:51 -0700
Message-ID: <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
To: Matt Miller <mamille2@cisco.com>
Content-Type: multipart/alternative; boundary=001a1135e1da688fb604f8c828f7
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/IRE72bTRmgWPA4x42KH-fqyKJwM
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 04:54:30 -0000

--001a1135e1da688fb604f8c828f7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks Matt.

That is why I was looking for someone to verify using a different platform.
Though I was hoping it'd just work.

Matt, can you try decrypting this one by chance? Using the same key. I was
more explicit with the parameters and, I think, MGF1 should be using
SHA-256 now too.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w


On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Short answer:
> You are all equally broken -- except from a certain point of view d-:
>
> Long answer:
> The code I have is based on OpenSSL, which is hard-coded to use SHA1
> for the hash and mask generation (boo!), which means one has to
> implement OAEP-SHA256 from scratch (hiss!!).
>
> When I implemented it per RFC 3447 and
> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
> decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
> could decrypt provided results.  A search through BouncyCastle's code
> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
> function of SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
> Further evidence is shown with how [FORGE] can be made to work with
> Java (search their homepage for "Compatible with Java's
> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
>
> Reconciling all of this with
> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
> very straight-forward.  It appears that the JCA identifier is meant to
> be "MGF1 with SHA1"; that ought to be explicitly noted.  The XMLENC
> reference is arguably incomplete, since
> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
> probably be addressed by explicitly stating the mask generation
> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256" (MGF1 with
> SHA-256).
>
>
> - --
> - - m&m
>
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>
> [FORGE] Forge < https://github.com/digitalbazaar/forge >
>
> On 5/6/14, 8:00 AM, Brian Campbell wrote:
> > But you probable did do something very similar to what I did in
> > jose4j - i.e. just getting a cipher instance with
> > "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?
> >
> > I think that's the right thing to do (and JWA even implies it) but
> > a check from a different language/platform would help verify that
> > assumption. I don't know if maybe more specifics need to be
> > provided to the cipher via OAEPParameterSpec or something - the JCA
> > APIs can be a bit mysterious at times.
> >
> >
> > On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com
> > <mailto:asanso@adobe.com>> wrote:
> >
> > hi Brian,
> >
> >
> > On May 6, 2014, at 3:29 PM, Brian Campbell
> > <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>>
> > wrote:
> >
> >> From the venerable film Animal House, of course,
> >> https://www.youtube.com/watch?v=3DvVXEQ8hjyGI
> >>
> >> Thanks for checking that Antonio.
> >>
> >> Hopefully we could get a non Java based implementing to verify it
> >> too.
> >
> > just for completeness I did *not* use jose4j to verify it=E2=80=A6 (jus=
t
> > to be safe)
> >
> > regards
> >
> > antonio
> >
> >>
> >>
> >>
> >>
> >> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com
> >> <mailto:asanso@adobe.com>> wrote:
> >>
> >> Well, as of this moment, they're on DOUBLE SECRET PROBATION!
> >>
> >> On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com
> >> <mailto:asanso@adobe.com>> wrote:
> >>
> >>> Hi Brian,
> >>>
> >>> I will give a try and let you know
> >>>
> >>> regards
> >>>
> >>> antonio
> >>>
> >>> On May 6, 2014, at 5:40 AM, Brian Campbell
> >>> <bcampbell@pingidentity.com
> >>> <mailto:bcampbell@pingidentity.com>> wrote:
> >>>
> >>>> The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg
> >>>> for key encryption but, AFAIK, there are no examples using
> >>>> it. I recently added support for it to
> >>>> https://bitbucket.org/b_c/jose4j and am looking to get some
> >>>> kind of confirmation that I've done it correctly (other than
> >>>> self interop). With that in mind, here is a JWE using
> >>>> RSA-OAEP-256 which I've produced and I'm hopeful that someone
> >>>> on this WG list will be able to decrypt. The RSA key that was
> >>>> used (in JWK format with both public and private parts) is
> >>>> below the JWE.
> >>>>
> >>>>
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4h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g"}
> >>>> _______________________________________________ jose mailing
> >>>> list jose@ietf.org <mailto:jose@ietf.org>
> >>>> https://www.ietf.org/mailman/listinfo/jose
> >>>
> >>
> >>
> >>
> >>
> >> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> >> Campbell Portfolio Architect @       bcampbell@pingidentity.com
> >> <mailto:bcampbell@pingidentity.com> phone    +1 720.317.2061
> >> <tel:%2B1%20720.317.2061> Connect with us=E2=80=A6 twitter logo
> >> <https://twitter.com/pingidentity> youtube logo
> >> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> >> <https://www.linkedin.com/company/21870> Facebook logo
> >> <https://www.facebook.com/pingidentitypage> Google+ logo
> >> <https://plus.google.com/u/0/114266977739397708540> slideshare
> >> logo <http://www.slideshare.net/PingIdentity> flipboard logo
> >> <http://flip.it/vjBF7> rss feed icon
> >> <https://www.pingidentity.com/blogs/>
> >>
> >> Register for Cloud Identity Summit 2014 | Modern Identity
> >> Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA
> >> <https://www.cloudidentitysummit.com/>
> >>
> >>
> >
> >
> > _______________________________________________ jose mailing list
> > jose@ietf.org <mailto:jose@ietf.org>
> > https://www.ietf.org/mailman/listinfo/jose
> >
> >
> >
> >
> > -- Ping Identity logo <https://www.pingidentity.com/> Brian
> > Campbell Portfolio Architect @        bcampbell@pingidentity.com
> > <mailto:bcampbell@pingidentity.com> phone     +1 720.317.2061 Connect
> > with us=E2=80=A6 twitter logo <https://twitter.com/pingidentity> youtub=
e
> > logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> > <https://www.linkedin.com/company/21870> Facebook logo
> > <https://www.facebook.com/pingidentitypage> Google+ logo
> > <https://plus.google.com/u/0/114266977739397708540> slideshare
> > logo <http://www.slideshare.net/PingIdentity> flipboard logo
> > <http://flip.it/vjBF7> rss feed icon
> > <https://www.pingidentity.com/blogs/>
> >
> > Register for Cloud Identity Summit 2014 | Modern Identity
> > Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA
> > <https://www.cloudidentitysummit.com/>
> >
> >
> >
> >
> > _______________________________________________ jose mailing list
> > jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBCgAGBQJTaarnAAoJEDWi+S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad
> CuBlGYa4POF74O3QGqKF+aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI
> 6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK+zB6z7jsr6F/sikmCJIbgNHeRn
> LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX
> QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG
> xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW+A=3D
> =3DO9Ex
> -----END PGP SIGNATURE-----
>

--001a1135e1da688fb604f8c828f7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Thanks Matt. <br><br>That is why I was looking for so=
meone to verify using a different platform. Though I was hoping it&#39;d ju=
st work.<br><br></div>Matt, can you try decrypting this one by chance? Usin=
g the same key. I was more explicit with the parameters and, I think, MGF1 =
should be using SHA-256 now too. <br>


<div><br>eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5=
cMCjjU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1=
PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvS=
TFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyx=
y3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6=
eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzM=
L1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nM=
UXOgmgWvM-08tIZ-h5w<br>


<div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, May 6=
, 2014 at 8:39 PM, Matt Miller <span dir=3D"ltr">&lt;<a href=3D"mailto:mami=
lle2@cisco.com" target=3D"_blank">mamille2@cisco.com</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">


-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Short answer:<br>
You are all equally broken -- except from a certain point of view d-:<br>
<br>
Long answer:<br>
The code I have is based on OpenSSL, which is hard-coded to use SHA1<br>
for the hash and mask generation (boo!), which means one has to<br>
implement OAEP-SHA256 from scratch (hiss!!).<br>
<br>
When I implemented it per RFC 3447 and<br>
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
decrypt the provided results. =C2=A0When I hard-coded MGF1 to use &quot;SHA=
1&quot;, I<br>
could decrypt provided results. =C2=A0A search through BouncyCastle&#39;s c=
ode<br>
shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash<br=
>
function of SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot=
;.<br>
Further evidence is shown with how [FORGE] can be made to work with<br>
Java (search their homepage for &quot;Compatible with Java&#39;s<br>
RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
<br>
Reconciling all of this with<br>
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be<br>
very straight-forward. =C2=A0It appears that the JCA identifier is meant to=
<br>
be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted. =C2=A0The=
 XMLENC<br>
reference is arguably incomplete, since<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1); this=
 can<br>
probably be addressed by explicitly stating the mask generation<br>
function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha256" ta=
rget=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256</a>&quot; (MGF1 =
with<br>
SHA-256).<br>
<br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">ma=
mille2@cisco.com</a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
[FORGE] Forge &lt; <a href=3D"https://github.com/digitalbazaar/forge" targe=
t=3D"_blank">https://github.com/digitalbazaar/forge</a> &gt;<br>
<div><br>
On 5/6/14, 8:00 AM, Brian Campbell wrote:<br>
&gt; But you probable did do something very similar to what I did in<br>
&gt; jose4j - i.e. just getting a cipher instance with<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;?<br>
&gt;<br>
&gt; I think that&#39;s the right thing to do (and JWA even implies it) but=
<br>
&gt; a check from a different language/platform would help verify that<br>
&gt; assumption. I don&#39;t know if maybe more specifics need to be<br>
&gt; provided to the cipher via OAEPParameterSpec or something - the JCA<br=
>
&gt; APIs can be a bit mysterious at times.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso &lt;<a href=3D"mailto:as=
anso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div><div>&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_b=
lank">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; hi Brian,<br>
&gt;<br>
&gt;<br>
&gt; On May 6, 2014, at 3:29 PM, Brian Campbell<br>
</div>&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_bla=
nk">bcampbell@pingidentity.com</a> &lt;mailto:<a href=3D"mailto:bcampbell@p=
ingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt;<b=
r>
<div>&gt; wrote:<br>
&gt;<br>
&gt;&gt; From the venerable film Animal House, of course,<br>
&gt;&gt; <a href=3D"https://www.youtube.com/watch?v=3DvVXEQ8hjyGI" target=
=3D"_blank">https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a><br>
&gt;&gt;<br>
&gt;&gt; Thanks for checking that Antonio.<br>
&gt;&gt;<br>
&gt;&gt; Hopefully we could get a non Java based implementing to verify it<=
br>
&gt;&gt; too.<br>
&gt;<br>
&gt; just for completeness I did *not* use jose4j to verify it=E2=80=A6 (ju=
st<br>
&gt; to be safe)<br>
&gt;<br>
&gt; regards<br>
&gt;<br>
&gt; antonio<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso &lt;<a href=3D"mailt=
o:asanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div><div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=
=3D"_blank">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Well, as of this moment, they&#39;re on DOUBLE SECRET PROBATION!<b=
r>
&gt;&gt;<br>
&gt;&gt; On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:a=
sanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div><div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=
=3D"_blank">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi Brian,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I will give a try and let you know<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; antonio<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On May 6, 2014, at 5:40 AM, Brian Campbell<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_b=
lank">bcampbell@pingidentity.com</a><br>
</div><div>&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity=
.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The latest revision of JWA added a new &#39;RSA-OAEP-256&#=
39; JWE alg<br>
&gt;&gt;&gt;&gt; for key encryption but, AFAIK, there are no examples using=
<br>
&gt;&gt;&gt;&gt; it. I recently added support for it to<br>
&gt;&gt;&gt;&gt; <a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_bl=
ank">https://bitbucket.org/b_c/jose4j</a> and am looking to get some<br>
&gt;&gt;&gt;&gt; kind of confirmation that I&#39;ve done it correctly (othe=
r than<br>
&gt;&gt;&gt;&gt; self interop). With that in mind, here is a JWE using<br>
&gt;&gt;&gt;&gt; RSA-OAEP-256 which I&#39;ve produced and I&#39;m hopeful t=
hat someone<br>
&gt;&gt;&gt;&gt; on this WG list will be able to decrypt. The RSA key that =
was<br>
&gt;&gt;&gt;&gt; used (in JWK format with both public and private parts) is=
<br>
&gt;&gt;&gt;&gt; below the JWE.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; eyJhbGciOiJSU0EtT0FFUC0yNT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vdyD-L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAO=
QKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7i=
Xj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&=
quot;}<br>



&gt;&gt;&gt;&gt; _______________________________________________ jose maili=
ng<br>
</div>&gt;&gt;&gt;&gt; list <a href=3D"mailto:jose@ietf.org" target=3D"_bla=
nk">jose@ietf.org</a> &lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D=
"_blank">jose@ietf.org</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/=
" target=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt;&gt; Campbell Portfolio Architect @ =C2=A0 =C2=A0 =C2=A0 <a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingiden=
tity.com</a><br>
</div>&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" tar=
get=3D"_blank">bcampbell@pingidentity.com</a>&gt; phone =C2=A0 =C2=A0<a hre=
f=3D"tel:%2B1%20720.317.2061" value=3D"+17203172061" target=3D"_blank">+1 7=
20.317.2061</a><br>


&gt;&gt; &lt;tel:%2B1%20720.317.2061&gt; Connect with us=E2=80=A6 twitter l=
ogo<br>
&gt;&gt; &lt;<a href=3D"https://twitter.com/pingidentity" target=3D"_blank"=
>https://twitter.com/pingidentity</a>&gt; youtube logo<br>
&gt;&gt; &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" target=
=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn lo=
go<br>
&gt;&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_=
blank">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt;&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=
=3D"_blank">https://www.facebook.com/pingidentitypage</a>&gt; Google+ logo<=
br>
&gt;&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" =
target=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt;=
 slideshare<br>
&gt;&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=
=3D"_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<b=
r>
&gt;&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip=
.it/vjBF7</a>&gt; rss feed icon<br>
&gt;&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_bla=
nk">https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;&gt;<br>
&gt;&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt;&gt; Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA<br>
</div>&gt;&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=
=3D"_blank">https://www.cloudidentitysummit.com/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> &=
lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org<=
/a>&gt;<br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/" ta=
rget=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt; Campbell Portfolio Architect @ =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingiden=
tity.com</a><br>
</div>&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=
=3D"_blank">bcampbell@pingidentity.com</a>&gt; phone =C2=A0 =C2=A0 <a href=
=3D"tel:%2B1%20720.317.2061" value=3D"+17203172061" target=3D"_blank">+1 72=
0.317.2061</a> Connect<br>


&gt; with us=E2=80=A6 twitter logo &lt;<a href=3D"https://twitter.com/pingi=
dentity" target=3D"_blank">https://twitter.com/pingidentity</a>&gt; youtube=
<br>
&gt; logo &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" targe=
t=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn l=
ogo<br>
&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_blan=
k">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=3D"_b=
lank">https://www.facebook.com/pingidentitypage</a>&gt; Google+ logo<br>
&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" targ=
et=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt; sli=
deshare<br>
&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=3D"=
_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<br>
&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip.it/=
vjBF7</a>&gt; rss feed icon<br>
&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_blank">=
https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;<br>
&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt; Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA<br>
</div>&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_=
blank">https://www.cloudidentitysummit.com/</a>&gt;<br>
<div>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> <=
a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">htt=
ps://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
</div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org" target=3D"_blank">http=
s://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">http://www.enigmail.net/</a><br>
<br>
iQEcBAEBCgAGBQJTaarnAAoJEDWi+S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad<br>
CuBlGYa4POF74O3QGqKF+aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI<br>
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK+zB6z7jsr6F/sikmCJIbgNHeRn<br>
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX<br>
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG<br>
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW+A=3D<br>
=3DO9Ex<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div></div></div>

--001a1135e1da688fb604f8c828f7--


From nobody Tue May  6 22:08:08 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 E40371A063C for <jose@ietfa.amsl.com>; Tue,  6 May 2014 22:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.154
X-Spam-Level: *
X-Spam-Status: No, score=1.154 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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 UJNExpVMSPb4 for <jose@ietfa.amsl.com>; Tue,  6 May 2014 22:07:58 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0188.outbound.protection.outlook.com [207.46.163.188]) by ietfa.amsl.com (Postfix) with ESMTP id AECE61A049A for <jose@ietf.org>; Tue,  6 May 2014 22:07:57 -0700 (PDT)
Received: from DM2PR03CA008.namprd03.prod.outlook.com (10.141.52.156) by BN1PR03MB023.namprd03.prod.outlook.com (10.255.224.41) with Microsoft SMTP Server (TLS) id 15.0.934.12; Wed, 7 May 2014 05:07:51 +0000
Received: from BL2FFO11FD058.protection.gbl (2a01:111:f400:7c09::160) by DM2PR03CA008.outlook.office365.com (2a01:111:e400:2414::28) with Microsoft SMTP Server (TLS) id 15.0.934.12 via Frontend Transport; Wed, 7 May 2014 05:07:51 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD058.mail.protection.outlook.com (10.173.161.186) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Wed, 7 May 2014 05:07:50 +0000
Received: from TK5EX14MBXC288.redmond.corp.microsoft.com ([169.254.3.63]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0181.007; Wed, 7 May 2014 05:07:22 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Brian Campbell <bcampbell@pingidentity.com>, Matt Miller <mamille2@cisco.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaNzzUST7t/6zekuLw8sjGcxcCJszSweAgABAdgCAAAExAIAAAPYAgAAHsoCAAOTKgIAAFNOAgAADxlY=
Date: Wed, 7 May 2014 05:07:21 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439A1ABC21@TK5EX14MBXC288.redmond.corp.microsoft.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com>, <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
In-Reply-To: <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739439A1ABC21TK5EX14MBXC288r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(438001)(199002)(54524002)(189002)(51444003)(377454003)(479174003)(24454002)(51704005)(52604005)(81542001)(26826002)(81156002)(64706001)(50986999)(76176999)(54356999)(19580395003)(2009001)(83322001)(99396002)(76482001)(71186001)(74502001)(81342001)(69596002)(16236675002)(92726001)(97736001)(74662001)(20776003)(6806004)(86612001)(31966008)(15198665003)(68736004)(2656002)(21056001)(19580405001)(80022001)(4396001)(575784001)(86362001)(79102001)(46102001)(77982001)(44976005)(15395725003)(84326002)(92566001)(83072002)(85852003)(55846006)(15975445006)(87936001)(15202345003)(33656001)(84676001)(16297215004)(443494003)(9984715005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB023; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0204F0BDE2
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/6cXcCEsZIm5aMm8tnxWFTzr1b7s
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 05:08:03 -0000

--_000_4E1F6AAD24975D4BA5B16804296739439A1ABC21TK5EX14MBXC288r_
Content-Type: text/plain; charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

What new parameter values did you use?
________________________________
From: Brian Campbell<mailto:bcampbell@pingidentity.com>
Sent: =FD5/=FD6/=FD2014 9:54 PM
To: Matt Miller<mailto:mamille2@cisco.com>
Cc: Antonio Sanso<mailto:asanso@adobe.com>; jose@ietf.org<mailto:jose@ietf.=
org>
Subject: Re: [jose] RSA-OAEP-256 Example

Thanks Matt.

That is why I was looking for someone to verify using a different platform.=
 Though I was hoping it'd just work.

Matt, can you try decrypting this one by chance? Using the same key. I was =
more explicit with the parameters and, I think, MGF1 should be using SHA-25=
6 now too.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w


On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com<mailto:mami=
lle2@cisco.com>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Short answer:
You are all equally broken -- except from a certain point of view d-:

Long answer:
The code I have is based on OpenSSL, which is hard-coded to use SHA1
for the hash and mask generation (boo!), which means one has to
implement OAEP-SHA256 from scratch (hiss!!).

When I implemented it per RFC 3447 and
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
could decrypt provided results.  A search through BouncyCastle's code
shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
function of SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
Further evidence is shown with how [FORGE] can be made to work with
Java (search their homepage for "Compatible with Java's
RSA/ECB/OAEPWithSHA-256AndMGF1Padding").

Reconciling all of this with
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
very straight-forward.  It appears that the JCA identifier is meant to
be "MGF1 with SHA1"; that ought to be explicitly noted.  The XMLENC
reference is arguably incomplete, since
"http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
"http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
probably be addressed by explicitly stating the mask generation
function is "http://www.w3.org/2009/xmlenc11#mgf1sha256" (MGF1 with
SHA-256).


- --
- - m&m

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

[FORGE] Forge < https://github.com/digitalbazaar/forge >

On 5/6/14, 8:00 AM, Brian Campbell wrote:
> But you probable did do something very similar to what I did in
> jose4j - i.e. just getting a cipher instance with
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?
>
> I think that's the right thing to do (and JWA even implies it) but
> a check from a different language/platform would help verify that
> assumption. I don't know if maybe more specifics need to be
> provided to the cipher via OAEPParameterSpec or something - the JCA
> APIs can be a bit mysterious at times.
>
>
> On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com<mailto:as=
anso@adobe.com>
> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>
> hi Brian,
>
>
> On May 6, 2014, at 3:29 PM, Brian Campbell
> <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com> <mailto:bc=
ampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>>
> wrote:
>
>> From the venerable film Animal House, of course,
>> https://www.youtube.com/watch?v=3DvVXEQ8hjyGI
>>
>> Thanks for checking that Antonio.
>>
>> Hopefully we could get a non Java based implementing to verify it
>> too.
>
> just for completeness I did *not* use jose4j to verify it=85 (just
> to be safe)
>
> regards
>
> antonio
>
>>
>>
>>
>>
>> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com<mailto:a=
sanso@adobe.com>
>> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>>
>> Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>
>> On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com<mailto:asan=
so@adobe.com>
>> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>>
>>> Hi Brian,
>>>
>>> I will give a try and let you know
>>>
>>> regards
>>>
>>> antonio
>>>
>>> On May 6, 2014, at 5:40 AM, Brian Campbell
>>> <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
>>> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>>=
 wrote:
>>>
>>>> The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg
>>>> for key encryption but, AFAIK, there are no examples using
>>>> it. I recently added support for it to
>>>> https://bitbucket.org/b_c/jose4j and am looking to get some
>>>> kind of confirmation that I've done it correctly (other than
>>>> self interop). With that in mind, here is a JWE using
>>>> RSA-OAEP-256 which I've produced and I'm hopeful that someone
>>>> on this WG list will be able to decrypt. The RSA key that was
>>>> used (in JWK format with both public and private parts) is
>>>> below the JWE.
>>>>
>>>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2H=
jtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36t=
eyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE=
3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yQmgE60SL7QrXpAJhChLgK=
nXWi6C8tVx1lA8FTpphpLaCtK-HbgBVHCprC2CfaM1mxFJZahxgFjC9ehuV8OzMNyFs8kekS82E=
sQGksi8HJPxyR1fU6ATa36ogPG0nNaqm3EDmYyjowhntgBz2OkbFAsTMHTdna-pZBRJa9lm5U",=
"q":"6R4dzo9LwHLO73EMQPQsmwXjVOvAS5W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVF=
ykDLwJ30GepLQ8nTlzeV6clx
0x70saGGKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj1ExSk_pGMqGRFd26K8g0jJsX=
XM","dp":"VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVDkej7-6H7vcJ-u1OqgRxF=
v4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXRYOjpJp5yNl2zRslFYQQC=
00bwpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8x=
pIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-EuU70IdttYSfilqSruk2x0r8M=
sk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQwYpmmFy_k0","qi":"vy7XCwZ=
3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqB=
Qda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN=
1AOrSRCmE3nwxg"}
>>>> _______________________________________________ jose mailing
>>>> list jose@ietf.org<mailto:jose@ietf.org> <mailto:jose@ietf.org<mailto:=
jose@ietf.org>>
>>>> https://www.ietf.org/mailman/listinfo/jose
>>>
>>
>>
>>
>>
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @       bcampbell@pingidentity.com<mailto:b=
campbell@pingidentity.com>
>> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>> p=
hone    +1 720.317.2061<tel:%2B1%20720.317.2061>
>> <tel:%2B1%20720.317.2061> Connect with us=85 twitter logo
>> <https://twitter.com/pingidentity> youtube logo
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
>> <https://www.linkedin.com/company/21870> Facebook logo
>> <https://www.facebook.com/pingidentitypage> Google+ logo
>> <https://plus.google.com/u/0/114266977739397708540> slideshare
>> logo <http://www.slideshare.net/PingIdentity> flipboard logo
>> <http://flip.it/vjBF7> rss feed icon
>> <https://www.pingidentity.com/blogs/>
>>
>> Register for Cloud Identity Summit 2014 | Modern Identity
>> Revolution | 19=9623 July, 2014 | Monterey, CA
>> <https://www.cloudidentitysummit.com/>
>>
>>
>
>
> _______________________________________________ jose mailing list
> jose@ietf.org<mailto:jose@ietf.org> <mailto:jose@ietf.org<mailto:jose@iet=
f.org>>
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
>
> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> Campbell Portfolio Architect @        bcampbell@pingidentity.com<mailto:b=
campbell@pingidentity.com>
> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>> ph=
one     +1 720.317.2061<tel:%2B1%20720.317.2061> Connect
> with us=85 twitter logo <https://twitter.com/pingidentity> youtube
> logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> <https://www.linkedin.com/company/21870> Facebook logo
> <https://www.facebook.com/pingidentitypage> Google+ logo
> <https://plus.google.com/u/0/114266977739397708540> slideshare
> logo <http://www.slideshare.net/PingIdentity> flipboard logo
> <http://flip.it/vjBF7> rss feed icon
> <https://www.pingidentity.com/blogs/>
>
> Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19=9623 July, 2014 | Monterey, CA
> <https://www.cloudidentitysummit.com/>
>
>
>
>
> _______________________________________________ jose mailing list
> jose@ietf.org<mailto:jose@ietf.org> https://www.ietf.org/mailman/listinfo=
/jose
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaarnAAoJEDWi+S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad
CuBlGYa4POF74O3QGqKF+aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK+zB6z7jsr6F/sikmCJIbgNHeRn
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW+A=3D
=3DO9Ex
-----END PGP SIGNATURE-----


--_000_4E1F6AAD24975D4BA5B16804296739439A1ABC21TK5EX14MBXC288r_
Content-Type: text/html; charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
256">
</head>
<body>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif">What new para=
meter values did you use?<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">From:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:bcampbell@pingidentity.com">Brian Campbell</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Sent:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">=FD5/=
=FD6/=FD2014 9:54 PM</span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">To:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:mamille2@cisco.com">Matt Miller</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Cc:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:asanso@adobe.com">Antonio Sanso</a>;
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Subject:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">Re: [=
jose] RSA-OAEP-256 Example</span><br>
<br>
</div>
<div>
<div dir=3D"ltr">
<div>Thanks Matt. <br>
<br>
That is why I was looking for someone to verify using a different platform.=
 Though I was hoping it'd just work.<br>
<br>
</div>
Matt, can you try decrypting this one by chance? Using the same key. I was =
more explicit with the parameters and, I think, MGF1 should be using SHA-25=
6 now too.
<br>
<div><br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w<br>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 8:39 PM, Matt Miller <spa=
n dir=3D"ltr">
&lt;<a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">mamille2@cisco.=
com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex; border=
-left:1px solid rgb(204,204,204); padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Short answer:<br>
You are all equally broken -- except from a certain point of view d-:<br>
<br>
Long answer:<br>
The code I have is based on OpenSSL, which is hard-coded to use SHA1<br>
for the hash and mask generation (boo!), which means one has to<br>
implement OAEP-SHA256 from scratch (hiss!!).<br>
<br>
When I implemented it per RFC 3447 and<br>
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
decrypt the provided results. &nbsp;When I hard-coded MGF1 to use &quot;SHA=
1&quot;, I<br>
could decrypt provided results. &nbsp;A search through BouncyCastle's code<=
br>
shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash<br=
>
function of SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot=
;.<br>
Further evidence is shown with how [FORGE] can be made to work with<br>
Java (search their homepage for &quot;Compatible with Java's<br>
RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
<br>
Reconciling all of this with<br>
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be<br>
very straight-forward. &nbsp;It appears that the JCA identifier is meant to=
<br>
be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted. &nbsp;The=
 XMLENC<br>
reference is arguably incomplete, since<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1); this=
 can<br>
probably be addressed by explicitly stating the mask generation<br>
function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha256" ta=
rget=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256</a>&quot; (MGF1 =
with<br>
SHA-256).<br>
<br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">ma=
mille2@cisco.com</a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
[FORGE] Forge &lt; <a href=3D"https://github.com/digitalbazaar/forge" targe=
t=3D"_blank">
https://github.com/digitalbazaar/forge</a> &gt;<br>
<div><br>
On 5/6/14, 8:00 AM, Brian Campbell wrote:<br>
&gt; But you probable did do something very similar to what I did in<br>
&gt; jose4j - i.e. just getting a cipher instance with<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;?<br>
&gt;<br>
&gt; I think that's the right thing to do (and JWA even implies it) but<br>
&gt; a check from a different language/platform would help verify that<br>
&gt; assumption. I don't know if maybe more specifics need to be<br>
&gt; provided to the cipher via OAEPParameterSpec or something - the JCA<br=
>
&gt; APIs can be a bit mysterious at times.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso &lt;<a href=3D"mailto:as=
anso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">=
asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; hi Brian,<br>
&gt;<br>
&gt;<br>
&gt; On May 6, 2014, at 3:29 PM, Brian Campbell<br>
</div>
&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bc=
ampbell@pingidentity.com</a> &lt;mailto:<a href=3D"mailto:bcampbell@pingide=
ntity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt;<br>
<div>&gt; wrote:<br>
&gt;<br>
&gt;&gt; From the venerable film Animal House, of course,<br>
&gt;&gt; <a href=3D"https://www.youtube.com/watch?v=3DvVXEQ8hjyGI" target=
=3D"_blank">https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a><br>
&gt;&gt;<br>
&gt;&gt; Thanks for checking that Antonio.<br>
&gt;&gt;<br>
&gt;&gt; Hopefully we could get a non Java based implementing to verify it<=
br>
&gt;&gt; too.<br>
&gt;<br>
&gt; just for completeness I did *not* use jose4j to verify it=85 (just<br>
&gt; to be safe)<br>
&gt;<br>
&gt; regards<br>
&gt;<br>
&gt; antonio<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso &lt;<a href=3D"mailt=
o:asanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_bla=
nk">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Well, as of this moment, they're on DOUBLE SECRET PROBATION!<br>
&gt;&gt;<br>
&gt;&gt; On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:a=
sanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_bla=
nk">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi Brian,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I will give a try and let you know<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; antonio<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On May 6, 2014, at 5:40 AM, Brian Campbell<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_b=
lank">bcampbell@pingidentity.com</a><br>
</div>
<div>&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" =
target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg<br>
&gt;&gt;&gt;&gt; for key encryption but, AFAIK, there are no examples using=
<br>
&gt;&gt;&gt;&gt; it. I recently added support for it to<br>
&gt;&gt;&gt;&gt; <a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_bl=
ank">https://bitbucket.org/b_c/jose4j</a> and am looking to get some<br>
&gt;&gt;&gt;&gt; kind of confirmation that I've done it correctly (other th=
an<br>
&gt;&gt;&gt;&gt; self interop). With that in mind, here is a JWE using<br>
&gt;&gt;&gt;&gt; RSA-OAEP-256 which I've produced and I'm hopeful that some=
one<br>
&gt;&gt;&gt;&gt; on this WG list will be able to decrypt. The RSA key that =
was<br>
&gt;&gt;&gt;&gt; used (in JWK format with both public and private parts) is=
<br>
&gt;&gt;&gt;&gt; below the JWE.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In=
0.Oyeg4hbq2HjtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4Q=
wYJeZkjJK36teyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3=
u_qCaSLXpegE3o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSS=
UwuFw-vxrVJMRKf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8=
ck_mhtJdgfc0W251nTviMAwPAjsG0FMnPox7Gd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HbgBVHCprC2CfaM1mxFJZahxgFjC9=
ehuV8OzMNyFs8kekS82EsQGksi8HJPxyR1fU6ATa36ogPG0nNaqm3EDmYyjowhntgBz2OkbFAsT=
MHTdna-pZBRJa9lm5U&quot;,&quot;q&quot;:&quot;6R4dzo9LwHLO73EMQPQsmwXjVOvAS5=
W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVFykDLwJ30GepLQ8nTlzeV6clx<br>
0x70saGGKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj1ExSk_pGMqGRFd26K8g0jJsX=
XM&quot;,&quot;dp&quot;:&quot;VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVD=
kej7-6H7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXR=
YOjpJp5yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10&quot;,&quot;dq&quot;:&q=
uot;MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiN=
K8nRCwkbTnJEIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4=
yU7lyTvdyD-L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAO=
QKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7i=
Xj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&=
quot;}<br>
&gt;&gt;&gt;&gt; _______________________________________________ jose maili=
ng<br>
</div>
&gt;&gt;&gt;&gt; list <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jo=
se@ietf.org</a> &lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blan=
k">jose@ietf.org</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/=
" target=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt;&gt; Campbell Portfolio Architect @ &nbsp; &nbsp; &nbsp; <a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">
bcampbell@pingidentity.com</a><br>
</div>
&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=3D=
"_blank">bcampbell@pingidentity.com</a>&gt; phone &nbsp; &nbsp;<a href=3D"t=
el:%2B1%20720.317.2061" value=3D"&#43;17203172061" target=3D"_blank">&#43;1=
 720.317.2061</a><br>
&gt;&gt; &lt;tel:%2B1%20720.317.2061&gt; Connect with us=85 twitter logo<br=
>
&gt;&gt; &lt;<a href=3D"https://twitter.com/pingidentity" target=3D"_blank"=
>https://twitter.com/pingidentity</a>&gt; youtube logo<br>
&gt;&gt; &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" target=
=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn lo=
go<br>
&gt;&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_=
blank">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt;&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=
=3D"_blank">https://www.facebook.com/pingidentitypage</a>&gt; Google&#43; l=
ogo<br>
&gt;&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" =
target=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt;=
 slideshare<br>
&gt;&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=
=3D"_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<b=
r>
&gt;&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip=
.it/vjBF7</a>&gt; rss feed icon<br>
&gt;&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_bla=
nk">https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;&gt;<br>
&gt;&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt;&gt; Revolution | 19=9623 July, 2014 | Monterey, CA<br>
</div>
&gt;&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_bl=
ank">https://www.cloudidentitysummit.com/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> &=
lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org<=
/a>&gt;<br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/" ta=
rget=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt; Campbell Portfolio Architect @ &nbsp; &nbsp; &nbsp; &nbsp;<a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingiden=
tity.com</a><br>
</div>
&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_bl=
ank">bcampbell@pingidentity.com</a>&gt; phone &nbsp; &nbsp;
<a href=3D"tel:%2B1%20720.317.2061" value=3D"&#43;17203172061" target=3D"_b=
lank">&#43;1 720.317.2061</a> Connect<br>
&gt; with us=85 twitter logo &lt;<a href=3D"https://twitter.com/pingidentit=
y" target=3D"_blank">https://twitter.com/pingidentity</a>&gt; youtube<br>
&gt; logo &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" targe=
t=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn l=
ogo<br>
&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_blan=
k">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=3D"_b=
lank">https://www.facebook.com/pingidentitypage</a>&gt; Google&#43; logo<br=
>
&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" targ=
et=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt; sli=
deshare<br>
&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=3D"=
_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<br>
&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip.it/=
vjBF7</a>&gt; rss feed icon<br>
&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_blank">=
https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;<br>
&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt; Revolution | 19=9623 July, 2014 | Monterey, CA<br>
</div>
&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_blank"=
>https://www.cloudidentitysummit.com/</a>&gt;<br>
<div>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> <=
a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">
https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
</div>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org" target=3D"_blank">http=
s://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">
http://www.enigmail.net/</a><br>
<br>
iQEcBAEBCgAGBQJTaarnAAoJEDWi&#43;S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad<br>
CuBlGYa4POF74O3QGqKF&#43;aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI<br>
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK&#43;zB6z7jsr6F/sikmCJIbgNHeRn<br>
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX<br>
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG<br>
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW&#43;A=3D<br>
=3DO9Ex<br>
-----END PGP SIGNATURE-----<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739439A1ABC21TK5EX14MBXC288r_--


From nobody Wed May  7 01:30:35 2014
Return-Path: <asanso@adobe.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 163CF1A026F for <jose@ietfa.amsl.com>; Wed,  7 May 2014 01:30:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.155
X-Spam-Level: *
X-Spam-Status: No, score=1.155 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_NONE=-0.0001, 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 UZYljqJG7rbc for <jose@ietfa.amsl.com>; Wed,  7 May 2014 01:30:30 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0139.outbound.protection.outlook.com [207.46.163.139]) by ietfa.amsl.com (Postfix) with ESMTP id 64D071A0186 for <jose@ietf.org>; Wed,  7 May 2014 01:30:29 -0700 (PDT)
Received: from CO1PR02MB205.namprd02.prod.outlook.com (10.242.165.139) by CO1PR02MB046.namprd02.prod.outlook.com (10.242.163.22) with Microsoft SMTP Server (TLS) id 15.0.939.12; Wed, 7 May 2014 08:30:23 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB205.namprd02.prod.outlook.com (10.242.165.139) with Microsoft SMTP Server (TLS) id 15.0.934.12; Wed, 7 May 2014 08:30:22 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Wed, 7 May 2014 08:30:22 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhACAAAElAIAAAQQAgAAHpICAAOTKgIAAFNOAgAA8gQA=
Date: Wed, 7 May 2014 08:30:21 +0000
Message-ID: <FEA60D7A-A3EA-4B7A-8F65-6C2E363A208C@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
In-Reply-To: <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.147.117.11]
x-forefront-prvs: 0204F0BDE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(69234005)(52604005)(51704005)(24454002)(377454003)(479174003)(51444003)(189002)(199002)(86362001)(85852003)(92566001)(15975445006)(83072002)(33656001)(19580395003)(87936001)(4396001)(2656002)(101416001)(19580405001)(575784001)(79102001)(16236675002)(83322001)(15395725003)(82746002)(21056001)(20776003)(76176999)(83716003)(92726001)(54356999)(99396002)(81342001)(80022001)(74662001)(66066001)(76482001)(15198665003)(36756003)(31966008)(77982001)(50986999)(99286001)(64706001)(15202345003)(81542001)(74502001)(46102001)(9984715005); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB205; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_FEA60D7AA3EA4B7A8F656C2E363A208Cadobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/WIwGRVbmK3K0m_UFy_vYkwTHFyA
Cc: "jose@ietf.org" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 08:30:34 -0000

--_000_FEA60D7AA3EA4B7A8F656C2E363A208Cadobecom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Brian,

just FYI, it looks you have used bouncy castle to produce the new JWE (plea=
se correct me if I am wrong).

Using the default Java provider gives indeed

javax.crypto.BadPaddingException: java.security.DigestException: Length mus=
t be at least 32 for SHA-256digests

as per [0].

The issue will disappear if the key is decrypted using BouncyCastle and giv=
es the same result as the previous JWE

regards

antonio

[0] https://bugs.openjdk.java.net/browse/JDK-7038158

On May 7, 2014, at 6:53 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

Thanks Matt.

That is why I was looking for someone to verify using a different platform.=
 Though I was hoping it'd just work.

Matt, can you try decrypting this one by chance? Using the same key. I was =
more explicit with the parameters and, I think, MGF1 should be using SHA-25=
6 now too.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w


On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com<mailto:mami=
lle2@cisco.com>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Short answer:
You are all equally broken -- except from a certain point of view d-:

Long answer:
The code I have is based on OpenSSL, which is hard-coded to use SHA1
for the hash and mask generation (boo!), which means one has to
implement OAEP-SHA256 from scratch (hiss!!).

When I implemented it per RFC 3447 and
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
could decrypt provided results.  A search through BouncyCastle's code
shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
function of SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
Further evidence is shown with how [FORGE] can be made to work with
Java (search their homepage for "Compatible with Java's
RSA/ECB/OAEPWithSHA-256AndMGF1Padding").

Reconciling all of this with
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
very straight-forward.  It appears that the JCA identifier is meant to
be "MGF1 with SHA1"; that ought to be explicitly noted.  The XMLENC
reference is arguably incomplete, since
"http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
"http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
probably be addressed by explicitly stating the mask generation
function is "http://www.w3.org/2009/xmlenc11#mgf1sha256" (MGF1 with
SHA-256).


- --
- - m&m

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

[FORGE] Forge < https://github.com/digitalbazaar/forge >

On 5/6/14, 8:00 AM, Brian Campbell wrote:
> But you probable did do something very similar to what I did in
> jose4j - i.e. just getting a cipher instance with
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?
>
> I think that's the right thing to do (and JWA even implies it) but
> a check from a different language/platform would help verify that
> assumption. I don't know if maybe more specifics need to be
> provided to the cipher via OAEPParameterSpec or something - the JCA
> APIs can be a bit mysterious at times.
>
>
> On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com<mailto:as=
anso@adobe.com>
> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>
> hi Brian,
>
>
> On May 6, 2014, at 3:29 PM, Brian Campbell
> <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com> <mailto:bc=
ampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>>
> wrote:
>
>> From the venerable film Animal House, of course,
>> https://www.youtube.com/watch?v=3DvVXEQ8hjyGI
>>
>> Thanks for checking that Antonio.
>>
>> Hopefully we could get a non Java based implementing to verify it
>> too.
>
> just for completeness I did *not* use jose4j to verify it=85 (just
> to be safe)
>
> regards
>
> antonio
>
>>
>>
>>
>>
>> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com<mailto:a=
sanso@adobe.com>
>> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>>
>> Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>
>> On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com<mailto:asan=
so@adobe.com>
>> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>>
>>> Hi Brian,
>>>
>>> I will give a try and let you know
>>>
>>> regards
>>>
>>> antonio
>>>
>>> On May 6, 2014, at 5:40 AM, Brian Campbell
>>> <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
>>> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>>=
 wrote:
>>>
>>>> The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg
>>>> for key encryption but, AFAIK, there are no examples using
>>>> it. I recently added support for it to
>>>> https://bitbucket.org/b_c/jose4j and am looking to get some
>>>> kind of confirmation that I've done it correctly (other than
>>>> self interop). With that in mind, here is a JWE using
>>>> RSA-OAEP-256 which I've produced and I'm hopeful that someone
>>>> on this WG list will be able to decrypt. The RSA key that was
>>>> used (in JWK format with both public and private parts) is
>>>> below the JWE.
>>>>
>>>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2H=
jtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36t=
eyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE=
3o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJM=
RKf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0=
W251nTviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vUEdKkuhPR0h3n=
OJP5dBgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_CSzw.UmNlvrf=
eCGnhWT9qyuUSSA
>>>>
>>>>
>>>>
{"kty":"RSA","n":"2cQJH1f6yF9DcGa8Cmbnhn4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ=
8ZgIpO9bVMPx5UMjJoaf7p9O5BSApVqA2J10fUbdSIomCcDwvGo0eyhty0DILLWTMXzGEVM3BXz=
uJQoeDkuUCXXcCwA4Msyyd2OHVu-pB2OrGv6fcjHwjINty3UoKm08lCvAevBKHsuA-FFwQII9by=
cvRx5wRqFUjdMAyiOmLYBHBaJSi11g3HVexMcb29v14PSlVzdGUMN8oboa-zcIyaPrIiczLqAkS=
XQNdEFHrjsJHfFeNMfOblLM7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CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQwYpmmFy_k0","qi":"vy7XCwZ=
3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqB=
Qda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN=
1AOrSRCmE3nwxg"}
>>>> _______________________________________________ jose mailing
>>>> list jose@ietf.org<mailto:jose@ietf.org> <mailto:jose@ietf.org<mailto:=
jose@ietf.org>>
>>>> https://www.ietf.org/mailman/listinfo/jose
>>>
>>
>>
>>
>>
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @       bcampbell@pingidentity.com<mailto:b=
campbell@pingidentity.com>
>> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>> p=
hone    +1 720.317.2061<tel:%2B1%20720.317.2061>
>> <tel:%2B1%20720.317.2061> Connect with us=85 twitter logo
>> <https://twitter.com/pingidentity> youtube logo
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
>> <https://www.linkedin.com/company/21870> Facebook logo
>> <https://www.facebook.com/pingidentitypage> Google+ logo
>> <https://plus.google.com/u/0/114266977739397708540> slideshare
>> logo <http://www.slideshare.net/PingIdentity> flipboard logo
>> <http://flip.it/vjBF7> rss feed icon
>> <https://www.pingidentity.com/blogs/>
>>
>> Register for Cloud Identity Summit 2014 | Modern Identity
>> Revolution | 19=9623 July, 2014 | Monterey, CA
>> <https://www.cloudidentitysummit.com/>
>>
>>
>
>
> _______________________________________________ jose mailing list
> jose@ietf.org<mailto:jose@ietf.org> <mailto:jose@ietf.org<mailto:jose@iet=
f.org>>
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
>
> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> Campbell Portfolio Architect @        bcampbell@pingidentity.com<mailto:b=
campbell@pingidentity.com>
> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>> ph=
one     +1 720.317.2061<tel:%2B1%20720.317.2061> Connect
> with us=85 twitter logo <https://twitter.com/pingidentity> youtube
> logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> <https://www.linkedin.com/company/21870> Facebook logo
> <https://www.facebook.com/pingidentitypage> Google+ logo
> <https://plus.google.com/u/0/114266977739397708540> slideshare
> logo <http://www.slideshare.net/PingIdentity> flipboard logo
> <http://flip.it/vjBF7> rss feed icon
> <https://www.pingidentity.com/blogs/>
>
> Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19=9623 July, 2014 | Monterey, CA
> <https://www.cloudidentitysummit.com/>
>
>
>
>
> _______________________________________________ jose mailing list
> jose@ietf.org<mailto:jose@ietf.org> https://www.ietf.org/mailman/listinfo=
/jose
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org<https://gpgtools.org/>
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaarnAAoJEDWi+S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad
CuBlGYa4POF74O3QGqKF+aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK+zB6z7jsr6F/sikmCJIbgNHeRn
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW+A=3D
=3DO9Ex
-----END PGP SIGNATURE-----



--_000_FEA60D7AA3EA4B7A8F656C2E363A208Cadobecom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <2DB9D24E24BF224EBEA05B7C2C4211CF@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
Hi Brian,
<div><br>
</div>
<div>just FYI, it looks you have used bouncy castle to produce the new JWE =
(please correct me if I am wrong).</div>
<div><br>
</div>
<div>Using the default Java provider gives indeed&nbsp;</div>
<div><br>
</div>
<div>javax.crypto.BadPaddingException: java.security.DigestException: Lengt=
h must be at least 32 for SHA-256digests&nbsp;</div>
<div><br>
</div>
<div>as per [0].</div>
<div><br>
</div>
<div>The issue will disappear if the key is decrypted using BouncyCastle an=
d gives the same result as the previous JWE</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<div><br>
</div>
<div>[0]&nbsp;<a href=3D"https://bugs.openjdk.java.net/browse/JDK-7038158">=
https://bugs.openjdk.java.net/browse/JDK-7038158</a></div>
<div><br>
<div>
<div>On May 7, 2014, at 6:53 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>Thanks Matt. <br>
<br>
That is why I was looking for someone to verify using a different platform.=
 Though I was hoping it'd just work.<br>
<br>
</div>
Matt, can you try decrypting this one by chance? Using the same key. I was =
more explicit with the parameters and, I think, MGF1 should be using SHA-25=
6 now too.
<br>
<div><br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w<br>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 8:39 PM, Matt Miller <spa=
n dir=3D"ltr">
&lt;<a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">mamille2@cisco.=
com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Short answer:<br>
You are all equally broken -- except from a certain point of view d-:<br>
<br>
Long answer:<br>
The code I have is based on OpenSSL, which is hard-coded to use SHA1<br>
for the hash and mask generation (boo!), which means one has to<br>
implement OAEP-SHA256 from scratch (hiss!!).<br>
<br>
When I implemented it per RFC 3447 and<br>
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
decrypt the provided results. &nbsp;When I hard-coded MGF1 to use &quot;SHA=
1&quot;, I<br>
could decrypt provided results. &nbsp;A search through BouncyCastle's code<=
br>
shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash<br=
>
function of SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot=
;.<br>
Further evidence is shown with how [FORGE] can be made to work with<br>
Java (search their homepage for &quot;Compatible with Java's<br>
RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
<br>
Reconciling all of this with<br>
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be<br>
very straight-forward. &nbsp;It appears that the JCA identifier is meant to=
<br>
be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted. &nbsp;The=
 XMLENC<br>
reference is arguably incomplete, since<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1); this=
 can<br>
probably be addressed by explicitly stating the mask generation<br>
function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha256" ta=
rget=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256</a>&quot; (MGF1 =
with<br>
SHA-256).<br>
<br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">ma=
mille2@cisco.com</a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
[FORGE] Forge &lt; <a href=3D"https://github.com/digitalbazaar/forge" targe=
t=3D"_blank">
https://github.com/digitalbazaar/forge</a> &gt;<br>
<div><br>
On 5/6/14, 8:00 AM, Brian Campbell wrote:<br>
&gt; But you probable did do something very similar to what I did in<br>
&gt; jose4j - i.e. just getting a cipher instance with<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;?<br>
&gt;<br>
&gt; I think that's the right thing to do (and JWA even implies it) but<br>
&gt; a check from a different language/platform would help verify that<br>
&gt; assumption. I don't know if maybe more specifics need to be<br>
&gt; provided to the cipher via OAEPParameterSpec or something - the JCA<br=
>
&gt; APIs can be a bit mysterious at times.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso &lt;<a href=3D"mailto:as=
anso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">=
asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; hi Brian,<br>
&gt;<br>
&gt;<br>
&gt; On May 6, 2014, at 3:29 PM, Brian Campbell<br>
</div>
&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bc=
ampbell@pingidentity.com</a> &lt;mailto:<a href=3D"mailto:bcampbell@pingide=
ntity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt;<br>
<div>&gt; wrote:<br>
&gt;<br>
&gt;&gt; From the venerable film Animal House, of course,<br>
&gt;&gt; <a href=3D"https://www.youtube.com/watch?v=3DvVXEQ8hjyGI" target=
=3D"_blank">https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a><br>
&gt;&gt;<br>
&gt;&gt; Thanks for checking that Antonio.<br>
&gt;&gt;<br>
&gt;&gt; Hopefully we could get a non Java based implementing to verify it<=
br>
&gt;&gt; too.<br>
&gt;<br>
&gt; just for completeness I did *not* use jose4j to verify it=85 (just<br>
&gt; to be safe)<br>
&gt;<br>
&gt; regards<br>
&gt;<br>
&gt; antonio<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso &lt;<a href=3D"mailt=
o:asanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_bla=
nk">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Well, as of this moment, they're on DOUBLE SECRET PROBATION!<br>
&gt;&gt;<br>
&gt;&gt; On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:a=
sanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_bla=
nk">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi Brian,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I will give a try and let you know<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; antonio<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On May 6, 2014, at 5:40 AM, Brian Campbell<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_b=
lank">bcampbell@pingidentity.com</a><br>
</div>
<div>&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" =
target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg<br>
&gt;&gt;&gt;&gt; for key encryption but, AFAIK, there are no examples using=
<br>
&gt;&gt;&gt;&gt; it. I recently added support for it to<br>
&gt;&gt;&gt;&gt; <a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_bl=
ank">https://bitbucket.org/b_c/jose4j</a> and am looking to get some<br>
&gt;&gt;&gt;&gt; kind of confirmation that I've done it correctly (other th=
an<br>
&gt;&gt;&gt;&gt; self interop). With that in mind, here is a JWE using<br>
&gt;&gt;&gt;&gt; RSA-OAEP-256 which I've produced and I'm hopeful that some=
one<br>
&gt;&gt;&gt;&gt; on this WG list will be able to decrypt. The RSA key that =
was<br>
&gt;&gt;&gt;&gt; used (in JWK format with both public and private parts) is=
<br>
&gt;&gt;&gt;&gt; below the JWE.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In=
0.Oyeg4hbq2HjtHOcXduK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IZDAO=
QKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7i=
Xj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&=
quot;}<br>
&gt;&gt;&gt;&gt; _______________________________________________ jose maili=
ng<br>
</div>
&gt;&gt;&gt;&gt; list <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jo=
se@ietf.org</a> &lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blan=
k">jose@ietf.org</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/=
" target=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt;&gt; Campbell Portfolio Architect @ &nbsp; &nbsp; &nbsp; <a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">
bcampbell@pingidentity.com</a><br>
</div>
&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=3D=
"_blank">bcampbell@pingidentity.com</a>&gt; phone &nbsp; &nbsp;<a href=3D"t=
el:%2B1%20720.317.2061" value=3D"&#43;17203172061" target=3D"_blank">&#43;1=
 720.317.2061</a><br>
&gt;&gt; &lt;tel:%2B1%20720.317.2061&gt; Connect with us=85 twitter logo<br=
>
&gt;&gt; &lt;<a href=3D"https://twitter.com/pingidentity" target=3D"_blank"=
>https://twitter.com/pingidentity</a>&gt; youtube logo<br>
&gt;&gt; &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" target=
=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn lo=
go<br>
&gt;&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_=
blank">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt;&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=
=3D"_blank">https://www.facebook.com/pingidentitypage</a>&gt; Google&#43; l=
ogo<br>
&gt;&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" =
target=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt;=
 slideshare<br>
&gt;&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=
=3D"_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<b=
r>
&gt;&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip=
.it/vjBF7</a>&gt; rss feed icon<br>
&gt;&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_bla=
nk">https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;&gt;<br>
&gt;&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt;&gt; Revolution | 19=9623 July, 2014 | Monterey, CA<br>
</div>
&gt;&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_bl=
ank">https://www.cloudidentitysummit.com/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> &=
lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org<=
/a>&gt;<br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/" ta=
rget=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt; Campbell Portfolio Architect @ &nbsp; &nbsp; &nbsp; &nbsp;<a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingiden=
tity.com</a><br>
</div>
&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_bl=
ank">bcampbell@pingidentity.com</a>&gt; phone &nbsp; &nbsp;
<a href=3D"tel:%2B1%20720.317.2061" value=3D"&#43;17203172061" target=3D"_b=
lank">&#43;1 720.317.2061</a> Connect<br>
&gt; with us=85 twitter logo &lt;<a href=3D"https://twitter.com/pingidentit=
y" target=3D"_blank">https://twitter.com/pingidentity</a>&gt; youtube<br>
&gt; logo &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" targe=
t=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn l=
ogo<br>
&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_blan=
k">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=3D"_b=
lank">https://www.facebook.com/pingidentitypage</a>&gt; Google&#43; logo<br=
>
&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" targ=
et=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt; sli=
deshare<br>
&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=3D"=
_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<br>
&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip.it/=
vjBF7</a>&gt; rss feed icon<br>
&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_blank">=
https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;<br>
&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt; Revolution | 19=9623 July, 2014 | Monterey, CA<br>
</div>
&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_blank"=
>https://www.cloudidentitysummit.com/</a>&gt;<br>
<div>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> <=
a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">
https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
</div>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org/" target=3D"_blank">htt=
ps://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">
http://www.enigmail.net/</a><br>
<br>
iQEcBAEBCgAGBQJTaarnAAoJEDWi&#43;S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad<br>
CuBlGYa4POF74O3QGqKF&#43;aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI<br>
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK&#43;zB6z7jsr6F/sikmCJIbgNHeRn<br>
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX<br>
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG<br>
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW&#43;A=3D<br>
=3DO9Ex<br>
-----END PGP SIGNATURE-----<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_FEA60D7AA3EA4B7A8F656C2E363A208Cadobecom_--


From nobody Wed May  7 01:31:31 2014
Return-Path: <asanso@adobe.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 DF71D1A026F for <jose@ietfa.amsl.com>; Wed,  7 May 2014 01:31:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.155
X-Spam-Level: *
X-Spam-Status: No, score=1.155 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_NONE=-0.0001, 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 LtTYouY7gqMq for <jose@ietfa.amsl.com>; Wed,  7 May 2014 01:31:27 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0188.outbound.protection.outlook.com [207.46.163.188]) by ietfa.amsl.com (Postfix) with ESMTP id D1FD41A0186 for <jose@ietf.org>; Wed,  7 May 2014 01:31:26 -0700 (PDT)
Received: from CO1PR02MB205.namprd02.prod.outlook.com (10.242.165.139) by CO1PR02MB189.namprd02.prod.outlook.com (10.242.165.12) with Microsoft SMTP Server (TLS) id 15.0.934.12; Wed, 7 May 2014 08:31:21 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB205.namprd02.prod.outlook.com (10.242.165.139) with Microsoft SMTP Server (TLS) id 15.0.934.12; Wed, 7 May 2014 08:31:19 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Wed, 7 May 2014 08:31:18 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhACAAAElAIAAAQQAgAAHpICAAOTKgIAAFNOAgAADxoCAADj+AA==
Date: Wed, 7 May 2014 08:31:17 +0000
Message-ID: <2D3ECD6F-3A83-4100-9B3B-9B01A1A2D852@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com>, <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1ABC21@TK5EX14MBXC288.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439A1ABC21@TK5EX14MBXC288.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.147.117.11]
x-forefront-prvs: 0204F0BDE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(52604005)(51704005)(24454002)(377454003)(479174003)(51444003)(189002)(199002)(86362001)(85852003)(92566001)(15975445006)(83072002)(33656001)(19580395003)(87936001)(4396001)(2656002)(101416001)(19580405001)(575784001)(79102001)(16236675002)(83322001)(15395725003)(82746002)(21056001)(20776003)(76176999)(83716003)(92726001)(54356999)(99396002)(81342001)(80022001)(74662001)(66066001)(76482001)(15198665003)(1511001)(36756003)(31966008)(77982001)(50986999)(99286001)(64706001)(15202345003)(81542001)(74502001)(46102001)(9984715005); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB205; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_2D3ECD6F3A8341009B3B9B01A1A2D852adobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/RZHDdCnMbHewUXvc9U1DW7EiQLM
Cc: Brian Campbell <bcampbell@pingidentity.com>, "jose@ietf.org" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 08:31:30 -0000

--_000_2D3ECD6F3A8341009B3B9B01A1A2D852adobecom_
Content-Type: text/plain; charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

hi Mike
On May 7, 2014, at 7:07 AM, Mike Jones <Michael.Jones@microsoft.com<mailto:=
Michael.Jones@microsoft.com>> wrote:

What new parameter values did you use?

assuming Brian is using Java IMHO he used

 AlgorithmParameterSpec paramSpec =3D new OAEPParameterSpec("SHA-256", "MGF=
1", MGF1ParameterSpec.SHA256,
                PSource.PSpecified.DEFAULT);

regards

antonio

________________________________
From: Brian Campbell<mailto:bcampbell@pingidentity.com>
Sent: =FD5/=FD6/=FD2014 9:54 PM
To: Matt Miller<mailto:mamille2@cisco.com>
Cc: Antonio Sanso<mailto:asanso@adobe.com>; jose@ietf.org<mailto:jose@ietf.=
org>
Subject: Re: [jose] RSA-OAEP-256 Example

Thanks Matt.

That is why I was looking for someone to verify using a different platform.=
 Though I was hoping it'd just work.

Matt, can you try decrypting this one by chance? Using the same key. I was =
more explicit with the parameters and, I think, MGF1 should be using SHA-25=
6 now too.

eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w


On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com<mailto:mami=
lle2@cisco.com>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Short answer:
You are all equally broken -- except from a certain point of view d-:

Long answer:
The code I have is based on OpenSSL, which is hard-coded to use SHA1
for the hash and mask generation (boo!), which means one has to
implement OAEP-SHA256 from scratch (hiss!!).

When I implemented it per RFC 3447 and
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
could decrypt provided results.  A search through BouncyCastle's code
shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
function of SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
Further evidence is shown with how [FORGE] can be made to work with
Java (search their homepage for "Compatible with Java's
RSA/ECB/OAEPWithSHA-256AndMGF1Padding").

Reconciling all of this with
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
very straight-forward.  It appears that the JCA identifier is meant to
be "MGF1 with SHA1"; that ought to be explicitly noted.  The XMLENC
reference is arguably incomplete, since
"http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
"http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
probably be addressed by explicitly stating the mask generation
function is "http://www.w3.org/2009/xmlenc11#mgf1sha256" (MGF1 with
SHA-256).


- --
- - m&m

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

[FORGE] Forge < https://github.com/digitalbazaar/forge >

On 5/6/14, 8:00 AM, Brian Campbell wrote:
> But you probable did do something very similar to what I did in
> jose4j - i.e. just getting a cipher instance with
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"?
>
> I think that's the right thing to do (and JWA even implies it) but
> a check from a different language/platform would help verify that
> assumption. I don't know if maybe more specifics need to be
> provided to the cipher via OAEPParameterSpec or something - the JCA
> APIs can be a bit mysterious at times.
>
>
> On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso <asanso@adobe.com<mailto:as=
anso@adobe.com>
> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>
> hi Brian,
>
>
> On May 6, 2014, at 3:29 PM, Brian Campbell
> <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com> <mailto:bc=
ampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>>
> wrote:
>
>> From the venerable film Animal House, of course,
>> https://www.youtube.com/watch?v=3DvVXEQ8hjyGI
>>
>> Thanks for checking that Antonio.
>>
>> Hopefully we could get a non Java based implementing to verify it
>> too.
>
> just for completeness I did *not* use jose4j to verify it=85 (just
> to be safe)
>
> regards
>
> antonio
>
>>
>>
>>
>>
>> On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso <asanso@adobe.com<mailto:a=
sanso@adobe.com>
>> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>>
>> Well, as of this moment, they're on DOUBLE SECRET PROBATION!
>>
>> On May 6, 2014, at 11:34 AM, Antonio Sanso <asanso@adobe.com<mailto:asan=
so@adobe.com>
>> <mailto:asanso@adobe.com<mailto:asanso@adobe.com>>> wrote:
>>
>>> Hi Brian,
>>>
>>> I will give a try and let you know
>>>
>>> regards
>>>
>>> antonio
>>>
>>> On May 6, 2014, at 5:40 AM, Brian Campbell
>>> <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
>>> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>>=
 wrote:
>>>
>>>> The latest revision of JWA added a new 'RSA-OAEP-256' JWE alg
>>>> for key encryption but, AFAIK, there are no examples using
>>>> it. I recently added support for it to
>>>> https://bitbucket.org/b_c/jose4j and am looking to get some
>>>> kind of confirmation that I've done it correctly (other than
>>>> self interop). With that in mind, here is a JWE using
>>>> RSA-OAEP-256 which I've produced and I'm hopeful that someone
>>>> on this WG list will be able to decrypt. The RSA key that was
>>>> used (in JWK format with both public and private parts) is
>>>> below the JWE.
>>>>
>>>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Oyeg4hbq2H=
jtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4QwYJeZkjJK36t=
eyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3u_qCaSLXpegE=
3o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSSUwuFw-vxrVJM=
RKf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8ck_mhtJdgfc0=
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dna-pZBRJa9lm5U",=
"q":"6R4dzo9LwHLO73EMQPQsmwXjVOvAS5W6rgQ-BCtMhec_QosAXIVE3AGyfweqZm6rurXCVF=
ykDLwJ30GepLQ8nTlzeV6clx
0x70saGGKKVmCsHuVYWwgIRyJTrt4SX29NQDZ_FE52NlO3OhPkj1ExSk_pGMqGRFd26K8g0jJsX=
XM","dp":"VByn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVDkej7-6H7vcJ-u1OqgRxF=
v4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXRYOjpJp5yNl2zRslFYQQC=
00bwpAxNCdfNLRZDlXhAqCUxlYqyt10","dq":"MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8x=
pIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-EuU70IdttYSfilqSruk2x0r8M=
sk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4yU7lyTvdyD-L0YQwYpmmFy_k0","qi":"vy7XCwZ=
3jyMGik81TIZDAOQKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqB=
Qda_kaxOxo5EF7iXj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN=
1AOrSRCmE3nwxg"}
>>>> _______________________________________________ jose mailing
>>>> list jose@ietf.org<mailto:jose@ietf.org> <mailto:jose@ietf.org<mailto:=
jose@ietf.org>>
>>>> https://www.ietf.org/mailman/listinfo/jose
>>>
>>
>>
>>
>>
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @       bcampbell@pingidentity.com<mailto:b=
campbell@pingidentity.com>
>> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>> p=
hone    +1 720.317.2061<tel:%2B1%20720.317.2061>
>> <tel:%2B1%20720.317.2061> Connect with us=85 twitter logo
>> <https://twitter.com/pingidentity> youtube logo
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
>> <https://www.linkedin.com/company/21870> Facebook logo
>> <https://www.facebook.com/pingidentitypage> Google+ logo
>> <https://plus.google.com/u/0/114266977739397708540> slideshare
>> logo <http://www.slideshare.net/PingIdentity> flipboard logo
>> <http://flip.it/vjBF7> rss feed icon
>> <https://www.pingidentity.com/blogs/>
>>
>> Register for Cloud Identity Summit 2014 | Modern Identity
>> Revolution | 19=9623 July, 2014 | Monterey, CA
>> <https://www.cloudidentitysummit.com/>
>>
>>
>
>
> _______________________________________________ jose mailing list
> jose@ietf.org<mailto:jose@ietf.org> <mailto:jose@ietf.org<mailto:jose@iet=
f.org>>
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
>
> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> Campbell Portfolio Architect @        bcampbell@pingidentity.com<mailto:b=
campbell@pingidentity.com>
> <mailto:bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>> ph=
one     +1 720.317.2061<tel:%2B1%20720.317.2061> Connect
> with us=85 twitter logo <https://twitter.com/pingidentity> youtube
> logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> <https://www.linkedin.com/company/21870> Facebook logo
> <https://www.facebook.com/pingidentitypage> Google+ logo
> <https://plus.google.com/u/0/114266977739397708540> slideshare
> logo <http://www.slideshare.net/PingIdentity> flipboard logo
> <http://flip.it/vjBF7> rss feed icon
> <https://www.pingidentity.com/blogs/>
>
> Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19=9623 July, 2014 | Monterey, CA
> <https://www.cloudidentitysummit.com/>
>
>
>
>
> _______________________________________________ jose mailing list
> jose@ietf.org<mailto:jose@ietf.org> https://www.ietf.org/mailman/listinfo=
/jose
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org<https://gpgtools.org/>
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaarnAAoJEDWi+S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad
CuBlGYa4POF74O3QGqKF+aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK+zB6z7jsr6F/sikmCJIbgNHeRn
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW+A=3D
=3DO9Ex
-----END PGP SIGNATURE-----



--_000_2D3ECD6F3A8341009B3B9B01A1A2D852adobecom_
Content-Type: text/html; charset="windows-1256"
Content-ID: <43650C14D0BF0E4CB861D86F1FD5CC3C@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
256">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
hi Mike<br>
<div>
<div>On May 7, 2014, at 7:07 AM, Mike Jones &lt;<a href=3D"mailto:Michael.J=
ones@microsoft.com">Michael.Jones@microsoft.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif">What new para=
meter values did you use?<br>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>assuming Brian is using Java IMHO he used</div>
<div><br>
</div>
<div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;">&nbsp;Alg=
orithmParameterSpec paramSpec =3D
<span style=3D"color: #931a68">new</span> OAEPParameterSpec(<span style=3D"=
color: #3933ff">&quot;SHA-256&quot;</span>,
<span style=3D"color: #3933ff">&quot;MGF1&quot;</span>, MGF1ParameterSpec.<=
span style=3D"color: #0326cc">SHA256</span>,</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;">&nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PSource.PSpecified.<span sty=
le=3D"color: #0326cc">DEFAULT</span>);</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><br>
</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;">regards</=
div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><br>
</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;">antonio</=
div>
</div>
<br>
<blockquote type=3D"cite">
<div>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif"></div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">From:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:bcampbell@pingidentity.com">Brian Campbell</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Sent:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">=FD5/=
=FD6/=FD2014 9:54 PM</span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">To:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:mamille2@cisco.com">Matt Miller</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Cc:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:asanso@adobe.com">Antonio Sanso</a>;
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Subject:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">Re: [=
jose] RSA-OAEP-256 Example</span><br>
<br>
</div>
<div>
<div dir=3D"ltr">
<div>Thanks Matt. <br>
<br>
That is why I was looking for someone to verify using a different platform.=
 Though I was hoping it'd just work.<br>
<br>
</div>
Matt, can you try decrypting this one by chance? Using the same key. I was =
more explicit with the parameters and, I think, MGF1 should be using SHA-25=
6 now too.
<br>
<div><br>
eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9=
_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYe=
PXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2K=
ZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3Gq=
SPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCm=
BOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExC=
fE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM=
-08tIZ-h5w<br>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Tue, May 6, 2014 at 8:39 PM, Matt Miller <spa=
n dir=3D"ltr">
&lt;<a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">mamille2@cisco.=
com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex; border=
-left:1px solid rgb(204,204,204); padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Short answer:<br>
You are all equally broken -- except from a certain point of view d-:<br>
<br>
Long answer:<br>
The code I have is based on OpenSSL, which is hard-coded to use SHA1<br>
for the hash and mask generation (boo!), which means one has to<br>
implement OAEP-SHA256 from scratch (hiss!!).<br>
<br>
When I implemented it per RFC 3447 and<br>
draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
decrypt the provided results. &nbsp;When I hard-coded MGF1 to use &quot;SHA=
1&quot;, I<br>
could decrypt provided results. &nbsp;A search through BouncyCastle's code<=
br>
shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash<br=
>
function of SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot=
;.<br>
Further evidence is shown with how [FORGE] can be made to work with<br>
Java (search their homepage for &quot;Compatible with Java's<br>
RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
<br>
Reconciling all of this with<br>
draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be<br>
very straight-forward. &nbsp;It appears that the JCA identifier is meant to=
<br>
be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted. &nbsp;The=
 XMLENC<br>
reference is arguably incomplete, since<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_blank=
">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1); this=
 can<br>
probably be addressed by explicitly stating the mask generation<br>
function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha256" ta=
rget=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256</a>&quot; (MGF1 =
with<br>
SHA-256).<br>
<br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">ma=
mille2@cisco.com</a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
[FORGE] Forge &lt; <a href=3D"https://github.com/digitalbazaar/forge" targe=
t=3D"_blank">
https://github.com/digitalbazaar/forge</a> &gt;<br>
<div><br>
On 5/6/14, 8:00 AM, Brian Campbell wrote:<br>
&gt; But you probable did do something very similar to what I did in<br>
&gt; jose4j - i.e. just getting a cipher instance with<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;?<br>
&gt;<br>
&gt; I think that's the right thing to do (and JWA even implies it) but<br>
&gt; a check from a different language/platform would help verify that<br>
&gt; assumption. I don't know if maybe more specifics need to be<br>
&gt; provided to the cipher via OAEPParameterSpec or something - the JCA<br=
>
&gt; APIs can be a bit mysterious at times.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 6:32 AM, Antonio Sanso &lt;<a href=3D"mailto:as=
anso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_blank">=
asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; hi Brian,<br>
&gt;<br>
&gt;<br>
&gt; On May 6, 2014, at 3:29 PM, Brian Campbell<br>
</div>
&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bc=
ampbell@pingidentity.com</a> &lt;mailto:<a href=3D"mailto:bcampbell@pingide=
ntity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt;<br>
<div>&gt; wrote:<br>
&gt;<br>
&gt;&gt; From the venerable film Animal House, of course,<br>
&gt;&gt; <a href=3D"https://www.youtube.com/watch?v=3DvVXEQ8hjyGI" target=
=3D"_blank">https://www.youtube.com/watch?v=3DvVXEQ8hjyGI</a><br>
&gt;&gt;<br>
&gt;&gt; Thanks for checking that Antonio.<br>
&gt;&gt;<br>
&gt;&gt; Hopefully we could get a non Java based implementing to verify it<=
br>
&gt;&gt; too.<br>
&gt;<br>
&gt; just for completeness I did *not* use jose4j to verify it=85 (just<br>
&gt; to be safe)<br>
&gt;<br>
&gt; regards<br>
&gt;<br>
&gt; antonio<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, May 6, 2014 at 6:25 AM, Antonio Sanso &lt;<a href=3D"mailt=
o:asanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_bla=
nk">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Well, as of this moment, they're on DOUBLE SECRET PROBATION!<br>
&gt;&gt;<br>
&gt;&gt; On May 6, 2014, at 11:34 AM, Antonio Sanso &lt;<a href=3D"mailto:a=
sanso@adobe.com" target=3D"_blank">asanso@adobe.com</a><br>
</div>
<div>&gt;&gt; &lt;mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_bla=
nk">asanso@adobe.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi Brian,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I will give a try and let you know<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; antonio<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On May 6, 2014, at 5:40 AM, Brian Campbell<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_b=
lank">bcampbell@pingidentity.com</a><br>
</div>
<div>&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" =
target=3D"_blank">bcampbell@pingidentity.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The latest revision of JWA added a new 'RSA-OAEP-256' JWE =
alg<br>
&gt;&gt;&gt;&gt; for key encryption but, AFAIK, there are no examples using=
<br>
&gt;&gt;&gt;&gt; it. I recently added support for it to<br>
&gt;&gt;&gt;&gt; <a href=3D"https://bitbucket.org/b_c/jose4j" target=3D"_bl=
ank">https://bitbucket.org/b_c/jose4j</a> and am looking to get some<br>
&gt;&gt;&gt;&gt; kind of confirmation that I've done it correctly (other th=
an<br>
&gt;&gt;&gt;&gt; self interop). With that in mind, here is a JWE using<br>
&gt;&gt;&gt;&gt; RSA-OAEP-256 which I've produced and I'm hopeful that some=
one<br>
&gt;&gt;&gt;&gt; on this WG list will be able to decrypt. The RSA key that =
was<br>
&gt;&gt;&gt;&gt; used (in JWK format with both public and private parts) is=
<br>
&gt;&gt;&gt;&gt; below the JWE.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In=
0.Oyeg4hbq2HjtHOcXduK9UhhIXervPzOTLAqKphCyeK55cFgKtF32DhD26sfnG6h9az3Ogrn4Q=
wYJeZkjJK36teyjl9oKIW_9ItP8cYhOriDOOZFho53Bsttqj8pc0UPrMJ448yQsgkgyqmfWZQs3=
u_qCaSLXpegE3o-YJ520-Xu_ElS5pNy_vfSME1CeP5unPQPf06Xc6iMVWx9-K_7lxC7acYI_fSS=
UwuFw-vxrVJMRKf0NDikdmcoI5WW7h5gLXSu4EZvW8xHxA_QoEFnSeYgg8NQNOGLf_PaBddAdn8=
ck_mhtJdgfc0W251nTviMAwPAjsG0FMnPox7GdtzTdmA.3DJSCmGDd9WI-DI3sBRm8Q.ncFI9vU=
EdKkuhPR0h3nOJP5dBgKrcS5f9Q7Z58AZTTdTV53FlzJIHwdme-1xipwDifTOL8yi7beuEEiXg_=
CSzw.UmNlvrfeCGnhWT9qyuUSSA<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
{&quot;kty&quot;:&quot;RSA&quot;,&quot;n&quot;:&quot;2cQJH1f6yF9DcGa8Cmbnhn=
4LHLs5L6kNb2rxkrNFZArJLRaKvaC3tMCKZ8ZgIpO9bVMPx5UMjJoaf7p9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Byn-hs0qB2Ncmb8ZycUOgWu7ljmjz1up1ZKU_3ZzJWVD=
kej7-6H7vcJ-u1OqgRxFv4v9_-aWPWl68VlWbkIkJbx6vniv6qrrXwBZu4klOPwEYBOXsucrzXR=
YOjpJp5yNl2zRslFYQQC00bwpAxNCdfNLRZDlXhAqCUxlYqyt10&quot;,&quot;dq&quot;:&q=
uot;MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4Otzf0zrlzzM92Cv1HvhCcOiN=
K8nRCwkbTnJEIh-EuU70IdttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKgolTyuaDnX4=
yU7lyTvdyD-L0YQwYpmmFy_k0&quot;,&quot;qi&quot;:&quot;vy7XCwZ3jyMGik81TIZDAO=
QKC8FVUc0TG5KVYfti4tgwzUqFwtuB8Oc1ctCKRbE7uZUPwZh4OsCTLqIvqBQda_kaxOxo5EF7i=
Xj6yHmZ2s8P_Z_u3JLuh-oAT_6kmbLx6CAO0DbtKtxp24Ivc1hDfqSwWORgN1AOrSRCmE3nwxg&=
quot;}<br>
&gt;&gt;&gt;&gt; _______________________________________________ jose maili=
ng<br>
</div>
&gt;&gt;&gt;&gt; list <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jo=
se@ietf.org</a> &lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blan=
k">jose@ietf.org</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/=
" target=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt;&gt; Campbell Portfolio Architect @ &nbsp; &nbsp; &nbsp; <a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">
bcampbell@pingidentity.com</a><br>
</div>
&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=3D=
"_blank">bcampbell@pingidentity.com</a>&gt; phone &nbsp; &nbsp;<a href=3D"t=
el:%2B1%20720.317.2061" value=3D"&#43;17203172061" target=3D"_blank">&#43;1=
 720.317.2061</a><br>
&gt;&gt; &lt;tel:%2B1%20720.317.2061&gt; Connect with us=85 twitter logo<br=
>
&gt;&gt; &lt;<a href=3D"https://twitter.com/pingidentity" target=3D"_blank"=
>https://twitter.com/pingidentity</a>&gt; youtube logo<br>
&gt;&gt; &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" target=
=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn lo=
go<br>
&gt;&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_=
blank">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt;&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=
=3D"_blank">https://www.facebook.com/pingidentitypage</a>&gt; Google&#43; l=
ogo<br>
&gt;&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" =
target=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt;=
 slideshare<br>
&gt;&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=
=3D"_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<b=
r>
&gt;&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip=
.it/vjBF7</a>&gt; rss feed icon<br>
&gt;&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_bla=
nk">https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;&gt;<br>
&gt;&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt;&gt; Revolution | 19=9623 July, 2014 | Monterey, CA<br>
</div>
&gt;&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_bl=
ank">https://www.cloudidentitysummit.com/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> &=
lt;mailto:<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org<=
/a>&gt;<br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/" ta=
rget=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
<div>&gt; Campbell Portfolio Architect @ &nbsp; &nbsp; &nbsp; &nbsp;<a href=
=3D"mailto:bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingiden=
tity.com</a><br>
</div>
&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com" target=3D"_bl=
ank">bcampbell@pingidentity.com</a>&gt; phone &nbsp; &nbsp;
<a href=3D"tel:%2B1%20720.317.2061" value=3D"&#43;17203172061" target=3D"_b=
lank">&#43;1 720.317.2061</a> Connect<br>
&gt; with us=85 twitter logo &lt;<a href=3D"https://twitter.com/pingidentit=
y" target=3D"_blank">https://twitter.com/pingidentity</a>&gt; youtube<br>
&gt; logo &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" targe=
t=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedIn l=
ogo<br>
&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_blan=
k">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=3D"_b=
lank">https://www.facebook.com/pingidentitypage</a>&gt; Google&#43; logo<br=
>
&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" targ=
et=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt; sli=
deshare<br>
&gt; logo &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=3D"=
_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<br>
&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip.it/=
vjBF7</a>&gt; rss feed icon<br>
&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_blank">=
https://www.pingidentity.com/blogs/</a>&gt;<br>
<div>&gt;<br>
&gt; Register for Cloud Identity Summit 2014 | Modern Identity<br>
&gt; Revolution | 19=9623 July, 2014 | Monterey, CA<br>
</div>
&gt; &lt;<a href=3D"https://www.cloudidentitysummit.com/" target=3D"_blank"=
>https://www.cloudidentitysummit.com/</a>&gt;<br>
<div>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________ jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a> <=
a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">
https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
</div>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org/" target=3D"_blank">htt=
ps://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">
http://www.enigmail.net/</a><br>
<br>
iQEcBAEBCgAGBQJTaarnAAoJEDWi&#43;S0W7cO1PHYH/3sUifwQv4vSi3PO6V5AwMad<br>
CuBlGYa4POF74O3QGqKF&#43;aTHrB97MzSoj2Uz8hJCROGBpTxCSqx9CK3BOJ8hnGmI<br>
6fq0FHDeA7WeCMkaxrNclX3WabaYHjB6hPlFKK&#43;zB6z7jsr6F/sikmCJIbgNHeRn<br>
LI2Io02I3b2TUGDp90e4r5nZb/TlO7jV2kuwj8gprll1eBGiKfYdtlhpDiby7DPX<br>
QQuNNzGNlLmk90eAd4HfQvL6CrIbQgOgmgs5D0ZRXYzxn5hmABuOPBONhGlTD7xG<br>
xdkzNrD4frOAdLprtaC8cfarW6UYSTUOhNkyffDfFa3SIEzaF1JvnEVoMk8IW&#43;A=3D<br>
=3DO9Ex<br>
-----END PGP SIGNATURE-----<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>

--_000_2D3ECD6F3A8341009B3B9B01A1A2D852adobecom_--


From nobody Wed May  7 02:38:16 2014
Return-Path: <Axel.Nennker@telekom.de>
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 0C3181A03D1 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 02:38:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.155
X-Spam-Level: 
X-Spam-Status: No, score=0.155 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.651] 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 aKKg_RWtDoYv for <jose@ietfa.amsl.com>; Wed,  7 May 2014 02:38:11 -0700 (PDT)
Received: from tcmail93.telekom.de (tcmail93.telekom.de [80.149.113.205]) by ietfa.amsl.com (Postfix) with ESMTP id 53A651A0299 for <jose@ietf.org>; Wed,  7 May 2014 02:38:10 -0700 (PDT)
X-Mailbb-Crypt: true
Received: from he111467.emea1.cds.t-internal.com (HELO he111467) ([10.206.92.85]) by tcmail91.telekom.de with ESMTP/TLS/RC4-MD5; 07 May 2014 10:52:38 +0200
Received: from TCMAIL91.dmznet.de.t-internal.com ([10.206.242.136]) by he111467 (Totemo SMTP Server) with SMTP ID 887; Wed, 7 May 2014 10:52:35 +0200 (CEST)
X-Mailbb-Crypt: true
X-Mailbb-SentCrypt: true
Received: from he111527.emea1.cds.t-internal.com ([10.125.90.86]) by tcmail91.telekom.de with ESMTP/TLS/AES128-SHA; 07 May 2014 10:21:44 +0200
Received: from HE111541.emea1.cds.t-internal.com ([10.125.90.97]) by HE111527.EMEA1.CDS.T-INTERNAL.COM ([2002:7cd:5a56::7cd:5a56]) with mapi; Wed, 7 May 2014 10:21:26 +0200
From: <Axel.Nennker@telekom.de>
To: <bcampbell@pingidentity.com>, <mamille2@cisco.com>
Date: Wed, 7 May 2014 10:21:22 +0200
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: Ac9psG1x5TvC9zvTQM6tiBbEdtgDdwAHIyog
Message-ID: <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
In-Reply-To: <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
Accept-Language: de-DE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: multipart/alternative; boundary="_000_CE8995AB5D178F44A2154F5C9A97CAF402631C603A59HE111541eme_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/vnBHP5ePd7maQ7S544S84GiFF9U
Cc: asanso@adobe.com, jose@ietf.org
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 09:38:15 -0000

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

SSB0aGluayB0aGF0IHRoZSBqYXZhIGltcGxlbWVudGF0aW9ucyBpbXBsZW1lbnRlZCB0aGUgc3Bl
YyBhbmQgZXZlcnl0aGluZyBpcyBvayBmcm9tIHRoYXQgUE9WLg0KDQpUaGVzZSBpbXBsZW1lbnRh
dGlvbnMgYXJlIG5vdCBicm9rZW4uDQoNCg0KDQpPbmUgY291bGQgYXJndWUgdGhhdCB3aGVuIHdl
IHJlcGxhY2UgU0hBLTEgYnkgU0hBLTI1NiBpbiBvbmUgcGxhY2UgdGhlbiB3ZSBtaWdodCBjb25z
aWRlciB0byByZXBsYWNlIGl0IGluIHRoZSBwYWRkaW5nIHRvby4NCg0KTXkgZmVlbGluZyBpcyB0
aGF0IHVzaW5nIHNoYS0yNTYgZm9yIHRoZSBwYWRkaW5nIGRvZXMgbm90IGdpdmUgdXMgbW9yZSBz
ZWN1cml0eS4gWU1NVw0KDQoNCkZyb206IGpvc2U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QwWlJYWXp4bjVobUFCdU9Q
Qk9OaEdsVEQ3eEc8YnI+eGRrek5yRDRmck9BZExwcnRhQzhjZmFyVzZVWVNUVU9oTmt5ZmZEZkZh
M1NJRXphRjFKdm5FVm9NazhJVytBPTxicj49TzlFeDxicj4tLS0tLUVORCBQR1AgU0lHTkFUVVJF
LS0tLS08bzpwPjwvbzpwPjwvcD48L2Rpdj48cCBjbGFzcz1Nc29Ob3JtYWw+PG86cD4mbmJzcDs8
L286cD48L3A+PC9kaXY+PC9kaXY+PC9kaXY+PC9kaXY+PC9ib2R5PjwvaHRtbD4=

--_000_CE8995AB5D178F44A2154F5C9A97CAF402631C603A59HE111541eme_--


From nobody Wed May  7 05:22:38 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 7963B1A0639 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 05:22:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.152
X-Spam-Level: 
X-Spam-Status: No, score=-10.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.651, 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 6adpK1EqZ1Rj for <jose@ietfa.amsl.com>; Wed,  7 May 2014 05:22:35 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) by ietfa.amsl.com (Postfix) with ESMTP id 258971A02B2 for <jose@ietf.org>; Wed,  7 May 2014 05:22:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3333; q=dns/txt; s=iport; t=1399465351; x=1400674951; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=FBpabtv9twW4iMcnwHrGRudN0NqNomf6jCoHz/3UgBQ=; b=Cz5In6GnSFS2TIlwegsslU8zfD/otbd9dmlinOic6X+gbEFoRojEj/to 00SIL238Mza4aj7codp1aJh9Pb8DRvBaZ8esAxZ/czNqgtwfpxnyc1i50 KXYQhI0vLiWNLKFMYU9/EQY8E01H1gJvj9/R31/adtDpT/0SXmUmdfghN E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlUFAEwkalOtJV2c/2dsb2JhbABagwZPWIJnqBoBAQEGmg4BgRoWdIIlAQEBBCNWEAsOCgICBR4DAgIPAjURBg0BBQIBAYg9DalipUAXgSqELIVtglwzB4J0gUsEigiPL5J7g1OCEA
X-IronPort-AV: E=Sophos;i="4.97,1003,1389744000"; d="scan'208";a="41737425"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-7.cisco.com with ESMTP; 07 May 2014 12:22:30 +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 s47CMUEJ004336 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 7 May 2014 12:22:30 GMT
Received: from MAMILLE2-M-T03K.CISCO.COM (10.89.2.182) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 7 May 2014 07:22:30 -0500
Message-ID: <536A2585.10906@cisco.com>
Date: Wed, 7 May 2014 06:22:29 -0600
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.5.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
In-Reply-To: <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.89.2.182]
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/TYYlWna3WMNzrJXT9QLubNQlw4k
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 12:22:37 -0000

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

Looks like I'm on double secret probation again (-:

It's working as expected for my code.


- -- 
- - m&m

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

On 5/6/14, 10:53 PM, Brian Campbell wrote:
> Thanks Matt.
> 
> That is why I was looking for someone to verify using a different 
> platform. Though I was hoping it'd just work.
> 
> Matt, can you try decrypting this one by chance? Using the same
> key. I was more explicit with the parameters and, I think, MGF1
> should be using SHA-256 now too.
> 
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w
>
> 
> 
> On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com 
> <mailto:mamille2@cisco.com>> wrote:
> 
> Short answer: You are all equally broken -- except from a certain
> point of view d-:
> 
> Long answer: The code I have is based on OpenSSL, which is
> hard-coded to use SHA1 for the hash and mask generation (boo!),
> which means one has to implement OAEP-SHA256 from scratch
> (hiss!!).
> 
> When I implemented it per RFC 3447 and 
> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not 
> decrypt the provided results.  When I hard-coded MGF1 to use
> "SHA1", I could decrypt provided results.  A search through
> BouncyCastle's code shows that
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash function of
> SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
> evidence is shown with how [FORGE] can be made to work with Java
> (search their homepage for "Compatible with Java's 
> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
> 
> Reconciling all of this with 
> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to
> be very straight-forward.  It appears that the JCA identifier is
> meant to be "MGF1 with SHA1"; that ought to be explicitly noted.
> The XMLENC reference is arguably incomplete, since 
> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to 
> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this
> can probably be addressed by explicitly stating the mask
> generation function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
> (MGF1 with SHA-256).
> 
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaiWFAAoJEDWi+S0W7cO1008H/27io3RSL9QCvipxXFL4rmLu
BqP3ZhUYwlbbzz0tA09iPE91EoanY6mKgCK0O0PJrUCIGl97M8fzZt9lwtv2jzCk
W0uhE03M8mClIcMzubmIUFWntsM0ItyvFgHAlroIPbMX4gWMnEI+4qidITV/rQuL
3u/WXtpcafVWMfzlTZfqP5sws8iYXyicSQqtrZ4YXGNqVw5uSogOnt93QgY7Deyb
UZJkVa6Ax2K844Smz4YEySwMLO91MeW27EHmFu6L1Kyer/NOedvdbMGIxsHKUJ+o
/lXQWUF5ZqhB/Zsg25VtGYL1CVp00lHDlBq+riiyrtbcNNdquHvXngV3pVAnt2s=
=/ujW
-----END PGP SIGNATURE-----


From nobody Wed May  7 05:35:15 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 DF23E1A02B2 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 05:35:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.152
X-Spam-Level: 
X-Spam-Status: No, score=-10.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.651, 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 55a3ypVrm1tg for <jose@ietfa.amsl.com>; Wed,  7 May 2014 05:35:13 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) by ietfa.amsl.com (Postfix) with ESMTP id 2D90E1A0227 for <jose@ietf.org>; Wed,  7 May 2014 05:35:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4420; q=dns/txt; s=iport; t=1399466109; x=1400675709; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=XsDSA0Q22V+6t7gOt3apsDT/zUd4ZX7RVWsfBSvmam8=; b=HWX54kQRpC7io4dD02Yr/FlGsjo8n5V3FVXEarbtpq87wUO67Ww6UZiu O+uKu3LvR8fESv02MhPGmKA+un+iRXf7MhZocuoXGHyZoIU/DHcBdgj2d qnM3gxgWJCg2IeTBrltV5AvYwrhmRVwYlyoHLQ6Z3Gimwv8RPxoXTF/r7 c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiAFAMcnalOtJA2B/2dsb2JhbABagwZPWIJnqBoBAQeaDgGBGhZ0giUBAQEDASMPAUUBEAsRBAEBAQICBRYIAwICCQMCAQIBNAkIBgEMAQUCAQGINQgNqW6lQheBKoQshW2CXDMHBoJugUsBA4oIjy+Se4NTghA
X-IronPort-AV: E=Sophos;i="4.97,1003,1389744000"; d="scan'208";a="41746842"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-4.cisco.com with ESMTP; 07 May 2014 12:35:07 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id s47CZ7b5004422 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 7 May 2014 12:35:07 GMT
Received: from MAMILLE2-M-T03K.CISCO.COM (10.89.2.182) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 7 May 2014 07:35:07 -0500
Message-ID: <536A287B.4030905@cisco.com>
Date: Wed, 7 May 2014 06:35:07 -0600
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.5.0
MIME-Version: 1.0
To: <Axel.Nennker@telekom.de>, <bcampbell@pingidentity.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com>
In-Reply-To: <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [10.89.2.182]
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/p5PMeEEEhGY1Co_h9t3F9XhnRUE
Cc: asanso@adobe.com, jose@ietf.org
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 12:35:15 -0000

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

On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de wrote:
> I think that the java implementations implemented the spec and 
> everything is ok from that POV.
> 
> These implementations are not broken.

The JOSE Java implementations did not implement the spec, though.
draft-ietf-jose-json-web-algorithms § 4.3 clearly states the hash and
mask generation functions are to use the same algorithm -- SHA-1 (and
MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with
SHA-256) in the case of "RSA-OAEP-256".

> 
> 
> 
> One could argue that when we replace SHA-1 by SHA-256 in one place
> then we might consider to replace it in the padding too.

That is exactly what draft-ietf-jose-json-web-algorithms specified.

> 
> My feeling is that using sha-256 for the padding does not give us
> more security. YMMW
> 

That is a separate debate, I think.  The prevailing opinion (at least
around the IETF) is "don't mix the algorithms".


- -- 
- - m&m

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

> 
> 
> 
> 
> *From:*jose [mailto:jose-bounces@ietf.org] *On Behalf Of *Brian
> Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller 
> *Cc:* Antonio Sanso; jose@ietf.org *Subject:* Re: [jose]
> RSA-OAEP-256 Example
> 
> 
> 
> Thanks Matt.
> 
> That is why I was looking for someone to verify using a different 
> platform. Though I was hoping it'd just work.
> 
> Matt, can you try decrypting this one by chance? Using the same
> key. I was more explicit with the parameters and, I think, MGF1
> should be using SHA-256 now too.
> 
> 
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w
>
> 
> 
> 
> On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com 
> <mailto:mamille2@cisco.com>> wrote:
> 
> Short answer: You are all equally broken -- except from a certain
> point of view d-:
> 
> Long answer: The code I have is based on OpenSSL, which is
> hard-coded to use SHA1 for the hash and mask generation (boo!),
> which means one has to implement OAEP-SHA256 from scratch
> (hiss!!).
> 
> When I implemented it per RFC 3447 and 
> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not 
> decrypt the provided results.  When I hard-coded MGF1 to use
> "SHA1", I could decrypt provided results.  A search through
> BouncyCastle's code shows that
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash function of
> SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
> evidence is shown with how [FORGE] can be made to work with Java
> (search their homepage for "Compatible with Java's 
> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
> 
> Reconciling all of this with 
> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to
> be very straight-forward.  It appears that the JCA identifier is
> meant to be "MGF1 with SHA1"; that ought to be explicitly noted.
> The XMLENC reference is arguably incomplete, since 
> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to 
> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this
> can probably be addressed by explicitly stating the mask
> generation function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
> (MGF1 with SHA-256).
> 
> 
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaih6AAoJEDWi+S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P
KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6
oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy+zAB6Xs0xh1mxWY
NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my
uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds
VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1+ZWlXAZEXAi3mBKme+VGGraO079bhR7Y=
=zfUl
-----END PGP SIGNATURE-----


From nobody Wed May  7 05:50:14 2014
Return-Path: <sberyozkin@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 A08F41A06D0; Wed,  7 May 2014 04:16:12 -0700 (PDT)
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 bIqmOlCuS2M0; Wed,  7 May 2014 04:16:10 -0700 (PDT)
Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by ietfa.amsl.com (Postfix) with ESMTP id 564911A06D1; Wed,  7 May 2014 04:16:10 -0700 (PDT)
Received: by mail-wi0-f180.google.com with SMTP id hi2so1114377wib.13 for <multiple recipients>; Wed, 07 May 2014 04:16:05 -0700 (PDT)
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=WpuzyB99vtnnitTFFUWDDnBbOh0lJsakZCavfucn0SM=; b=qbQf6s1KS9TZt/WOHgF4C/MXf2PkhFBpI7syf5hMWEJJ9cx9e+HFVcNLqyj/62f7lu LPW/vXILLHgGmb78gwAeAO80Y9I301Ra4TXT+PY5k/KDO6p4XAxmspGItzQXx3pxHolM rzlP3B81w3UxT+YeTYDSDRrUgyD5sTmWXydaDXhWr/c7+3ffbIv4SHmqcgo43namhgTl kpIIBoDu2gJkY1r7kXEqQsa4FO8DfLseDwoRC3RyvqfNeeA3dwysPDVRXl38Bf/xnbce Sx4JyQJdYJDDT5eS4zZDixa531TuJoZZKjhofMQGSkDDzbfdZjXh3csfWLyRZz8dee45 OcsQ==
X-Received: by 10.180.93.226 with SMTP id cx2mr7331662wib.16.1399461365680; Wed, 07 May 2014 04:16:05 -0700 (PDT)
Received: from [192.168.2.7] ([89.100.139.33]) by mx.google.com with ESMTPSA id xm20sm30944489wib.19.2014.05.07.04.16.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 04:16:04 -0700 (PDT)
Message-ID: <536A15F3.7050203@gmail.com>
Date: Wed, 07 May 2014 12:16:03 +0100
From: Sergey Beryozkin <sberyozkin@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>,  "jose@ietf.org" <jose@ietf.org>
References: <5363C88E.5070209@gmail.com> <CA+k3eCSG8E5918RqiHG5fqLV-gs3kTofuAng6yBM15_rn+35SA@mail.gmail.com> <5367C582.3010705@gmail.com>
In-Reply-To: <5367C582.3010705@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/Gc9NcNNPQeIsFZG37KXHgD8LWlQ
X-Mailman-Approved-At: Wed, 07 May 2014 05:50:10 -0700
Cc: "<oauth@ietf.org>" <oauth@ietf.org>
Subject: Re: [jose] [OAUTH-WG] [OT] Validation of JWE spec Appendix 1
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, 07 May 2014 11:16:12 -0000

Sorry for the noise, wanted to point out to the fact
Section A.1.8 explicitly mentions "Note that since the RSAES OAEP 
computation includes random values, the encryption results above will 
not be completely reproducible".

I wish I read that section first :-)

Thanks all,
Sergey
On 05/05/14 18:08, Sergey Beryozkin wrote:
> Hi Brian
> On 03/05/14 14:36, Brian Campbell wrote:
>> Hi Sergey,
>>
>> This question might be more appropriate for the JOSE WG [0] list (which
>> I've cc'd) as JWE is being developed there.
>>
> Sure, I'll be asking at [0] next time...
>> Some of the algorithms, RSAES OAEP being one of them, are probabilistic
>> encryption schemes which incorporate some element of randomness to yield
>> a different output even when encrypting the same content multiple times.
>> So the behavior you are observing is to be expected.
>>
> I was starting blaming myself for the fact I could not get the code
> producing a match :-)
>> That means that exactly reproducing the various steps of the examples in
>> the specs will not be possible in some cases. I was recently discussing
>> this off list with Matt Miller, the author of the JOSE Cookbook [1], and
>> my suggestion was to have the cookbook just make note of which examples,
>> or which parts of which examples, can't be easily reproduced due to
>> non-deterministic algorithms. I think that your question here suggests
>> that that idea might well provide utility to users/readers of that
>> document.
>>
> +1
>
> Thanks for the help,
> Sergey
>
>> Hope that helps,
>> Brian
>>
>>
>> [0] http://tools.ietf.org/wg/jose/
>> [1] http://tools.ietf.org/html/draft-ietf-jose-cookbook-02
>>
>>
>>
>>
>>
>>
>> On Fri, May 2, 2014 at 10:32 AM, Sergey Beryozkin <sberyozkin@gmail.com
>> <mailto:sberyozkin@gmail.com>> wrote:
>>
>>     Hi,
>>
>>     I'm starting experimenting with JWE, and the 1st thing I wanted to
>>     do was to quickly test the example at [1].
>>
>>     Sorry if it is something that is very obvious and off-topic, but I
>>     can't seem to validate the encryption of the content encryption key:
>>     I keep getting a different output every time the test code runs.
>>
>>     The code is the one that I wrote by 'scraping' the code from all
>>     over the Web but also I see Jose.4.j [3] produces a different output
>>     too.
>>     Is it due to the given key properties specified in [1] or it is
>>     actually indeed expected that production at [2] is reproducible ?
>>
>>     Cheers, Sergey
>>
>>     [1]
>>
>> http://tools.ietf.org/html/__draft-ietf-jose-json-web-__encryption-26#appendix-A.1
>>
>>
>> <http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-26#appendix-A.1>
>>
>>     [2]
>>
>> http://tools.ietf.org/html/__draft-ietf-jose-json-web-__encryption-26#appendix-A.1.3
>>
>>
>> <http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-26#appendix-A.1.3>
>>
>>     [3] https://bitbucket.org/b_c/__jose4j/wiki/Home
>>     <https://bitbucket.org/b_c/jose4j/wiki/Home>
>>
>>     _________________________________________________
>>     OAuth mailing list
>>     OAuth@ietf.org <mailto:OAuth@ietf.org>
>>     https://www.ietf.org/mailman/__listinfo/oauth
>>     <https://www.ietf.org/mailman/listinfo/oauth>
>>
>>
>>
>>
>> --
>> Ping Identity logo <https://www.pingidentity.com/>
>> Brian Campbell
>> [Enter Title]
>> @     bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>
>> phone     +1 720.317.2061 <tel:%2B1%20720.317.2061>
>> Connect with us…
>> twitter logo <https://twitter.com/pingidentity> youtube logo
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
>> <https://www.linkedin.com/company/21870> Facebook logo
>> <https://www.facebook.com/pingidentitypage> Google+ logo
>> <https://plus.google.com/u/0/114266977739397708540> slideshare logo
>> <http://www.slideshare.net/PingIdentity> flipboard logo
>> <http://flip.it/vjBF7> rss feed icon
>> <https://www.pingidentity.com/blogs/>
>>
>> Register for Cloud Identity Summit 2014 | Modern Identity Revolution |
>> 19–23 July, 2014 | Monterey, CA <https://www.cloudidentitysummit.com/>
>>
>>
>
>


From nobody Wed May  7 06:29:58 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 291741A02F3 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 06:29:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.578
X-Spam-Level: 
X-Spam-Status: No, score=-3.578 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_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 5Rvf1MAwf9fG for <jose@ietfa.amsl.com>; Wed,  7 May 2014 06:29:54 -0700 (PDT)
Received: from na3sys009aog134.obsmtp.com (na3sys009aog134.obsmtp.com [74.125.149.83]) by ietfa.amsl.com (Postfix) with ESMTP id 3AD331A02E7 for <jose@ietf.org>; Wed,  7 May 2014 06:29:54 -0700 (PDT)
Received: from mail-ig0-f178.google.com ([209.85.213.178]) (using TLSv1) by na3sys009aob134.postini.com ([74.125.148.12]) with SMTP ID DSNKU2o1TatzB6bZW7ph8T40NS3p1MX9vghN@postini.com; Wed, 07 May 2014 06:29:50 PDT
Received: by mail-ig0-f178.google.com with SMTP id hl10so1076374igb.5 for <jose@ietf.org>; Wed, 07 May 2014 06:29:49 -0700 (PDT)
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=r5SpYD7mjnDkV6mZO0J88331mFsc7QXonebFZ+Gep3U=; b=NDalm0slzv13ERptxSe3q7HF9U0Hr61pmBIo0a97klVPnMH5N9QW3mWnrwlWWc8Mhf Cuz6hwo381Z4IIunwTQefgUy+iql3Ec6lIOA5Kju951G2UX+e8d38Xetg0v9zruq9pX4 n/o6OEnlbtqcUYrE+zsE6Ko9f4NPDQR0nK8nNFQMwJroYT2+qhzeWsDcTO2fd1271CMb Lte9SNqfuC76WTZKd1TAz49gddnAhpiKXE39ea1oTM7lA2QNZmbeboxqhA1M52uf1w+l iBh2IC+lHm0h4UC1yR0sm4pfVKG/oKYXPkUH9poI4AvSh2Kh9oGp68VV8Sq+aPdNK/TI 75TQ==
X-Gm-Message-State: ALoCoQkqcFBYQ8q6Obja4i92CzDdSJTG3XrZbnYZrdFAXyDS/N8TplMZcVz2VH8muEkosaW1DSMb73i0RGK2A5+FauYt7F65lpfYPQD7wjoOe97pE445kQxxDw7+wbFZyEQdkhl4YNZv
X-Received: by 10.50.13.100 with SMTP id g4mr43991153igc.9.1399469389376; Wed, 07 May 2014 06:29:49 -0700 (PDT)
X-Received: by 10.50.13.100 with SMTP id g4mr43991133igc.9.1399469389239; Wed, 07 May 2014 06:29:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Wed, 7 May 2014 06:29:18 -0700 (PDT)
In-Reply-To: <536A287B.4030905@cisco.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Wed, 7 May 2014 06:29:18 -0700
Message-ID: <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com>
To: Matt Miller <mamille2@cisco.com>
Content-Type: multipart/alternative; boundary=089e013c6614d1f17704f8cf5b16
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/bHqqGKDvprDDDlcouGTVPK4Zfm0
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>, Axel Nennker <Axel.Nennker@telekom.de>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 13:29:57 -0000

--089e013c6614d1f17704f8cf5b16
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks again Matt for checking my homework.

As Antonio surmised, I used the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
transformation to get a cipher instance but then also initialized it with
the OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256,
PSource.PSpecified.DEFAULT), which is what gets MGF to use SHA2 as well.

I did run into the issue that Antonio pointed out [0]. Thanks BTW, I didn't
really see the applicability of it when you sent it yesterday but having
the reference was very helpful later. FWIW, I didn't use Bouncy Castle but
rather the default Sun/Oracle provider with Java 8, which seems to have
fixed that issue between 7 & 8.

I'm not sure how to articulate all that in the JWA's Key Management
Algorithm Identifier Cross-Reference [1] as
"RSA/ECB/OAEPWithSHA-256AndMGF1Padding" is correct but not sufficient. And
as Matt pointed out, the XMLENC cross-ref probably isn't quite right either=
.

I also agree with Matt that my first attempt at this as well as the other
Java based implementations yesterday were not properly implementing the
spec, which is pretty clear about "RSAES OAEP using SHA-256 and MGF1 with
SHA-256" [2]. And that MGF1 with SHA-256 vs SHA-1 for RSAES OAEP using
SHA-256 is a separate debate but, as JWA is written now, it's MGF1 with
SHA-256.  Given that this RSA-OAEP-256 was added at the request of the AD,
it's likely to be a short debate.


[0] https://bugs.openjdk.java.net/browse/JDK-7038158
[1]
http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rfc.ap=
pendix.A.1
[2]
tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#KeyEncryption=
RSAOAEP





On Wed, May 7, 2014 at 5:35 AM, Matt Miller <mamille2@cisco.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de wrote:
> > I think that the java implementations implemented the spec and
> > everything is ok from that POV.
> >
> > These implementations are not broken.
>
> The JOSE Java implementations did not implement the spec, though.
> draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states the hash an=
d
> mask generation functions are to use the same algorithm -- SHA-1 (and
> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with
> SHA-256) in the case of "RSA-OAEP-256".
>
> >
> >
> >
> > One could argue that when we replace SHA-1 by SHA-256 in one place
> > then we might consider to replace it in the padding too.
>
> That is exactly what draft-ietf-jose-json-web-algorithms specified.
>
> >
> > My feeling is that using sha-256 for the padding does not give us
> > more security. YMMW
> >
>
> That is a separate debate, I think.  The prevailing opinion (at least
> around the IETF) is "don't mix the algorithms".
>
>
> - --
> - - m&m
>
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>
> >
> >
> >
> >
> > *From:*jose [mailto:jose-bounces@ietf.org] *On Behalf Of *Brian
> > Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller
> > *Cc:* Antonio Sanso; jose@ietf.org *Subject:* Re: [jose]
> > RSA-OAEP-256 Example
> >
> >
> >
> > Thanks Matt.
> >
> > That is why I was looking for someone to verify using a different
> > platform. Though I was hoping it'd just work.
> >
> > Matt, can you try decrypting this one by chance? Using the same
> > key. I was more explicit with the parameters and, I think, MGF1
> > should be using SHA-256 now too.
> >
> >
> >
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9=
G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKEN=
YePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx=
2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3=
GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuF=
CmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGE=
xCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgW=
vM-08tIZ-h5w
> >
> >
> >
> >
> > On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com
> > <mailto:mamille2@cisco.com>> wrote:
> >
> > Short answer: You are all equally broken -- except from a certain
> > point of view d-:
> >
> > Long answer: The code I have is based on OpenSSL, which is
> > hard-coded to use SHA1 for the hash and mask generation (boo!),
> > which means one has to implement OAEP-SHA256 from scratch
> > (hiss!!).
> >
> > When I implemented it per RFC 3447 and
> > draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
> > decrypt the provided results.  When I hard-coded MGF1 to use
> > "SHA1", I could decrypt provided results.  A search through
> > BouncyCastle's code shows that
> > "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash function of
> > SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
> > evidence is shown with how [FORGE] can be made to work with Java
> > (search their homepage for "Compatible with Java's
> > RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
> >
> > Reconciling all of this with
> > draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to
> > be very straight-forward.  It appears that the JCA identifier is
> > meant to be "MGF1 with SHA1"; that ought to be explicitly noted.
> > The XMLENC reference is arguably incomplete, since
> > "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
> > "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this
> > can probably be addressed by explicitly stating the mask
> > generation function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
> > (MGF1 with SHA-256).
> >
> >
> >
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBCgAGBQJTaih6AAoJEDWi+S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P
> KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6
> oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy+zAB6Xs0xh1mxWY
> NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my
> uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds
> VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1+ZWlXAZEXAi3mBKme+VGGraO079bhR7Y=3D
> =3DzfUl
> -----END PGP SIGNATURE-----
>



--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--089e013c6614d1f17704f8cf5b16
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Thanks again Matt for checking my homework.<br><=
br></div>As Antonio surmised, I used the &quot;RSA/ECB/OAEPWithSHA-256AndMG=
F1Padding&quot; transformation to get a cipher instance but then also initi=
alized it with the OAEPParameterSpec(&quot;SHA-256&quot;, &quot;MGF1&quot;,=
 MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT), which is what gets =
MGF to use SHA2 as well.<br>

<br></div><div>I did run into the issue that Antonio pointed out [0]. Thank=
s BTW, I didn&#39;t really see the applicability of it when you sent it yes=
terday but having the reference was very helpful later. FWIW, I didn&#39;t =
use Bouncy Castle but rather the default Sun/Oracle provider with Java 8, w=
hich seems to have fixed that issue between 7 &amp; 8.<br>

<br>I&#39;m not sure how to articulate all that in the JWA&#39;s Key Manage=
ment Algorithm Identifier Cross-Reference [1] as &quot;RSA/ECB/OAEPWithSHA-=
256AndMGF1Padding&quot; is correct but not sufficient. And as Matt pointed =
out, the XMLENC cross-ref probably isn&#39;t quite right either.<br>

<br></div><div>I also agree with Matt that my first attempt at this as well=
 as the other Java based implementations yesterday were not properly implem=
enting the spec, which is pretty clear about &quot;RSAES OAEP using SHA-256=
 and MGF1 with SHA-256&quot; [2]. And that MGF1 with SHA-256 vs SHA-1 for R=
SAES OAEP using SHA-256 is a separate debate but, as JWA is written now, it=
&#39;s MGF1 with SHA-256.=C2=A0 Given that this RSA-OAEP-256 was added at t=
he request of the AD, it&#39;s likely to be a short debate.<br>

<br><br>[0] <a href=3D"https://bugs.openjdk.java.net/browse/JDK-7038158">ht=
tps://bugs.openjdk.java.net/browse/JDK-7038158</a><br>[1] <a href=3D"http:/=
/tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rfc.appendix=
.A.1">http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#=
rfc.appendix.A.1</a><br>

[2] <a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#KeyEncryptionRSAOAEP">tools.ietf.org/id/draft-ietf-jose-json-web-a=
lgorithms-26.html#KeyEncryptionRSAOAEP</a><br><br><br>=C2=A0<br></div></div=
><div class=3D"gmail_extra">

<br><br><div class=3D"gmail_quote">On Wed, May 7, 2014 at 5:35 AM, Matt Mil=
ler <span dir=3D"ltr">&lt;<a href=3D"mailto:mamille2@cisco.com" target=3D"_=
blank">mamille2@cisco.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">

<div class=3D"">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
</div><div class=3D"">On 5/7/14, 2:21 AM, <a href=3D"mailto:Axel.Nennker@te=
lekom.de">Axel.Nennker@telekom.de</a> wrote:<br>
&gt; I think that the java implementations implemented the spec and<br>
&gt; everything is ok from that POV.<br>
&gt;<br>
&gt; These implementations are not broken.<br>
<br>
</div>The JOSE Java implementations did not implement the spec, though.<br>
draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states the hash and<=
br>
mask generation functions are to use the same algorithm -- SHA-1 (and<br>
MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (and MGF1=
 with<br>
SHA-256) in the case of &quot;RSA-OAEP-256&quot;.<br>
<div class=3D""><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; One could argue that when we replace SHA-1 by SHA-256 in one place<br>
&gt; then we might consider to replace it in the padding too.<br>
<br>
</div>That is exactly what draft-ietf-jose-json-web-algorithms specified.<b=
r>
<div class=3D""><br>
&gt;<br>
&gt; My feeling is that using sha-256 for the padding does not give us<br>
&gt; more security. YMMW<br>
&gt;<br>
<br>
</div>That is a separate debate, I think. =C2=A0The prevailing opinion (at =
least<br>
around the IETF) is &quot;don&#39;t mix the algorithms&quot;.<br>
<div class=3D""><br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com">mamille2@cisco.com</=
a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; *From:*jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jos=
e-bounces@ietf.org</a>] *On Behalf Of *Brian<br>
&gt; Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller<br>
&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a=
> *Subject:* Re: [jose]<br>
<div class=3D"">&gt; RSA-OAEP-256 Example<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks Matt.<br>
&gt;<br>
&gt; That is why I was looking for someone to verify using a different<br>
&gt; platform. Though I was hoping it&#39;d just work.<br>
&gt;<br>
&gt; Matt, can you try decrypting this one by chance? Using the same<br>
&gt; key. I was more explicit with the parameters and, I think, MGF1<br>
&gt; should be using SHA-256 now too.<br>
&gt;<br>
&gt;<br>
&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj=
jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFY=
KENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdB=
PGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3Vg=
Wg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5=
DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1Cz=
zGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOg=
mgWvM-08tIZ-h5w<br>


&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 8:39 PM, Matt Miller &lt;<a href=3D"mailto:mami=
lle2@cisco.com">mamille2@cisco.com</a><br>
</div><div><div class=3D"h5">&gt; &lt;mailto:<a href=3D"mailto:mamille2@cis=
co.com">mamille2@cisco.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; Short answer: You are all equally broken -- except from a certain<br>
&gt; point of view d-:<br>
&gt;<br>
&gt; Long answer: The code I have is based on OpenSSL, which is<br>
&gt; hard-coded to use SHA1 for the hash and mask generation (boo!),<br>
&gt; which means one has to implement OAEP-SHA256 from scratch<br>
&gt; (hiss!!).<br>
&gt;<br>
&gt; When I implemented it per RFC 3447 and<br>
&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
&gt; decrypt the provided results. =C2=A0When I hard-coded MGF1 to use<br>
&gt; &quot;SHA1&quot;, I could decrypt provided results. =C2=A0A search thr=
ough<br>
&gt; BouncyCastle&#39;s code shows that<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash function=
 of<br>
&gt; SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot;. Furt=
her<br>
&gt; evidence is shown with how [FORGE] can be made to work with Java<br>
&gt; (search their homepage for &quot;Compatible with Java&#39;s<br>
&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
&gt;<br>
&gt; Reconciling all of this with<br>
&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to<br>
&gt; be very straight-forward. =C2=A0It appears that the JCA identifier is<=
br>
&gt; meant to be &quot;MGF1 with SHA1&quot;; that ought to be explicitly no=
ted.<br>
&gt; The XMLENC reference is arguably incomplete, since<br>
&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_=
blank">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_=
blank">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1);=
 this<br>
&gt; can probably be addressed by explicitly stating the mask<br>
&gt; generation function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc1=
1#mgf1sha256" target=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256<=
/a>&quot;<br>
&gt; (MGF1 with SHA-256).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class=3D"">-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org" target=3D"_blank">http=
s://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">http://www.enigmail.net/</a><br>
<br>
</div>iQEcBAEBCgAGBQJTaih6AAoJEDWi+S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P<br>
KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6<br>
oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy+zAB6Xs0xh1mxWY<br>
NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my<br>
uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds<br>
VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1+ZWlXAZEXAi3mBKme+VGGraO079bhR7Y=3D<br>
=3DzfUl<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D"ltr">

<div style=3D"padding-bottom:5px;margin-bottom:0">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width:75px;height:79px;margin:0;border:none"></a></td>


				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">Brian Campbell</span><br><font color=3D"#00=
0000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>


					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e61d3c;paddi=
ng:0 5px 0 0">
									<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-seri=
f;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e63c1d;paddi=
ng:0;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px">+1 720.317.2061</span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:#999999">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width:20px;height:23px;border:none;margin:0"></a> <a href=3D"https:=
//www.youtube.com/user/PingIdentityTV" style=3D"text-decoration:none" title=
=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"youtube logo" src=3D"htt=
p://4.pingidentity.com/rs/pingidentity/images/youtube.gif" style=3D"width:2=
3px;height:23px;border:none;margin:0"></a> <a href=3D"https://www.linkedin.=
com/company/21870" style=3D"text-decoration:none" title=3D"Ping on LinkedIn=
" target=3D"_blank"><img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/linkedin.gif" style=3D"width:23px;height:23px;b=
order:none;margin:0"></a> <a href=3D"https://www.facebook.com/pingidentityp=
age" style=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_b=
lank"><img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/facebook.gif" style=3D"width:23px;height:23px;border:none;mar=
gin:0"></a> <a href=3D"https://plus.google.com/u/0/114266977739397708540" s=
tyle=3D"text-decoration:none" title=3D"Ping on Google+" target=3D"_blank"><=
img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/i=
mages/google%2B.gif" style=3D"width:23px;height:23px;border:none;margin:0">=
</a> <a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decor=
ation:none" title=3D"Ping on SlideShare" target=3D"_blank"><img alt=3D"slid=
eshare logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/slides=
hare.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a> <a hre=
f=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Ping on =
Flipboard" target=3D"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/flipboard.gif" style=3D"width:23px;he=
ight:23px;border:none;margin:0"></a> <a href=3D"https://www.pingidentity.co=
m/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_bl=
ank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingide=
ntity/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a></td>


							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #9=
99999;width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-=
align:top;border:none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | =
Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" targe=
t=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern I=
dentity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http:/=
/4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width=
:172px;height:81px;margin:0;border:none"></a></td>


			</tr>
		</tbody>
	</table>
</div>
<br></div>
</div>

--089e013c6614d1f17704f8cf5b16--


From nobody Wed May  7 07:12:49 2014
Return-Path: <jricher@mitre.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 888811A0874 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 07:12:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.85
X-Spam-Level: 
X-Spam-Status: No, score=-4.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651] 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 yWlDRERkv9-j for <jose@ietfa.amsl.com>; Wed,  7 May 2014 07:12:44 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id A48881A0772 for <jose@ietf.org>; Wed,  7 May 2014 07:12:43 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 5DC511F067D; Wed,  7 May 2014 10:12:39 -0400 (EDT)
Received: from IMCCAS01.MITRE.ORG (imccas01.mitre.org [129.83.29.78]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 4731D1F06A4; Wed,  7 May 2014 10:12:39 -0400 (EDT)
Received: from IMCMBX01.MITRE.ORG ([169.254.1.73]) by IMCCAS01.MITRE.ORG ([129.83.29.68]) with mapi id 14.03.0174.001; Wed, 7 May 2014 10:12:38 -0400
From: "Richer, Justin P." <jricher@mitre.org>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaaXt6y9pFg73WUeWYaQCNSAO4Zs00HCAgAA5+gCAAEbmgIAADyMAgAAMIwA=
Date: Wed, 7 May 2014 14:12:38 +0000
Message-ID: <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com>
In-Reply-To: <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.31.10.111]
Content-Type: multipart/alternative; boundary="_000_04474579887847FB821845B6EE618C6Fmitreorg_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/4Bv4WXB4i5nWjISw4h7dc878jEc
Cc: Antonio Sanso <asanso@adobe.com>, Axel Nennker <Axel.Nennker@telekom.de>, "jose@ietf.org" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 14:12:47 -0000

--_000_04474579887847FB821845B6EE618C6Fmitreorg_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I've updated the Nimbus library to use the different hash, and the new toke=
n works under BouncyCastle in Java7. I did hit the bug mentioned [0] when r=
unning with the Sun provider. Also important, the old token doesn't work an=
ymore.

 -- Justin

On May 7, 2014, at 9:29 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

Thanks again Matt for checking my homework.

As Antonio surmised, I used the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" tra=
nsformation to get a cipher instance but then also initialized it with the =
OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpe=
cified.DEFAULT), which is what gets MGF to use SHA2 as well.

I did run into the issue that Antonio pointed out [0]. Thanks BTW, I didn't=
 really see the applicability of it when you sent it yesterday but having t=
he reference was very helpful later. FWIW, I didn't use Bouncy Castle but r=
ather the default Sun/Oracle provider with Java 8, which seems to have fixe=
d that issue between 7 & 8.

I'm not sure how to articulate all that in the JWA's Key Management Algorit=
hm Identifier Cross-Reference [1] as "RSA/ECB/OAEPWithSHA-256AndMGF1Padding=
" is correct but not sufficient. And as Matt pointed out, the XMLENC cross-=
ref probably isn't quite right either.

I also agree with Matt that my first attempt at this as well as the other J=
ava based implementations yesterday were not properly implementing the spec=
, which is pretty clear about "RSAES OAEP using SHA-256 and MGF1 with SHA-2=
56" [2]. And that MGF1 with SHA-256 vs SHA-1 for RSAES OAEP using SHA-256 i=
s a separate debate but, as JWA is written now, it's MGF1 with SHA-256.  Gi=
ven that this RSA-OAEP-256 was added at the request of the AD, it's likely =
to be a short debate.


[0] https://bugs.openjdk.java.net/browse/JDK-7038158
[1] http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rf=
c.appendix.A.1
[2] tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#KeyEncryp=
tionRSAOAEP<http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26=
.html#KeyEncryptionRSAOAEP>





On Wed, May 7, 2014 at 5:35 AM, Matt Miller <mamille2@cisco.com<mailto:mami=
lle2@cisco.com>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de>=
 wrote:
> I think that the java implementations implemented the spec and
> everything is ok from that POV.
>
> These implementations are not broken.

The JOSE Java implementations did not implement the spec, though.
draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and
mask generation functions are to use the same algorithm -- SHA-1 (and
MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with
SHA-256) in the case of "RSA-OAEP-256".

>
>
>
> One could argue that when we replace SHA-1 by SHA-256 in one place
> then we might consider to replace it in the padding too.

That is exactly what draft-ietf-jose-json-web-algorithms specified.

>
> My feeling is that using sha-256 for the padding does not give us
> more security. YMMW
>

That is a separate debate, I think.  The prevailing opinion (at least
around the IETF) is "don't mix the algorithms".


- --
- - m&m

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

>
>
>
>
> *From:*jose [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>] =
*On Behalf Of *Brian
> Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller
> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org> *Subject:* Re: [=
jose]
> RSA-OAEP-256 Example
>
>
>
> Thanks Matt.
>
> That is why I was looking for someone to verify using a different
> platform. Though I was hoping it'd just work.
>
> Matt, can you try decrypting this one by chance? Using the same
> key. I was more explicit with the parameters and, I think, MGF1
> should be using SHA-256 now too.
>
>
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9=
G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKEN=
YePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx=
2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3=
GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuF=
CmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGE=
xCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgW=
vM-08tIZ-h5w
>
>
>
>
> On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com<mailto:ma=
mille2@cisco.com>
> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com>>> wrote:
>
> Short answer: You are all equally broken -- except from a certain
> point of view d-:
>
> Long answer: The code I have is based on OpenSSL, which is
> hard-coded to use SHA1 for the hash and mask generation (boo!),
> which means one has to implement OAEP-SHA256 from scratch
> (hiss!!).
>
> When I implemented it per RFC 3447 and
> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
> decrypt the provided results.  When I hard-coded MGF1 to use
> "SHA1", I could decrypt provided results.  A search through
> BouncyCastle's code shows that
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash function of
> SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
> evidence is shown with how [FORGE] can be made to work with Java
> (search their homepage for "Compatible with Java's
> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
>
> Reconciling all of this with
> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to
> be very straight-forward.  It appears that the JCA identifier is
> meant to be "MGF1 with SHA1"; that ought to be explicitly noted.
> The XMLENC reference is arguably incomplete, since
> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this
> can probably be addressed by explicitly stating the mask
> generation function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
> (MGF1 with SHA-256).
>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org<https://gpgtools.org/>
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaih6AAoJEDWi+S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P
KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6
oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy+zAB6Xs0xh1mxWY
NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my
uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds
VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1+ZWlXAZEXAi3mBKme+VGGraO079bhR7Y=3D
=3DzfUl
-----END PGP SIGNATURE-----



--
[Ping Identity logo]<https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
@       bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
[phone] +1 720.317.2061
Connect with us=85
[twitter logo]<https://twitter.com/pingidentity> [youtube logo] <https://ww=
w.youtube.com/user/PingIdentityTV>  [LinkedIn logo] <https://www.linkedin.c=
om/company/21870>  [Facebook logo] <https://www.facebook.com/pingidentitypa=
ge>  [Google+ logo] <https://plus.google.com/u/0/114266977739397708540>  [s=
lideshare logo] <http://www.slideshare.net/PingIdentity>  [flipboard logo] =
<http://flip.it/vjBF7>  [rss feed icon] <https://www.pingidentity.com/blogs=
/>

[Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19=
=9623 July, 2014 | Monterey, CA]<https://www.cloudidentitysummit.com/>

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


--_000_04474579887847FB821845B6EE618C6Fmitreorg_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <9715E13787E5CB4082B26C88D85B427B@imc.mitre.org>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
I've updated the Nimbus library to use the different hash, and the new toke=
n works under BouncyCastle in Java7.&nbsp;I did hit the bug mentioned [0] w=
hen running with the Sun provider. Also important, the old token doesn't wo=
rk anymore.&nbsp;
<div><br>
</div>
<div>&nbsp;-- Justin</div>
<div><br>
<div>
<div>On May 7, 2014, at 9:29 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div>Thanks again Matt for checking my homework.<br>
<br>
</div>
As Antonio surmised, I used the &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding=
&quot; transformation to get a cipher instance but then also initialized it=
 with the OAEPParameterSpec(&quot;SHA-256&quot;, &quot;MGF1&quot;, MGF1Para=
meterSpec.SHA256, PSource.PSpecified.DEFAULT), which is what gets
 MGF to use SHA2 as well.<br>
<br>
</div>
<div>I did run into the issue that Antonio pointed out [0]. Thanks BTW, I d=
idn't really see the applicability of it when you sent it yesterday but hav=
ing the reference was very helpful later. FWIW, I didn't use Bouncy Castle =
but rather the default Sun/Oracle
 provider with Java 8, which seems to have fixed that issue between 7 &amp;=
 8.<br>
<br>
I'm not sure how to articulate all that in the JWA's Key Management Algorit=
hm Identifier Cross-Reference [1] as &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Pa=
dding&quot; is correct but not sufficient. And as Matt pointed out, the XML=
ENC cross-ref probably isn't quite right either.<br>
<br>
</div>
<div>I also agree with Matt that my first attempt at this as well as the ot=
her Java based implementations yesterday were not properly implementing the=
 spec, which is pretty clear about &quot;RSAES OAEP using SHA-256 and MGF1 =
with SHA-256&quot; [2]. And that MGF1 with
 SHA-256 vs SHA-1 for RSAES OAEP using SHA-256 is a separate debate but, as=
 JWA is written now, it's MGF1 with SHA-256.&nbsp; Given that this RSA-OAEP=
-256 was added at the request of the AD, it's likely to be a short debate.<=
br>
<br>
<br>
[0] <a href=3D"https://bugs.openjdk.java.net/browse/JDK-7038158">https://bu=
gs.openjdk.java.net/browse/JDK-7038158</a><br>
[1] <a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#rfc.appendix.A.1">
http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rfc.ap=
pendix.A.1</a><br>
[2] <a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#KeyEncryptionRSAOAEP">
tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#KeyEncryption=
RSAOAEP</a><br>
<br>
<br>
&nbsp;<br>
</div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Wed, May 7, 2014 at 5:35 AM, Matt Miller <spa=
n dir=3D"ltr">
&lt;<a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">mamille2@cisco.=
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 class=3D"">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
</div>
<div class=3D"">On 5/7/14, 2:21 AM, <a href=3D"mailto:Axel.Nennker@telekom.=
de">Axel.Nennker@telekom.de</a> wrote:<br>
&gt; I think that the java implementations implemented the spec and<br>
&gt; everything is ok from that POV.<br>
&gt;<br>
&gt; These implementations are not broken.<br>
<br>
</div>
The JOSE Java implementations did not implement the spec, though.<br>
draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and<br>
mask generation functions are to use the same algorithm -- SHA-1 (and<br>
MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (and MGF1=
 with<br>
SHA-256) in the case of &quot;RSA-OAEP-256&quot;.<br>
<div class=3D""><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; One could argue that when we replace SHA-1 by SHA-256 in one place<br>
&gt; then we might consider to replace it in the padding too.<br>
<br>
</div>
That is exactly what draft-ietf-jose-json-web-algorithms specified.<br>
<div class=3D""><br>
&gt;<br>
&gt; My feeling is that using sha-256 for the padding does not give us<br>
&gt; more security. YMMW<br>
&gt;<br>
<br>
</div>
That is a separate debate, I think. &nbsp;The prevailing opinion (at least<=
br>
around the IETF) is &quot;don't mix the algorithms&quot;.<br>
<div class=3D""><br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com">mamille2@cisco.com</=
a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>
&gt; *From:*jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-boun=
ces@ietf.org</a>] *On Behalf Of *Brian<br>
&gt; Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller<br>
&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a=
> *Subject:* Re: [jose]<br>
<div class=3D"">&gt; RSA-OAEP-256 Example<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks Matt.<br>
&gt;<br>
&gt; That is why I was looking for someone to verify using a different<br>
&gt; platform. Though I was hoping it'd just work.<br>
&gt;<br>
&gt; Matt, can you try decrypting this one by chance? Using the same<br>
&gt; key. I was more explicit with the parameters and, I think, MGF1<br>
&gt; should be using SHA-256 now too.<br>
&gt;<br>
&gt;<br>
&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj=
jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFY=
KENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdB=
PGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3Vg=
Wg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5=
DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1Cz=
zGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOg=
mgWvM-08tIZ-h5w<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 8:39 PM, Matt Miller &lt;<a href=3D"mailto:mami=
lle2@cisco.com">mamille2@cisco.com</a><br>
</div>
<div>
<div class=3D"h5">&gt; &lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mam=
ille2@cisco.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; Short answer: You are all equally broken -- except from a certain<br>
&gt; point of view d-:<br>
&gt;<br>
&gt; Long answer: The code I have is based on OpenSSL, which is<br>
&gt; hard-coded to use SHA1 for the hash and mask generation (boo!),<br>
&gt; which means one has to implement OAEP-SHA256 from scratch<br>
&gt; (hiss!!).<br>
&gt;<br>
&gt; When I implemented it per RFC 3447 and<br>
&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
&gt; decrypt the provided results. &nbsp;When I hard-coded MGF1 to use<br>
&gt; &quot;SHA1&quot;, I could decrypt provided results. &nbsp;A search thr=
ough<br>
&gt; BouncyCastle's code shows that<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash function=
 of<br>
&gt; SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot;. Furt=
her<br>
&gt; evidence is shown with how [FORGE] can be made to work with Java<br>
&gt; (search their homepage for &quot;Compatible with Java's<br>
&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
&gt;<br>
&gt; Reconciling all of this with<br>
&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to<br>
&gt; be very straight-forward. &nbsp;It appears that the JCA identifier is<=
br>
&gt; meant to be &quot;MGF1 with SHA1&quot;; that ought to be explicitly no=
ted.<br>
&gt; The XMLENC reference is arguably incomplete, since<br>
&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_=
blank">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_=
blank">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1);=
 this<br>
&gt; can probably be addressed by explicitly stating the mask<br>
&gt; generation function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc1=
1#mgf1sha256" target=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256<=
/a>&quot;<br>
&gt; (MGF1 with SHA-256).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>
</div>
<div class=3D"">-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org/" target=3D"_blank">htt=
ps://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">
http://www.enigmail.net/</a><br>
<br>
</div>
iQEcBAEBCgAGBQJTaih6AAoJEDWi&#43;S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P<br>
KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6<br>
oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy&#43;zAB6Xs0xh1mxWY<br>
NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my<br>
uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds<br>
VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1&#43;ZWlXAZEXAi3mBKme&#43;VGGraO079bhR7Y=3D<=
br>
=3DzfUl<br>
-----END PGP SIGNATURE-----<br>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;h=
eight:79px;margin:0;border:none"></a></td>
<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>
</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px">&#43;1 720.317.2061</span><=
/font></td>
</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=85</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;height:23px;border:none;margin:0"><=
/a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google&#43;" target=3D"_blank">
<img alt=3D"Google&#43; logo" src=3D"http://4.pingidentity.com/rs/pingident=
ity/images/google%2B.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a>=
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=9623 July, 2014 | Monterey, CA" target=3D"_blank=
"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identity Rev=
olution | 19=9623 July, 2014 | Monterey, CA" src=3D"http://4.pingidentity.c=
om/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172px;height:81p=
x;margin:0;border:none"></a></td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
https://www.ietf.org/mailman/listinfo/jose<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_04474579887847FB821845B6EE618C6Fmitreorg_--


From nobody Wed May  7 07:23:57 2014
Return-Path: <asanso@adobe.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 8E29C1A00DF for <jose@ietfa.amsl.com>; Wed,  7 May 2014 07:23:55 -0700 (PDT)
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 56yMhih6k1T1 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 07:23:49 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0206.outbound.protection.outlook.com [207.46.163.206]) by ietfa.amsl.com (Postfix) with ESMTP id 50A381A0061 for <jose@ietf.org>; Wed,  7 May 2014 07:23:49 -0700 (PDT)
Received: from CO1PR02MB205.namprd02.prod.outlook.com (10.242.165.139) by CO1PR02MB240.namprd02.prod.outlook.com (10.242.165.155) with Microsoft SMTP Server (TLS) id 15.0.934.12; Wed, 7 May 2014 14:23:37 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com (10.242.165.144) by CO1PR02MB205.namprd02.prod.outlook.com (10.242.165.139) with Microsoft SMTP Server (TLS) id 15.0.934.12; Wed, 7 May 2014 14:23:35 +0000
Received: from CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) by CO1PR02MB206.namprd02.prod.outlook.com ([169.254.8.39]) with mapi id 15.00.0934.000; Wed, 7 May 2014 14:23:35 +0000
From: Antonio Sanso <asanso@adobe.com>
To: "Richer, Justin P." <jricher@mitre.org>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhACAAAElAIAAAQQAgAAHpICAAOTKgIAAFNOAgAA5+wCAAEblgIAADyQAgAAMGwCAAAMegA==
Date: Wed, 7 May 2014 14:23:34 +0000
Message-ID: <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org>
In-Reply-To: <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [192.147.117.11]
x-forefront-prvs: 0204F0BDE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019001)(428001)(377454003)(189002)(43784003)(199002)(479174003)(51704005)(24454002)(74662001)(80022001)(76482001)(15198665003)(66066001)(99396002)(81342001)(81542001)(46102001)(74502001)(50986999)(99286001)(77982001)(31966008)(36756003)(64706001)(19618635001)(15202345003)(16297215004)(4396001)(87936001)(2656002)(101416001)(92566001)(85852003)(18206015023)(86362001)(33656001)(19580395003)(15975445006)(83072002)(19580405001)(21056001)(82746002)(19273905006)(92726001)(76176999)(54356999)(83716003)(20776003)(79102001)(575784001)(19617315010)(83322001)(15395725003)(16236675002)(9984715005)(19621445023); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB205; H:CO1PR02MB206.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: adobe.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=asanso@adobe.com; 
Content-Type: multipart/alternative; boundary="_000_C4F202FB5B5E4A6FBB00870C01A60005adobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/gmUS4vht3P0LLnSLNVVaH3_f7pk
Cc: Brian Campbell <bcampbell@pingidentity.com>, Axel Nennker <Axel.Nennker@telekom.de>, "jose@ietf.org" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 14:23:55 -0000

--_000_C4F202FB5B5E4A6FBB00870C01A60005adobecom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


On May 7, 2014, at 4:12 PM, Richer, Justin P. <jricher@mitre.org<mailto:jri=
cher@mitre.org>> wrote:

I've updated the Nimbus library to use the different hash, and the new toke=
n works under BouncyCastle in Java7. I did hit the bug mentioned [0] when r=
unning with the Sun provider.

I suppose you are using Java 8 so...

regards

antonio

Also important, the old token doesn't work anymore.

 -- Justin

On May 7, 2014, at 9:29 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

Thanks again Matt for checking my homework.

As Antonio surmised, I used the "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" tra=
nsformation to get a cipher instance but then also initialized it with the =
OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpe=
cified.DEFAULT), which is what gets MGF to use SHA2 as well.

I did run into the issue that Antonio pointed out [0]. Thanks BTW, I didn't=
 really see the applicability of it when you sent it yesterday but having t=
he reference was very helpful later. FWIW, I didn't use Bouncy Castle but r=
ather the default Sun/Oracle provider with Java 8, which seems to have fixe=
d that issue between 7 & 8.

I'm not sure how to articulate all that in the JWA's Key Management Algorit=
hm Identifier Cross-Reference [1] as "RSA/ECB/OAEPWithSHA-256AndMGF1Padding=
" is correct but not sufficient. And as Matt pointed out, the XMLENC cross-=
ref probably isn't quite right either.

I also agree with Matt that my first attempt at this as well as the other J=
ava based implementations yesterday were not properly implementing the spec=
, which is pretty clear about "RSAES OAEP using SHA-256 and MGF1 with SHA-2=
56" [2]. And that MGF1 with SHA-256 vs SHA-1 for RSAES OAEP using SHA-256 i=
s a separate debate but, as JWA is written now, it's MGF1 with SHA-256.  Gi=
ven that this RSA-OAEP-256 was added at the request of the AD, it's likely =
to be a short debate.


[0] https://bugs.openjdk.java.net/browse/JDK-7038158
[1] http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rf=
c.appendix.A.1
[2] tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#KeyEncryp=
tionRSAOAEP<http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26=
.html#KeyEncryptionRSAOAEP>





On Wed, May 7, 2014 at 5:35 AM, Matt Miller <mamille2@cisco.com<mailto:mami=
lle2@cisco.com>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de>=
 wrote:
> I think that the java implementations implemented the spec and
> everything is ok from that POV.
>
> These implementations are not broken.

The JOSE Java implementations did not implement the spec, though.
draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and
mask generation functions are to use the same algorithm -- SHA-1 (and
MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with
SHA-256) in the case of "RSA-OAEP-256".

>
>
>
> One could argue that when we replace SHA-1 by SHA-256 in one place
> then we might consider to replace it in the padding too.

That is exactly what draft-ietf-jose-json-web-algorithms specified.

>
> My feeling is that using sha-256 for the padding does not give us
> more security. YMMW
>

That is a separate debate, I think.  The prevailing opinion (at least
around the IETF) is "don't mix the algorithms".


- --
- - m&m

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

>
>
>
>
> *From:*jose [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>] =
*On Behalf Of *Brian
> Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller
> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org> *Subject:* Re: [=
jose]
> RSA-OAEP-256 Example
>
>
>
> Thanks Matt.
>
> That is why I was looking for someone to verify using a different
> platform. Though I was hoping it'd just work.
>
> Matt, can you try decrypting this one by chance? Using the same
> key. I was more explicit with the parameters and, I think, MGF1
> should be using SHA-256 now too.
>
>
> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCjjU9=
G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFYKEN=
YePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdBPGx=
2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3VgWg3=
GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5DuF=
CmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1CzzGE=
xCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOgmgW=
vM-08tIZ-h5w
>
>
>
>
> On Tue, May 6, 2014 at 8:39 PM, Matt Miller <mamille2@cisco.com<mailto:ma=
mille2@cisco.com>
> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com>>> wrote:
>
> Short answer: You are all equally broken -- except from a certain
> point of view d-:
>
> Long answer: The code I have is based on OpenSSL, which is
> hard-coded to use SHA1 for the hash and mask generation (boo!),
> which means one has to implement OAEP-SHA256 from scratch
> (hiss!!).
>
> When I implemented it per RFC 3447 and
> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
> decrypt the provided results.  When I hard-coded MGF1 to use
> "SHA1", I could decrypt provided results.  A search through
> BouncyCastle's code shows that
> "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash function of
> SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
> evidence is shown with how [FORGE] can be made to work with Java
> (search their homepage for "Compatible with Java's
> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
>
> Reconciling all of this with
> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to
> be very straight-forward.  It appears that the JCA identifier is
> meant to be "MGF1 with SHA1"; that ought to be explicitly noted.
> The XMLENC reference is arguably incomplete, since
> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this
> can probably be addressed by explicitly stating the mask
> generation function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
> (MGF1 with SHA-256).
>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org<https://gpgtools.org/>
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTaih6AAoJEDWi+S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P
KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6
oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy+zAB6Xs0xh1mxWY
NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my
uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds
VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1+ZWlXAZEXAi3mBKme+VGGraO079bhR7Y=3D
=3DzfUl
-----END PGP SIGNATURE-----



--
[Ping Identity logo]<https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
@       bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
[phone] +1 720.317.2061
Connect with us=85
[twitter logo]<https://twitter.com/pingidentity> [youtube logo] <https://ww=
w.youtube.com/user/PingIdentityTV>  [LinkedIn logo] <https://www.linkedin.c=
om/company/21870>  [Facebook logo] <https://www.facebook.com/pingidentitypa=
ge>  [Google+ logo] <https://plus.google.com/u/0/114266977739397708540>  [s=
lideshare logo] <http://www.slideshare.net/PingIdentity>  [flipboard logo] =
<http://flip.it/vjBF7>  [rss feed icon] <https://www.pingidentity.com/blogs=
/>

[Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19=
=9623 July, 2014 | Monterey, CA]<https://www.cloudidentitysummit.com/>

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



--_000_C4F202FB5B5E4A6FBB00870C01A60005adobecom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <4C478624B37A264F93079DE7C6CED29E@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
<br>
<div>
<div>On May 7, 2014, at 4:12 PM, Richer, Justin P. &lt;<a href=3D"mailto:jr=
icher@mitre.org">jricher@mitre.org</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space;">
I've updated the Nimbus library to use the different hash, and the new toke=
n works under BouncyCastle in Java7.&nbsp;I did hit the bug mentioned [0] w=
hen running with the Sun provider.</div>
</blockquote>
<div><br>
</div>
<div>I suppose you are using Java 8 so...</div>
<div><br>
</div>
<div>regards</div>
<div><br>
</div>
<div>antonio</div>
<br>
<blockquote type=3D"cite">
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space;">
Also important, the old token doesn't work anymore.&nbsp;
<div><br>
</div>
<div>&nbsp;-- Justin</div>
<div><br>
<div>
<div>On May 7, 2014, at 9:29 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div>Thanks again Matt for checking my homework.<br>
<br>
</div>
As Antonio surmised, I used the &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding=
&quot; transformation to get a cipher instance but then also initialized it=
 with the OAEPParameterSpec(&quot;SHA-256&quot;, &quot;MGF1&quot;, MGF1Para=
meterSpec.SHA256, PSource.PSpecified.DEFAULT), which is what gets
 MGF to use SHA2 as well.<br>
<br>
</div>
<div>I did run into the issue that Antonio pointed out [0]. Thanks BTW, I d=
idn't really see the applicability of it when you sent it yesterday but hav=
ing the reference was very helpful later. FWIW, I didn't use Bouncy Castle =
but rather the default Sun/Oracle
 provider with Java 8, which seems to have fixed that issue between 7 &amp;=
 8.<br>
<br>
I'm not sure how to articulate all that in the JWA's Key Management Algorit=
hm Identifier Cross-Reference [1] as &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Pa=
dding&quot; is correct but not sufficient. And as Matt pointed out, the XML=
ENC cross-ref probably isn't quite right either.<br>
<br>
</div>
<div>I also agree with Matt that my first attempt at this as well as the ot=
her Java based implementations yesterday were not properly implementing the=
 spec, which is pretty clear about &quot;RSAES OAEP using SHA-256 and MGF1 =
with SHA-256&quot; [2]. And that MGF1 with
 SHA-256 vs SHA-1 for RSAES OAEP using SHA-256 is a separate debate but, as=
 JWA is written now, it's MGF1 with SHA-256.&nbsp; Given that this RSA-OAEP=
-256 was added at the request of the AD, it's likely to be a short debate.<=
br>
<br>
<br>
[0] <a href=3D"https://bugs.openjdk.java.net/browse/JDK-7038158">https://bu=
gs.openjdk.java.net/browse/JDK-7038158</a><br>
[1] <a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#rfc.appendix.A.1">
http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rfc.ap=
pendix.A.1</a><br>
[2] <a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#KeyEncryptionRSAOAEP">
tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#KeyEncryption=
RSAOAEP</a><br>
<br>
<br>
&nbsp;<br>
</div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Wed, May 7, 2014 at 5:35 AM, Matt Miller <spa=
n dir=3D"ltr">
&lt;<a href=3D"mailto:mamille2@cisco.com" target=3D"_blank">mamille2@cisco.=
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 class=3D"">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
</div>
<div class=3D"">On 5/7/14, 2:21 AM, <a href=3D"mailto:Axel.Nennker@telekom.=
de">Axel.Nennker@telekom.de</a> wrote:<br>
&gt; I think that the java implementations implemented the spec and<br>
&gt; everything is ok from that POV.<br>
&gt;<br>
&gt; These implementations are not broken.<br>
<br>
</div>
The JOSE Java implementations did not implement the spec, though.<br>
draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and<br>
mask generation functions are to use the same algorithm -- SHA-1 (and<br>
MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (and MGF1=
 with<br>
SHA-256) in the case of &quot;RSA-OAEP-256&quot;.<br>
<div class=3D""><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; One could argue that when we replace SHA-1 by SHA-256 in one place<br>
&gt; then we might consider to replace it in the padding too.<br>
<br>
</div>
That is exactly what draft-ietf-jose-json-web-algorithms specified.<br>
<div class=3D""><br>
&gt;<br>
&gt; My feeling is that using sha-256 for the padding does not give us<br>
&gt; more security. YMMW<br>
&gt;<br>
<br>
</div>
That is a separate debate, I think. &nbsp;The prevailing opinion (at least<=
br>
around the IETF) is &quot;don't mix the algorithms&quot;.<br>
<div class=3D""><br>
<br>
- --<br>
- - m&amp;m<br>
<br>
Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com">mamille2@cisco.com</=
a> &gt;<br>
Cisco Systems, Inc.<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>
&gt; *From:*jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-boun=
ces@ietf.org</a>] *On Behalf Of *Brian<br>
&gt; Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM *To:* Matt Miller<br>
&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a=
> *Subject:* Re: [jose]<br>
<div class=3D"">&gt; RSA-OAEP-256 Example<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks Matt.<br>
&gt;<br>
&gt; That is why I was looking for someone to verify using a different<br>
&gt; platform. Though I was hoping it'd just work.<br>
&gt;<br>
&gt; Matt, can you try decrypting this one by chance? Using the same<br>
&gt; key. I was more explicit with the parameters and, I think, MGF1<br>
&gt; should be using SHA-256 now too.<br>
&gt;<br>
&gt;<br>
&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj=
jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ1PcFY=
KENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpiOYHHvSTFdB=
PGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2jL6wmEtgabyxy3Vg=
Wg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPuBUseRRPr_OsroOJ6eTl5=
DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_PgOA.RAzILH0xfs0yxzML1Cz=
zGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5GSvluzmztk2_CkGNSjAyoaw.4nMUXOg=
mgWvM-08tIZ-h5w<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 6, 2014 at 8:39 PM, Matt Miller &lt;<a href=3D"mailto:mami=
lle2@cisco.com">mamille2@cisco.com</a><br>
</div>
<div>
<div class=3D"h5">&gt; &lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mam=
ille2@cisco.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; Short answer: You are all equally broken -- except from a certain<br>
&gt; point of view d-:<br>
&gt;<br>
&gt; Long answer: The code I have is based on OpenSSL, which is<br>
&gt; hard-coded to use SHA1 for the hash and mask generation (boo!),<br>
&gt; which means one has to implement OAEP-SHA256 from scratch<br>
&gt; (hiss!!).<br>
&gt;<br>
&gt; When I implemented it per RFC 3447 and<br>
&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not<br>
&gt; decrypt the provided results. &nbsp;When I hard-coded MGF1 to use<br>
&gt; &quot;SHA1&quot;, I could decrypt provided results. &nbsp;A search thr=
ough<br>
&gt; BouncyCastle's code shows that<br>
&gt; &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a Hash function=
 of<br>
&gt; SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot;. Furt=
her<br>
&gt; evidence is shown with how [FORGE] can be made to work with Java<br>
&gt; (search their homepage for &quot;Compatible with Java's<br>
&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<br>
&gt;<br>
&gt; Reconciling all of this with<br>
&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to<br>
&gt; be very straight-forward. &nbsp;It appears that the JCA identifier is<=
br>
&gt; meant to be &quot;MGF1 with SHA1&quot;; that ought to be explicitly no=
ted.<br>
&gt; The XMLENC reference is arguably incomplete, since<br>
&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_=
blank">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defaults to<br>
&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=3D"_=
blank">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1 with SHA1);=
 this<br>
&gt; can probably be addressed by explicitly stating the mask<br>
&gt; generation function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc1=
1#mgf1sha256" target=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256<=
/a>&quot;<br>
&gt; (MGF1 with SHA-256).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>
</div>
<div class=3D"">-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href=3D"https://gpgtools.org/" target=3D"_blank">htt=
ps://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail.net/=
" target=3D"_blank">
http://www.enigmail.net/</a><br>
<br>
</div>
iQEcBAEBCgAGBQJTaih6AAoJEDWi&#43;S0W7cO1dqMIAIgB0qPxKOkFRQ1w16tiAW0P<br>
KZ3bFZ0LX5RnaiL2t0bAfMo4ivSdawRmabLmNVuOrTbKZ5cPpdI9jSYqzAs/3SS6<br>
oLDnFFB6PHCz8nBWRvEtwxGII3t6e3LEoqW7ndcvO/1Le77uy&#43;zAB6Xs0xh1mxWY<br>
NEHpVQsKs2Ytjk9ZxcqdUjivZhU17PPmam2hu2xYcZLxI8eHav8uzQJWCYTzg4my<br>
uVy8JTbQ6odtx7hiJSpTiY6cYOaa2TcRbroQNKmOsHIQ3em86Esme4cOlPiJ6vds<br>
VbBHZXh3NqSjWcmAc5ysTmP7j9ATIn1&#43;ZWlXAZEXAi3mBKme&#43;VGGraO079bhR7Y=3D<=
br>
=3DzfUl<br>
-----END PGP SIGNATURE-----<br>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;h=
eight:79px;margin:0;border:none"></a></td>
<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>
</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px">&#43;1 720.317.2061</span><=
/font></td>
</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=85</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;height:23px;border:none;margin:0"><=
/a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google&#43;" target=3D"_blank">
<img alt=3D"Google&#43; logo" src=3D"http://4.pingidentity.com/rs/pingident=
ity/images/google%2B.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a>=
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=9623 July, 2014 | Monterey, CA" target=3D"_blank=
"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identity Rev=
olution | 19=9623 July, 2014 | Monterey, CA" src=3D"http://4.pingidentity.c=
om/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172px;height:81p=
x;margin:0;border:none"></a></td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
_______________________________________________<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">https://www.ietf.org=
/mailman/listinfo/jose</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>

--_000_C4F202FB5B5E4A6FBB00870C01A60005adobecom_--


From nobody Wed May  7 07:31:08 2014
Return-Path: <Axel.Nennker@telekom.de>
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 4E6DD1A0779 for <jose@ietfa.amsl.com>; Wed,  7 May 2014 07:31:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.445
X-Spam-Level: 
X-Spam-Status: No, score=-0.445 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.651] 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 q0z5vUCEkrbK for <jose@ietfa.amsl.com>; Wed,  7 May 2014 07:31:02 -0700 (PDT)
Received: from tcmail23.telekom.de (tcmail23.telekom.de [80.149.113.243]) by ietfa.amsl.com (Postfix) with ESMTP id BA11C1A0780 for <jose@ietf.org>; Wed,  7 May 2014 07:31:01 -0700 (PDT)
Received: from he111527.emea1.cds.t-internal.com ([10.125.90.86]) by tcmail21.telekom.de with ESMTP/TLS/AES128-SHA; 07 May 2014 16:30:55 +0200
Received: from HE111541.emea1.cds.t-internal.com ([10.125.90.97]) by HE111527.EMEA1.CDS.T-INTERNAL.COM ([2002:7cd:5a56::7cd:5a56]) with mapi; Wed, 7 May 2014 16:30:55 +0200
From: <Axel.Nennker@telekom.de>
To: <asanso@adobe.com>, <jricher@mitre.org>
Date: Wed, 7 May 2014 16:30:49 +0200
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaN0j6y9pFg73WUeWYaQCNSAO4ZszSwUAgABAhACAAAElAIAAAQQAgAAHpICAAOTKgIAAFNOAgAA5+wCAAEblgIAADyQAgAAMGwCAAAMegIAAAFgA
Message-ID: <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com>
In-Reply-To: <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com>
Accept-Language: de-DE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: multipart/alternative; boundary="_000_CE8995AB5D178F44A2154F5C9A97CAF402631C603DFAHE111541eme_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/9clbT1W8bEOiYRhx9-y2Nnr78uQ
Cc: bcampbell@pingidentity.com, jose@ietf.org, mamille2@cisco.com
Subject: Re: [jose] RSA-OAEP-256 Example
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, 07 May 2014 14:31:06 -0000

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

Does "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" mean that SHA-256 must be used f=
or padding too?

I did not read it so.

Did somebody manage to use JCA correctly with one algorithm specifier like =
RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?



Axel

A.2.<http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#r=
fc.appendix.A.2> Key Management Algorithm Identifier Cross-Reference<http:/=
/tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#EncAlgXref>

This section contains a table cross-referencing the JWE alg (algorithm) val=
ues defined in this specification with the equivalent identifiers used by o=
ther standards and software packages.
JWE

XML ENC

JCA

OID

RSA1_5

http://www.w3.org/2001/04/xmlenc#rsa-1_5

RSA/ECB/PKCS1Padding

1.2.840.113549.1.1.1

RSA-OAEP

http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p

RSA/ECB/OAEPWithSHA-1AndMGF1Padding

1.2.840.113549.1.1.7

RSA-OAEP-256

http://www.w3.org/2009/xmlenc11#rsa-oaep

RSA/ECB/OAEPWithSHA-256AndMGF1Padding

1.2.840.113549.1.1.7






-----Original Message-----
From: Antonio Sanso [mailto:asanso@adobe.com]
Sent: Wednesday, May 07, 2014 4:24 PM
To: Richer, Justin P.
Cc: Brian Campbell; Matt Miller; jose@ietf.org; Nennker, Axel
Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example



On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de<=
mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de>> wrote:

> I think that the java implementations implemented the spec and

> everything is ok from that POV.

>

> These implementations are not broken.



The JOSE Java implementations did not implement the spec, though.

draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and mas=
k generation functions are to use the same algorithm -- SHA-1 (and

MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with

SHA-256) in the case of "RSA-OAEP-256".



>

>

>

> One could argue that when we replace SHA-1 by SHA-256 in one place

> then we might consider to replace it in the padding too.



That is exactly what draft-ietf-jose-json-web-algorithms specified.



>

> My feeling is that using sha-256 for the padding does not give us more

> security. YMMW

>



That is a separate debate, I think.  The prevailing opinion (at least aroun=
d the IETF) is "don't mix the algorithms".





--

- m&m



Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com<mailto:mamille2@=
cisco.com%3cmailto:mamille2@cisco.com>> > Cisco Systems, Inc.



>

>

>

>

> *From:*jose

> [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org><mailto:jose-b=
ounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e>] *On

> Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM

> *To:* Matt Miller

> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org<mailto:jose@ietf.=
org%3cmailto:jose@ietf.org>> *Subject:*

> Re: [jose]

> RSA-OAEP-256 Example

>

>

>

> Thanks Matt.

>

> That is why I was looking for someone to verify using a different

> platform. Though I was hoping it'd just work.

>

> Matt, can you try decrypting this one by chance? Using the same key. I

> was more explicit with the parameters and, I think, MGF1 should be

> using SHA-256 now too.

>

>

> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj

> jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ

> 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpi

> OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j

> L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPu

> BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9

> _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G

> Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w

>

>

>

>

> On Tue, May 6, 2014 at 8:39 PM, Matt Miller

> <mamille2@cisco.com<mailto:mamille2@cisco.com<mailto:mamille2@cisco.com%3=
cmailto:mamille2@cisco.com>>

> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com<mailto:mamille2@cisc=
o.com%3cmailto:mamille2@cisco.com>>>> wrote:

>

> Short answer: You are all equally broken -- except from a certain

> point of view d-:

>

> Long answer: The code I have is based on OpenSSL, which is hard-coded

> to use SHA1 for the hash and mask generation (boo!), which means one

> has to implement OAEP-SHA256 from scratch (hiss!!).

>

> When I implemented it per RFC 3447 and

> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not

> decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I

> could decrypt provided results.  A search through BouncyCastle's code

> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash

> function of

> SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further

> evidence is shown with how [FORGE] can be made to work with Java

> (search their homepage for "Compatible with Java's

> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").

>

> Reconciling all of this with

> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be

> very straight-forward.  It appears that the JCA identifier is meant to

> be "MGF1 with SHA1"; that ought to be explicitly noted.

> The XMLENC reference is arguably incomplete, since

> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to

> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can

> probably be addressed by explicitly stating the mask generation

> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"

> (MGF1 with SHA-256).

>

>

>

>

>

--_000_CE8995AB5D178F44A2154F5C9A97CAF402631C603DFAHE111541eme_
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=3DContent-Type content=
=3D"text/html; charset=3Diso-8859-1"><meta name=3DGenerator content=3D"Micr=
osoft 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:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h1
	{mso-style-priority:9;
	mso-style-link:"Heading 1 Char";
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:24.0pt;
	font-family:"Times New Roman","serif";
	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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
samp
	{mso-style-priority:99;
	font-family:"Courier New";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
span.Heading1Char
	{mso-style-name:"Heading 1 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 1";
	font-family:"Times New Roman","serif";
	font-weight:bold;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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 vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoPlainText>Does &#8220;R=
SA/ECB/OAEPWithSHA-1AndMGF1Padding&#8221; mean that SHA-256 must be used fo=
r padding too?<o:p></o:p></p><p class=3DMsoPlainText>I did not read it so.<=
o:p></o:p></p><p class=3DMsoPlainText>Did somebody manage to use JCA correc=
tly with one algorithm specifier like RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWi=
thSHA-256?<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p cl=
ass=3DMsoPlainText>Axel<o:p></o:p></p><h1><a href=3D"http://tools.ietf.org/=
id/draft-ietf-jose-json-web-algorithms-26.html#rfc.appendix.A.2">A.2.</a> <=
a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.h=
tml#EncAlgXref" id=3DEncAlgXref>Key Management Algorithm Identifier Cross-R=
eference</a><o:p></o:p></h1><p id=3Drfc.section.A.2.p.1>This section contai=
ns a table cross-referencing the JWE <samp>alg</samp> (algorithm) values de=
fined in this specification with the equivalent identifiers used by other s=
tandards and software packages. <o:p></o:p></p><table class=3DMsoNormalTabl=
e border=3D0 cellspacing=3D0 cellpadding=3D0><thead><tr><td style=3D'paddin=
g:2.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal align=3Dcenter style=3D=
'text-align:center'><b>JWE</b><b><span style=3D'font-size:12.0pt'><o:p></o:=
p></span></b></p></td><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p =
class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><b>XML ENC</b>=
<b><span style=3D'font-size:12.0pt'><o:p></o:p></span></b></p></td><td styl=
e=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal align=3Dcent=
er style=3D'text-align:center'><b>JCA</b><b><span style=3D'font-size:12.0pt=
'><o:p></o:p></span></b></p></td><td style=3D'padding:2.25pt 2.25pt 2.25pt =
2.25pt'><p class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><b>=
OID</b><b><span style=3D'font-size:12.0pt'><o:p></o:p></span></b></p></td><=
/tr></thead><tr><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=
=3DMsoNormal>RSA1_5<span style=3D'font-size:12.0pt'><o:p></o:p></span></p><=
/td><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal>=
http://www.w3.org/2001/04/xmlenc#rsa-1_5<span style=3D'font-size:12.0pt'><o=
:p></o:p></span></p></td><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>=
<p class=3DMsoNormal>RSA/ECB/PKCS1Padding<span style=3D'font-size:12.0pt'><=
o:p></o:p></span></p></td><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'=
><p class=3DMsoNormal>1.2.840.113549.1.1.1<span style=3D'font-size:12.0pt'>=
<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:2.25pt 2.25pt 2.25=
pt 2.25pt'><p class=3DMsoNormal>RSA-OAEP<span style=3D'font-size:12.0pt'><o=
:p></o:p></span></p></td><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>=
<p class=3DMsoNormal>http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p<span s=
tyle=3D'font-size:12.0pt'><o:p></o:p></span></p></td><td style=3D'padding:2=
.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal>RSA/ECB/OAEPWithSHA-1AndMG=
F1Padding<span style=3D'font-size:12.0pt'><o:p></o:p></span></p></td><td st=
yle=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal>1.2.840.11=
3549.1.1.7<span style=3D'font-size:12.0pt'><o:p></o:p></span></p></td></tr>=
<tr><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal>=
RSA-OAEP-256<span style=3D'font-size:12.0pt'><o:p></o:p></span></p></td><td=
 style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=3DMsoNormal>http://=
www.w3.org/2009/xmlenc11#rsa-oaep<span style=3D'font-size:12.0pt'><o:p></o:=
p></span></p></td><td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'><p clas=
s=3DMsoNormal>RSA/ECB/OAEPWithSHA-256AndMGF1Padding<span style=3D'font-size=
:12.0pt'><o:p></o:p></span></p></td><td style=3D'padding:2.25pt 2.25pt 2.25=
pt 2.25pt'><p class=3DMsoNormal>1.2.840.113549.1.1.7<span style=3D'font-siz=
e:12.0pt'><o:p></o:p></span></p></td></tr></table><p class=3DMsoPlainText><=
o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=
=3DMsoPlainText>-----Original Message-----<br>From: Antonio Sanso [mailto:a=
sanso@adobe.com] <br>Sent: Wednesday, May 07, 2014 4:24 PM<br>To: Richer, J=
ustin P.<br>Cc: Brian Campbell; Matt Miller; jose@ietf.org; Nennker, Axel<b=
r>Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example<=
/p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>On =
5/7/14, 2:21 AM, <a href=3D"mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Ne=
nnker@telekom.de"><span style=3D'color:windowtext;text-decoration:none'>Axe=
l.Nennker@telekom.de&lt;mailto:Axel.Nennker@telekom.de</span></a>&gt; wrote=
:<o:p></o:p></p><p class=3DMsoPlainText>&gt; I think that the java implemen=
tations implemented the spec and <o:p></o:p></p><p class=3DMsoPlainText>&gt=
; everything is ok from that POV.<o:p></o:p></p><p class=3DMsoPlainText>&gt=
;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; These implementations ar=
e not broken.<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p=
 class=3DMsoPlainText>The JOSE Java implementations did not implement the s=
pec, though.<o:p></o:p></p><p class=3DMsoPlainText>draft-ietf-jose-json-web=
-algorithms =A7 4.3 clearly states the hash and mask generation functions a=
re to use the same algorithm -- SHA-1 (and<o:p></o:p></p><p class=3DMsoPlai=
nText>MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (an=
d MGF1 with<o:p></o:p></p><p class=3DMsoPlainText>SHA-256) in the case of &=
quot;RSA-OAEP-256&quot;.<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;<=
/o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPla=
inText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:=
p></p><p class=3DMsoPlainText>&gt; One could argue that when we replace SHA=
-1 by SHA-256 in one place <o:p></o:p></p><p class=3DMsoPlainText>&gt; then=
 we might consider to replace it in the padding too.<o:p></o:p></p><p class=
=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>That is exactl=
y what draft-ietf-jose-json-web-algorithms specified.<o:p></o:p></p><p clas=
s=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbs=
p;</o:p></p><p class=3DMsoPlainText>&gt; My feeling is that using sha-256 f=
or the padding does not give us more <o:p></o:p></p><p class=3DMsoPlainText=
>&gt; security. YMMW<o:p></o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;<=
/o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainTe=
xt>That is a separate debate, I think.=A0 The prevailing opinion (at least =
around the IETF) is &quot;don't mix the algorithms&quot;.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><o:p>&nbs=
p;</o:p></p><p class=3DMsoPlainText>--<o:p></o:p></p><p class=3DMsoPlainTex=
t>- m&amp;m<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p c=
lass=3DMsoPlainText>Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com%3=
cmailto:mamille2@cisco.com"><span style=3D'color:windowtext;text-decoration=
:none'>mamille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt; &gt; =
Cisco Systems, Inc.<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p>=
</p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainTex=
t>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p=
><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&=
gt; *From:*jose <o:p></o:p></p><p class=3DMsoPlainText>&gt; [<a href=3D"mai=
lto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e"><span style=3D=
'color:windowtext;text-decoration:none'>mailto:jose-bounces@ietf.org&lt;mai=
lto:jose-bounces@ietf.org&gt;</span></a>] *On <o:p></o:p></p><p class=3DMso=
PlainText>&gt; Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:=
54 AM <o:p></o:p></p><p class=3DMsoPlainText>&gt; *To:* Matt Miller<o:p></o=
:p></p><p class=3DMsoPlainText>&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:=
jose@ietf.org%3cmailto:jose@ietf.org"><span style=3D'color:windowtext;text-=
decoration:none'>jose@ietf.org&lt;mailto:jose@ietf.org</span></a>&gt; *Subj=
ect:* <o:p></o:p></p><p class=3DMsoPlainText>&gt; Re: [jose]<o:p></o:p></p>=
<p class=3DMsoPlainText>&gt; RSA-OAEP-256 Example<o:p></o:p></p><p class=3D=
MsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbs=
p;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMso=
PlainText>&gt; Thanks Matt.<o:p></o:p></p><p class=3DMsoPlainText>&gt;<o:p>=
&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; That is why I was looking for =
someone to verify using a different <o:p></o:p></p><p class=3DMsoPlainText>=
&gt; platform. Though I was hoping it'd just work.<o:p></o:p></p><p class=
=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; Matt,=
 can you try decrypting this one by chance? Using the same key. I <o:p></o:=
p></p><p class=3DMsoPlainText>&gt; was more explicit with the parameters an=
d, I think, MGF1 should be <o:p></o:p></p><p class=3DMsoPlainText>&gt; usin=
g SHA-256 now too.<o:p></o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o=
:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlain=
Text>&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL=
5cMCj<o:p></o:p></p><p class=3DMsoPlainText>&gt; jU9G9_ZjsD2XO0HIwTOwbVwulc=
ZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ<o:p></o:p></p><p class=3DMsoPl=
ainText>&gt; 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eeh=
bCA3gWpi<o:p></o:p></p><p class=3DMsoPlainText>&gt; OYHHvSTFdBPGx2KZHQisLz3=
oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j<o:p></o:p></p><p class=3DMs=
oPlainText>&gt; L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwB=
yGpMleIQcPu<o:p></o:p></p><p class=3DMsoPlainText>&gt; BUseRRPr_OsroOJ6eTl5=
DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9<o:p></o:p></p><p class=
=3DMsoPlainText>&gt; _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yT=
qTbqIqRCp2feAH5G<o:p></o:p></p><p class=3DMsoPlainText>&gt; Svluzmztk2_CkGN=
SjAyoaw.4nMUXOgmgWvM-08tIZ-h5w<o:p></o:p></p><p class=3DMsoPlainText>&gt;<o=
:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p clas=
s=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>=
&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; On Tue, May 6, 2014 at 8:39 PM=
, Matt Miller <o:p></o:p></p><p class=3DMsoPlainText>&gt; &lt;<a href=3D"ma=
ilto:mamille2@cisco.com%3cmailto:mamille2@cisco.com"><span style=3D'color:w=
indowtext;text-decoration:none'>mamille2@cisco.com&lt;mailto:mamille2@cisco=
.com</span></a>&gt;<o:p></o:p></p><p class=3DMsoPlainText>&gt; &lt;<a href=
=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com"><span style=3D'c=
olor:windowtext;text-decoration:none'>mailto:mamille2@cisco.com&lt;mailto:m=
amille2@cisco.com</span></a>&gt;&gt;&gt; wrote:<o:p></o:p></p><p class=3DMs=
oPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; Short answ=
er: You are all equally broken -- except from a certain <o:p></o:p></p><p c=
lass=3DMsoPlainText>&gt; point of view d-:<o:p></o:p></p><p class=3DMsoPlai=
nText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; Long answer: Th=
e code I have is based on OpenSSL, which is hard-coded <o:p></o:p></p><p cl=
ass=3DMsoPlainText>&gt; to use SHA1 for the hash and mask generation (boo!)=
, which means one <o:p></o:p></p><p class=3DMsoPlainText>&gt; has to implem=
ent OAEP-SHA256 from scratch (hiss!!).<o:p></o:p></p><p class=3DMsoPlainTex=
t>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt; When I implemented =
it per RFC 3447 and <o:p></o:p></p><p class=3DMsoPlainText>&gt; draft-ietf-=
jose-json-web-algorithms-26#section-4.3, I could not <o:p></o:p></p><p clas=
s=3DMsoPlainText>&gt; decrypt the provided results.=A0 When I hard-coded MG=
F1 to use &quot;SHA1&quot;, I <o:p></o:p></p><p class=3DMsoPlainText>&gt; c=
ould decrypt provided results.=A0 A search through BouncyCastle's code <o:p=
></o:p></p><p class=3DMsoPlainText>&gt; shows that &quot;RSA/ECB/OAEPWithSH=
A-256AndMGF1Padding&quot; uses a Hash <o:p></o:p></p><p class=3DMsoPlainTex=
t>&gt; function of<o:p></o:p></p><p class=3DMsoPlainText>&gt; SHA-256 gener=
ate the lHash but its MGF1 uses a &quot;SHA-1&quot;. Further <o:p></o:p></p=
><p class=3DMsoPlainText>&gt; evidence is shown with how [FORGE] can be mad=
e to work with Java <o:p></o:p></p><p class=3DMsoPlainText>&gt; (search the=
ir homepage for &quot;Compatible with Java's <o:p></o:p></p><p class=3DMsoP=
lainText>&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<o:p></o:p></p><=
p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt=
; Reconciling all of this with<o:p></o:p></p><p class=3DMsoPlainText>&gt; d=
raft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be <o:p></=
o:p></p><p class=3DMsoPlainText>&gt; very straight-forward.=A0 It appears t=
hat the JCA identifier is meant to <o:p></o:p></p><p class=3DMsoPlainText>&=
gt; be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted.<o:p><=
/o:p></p><p class=3DMsoPlainText>&gt; The XMLENC reference is arguably inco=
mplete, since <o:p></o:p></p><p class=3DMsoPlainText>&gt; &quot;<a href=3D"=
http://www.w3.org/2009/xmlenc11#rsa-oaep"><span style=3D'color:windowtext;t=
ext-decoration:none'>http://www.w3.org/2009/xmlenc11#rsa-oaep</span></a>&qu=
ot; defaults to <o:p></o:p></p><p class=3DMsoPlainText>&gt; &quot;<a href=
=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1"><span style=3D'color:windowte=
xt;text-decoration:none'>http://www.w3.org/2009/xmlenc11#mgf1sha1</span></a=
>&quot; (MGF1 with SHA1); this can <o:p></o:p></p><p class=3DMsoPlainText>&=
gt; probably be addressed by explicitly stating the mask generation <o:p></=
o:p></p><p class=3DMsoPlainText>&gt; function is &quot;<a href=3D"http://ww=
w.w3.org/2009/xmlenc11#mgf1sha256"><span style=3D'color:windowtext;text-dec=
oration:none'>http://www.w3.org/2009/xmlenc11#mgf1sha256</span></a>&quot;<o=
:p></o:p></p><p class=3DMsoPlainText>&gt; (MGF1 with SHA-256).<o:p></o:p></=
p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>=
&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><=
p class=3DMsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>&gt=
;<o:p>&nbsp;</o:p></p></div></body></html>=

--_000_CE8995AB5D178F44A2154F5C9A97CAF402631C603DFAHE111541eme_--


From nobody Fri May  9 06:33:39 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 E4A971A02A6 for <jose@ietfa.amsl.com>; Fri,  9 May 2014 06:33:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.076
X-Spam-Level: ***
X-Spam-Status: No, score=3.076 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=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 l8C7vKnege4x for <jose@ietfa.amsl.com>; Fri,  9 May 2014 06:33:33 -0700 (PDT)
Received: from psmtp.com (na3sys009aob139.obsmtp.com [74.125.149.251]) by ietfa.amsl.com (Postfix) with ESMTP id 5B43C1A0085 for <jose@ietf.org>; Fri,  9 May 2014 06:33:33 -0700 (PDT)
Received: from mail-ig0-f177.google.com ([209.85.213.177]) (using TLSv1) by na3sys009aob139.postini.com ([74.125.148.12]) with SMTP ID DSNKU2zZKMK1W8axFGuNI1BoQnqg9ooquc5G@postini.com; Fri, 09 May 2014 06:33:28 PDT
Received: by mail-ig0-f177.google.com with SMTP id l13so1118689iga.16 for <jose@ietf.org>; Fri, 09 May 2014 06:33:25 -0700 (PDT)
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=K8RBqEP5CkAXX3h1CoHh1XZiRBe69k8aEBr2kpBvEkM=; b=aXrpe1Go4ZN53ES0HGQbPEWgPYVH611sezipeIhKzdPpjWU6DMOgYQrCEuGLpGMy4J 5f2Uzf3JMlAsZxHnoSAB8WIxbcEW1t3voC2CrUNR7Pj0LYNQ3HjDw1lPTYFVDrMS4gGd vsw4gQDrJ5brZ6T7b4w2P19XjujdrybBaXhHcLMXemLpiEyRk2tURLUpKSSnsEIRYtn9 0SFRlY3Gj08FkOnxRb+EymKtKhsFOMasSUrVWAKIOGMs7vdMc+0ek17JZDGFM2/FwYQh AvePs5SSWAHDLGY4OrFOB62DXvpGgtknOULxcgVOYWqJXCPdidXqpAJkO92tCDgckMav U4oQ==
X-Gm-Message-State: ALoCoQnoGbFidJ9T+WyXN6f5E1FBHRGOYO8QUd2DnqUdKVYLygw/cKdOztHXRE/2oMb275Z1JyFcv6uZb8nyp40BLeFkJWJ6142/cswWHmc5LjupTuI65qVcDXzwJma0GvlDV/624UWY
X-Received: by 10.51.17.5 with SMTP id ga5mr9490951igd.2.1399642405572; Fri, 09 May 2014 06:33:25 -0700 (PDT)
X-Received: by 10.51.17.5 with SMTP id ga5mr9490931igd.2.1399642405421; Fri, 09 May 2014 06:33:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Fri, 9 May 2014 06:32:55 -0700 (PDT)
In-Reply-To: <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 9 May 2014 07:32:55 -0600
Message-ID: <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com>
To: Axel Nennker <Axel.Nennker@telekom.de>
Content-Type: multipart/alternative; boundary=001a1135e1da635bd404f8f7a47d
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/07Y6uCHHYn12txBDr_Dy_Jmq4Z0
Cc: Antonio Sanso <asanso@adobe.com>, Justin Richer <jricher@mitre.org>, "jose@ietf.org" <jose@ietf.org>, Matthew Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 09 May 2014 13:33:36 -0000

--001a1135e1da635bd404f8f7a47d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-4=
.3is
pretty clear about which parameters and hash functions to use in which
OAEP alg.

http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#appendix-=
A.2that
you refer to Axel probably needs to be updated because just listing
RSA/ECB/OAEPWithSHA-256AndMGF1Padding
for RSA-OAPE-265 isn't completely correct (well, maybe it is correct but a
bit more is also needed).

In order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a Cipher
with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also initialize it with
an OAEPParameterSpec that indicates that
SHA-256 is to be used for MGF1 too. That looks something like this (or this
is how I did it anyway):

   Cipher cipher =3D
Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");
   OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec("SHA-256", "MGF1",
MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
   cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);

The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant with
what's specified in the OAEPParameterSpec but I've not been able to figure
out any other way to make it work. I don't know exactly how to say that in
the Key Management Algorithm Identifier Cross-Reference but that's
apparently what needs to be done.





On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de> wrote:

> Does =E2=80=9CRSA/ECB/OAEPWithSHA-1AndMGF1Padding=E2=80=9D mean that SHA-=
256 must be used
> for padding too?
>
> I did not read it so.
>
> Did somebody manage to use JCA correctly with one algorithm specifier lik=
e
> RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?
>
>
>
> Axel
> A.2.<http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html=
#rfc.appendix.A.2> Key
> Management Algorithm Identifier Cross-Reference<http://tools.ietf.org/id/=
draft-ietf-jose-json-web-algorithms-26.html#EncAlgXref>
>
> This section contains a table cross-referencing the JWE alg (algorithm)
> values defined in this specification with the equivalent identifiers used
> by other standards and software packages.
>
> *JWE*
>
> *XML ENC*
>
> *JCA*
>
> *OID*
>
> RSA1_5
>
> http://www.w3.org/2001/04/xmlenc#rsa-1_5
>
> RSA/ECB/PKCS1Padding
>
> 1.2.840.113549.1.1.1
>
> RSA-OAEP
>
> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
>
> RSA/ECB/OAEPWithSHA-1AndMGF1Padding
>
> 1.2.840.113549.1.1.7
>
> RSA-OAEP-256
>
> http://www.w3.org/2009/xmlenc11#rsa-oaep
>
> RSA/ECB/OAEPWithSHA-256AndMGF1Padding
>
> 1.2.840.113549.1.1.7
>
>
>
>
>
> -----Original Message-----
> From: Antonio Sanso [mailto:asanso@adobe.com]
> Sent: Wednesday, May 07, 2014 4:24 PM
> To: Richer, Justin P.
> Cc: Brian Campbell; Matt Miller; jose@ietf.org; Nennker, Axel
> Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example
>
>
>
> On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.d=
e>
> wrote:
>
> > I think that the java implementations implemented the spec and
>
> > everything is ok from that POV.
>
> >
>
> > These implementations are not broken.
>
>
>
> The JOSE Java implementations did not implement the spec, though.
>
> draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states the hash an=
d mask
> generation functions are to use the same algorithm -- SHA-1 (and
>
> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with
>
> SHA-256) in the case of "RSA-OAEP-256".
>
>
>
> >
>
> >
>
> >
>
> > One could argue that when we replace SHA-1 by SHA-256 in one place
>
> > then we might consider to replace it in the padding too.
>
>
>
> That is exactly what draft-ietf-jose-json-web-algorithms specified.
>
>
>
> >
>
> > My feeling is that using sha-256 for the padding does not give us more
>
> > security. YMMW
>
> >
>
>
>
> That is a separate debate, I think.  The prevailing opinion (at least
> around the IETF) is "don't mix the algorithms".
>
>
>
>
>
> --
>
> - m&m
>
>
>
> Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com> > Cisco
> Systems, Inc.
>
>
>
> >
>
> >
>
> >
>
> >
>
> > *From:*jose
>
> > [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org><jose-bounce=
s@ietf.org%3cmailto:jose-bounces@ietf.org%3e>]
> *On
>
> > Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM
>
> > *To:* Matt Miller
>
> > *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org> *Subject:*
>
> > Re: [jose]
>
> > RSA-OAEP-256 Example
>
> >
>
> >
>
> >
>
> > Thanks Matt.
>
> >
>
> > That is why I was looking for someone to verify using a different
>
> > platform. Though I was hoping it'd just work.
>
> >
>
> > Matt, can you try decrypting this one by chance? Using the same key. I
>
> > was more explicit with the parameters and, I think, MGF1 should be
>
> > using SHA-256 now too.
>
> >
>
> >
>
> > eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj
>
> > jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ
>
> > 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpi
>
> > OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j
>
> > L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPu
>
> > BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9
>
> > _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G
>
> > Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w
>
> >
>
> >
>
> >
>
> >
>
> > On Tue, May 6, 2014 at 8:39 PM, Matt Miller
>
> > <mamille2@cisco.com<mailto:mamille2@cisco.com>
>
> > <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com<mamille2@cisco.com=
%3cmailto:mamille2@cisco.com>>>>
> wrote:
>
> >
>
> > Short answer: You are all equally broken -- except from a certain
>
> > point of view d-:
>
> >
>
> > Long answer: The code I have is based on OpenSSL, which is hard-coded
>
> > to use SHA1 for the hash and mask generation (boo!), which means one
>
> > has to implement OAEP-SHA256 from scratch (hiss!!).
>
> >
>
> > When I implemented it per RFC 3447 and
>
> > draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
>
> > decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
>
> > could decrypt provided results.  A search through BouncyCastle's code
>
> > shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
>
> > function of
>
> > SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
>
> > evidence is shown with how [FORGE] can be made to work with Java
>
> > (search their homepage for "Compatible with Java's
>
> > RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
>
> >
>
> > Reconciling all of this with
>
> > draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
>
> > very straight-forward.  It appears that the JCA identifier is meant to
>
> > be "MGF1 with SHA1"; that ought to be explicitly noted.
>
> > The XMLENC reference is arguably incomplete, since
>
> > "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
>
> > "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
>
> > probably be addressed by explicitly stating the mask generation
>
> > function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
>
> > (MGF1 with SHA-256).
>
> >
>
> >
>
> >
>
> >
>
> >
>



--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--001a1135e1da635bd404f8f7a47d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><font><a href=3D"http://tools.ietf.org/html/draf=
t-ietf-jose-json-web-algorithms-26#section-4.3">http://tools.ietf.org/html/=
draft-ietf-jose-json-web-algorithms-26#section-4.3</a> is pretty clear abou=
t which parameters and hash functions to use in which OAEP alg. <br>

<br><a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorith=
ms-26#appendix-A.2">http://tools.ietf.org/html/draft-ietf-jose-json-web-alg=
orithms-26#appendix-A.2</a> that you refer to Axel probably needs to be upd=
ated because just listing <span style=3D"color:rgb(51,51,51);font-family:Ar=
ial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;let=
ter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text-t=
ransform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,=
255,255);display:inline!important;float:none">RSA/ECB/OAEPWithSHA-256AndMGF=
1Padding for RSA-OAPE-265 isn&#39;t completely correct (well, maybe it is c=
orrect but a bit more is also needed). <br>

<br></span></font></div><font><span style=3D"color:rgb(51,51,51);font-famil=
y:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal=
;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;te=
xt-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(=
255,255,255);display:inline!important;float:none">In order to do RSA-OAPE-2=
65 correctly using the JCA APIs, one gets a Cipher with RSA/ECB/OAEPWithSHA=
-256AndMGF1Padding and then also initialize it with an OAEPParameterSpec th=
at indicates that </span><br>

<span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-style:=
normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-he=
ight:20px;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!im=
portant;float:none"><span style=3D"color:rgb(51,51,51);font-family:Arial,sa=
ns-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none">SHA-256 is to be used for MGF1 too.=
</span></span><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-ser=
if;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:=
normal;line-height:20px;text-align:start;text-indent:0px;text-transform:non=
e;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);dis=
play:inline!important;float:none"> That looks something like this (or this =
is how I did it anyway):<br>

</span>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <br></font></div><font><span st=
yle=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-style:normal;f=
ont-variant:normal;font-weight:normal;letter-spacing:normal;line-height:20p=
x;text-align:start;text-indent:0px;text-transform:none;white-space:normal;w=
ord-spacing:0px;background-color:rgb(255,255,255);display:inline!important;=
float:none"></span></font><div>

<font><font size=3D"1"><span style=3D"color:rgb(51,51,51);font-family:Arial=
,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter=
-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text-tran=
sform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255=
,255);display:inline!important;float:none">=C2=A0=C2=A0 Cipher cipher =3D C=
ipher.getInstance(&quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;);<br>

=C2=A0=C2=A0 OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec(&quot;SHA=
-256&quot;, &quot;MGF1&quot;, MGF1ParameterSpec.SHA256, PSource.PSpecified.=
DEFAULT);<br>=C2=A0=C2=A0 cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec=
);</span></font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-s=
erif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacin=
g:normal;line-height:20px;text-align:start;text-indent:0px;text-transform:n=
one;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);d=
isplay:inline!important;float:none"><br>

<br></span></font></div><div><font><span style=3D"color:rgb(51,51,51);font-=
family:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:n=
ormal;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0=
px;text-transform:none;white-space:normal;word-spacing:0px;background-color=
:rgb(255,255,255);display:inline!important;float:none"><span style=3D"color=
:rgb(51,51,51);font-family:Arial,sans-serif;font-style:normal;font-variant:=
normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-align=
:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:=
0px;background-color:rgb(255,255,255);display:inline!important;float:none">=
The &quot;...WithSHA-256AndMGF1Padding&quot; part seems somewhat redundant =
with what&#39;s specified in the OAEPParameterSpec but I&#39;ve not been ab=
le to figure out any other way to make it work. </span>I don&#39;t know exa=
ctly how to say that in the Key Management Algorithm Identifier Cross-Refer=
ence but that&#39;s apparently what needs to be done.<br>

<br></span></font></div><div><span style=3D"color:rgb(51,51,51);font-family=
:Arial,sans-serif;font-size:14px;font-style:normal;font-variant:normal;font=
-weight:normal;letter-spacing:normal;line-height:20px;text-align:start;text=
-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;backgro=
und-color:rgb(255,255,255);display:inline!important;float:none"><br>

</span></div><div><span style=3D"color:rgb(51,51,51);font-family:Arial,sans=
-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:nor=
mal;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px=
;text-transform:none;white-space:normal;word-spacing:0px;background-color:r=
gb(255,255,255);display:inline!important;float:none"><br>

</span></div></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_q=
uote">On Wed, May 7, 2014 at 8:30 AM,  <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:Axel.Nennker@telekom.de" target=3D"_blank">Axel.Nennker@telekom.de</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 link=3D"blue" vlink=3D"purple" lang=3D"=
EN-US"><div><p>Does =E2=80=9CRSA/ECB/OAEPWithSHA-1AndMGF1Padding=E2=80=9D m=
ean that SHA-256 must be used for padding too?<u></u><u></u></p>

<p>I did not read it so.<u></u><u></u></p><p>Did somebody manage to use JCA=
 correctly with one algorithm specifier like RSA/ECB/OAEPWithSHA-1AndMGF1Pa=
ddingWithSHA-256?<u></u><u></u></p><p><u></u>=C2=A0<u></u></p><p>Axel<u></u=
><u></u></p>

<h1><a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#rfc.appendix.A.2" target=3D"_blank">A.2.</a> <a href=3D"http://too=
ls.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#EncAlgXref" targ=
et=3D"_blank">Key Management Algorithm Identifier Cross-Reference</a><u></u=
><u></u></h1>

<p>This section contains a table cross-referencing the JWE <samp>alg</samp>=
 (algorithm) values defined in this specification with the equivalent ident=
ifiers used by other standards and software packages. <u></u><u></u></p>

<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><thead><tr><td styl=
e=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNormal" style=3D"t=
ext-align:center" align=3D"center"><b>JWE</b><b><span style=3D"font-size:12=
.0pt"><u></u><u></u></span></b></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l" style=3D"text-align:center" align=3D"center"><b>XML ENC</b><b><span styl=
e=3D"font-size:12.0pt"><u></u><u></u></span></b></p></td><td style=3D"paddi=
ng:2.25pt 2.25pt 2.25pt 2.25pt">

<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>JCA<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p></td><t=
d style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNormal" styl=
e=3D"text-align:center" align=3D"center">

<b>OID</b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>=
</td></tr></thead><tbody><tr><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25=
pt"><p class=3D"MsoNormal">RSA1_5<span style=3D"font-size:12.0pt"><u></u><u=
></u></span></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l"><a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-1_5" target=3D"_blank">h=
ttp://www.w3.org/2001/04/xmlenc#rsa-1_5</a><span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l">RSA/ECB/PKCS1Padding<span style=3D"font-size:12.0pt"><u></u><u></u></spa=
n></p></td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"Ms=
oNormal">

1.2.840.113549.1.1.1<span style=3D"font-size:12.0pt"><u></u><u></u></span><=
/p></td></tr><tr><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=
=3D"MsoNormal">RSA-OAEP<span style=3D"font-size:12.0pt"><u></u><u></u></spa=
n></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l"><a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" target=3D"_b=
lank">http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</a><span style=3D"fon=
t-size:12.0pt"><u></u><u></u></span></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l">RSA/ECB/OAEPWithSHA-1AndMGF1Padding<span style=3D"font-size:12.0pt"><u><=
/u><u></u></span></p></td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"=
><p class=3D"MsoNormal">

1.2.840.113549.1.1.7<span style=3D"font-size:12.0pt"><u></u><u></u></span><=
/p></td></tr><tr><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=
=3D"MsoNormal">RSA-OAEP-256<span style=3D"font-size:12.0pt"><u></u><u></u><=
/span></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l"><a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=3D"_blank">h=
ttp://www.w3.org/2009/xmlenc11#rsa-oaep</a><span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>

</td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt"><p class=3D"MsoNorma=
l">RSA/ECB/OAEPWithSHA-256AndMGF1Padding<span style=3D"font-size:12.0pt"><u=
></u><u></u></span></p></td><td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25p=
t">
<p class=3D"MsoNormal">
1.2.840.113549.1.1.7<span style=3D"font-size:12.0pt"><u></u><u></u></span><=
/p></td></tr></tbody></table><p><u></u>=C2=A0<u></u></p><p><u></u>=C2=A0<u>=
</u></p><p>-----Original Message-----<br>From: Antonio Sanso [mailto:<a hre=
f=3D"mailto:asanso@adobe.com" target=3D"_blank">asanso@adobe.com</a>] <br>

Sent: Wednesday, May 07, 2014 4:24 PM<br>To: Richer, Justin P.<br>Cc: Brian=
 Campbell; Matt Miller; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">=
jose@ietf.org</a>; Nennker, Axel<br>Subject: ***CAUTION_Invalid_Signature**=
* Re: [jose] RSA-OAEP-256 Example</p>

<div class=3D""><p><u></u>=C2=A0<u></u></p><p>On 5/7/14, 2:21 AM, <a href=
=3D"mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de" target=
=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">Axel.Nenn=
ker@telekom.de&lt;mailto:Axel.Nennker@telekom.de</span></a>&gt; wrote:<u></=
u><u></u></p>

<p>&gt; I think that the java implementations implemented the spec and <u><=
/u><u></u></p><p>&gt; everything is ok from that POV.<u></u><u></u></p><p>&=
gt;<u></u>=C2=A0<u></u></p><p>&gt; These implementations are not broken.<u>=
</u><u></u></p>

<p><u></u>=C2=A0<u></u></p><p>The JOSE Java implementations did not impleme=
nt the spec, though.<u></u><u></u></p><p>draft-ietf-jose-json-web-algorithm=
s =C2=A7 4.3 clearly states the hash and mask generation functions are to u=
se the same algorithm -- SHA-1 (and<u></u><u></u></p>

<p>MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (and M=
GF1 with<u></u><u></u></p><p>SHA-256) in the case of &quot;RSA-OAEP-256&quo=
t;.<u></u><u></u></p><p><u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u>=
</p><p>

&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; One coul=
d argue that when we replace SHA-1 by SHA-256 in one place <u></u><u></u></=
p><p>&gt; then we might consider to replace it in the padding too.<u></u><u=
></u></p>

<p><u></u>=C2=A0<u></u></p><p>That is exactly what draft-ietf-jose-json-web=
-algorithms specified.<u></u><u></u></p><p><u></u>=C2=A0<u></u></p><p>&gt;<=
u></u>=C2=A0<u></u></p><p>&gt; My feeling is that using sha-256 for the pad=
ding does not give us more <u></u><u></u></p>

<p>&gt; security. YMMW<u></u><u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p><=
u></u>=C2=A0<u></u></p><p>That is a separate debate, I think.=C2=A0 The pre=
vailing opinion (at least around the IETF) is &quot;don&#39;t mix the algor=
ithms&quot;.<u></u><u></u></p>

<p><u></u>=C2=A0<u></u></p><p><u></u>=C2=A0<u></u></p><p>--<u></u><u></u></=
p></div><p>- m&amp;m<u></u><u></u></p><p><u></u>=C2=A0<u></u></p><p>Matt Mi=
ller &lt; <a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com"=
 target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">ma=
mille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt; &gt; Cisco Sys=
tems, Inc.<u></u><u></u></p>

<p><u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=
=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p=
><p>&gt; *From:*jose <u></u><u></u></p><p>&gt; [<a href=3D"mailto:jose-boun=
ces@ietf.org%3cmailto:jose-bounces@ietf.org%3e" target=3D"_blank"><span sty=
le=3D"color:windowtext;text-decoration:none">mailto:jose-bounces@ietf.org&l=
t;mailto:jose-bounces@ietf.org&gt;</span></a>] *On <u></u><u></u></p>

<div class=3D""><p>&gt; Behalf Of *Brian Campbell *Sent:* Wednesday, May 07=
, 2014 6:54 AM <u></u><u></u></p><p>&gt; *To:* Matt Miller<u></u><u></u></p=
></div><p>&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org%3cmailt=
o:jose@ietf.org" target=3D"_blank"><span style=3D"color:windowtext;text-dec=
oration:none">jose@ietf.org&lt;mailto:jose@ietf.org</span></a>&gt; *Subject=
:* <u></u><u></u></p>

<div class=3D""><p>&gt; Re: [jose]<u></u><u></u></p><p>&gt; RSA-OAEP-256 Ex=
ample<u></u><u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<=
u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; Thanks Matt.<u></u><u></u>=
</p><p>&gt;<u></u>=C2=A0<u></u></p>

<p>&gt; That is why I was looking for someone to verify using a different <=
u></u><u></u></p><p>&gt; platform. Though I was hoping it&#39;d just work.<=
u></u><u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; Matt, can you try d=
ecrypting this one by chance? Using the same key. I <u></u><u></u></p>

<p>&gt; was more explicit with the parameters and, I think, MGF1 should be =
<u></u><u></u></p><p>&gt; using SHA-256 now too.<u></u><u></u></p><p>&gt;<u=
></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; eyJhbGciOiJSU0=
EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj<u></u><u></u></p>

<p>&gt; jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442=
ZgZ<u></u><u></u></p><p>&gt; 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghG=
txfzdB_VRvFt2eehbCA3gWpi<u></u><u></u></p><p>&gt; OYHHvSTFdBPGx2KZHQisLz3oZ=
R8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j<u></u><u></u></p>

<p>&gt; L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQ=
cPu<u></u><u></u></p><p>&gt; BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7=
X9oXoA.0frdIwx8P8UAzh1s9<u></u><u></u></p><p>&gt; _PgOA.RAzILH0xfs0yxzML1Cz=
zGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G<u></u><u></u></p>

<p>&gt; Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w<u></u><u></u></p><p>&=
gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=
=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; On Tue, May 6, 2014 at=
 8:39 PM, Matt Miller <u></u><u></u></p>

<p>&gt; &lt;<a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.co=
m" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">=
mamille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt;<u></u><u></u=
></p>

</div><div><div class=3D"h5"><p>&gt; &lt;<a href=3D"mailto:mamille2@cisco.c=
om%3cmailto:mamille2@cisco.com" target=3D"_blank"><span style=3D"color:wind=
owtext;text-decoration:none">mailto:mamille2@cisco.com&lt;mailto:mamille2@c=
isco.com</span></a>&gt;&gt;&gt; wrote:<u></u><u></u></p>

<p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; Short answer: You are all equally br=
oken -- except from a certain <u></u><u></u></p><p>&gt; point of view d-:<u=
></u><u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; Long answer: The cod=
e I have is based on OpenSSL, which is hard-coded <u></u><u></u></p>

<p>&gt; to use SHA1 for the hash and mask generation (boo!), which means on=
e <u></u><u></u></p><p>&gt; has to implement OAEP-SHA256 from scratch (hiss=
!!).<u></u><u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; When I impleme=
nted it per RFC 3447 and <u></u><u></u></p>

<p>&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not <u>=
</u><u></u></p><p>&gt; decrypt the provided results.=C2=A0 When I hard-code=
d MGF1 to use &quot;SHA1&quot;, I <u></u><u></u></p><p>&gt; could decrypt p=
rovided results.=C2=A0 A search through BouncyCastle&#39;s code <u></u><u><=
/u></p>

<p>&gt; shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a=
 Hash <u></u><u></u></p><p>&gt; function of<u></u><u></u></p><p>&gt; SHA-25=
6 generate the lHash but its MGF1 uses a &quot;SHA-1&quot;. Further <u></u>=
<u></u></p>

<p>&gt; evidence is shown with how [FORGE] can be made to work with Java <u=
></u><u></u></p><p>&gt; (search their homepage for &quot;Compatible with Ja=
va&#39;s <u></u><u></u></p><p>&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&qu=
ot;).<u></u><u></u></p>

<p>&gt;<u></u>=C2=A0<u></u></p><p>&gt; Reconciling all of this with<u></u><=
u></u></p><p>&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not=
 look to be <u></u><u></u></p><p>&gt; very straight-forward.=C2=A0 It appea=
rs that the JCA identifier is meant to <u></u><u></u></p>

<p>&gt; be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted.<u=
></u><u></u></p><p>&gt; The XMLENC reference is arguably incomplete, since =
<u></u><u></u></p><p>&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#=
rsa-oaep" target=3D"_blank"><span style=3D"color:windowtext;text-decoration=
:none">http://www.w3.org/2009/xmlenc11#rsa-oaep</span></a>&quot; defaults t=
o <u></u><u></u></p>

<p>&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=
=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">http://ww=
w.w3.org/2009/xmlenc11#mgf1sha1</span></a>&quot; (MGF1 with SHA1); this can=
 <u></u><u></u></p>

<p>&gt; probably be addressed by explicitly stating the mask generation <u>=
</u><u></u></p><p>&gt; function is &quot;<a href=3D"http://www.w3.org/2009/=
xmlenc11#mgf1sha256" target=3D"_blank"><span style=3D"color:windowtext;text=
-decoration:none">http://www.w3.org/2009/xmlenc11#mgf1sha256</span></a>&quo=
t;<u></u><u></u></p>

<p>&gt; (MGF1 with SHA-256).<u></u><u></u></p><p>&gt;<u></u>=C2=A0<u></u></=
p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p><p>&gt;<u><=
/u>=C2=A0<u></u></p><p>&gt;<u></u>=C2=A0<u></u></p></div></div></div></div>=
</blockquote></div><br>

<br clear=3D"all"><br>-- <br><div dir=3D"ltr">

<div style=3D"padding-bottom:5px;margin-bottom:0">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width:75px;height:79px;margin:0;border:none"></a></td>


				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">Brian Campbell</span><br><font color=3D"#00=
0000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>


					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e61d3c;paddi=
ng:0 5px 0 0">
									<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-seri=
f;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e63c1d;paddi=
ng:0;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px">+1 720.317.2061</span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:#999999">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width:20px;height:23px;border:none;margin:0"></a> <a href=3D"https:=
//www.youtube.com/user/PingIdentityTV" style=3D"text-decoration:none" title=
=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"youtube logo" src=3D"htt=
p://4.pingidentity.com/rs/pingidentity/images/youtube.gif" style=3D"width:2=
3px;height:23px;border:none;margin:0"></a> <a href=3D"https://www.linkedin.=
com/company/21870" style=3D"text-decoration:none" title=3D"Ping on LinkedIn=
" target=3D"_blank"><img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/linkedin.gif" style=3D"width:23px;height:23px;b=
order:none;margin:0"></a> <a href=3D"https://www.facebook.com/pingidentityp=
age" style=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_b=
lank"><img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/facebook.gif" style=3D"width:23px;height:23px;border:none;mar=
gin:0"></a> <a href=3D"https://plus.google.com/u/0/114266977739397708540" s=
tyle=3D"text-decoration:none" title=3D"Ping on Google+" target=3D"_blank"><=
img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/i=
mages/google%2B.gif" style=3D"width:23px;height:23px;border:none;margin:0">=
</a> <a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decor=
ation:none" title=3D"Ping on SlideShare" target=3D"_blank"><img alt=3D"slid=
eshare logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/slides=
hare.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a> <a hre=
f=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Ping on =
Flipboard" target=3D"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/flipboard.gif" style=3D"width:23px;he=
ight:23px;border:none;margin:0"></a> <a href=3D"https://www.pingidentity.co=
m/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_bl=
ank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingide=
ntity/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a></td>


							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #9=
99999;width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-=
align:top;border:none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | =
Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" targe=
t=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern I=
dentity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http:/=
/4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width=
:172px;height:81px;margin:0;border:none"></a></td>


			</tr>
		</tbody>
	</table>
</div>
<br></div>
</div>

--001a1135e1da635bd404f8f7a47d--


From nobody Fri May  9 06:43:24 2014
Return-Path: <jricher@mitre.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 0AB621A02AC for <jose@ietfa.amsl.com>; Fri,  9 May 2014 06:43:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.496
X-Spam-Level: 
X-Spam-Status: No, score=-0.496 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651] 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 rLMVRjRHNPKj for <jose@ietfa.amsl.com>; Fri,  9 May 2014 06:43:19 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id 655CD1A02A2 for <jose@ietf.org>; Fri,  9 May 2014 06:43:19 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id DDD862260083; Fri,  9 May 2014 09:43:13 -0400 (EDT)
Received: from IMCCAS04.MITRE.ORG (imccas04.mitre.org [129.83.29.81]) by smtpksrv1.mitre.org (Postfix) with ESMTP id C102C1F050D; Fri,  9 May 2014 09:43:13 -0400 (EDT)
Received: from IMCMBX01.MITRE.ORG ([169.254.1.73]) by IMCCAS04.MITRE.ORG ([129.83.29.81]) with mapi id 14.03.0174.001; Fri, 9 May 2014 09:43:13 -0400
From: "Richer, Justin P." <jricher@mitre.org>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaaXt6y9pFg73WUeWYaQCNSAO4Zs00HCAgAA5+gCAAEbmgIAADyMAgAAMIwCAAtakQIAARdKA
Date: Fri, 9 May 2014 13:43:13 +0000
Message-ID: <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com> <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com>
In-Reply-To: <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.31.11.201]
Content-Type: multipart/alternative; boundary="_000_534AC72EF7C44EAAB1D7194CAFC08961mitreorg_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/_EJYrA4cDN9_r9UQb05AFIL27Dg
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>, Axel Nennker <Axel.Nennker@telekom.de>, Matthew Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 09 May 2014 13:43:23 -0000

--_000_534AC72EF7C44EAAB1D7194CAFC08961mitreorg_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I've found that it seems to work if you use NOPADDING, too:

AlgorithmParameters algp =3D AlgorithmParametersHelper.getInstance("OAEP", =
provider);
AlgorithmParameterSpec paramSpec =3D new OAEPParameterSpec("SHA-256", "MGF1=
", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
algp.init(paramSpec);
Cipher cipher =3D CipherHelper.getInstance("RSA/ECB/NOPADDING", provider);
cipher.init(Cipher.DECRYPT_MODE, priv, algp);


(Note that all the AlgorithmParametersHelper does in our code is install th=
e right provider if given.)

-- Justin

On May 9, 2014, at 9:32 AM, Brian Campbell <bcampbell@pingidentity.com<mail=
to:bcampbell@pingidentity.com>> wrote:

http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-4=
.3 is pretty clear about which parameters and hash functions to use in whic=
h OAEP alg.

http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#appendix-=
A.2 that you refer to Axel probably needs to be updated because just listin=
g RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265 isn't completely c=
orrect (well, maybe it is correct but a bit more is also needed).

In order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a Cipher=
 with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also initialize it wit=
h an OAEPParameterSpec that indicates that
SHA-256 is to be used for MGF1 too. That looks something like this (or this=
 is how I did it anyway):

   Cipher cipher =3D Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padd=
ing");
   OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec("SHA-256", "MGF1", =
MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
   cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);

The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant with what'=
s specified in the OAEPParameterSpec but I've not been able to figure out a=
ny other way to make it work. I don't know exactly how to say that in the K=
ey Management Algorithm Identifier Cross-Reference but that's apparently wh=
at needs to be done.





On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de<mailto:Axel.Nennke=
r@telekom.de>> wrote:

Does =93RSA/ECB/OAEPWithSHA-1AndMGF1Padding=94 mean that SHA-256 must be us=
ed for padding too?

I did not read it so.

Did somebody manage to use JCA correctly with one algorithm specifier like =
RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?



Axel

A.2.<http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#r=
fc.appendix.A.2> Key Management Algorithm Identifier Cross-Reference<http:/=
/tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#EncAlgXref>

This section contains a table cross-referencing the JWE alg (algorithm) val=
ues defined in this specification with the equivalent identifiers used by o=
ther standards and software packages.
JWE

XML ENC

JCA

OID

RSA1_5

http://www.w3.org/2001/04/xmlenc#rsa-1_5

RSA/ECB/PKCS1Padding

1.2.840.113549.1.1.1

RSA-OAEP

http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p

RSA/ECB/OAEPWithSHA-1AndMGF1Padding

1.2.840.113549.1.1.7

RSA-OAEP-256

http://www.w3.org/2009/xmlenc11#rsa-oaep

RSA/ECB/OAEPWithSHA-256AndMGF1Padding

1.2.840.113549.1.1.7






-----Original Message-----
From: Antonio Sanso [mailto:asanso@adobe.com<mailto:asanso@adobe.com>]
Sent: Wednesday, May 07, 2014 4:24 PM
To: Richer, Justin P.
Cc: Brian Campbell; Matt Miller; jose@ietf.org<mailto:jose@ietf.org>; Nennk=
er, Axel
Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example



On 5/7/14, 2:21 AM, Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de<=
mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de>> wrote:

> I think that the java implementations implemented the spec and

> everything is ok from that POV.

>

> These implementations are not broken.



The JOSE Java implementations did not implement the spec, though.

draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and mas=
k generation functions are to use the same algorithm -- SHA-1 (and

MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with

SHA-256) in the case of "RSA-OAEP-256".



>

>

>

> One could argue that when we replace SHA-1 by SHA-256 in one place

> then we might consider to replace it in the padding too.



That is exactly what draft-ietf-jose-json-web-algorithms specified.



>

> My feeling is that using sha-256 for the padding does not give us more

> security. YMMW

>



That is a separate debate, I think.  The prevailing opinion (at least aroun=
d the IETF) is "don't mix the algorithms".





--

- m&m



Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com<mailto:mamille2@=
cisco.com%3cmailto:mamille2@cisco.com>> > Cisco Systems, Inc.



>

>

>

>

> *From:*jose

> [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org><mailto:jose-b=
ounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e>] *On

> Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM

> *To:* Matt Miller

> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org<mailto:jose@ietf.=
org%3cmailto:jose@ietf.org>> *Subject:*

> Re: [jose]

> RSA-OAEP-256 Example

>

>

>

> Thanks Matt.

>

> That is why I was looking for someone to verify using a different

> platform. Though I was hoping it'd just work.

>

> Matt, can you try decrypting this one by chance? Using the same key. I

> was more explicit with the parameters and, I think, MGF1 should be

> using SHA-256 now too.

>

>

> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj

> jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ

> 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpi

> OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j

> L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPu

> BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9

> _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G

> Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w

>

>

>

>

> On Tue, May 6, 2014 at 8:39 PM, Matt Miller

> <mamille2@cisco.com<mailto:mamille2@cisco.com<mailto:mamille2@cisco.com%3=
cmailto:mamille2@cisco.com>>

> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com<mailto:mamille2@cisc=
o.com%3cmailto:mamille2@cisco.com>>>> wrote:

>

> Short answer: You are all equally broken -- except from a certain

> point of view d-:

>

> Long answer: The code I have is based on OpenSSL, which is hard-coded

> to use SHA1 for the hash and mask generation (boo!), which means one

> has to implement OAEP-SHA256 from scratch (hiss!!).

>

> When I implemented it per RFC 3447 and

> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not

> decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I

> could decrypt provided results.  A search through BouncyCastle's code

> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash

> function of

> SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further

> evidence is shown with how [FORGE] can be made to work with Java

> (search their homepage for "Compatible with Java's

> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").

>

> Reconciling all of this with

> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be

> very straight-forward.  It appears that the JCA identifier is meant to

> be "MGF1 with SHA1"; that ought to be explicitly noted.

> The XMLENC reference is arguably incomplete, since

> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to

> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can

> probably be addressed by explicitly stating the mask generation

> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"

> (MGF1 with SHA-256).

>

>

>

>

>



--
[Ping Identity logo]<https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
@       bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>
[phone] +1 720.317.2061
Connect with us=85
[twitter logo]<https://twitter.com/pingidentity> [youtube logo] <https://ww=
w.youtube.com/user/PingIdentityTV>  [LinkedIn logo] <https://www.linkedin.c=
om/company/21870>  [Facebook logo] <https://www.facebook.com/pingidentitypa=
ge>  [Google+ logo] <https://plus.google.com/u/0/114266977739397708540>  [s=
lideshare logo] <http://www.slideshare.net/PingIdentity>  [flipboard logo] =
<http://flip.it/vjBF7>  [rss feed icon] <https://www.pingidentity.com/blogs=
/>

[Register for Cloud Identity Summit 2014 | Modern Identity Revolution | 19=
=9623 July, 2014 | Monterey, CA]<https://www.cloudidentitysummit.com/>



--_000_534AC72EF7C44EAAB1D7194CAFC08961mitreorg_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <8D453B723FF15041BE8589A93A216674@imc.mitre.org>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space;">
I've found that it seems to work if you use NOPADDING, too:
<div><br>
</div>
<div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre"></span>AlgorithmParameters =
algp =3D AlgorithmParametersHelper.getInstance(<span style=3D"color: #3933f=
f">&quot;OAEP&quot;</span>, provider);</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre"></span>AlgorithmParameterSp=
ec paramSpec =3D
<span style=3D"color: #931a68">new</span> OAEPParameterSpec(<span style=3D"=
color: #3933ff">&quot;SHA-256&quot;</span>,
<span style=3D"color: #3933ff">&quot;MGF1&quot;</span>, MGF1ParameterSpec.<=
span style=3D"color: #0326cc">SHA256</span>, PSource.PSpecified.<span style=
=3D"color: #0326cc">DEFAULT</span>);</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre"></span>algp.init(paramSpec)=
;</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre"></span>Cipher cipher =3D Ci=
pherHelper.getInstance(<span style=3D"color: #3933ff">&quot;RSA/ECB/NOPADDI=
NG&quot;</span>, provider);</div>
<div style=3D"margin: 0px; font-size: 11px; font-family: Monaco;"><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre"></span>cipher.init(Cipher.<=
span style=3D"color: #0326cc">DECRYPT_MODE</span>, priv, algp);</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>(Note that all the AlgorithmParametersHelper does in our code is insta=
ll the right provider if given.)</div>
<div><br>
</div>
<div>-- Justin</div>
<div><br>
<div>
<div>On May 9, 2014, at 9:32 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com">bcampbell@pingidentity.com</a>&gt; wrote:</div>
<br class=3D"Apple-interchange-newline">
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div><font><a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-a=
lgorithms-26#section-4.3">http://tools.ietf.org/html/draft-ietf-jose-json-w=
eb-algorithms-26#section-4.3</a> is pretty clear about which parameters and=
 hash functions to use in which OAEP
 alg. <br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-2=
6#appendix-A.2">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorit=
hms-26#appendix-A.2</a> that you refer to Axel probably needs to be updated=
 because just listing
<span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-style:=
normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-he=
ight:20px;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!im=
portant;float:none">
RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265 isn't completely cor=
rect (well, maybe it is correct but a bit more is also needed).
<br>
<br>
</span></font></div>
<font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-=
style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;l=
ine-height:20px;text-align:start;text-indent:0px;text-transform:none;white-=
space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inl=
ine!important;float:none">In
 order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a Cipher w=
ith RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also initialize it with =
an OAEPParameterSpec that indicates that
</span><br>
<span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-style:=
normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-he=
ight:20px;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!im=
portant;float:none"><span style=3D"color:rgb(51,51,51);font-family:Arial,sa=
ns-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none">SHA-256
 is to be used for MGF1 too.</span></span><span style=3D"color:rgb(51,51,51=
);font-family:Arial,sans-serif;font-style:normal;font-variant:normal;font-w=
eight:normal;letter-spacing:normal;line-height:20px;text-align:start;text-i=
ndent:0px;text-transform:none;white-space:normal;word-spacing:0px;backgroun=
d-color:rgb(255,255,255);display:inline!important;float:none">
 That looks something like this (or this is how I did it anyway):<br>
</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
</font></div>
<font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-=
style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;l=
ine-height:20px;text-align:start;text-indent:0px;text-transform:none;white-=
space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inl=
ine!important;float:none"></span></font>
<div><font><font size=3D"1"><span style=3D"color:rgb(51,51,51);font-family:=
Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;l=
etter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text=
-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(25=
5,255,255);display:inline!important;float:none">&nbsp;&nbsp;
 Cipher cipher =3D Cipher.getInstance(&quot;RSA/ECB/OAEPWithSHA-256AndMGF1P=
adding&quot;);<br>
&nbsp;&nbsp; OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec(&quot;SHA=
-256&quot;, &quot;MGF1&quot;, MGF1ParameterSpec.SHA256, PSource.PSpecified.=
DEFAULT);<br>
&nbsp;&nbsp; cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);</span></fo=
nt><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-sty=
le:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line=
-height:20px;text-align:start;text-indent:0px;text-transform:none;white-spa=
ce:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline=
!important;float:none"><br>
<br>
</span></font></div>
<div><font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;=
font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:nor=
mal;line-height:20px;text-align:start;text-indent:0px;text-transform:none;w=
hite-space:normal;word-spacing:0px;background-color:rgb(255,255,255);displa=
y:inline!important;float:none"><span style=3D"color:rgb(51,51,51);font-fami=
ly:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:norma=
l;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;t=
ext-transform:none;white-space:normal;word-spacing:0px;background-color:rgb=
(255,255,255);display:inline!important;float:none">The
 &quot;...WithSHA-256AndMGF1Padding&quot; part seems somewhat redundant wit=
h what's specified in the OAEPParameterSpec but I've not been able to figur=
e out any other way to make it work.
</span>I don't know exactly how to say that in the Key Management Algorithm=
 Identifier Cross-Reference but that's apparently what needs to be done.<br=
>
<br>
</span></font></div>
<div><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-s=
ize:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none"><br>
</span></div>
<div><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-s=
ize:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none"><br>
</span></div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Wed, May 7, 2014 at 8:30 AM, <span dir=3D"ltr=
">&lt;<a href=3D"mailto:Axel.Nennker@telekom.de" target=3D"_blank">Axel.Nen=
nker@telekom.de</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 link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<p>Does =93RSA/ECB/OAEPWithSHA-1AndMGF1Padding=94 mean that SHA-256 must be=
 used for padding too?<u></u><u></u></p>
<p>I did not read it so.<u></u><u></u></p>
<p>Did somebody manage to use JCA correctly with one algorithm specifier li=
ke RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?<u></u><u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>Axel<u></u><u></u></p>
<h1><a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#rfc.appendix.A.2" target=3D"_blank">A.2.</a>
<a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.=
html#EncAlgXref" target=3D"_blank">
Key Management Algorithm Identifier Cross-Reference</a><u></u><u></u></h1>
<p>This section contains a table cross-referencing the JWE <samp>alg</samp>=
 (algorithm) values defined in this specification with the equivalent ident=
ifiers used by other standards and software packages.
<u></u><u></u></p>
<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
<thead>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>JWE<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>XML =
ENC</b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>JCA<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>OID<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA1_5<span style=3D"font-size:12.0pt"><u></u><u></u=
></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-1_5"=
 target=3D"_blank">http://www.w3.org/2001/04/xmlenc#rsa-1_5</a><span style=
=3D"font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA/ECB/PKCS1Padding<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">1.2.840.113549.1.1.1<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA-OAEP<span style=3D"font-size:12.0pt"><u></u><u><=
/u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-oaep=
-mgf1p" target=3D"_blank">http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</=
a><span style=3D"font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA/ECB/OAEPWithSHA-1AndMGF1Padding<span style=3D"fo=
nt-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">1.2.840.113549.1.1.7<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA-OAEP-256<span style=3D"font-size:12.0pt"><u></u>=
<u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep"=
 target=3D"_blank">http://www.w3.org/2009/xmlenc11#rsa-oaep</a><span style=
=3D"font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA/ECB/OAEPWithSHA-256AndMGF1Padding<span style=3D"=
font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">1.2.840.113549.1.1.7<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p><u></u>&nbsp;<u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>-----Original Message-----<br>
From: Antonio Sanso [mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_=
blank">asanso@adobe.com</a>]
<br>
Sent: Wednesday, May 07, 2014 4:24 PM<br>
To: Richer, Justin P.<br>
Cc: Brian Campbell; Matt Miller; <a href=3D"mailto:jose@ietf.org" target=3D=
"_blank">jose@ietf.org</a>; Nennker, Axel<br>
Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example</p=
>
<div class=3D"">
<p><u></u>&nbsp;<u></u></p>
<p>On 5/7/14, 2:21 AM, <a href=3D"mailto:Axel.Nennker@telekom.de%3cmailto:A=
xel.Nennker@telekom.de" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">Axel.Nennker@telekom.=
de&lt;mailto:Axel.Nennker@telekom.de</span></a>&gt; wrote:<u></u><u></u></p=
>
<p>&gt; I think that the java implementations implemented the spec and <u><=
/u><u></u></p>
<p>&gt; everything is ok from that POV.<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; These implementations are not broken.<u></u><u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>The JOSE Java implementations did not implement the spec, though.<u></u>=
<u></u></p>
<p>draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash and =
mask generation functions are to use the same algorithm -- SHA-1 (and<u></u=
><u></u></p>
<p>MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (and M=
GF1 with<u></u><u></u></p>
<p>SHA-256) in the case of &quot;RSA-OAEP-256&quot;.<u></u><u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; One could argue that when we replace SHA-1 by SHA-256 in one place =
<u></u><u></u></p>
<p>&gt; then we might consider to replace it in the padding too.<u></u><u><=
/u></p>
<p><u></u>&nbsp;<u></u></p>
<p>That is exactly what draft-ietf-jose-json-web-algorithms specified.<u></=
u><u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; My feeling is that using sha-256 for the padding does not give us m=
ore <u></u><u></u></p>
<p>&gt; security. YMMW<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>That is a separate debate, I think.&nbsp; The prevailing opinion (at lea=
st around the IETF) is &quot;don't mix the algorithms&quot;.<u></u><u></u><=
/p>
<p><u></u>&nbsp;<u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>--<u></u><u></u></p>
</div>
<p>- m&amp;m<u></u><u></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@=
cisco.com" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">mamille2@cisco.com&lt=
;mailto:mamille2@cisco.com</span></a>&gt; &gt; Cisco Systems, Inc.<u></u><u=
></u></p>
<p><u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; *From:*jose <u></u><u></u></p>
<p>&gt; [<a href=3D"mailto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf=
.org%3e" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:=
none">mailto:jose-bounces@ietf.org&lt;mailto:jose-bounces@ietf.org&gt;</spa=
n></a>] *On
<u></u><u></u></p>
<div class=3D"">
<p>&gt; Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM <=
u></u><u></u></p>
<p>&gt; *To:* Matt Miller<u></u><u></u></p>
</div>
<p>&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org%3cmailto:jose@=
ietf.org" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">jose@ietf.org&lt;mail=
to:jose@ietf.org</span></a>&gt; *Subject:*
<u></u><u></u></p>
<div class=3D"">
<p>&gt; Re: [jose]<u></u><u></u></p>
<p>&gt; RSA-OAEP-256 Example<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; Thanks Matt.<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; That is why I was looking for someone to verify using a different <=
u></u><u></u></p>
<p>&gt; platform. Though I was hoping it'd just work.<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; Matt, can you try decrypting this one by chance? Using the same key=
. I <u></u><u></u></p>
<p>&gt; was more explicit with the parameters and, I think, MGF1 should be =
<u></u><u></u></p>
<p>&gt; using SHA-256 now too.<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5c=
MCj<u></u><u></u></p>
<p>&gt; jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442=
ZgZ<u></u><u></u></p>
<p>&gt; 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3g=
Wpi<u></u><u></u></p>
<p>&gt; OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmc=
E2j<u></u><u></u></p>
<p>&gt; L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQ=
cPu<u></u><u></u></p>
<p>&gt; BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh=
1s9<u></u><u></u></p>
<p>&gt; _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feA=
H5G<u></u><u></u></p>
<p>&gt; Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; On Tue, May 6, 2014 at 8:39 PM, Matt Miller <u></u><u></u></p>
<p>&gt; &lt;<a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.co=
m" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">=
mamille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt;<u></u><u></u=
></p>
</div>
<div>
<div class=3D"h5">
<p>&gt; &lt;<a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.co=
m" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">=
mailto:mamille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt;&gt;&g=
t; wrote:<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; Short answer: You are all equally broken -- except from a certain <=
u></u><u></u></p>
<p>&gt; point of view d-:<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; Long answer: The code I have is based on OpenSSL, which is hard-cod=
ed <u></u><u></u></p>
<p>&gt; to use SHA1 for the hash and mask generation (boo!), which means on=
e <u></u><u></u></p>
<p>&gt; has to implement OAEP-SHA256 from scratch (hiss!!).<u></u><u></u></=
p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; When I implemented it per RFC 3447 and <u></u><u></u></p>
<p>&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not <u>=
</u><u></u></p>
<p>&gt; decrypt the provided results.&nbsp; When I hard-coded MGF1 to use &=
quot;SHA1&quot;, I <u></u><u></u></p>
<p>&gt; could decrypt provided results.&nbsp; A search through BouncyCastle=
's code <u></u><u></u></p>
<p>&gt; shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a=
 Hash <u></u><u></u></p>
<p>&gt; function of<u></u><u></u></p>
<p>&gt; SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot;. F=
urther <u></u><u></u></p>
<p>&gt; evidence is shown with how [FORGE] can be made to work with Java <u=
></u><u></u></p>
<p>&gt; (search their homepage for &quot;Compatible with Java's <u></u><u><=
/u></p>
<p>&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt; Reconciling all of this with<u></u><u></u></p>
<p>&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to b=
e <u></u><u></u></p>
<p>&gt; very straight-forward.&nbsp; It appears that the JCA identifier is =
meant to <u></u><u></u></p>
<p>&gt; be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted.<u=
></u><u></u></p>
<p>&gt; The XMLENC reference is arguably incomplete, since <u></u><u></u></=
p>
<p>&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=
=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">http://ww=
w.w3.org/2009/xmlenc11#rsa-oaep</span></a>&quot; defaults to
<u></u><u></u></p>
<p>&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=
=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">http://ww=
w.w3.org/2009/xmlenc11#mgf1sha1</span></a>&quot; (MGF1 with SHA1); this can
<u></u><u></u></p>
<p>&gt; probably be addressed by explicitly stating the mask generation <u>=
</u><u></u></p>
<p>&gt; function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sh=
a256" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:non=
e">http://www.w3.org/2009/xmlenc11#mgf1sha256</span></a>&quot;<u></u><u></u=
></p>
<p>&gt; (MGF1 with SHA-256).<u></u><u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
<p>&gt;<u></u>&nbsp;<u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;h=
eight:79px;margin:0;border:none"></a></td>
<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>
</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px">&#43;1 720.317.2061</span><=
/font></td>
</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=85</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;height:23px;border:none;margin:0"><=
/a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google&#43;" target=3D"_blank">
<img alt=3D"Google&#43; logo" src=3D"http://4.pingidentity.com/rs/pingident=
ity/images/google%2B.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a>=
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=9623 July, 2014 | Monterey, CA" target=3D"_blank=
"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identity Rev=
olution | 19=9623 July, 2014 | Monterey, CA" src=3D"http://4.pingidentity.c=
om/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172px;height:81p=
x;margin:0;border:none"></a></td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>

--_000_534AC72EF7C44EAAB1D7194CAFC08961mitreorg_--


From nobody Fri May  9 09:31:52 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 E77F01A02D3 for <jose@ietfa.amsl.com>; Fri,  9 May 2014 09:31:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.123
X-Spam-Level: 
X-Spam-Status: No, score=-1.123 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 XJn2FYlbkqFd for <jose@ietfa.amsl.com>; Fri,  9 May 2014 09:31:48 -0700 (PDT)
Received: from na3sys009aog105.obsmtp.com (na3sys009aog105.obsmtp.com [74.125.149.75]) by ietfa.amsl.com (Postfix) with ESMTP id 7A6861A0090 for <jose@ietf.org>; Fri,  9 May 2014 09:31:46 -0700 (PDT)
Received: from mail-ie0-f172.google.com ([209.85.223.172]) (using TLSv1) by na3sys009aob105.postini.com ([74.125.148.12]) with SMTP ID DSNKU20C5923f3ARrx8pM5/c20Z0sJsbqaL4@postini.com; Fri, 09 May 2014 09:31:41 PDT
Received: by mail-ie0-f172.google.com with SMTP id as1so4346720iec.3 for <jose@ietf.org>; Fri, 09 May 2014 09:31:35 -0700 (PDT)
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=F0+AQI6/rk1QGWQ8QsNli+CFfxdn9ypBe9r7Oh0Ndmk=; b=BIn/C5Lkgdg4wpDtHutMSz+mMd0iE/7C6E4MDGHbkb2IWMb9APnz+3i39IEjlxzHba j+ZIVz8wZkJMOmSQ4yM41gHUGxCZ6VhTfRQScd9Fkg0tOMSqddXsLfQxcA9FPeMFSXdo fc8UFX5jUBxr7HjVsv4LfjmwoPeMyXDRIb1ksKQQHrSQoEnQY0qx0AUG0xsPEsgN4W7e eS1UX+hR3fj9/HoWlc6sLQJA1aQFhNF+ELiGfCvRQtXu9ABD9gEZk6HR1DhwiH/Bjhmb jCyTlPiq/3OT/SC7E62OZJDuw3px5ako9S4r0bTMMncXsBXYq7F3whfgscH68d9vQo8r sXUg==
X-Gm-Message-State: ALoCoQkDyyKyvlj7zV1TdK6jh9BI+sHtECl8atInIt/kG7kKaJpFAvEb8RopS1X+TygdRb68BjNQ3rGeu34+CaLbzHBddbHaTVShe2coaQKklaLrLf6dwSMVmVC6HYa3H30rExSP8yP4
X-Received: by 10.50.13.100 with SMTP id g4mr11156702igc.9.1399653095427; Fri, 09 May 2014 09:31:35 -0700 (PDT)
X-Received: by 10.50.13.100 with SMTP id g4mr11156676igc.9.1399653095281; Fri, 09 May 2014 09:31:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Fri, 9 May 2014 09:31:05 -0700 (PDT)
In-Reply-To: <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <8B0ED727-E102-4362-B9A3-4411773E48A6@adobe.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com> <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com> <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 9 May 2014 10:31:05 -0600
Message-ID: <CA+k3eCSFL9Bqdvz0S0+bFYNzkYZ_eoKukUeiShRXBH9dRzjmqg@mail.gmail.com>
To: "Richer, Justin P." <jricher@mitre.org>
Content-Type: multipart/alternative; boundary=089e013c66148dc1dd04f8fa21a0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/rkLOw2r2dFSjRiuikMxbK9ikLAU
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>, Axel Nennker <Axel.Nennker@telekom.de>, Matthew Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 09 May 2014 16:31:51 -0000

--089e013c66148dc1dd04f8fa21a0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

So while OAEPWithSHA-256AndMGF1Padding is a little redundant with the
OAEPParameterSpec, I'd say NOPADDING seems a little contradictory. But what
do I know?

I'm still not sure how to concisely explain it in the appendix.


On Fri, May 9, 2014 at 7:43 AM, Richer, Justin P. <jricher@mitre.org> wrote=
:

>  I've found that it seems to work if you use NOPADDING, too:
>
>  AlgorithmParameters algp =3D AlgorithmParametersHelper.getInstance("OAEP=
",
> provider);
> AlgorithmParameterSpec paramSpec =3D new OAEPParameterSpec("SHA-256", "MG=
F1",
> MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
> algp.init(paramSpec);
> Cipher cipher =3D CipherHelper.getInstance("RSA/ECB/NOPADDING", provider)=
;
> cipher.init(Cipher.DECRYPT_MODE, priv, algp);
>
>
>  (Note that all the AlgorithmParametersHelper does in our code is install
> the right provider if given.)
>
>  -- Justin
>
>  On May 9, 2014, at 9:32 AM, Brian Campbell <bcampbell@pingidentity.com>
> wrote:
>
>
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section=
-4.3is pretty clear about which parameters and hash functions to use in whi=
ch
> OAEP alg.
>
>
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#appendi=
x-A.2that you refer to Axel probably needs to be updated because just listi=
ng RSA/ECB/OAEPWithSHA-256AndMGF1Padding
> for RSA-OAPE-265 isn't completely correct (well, maybe it is correct but =
a
> bit more is also needed).
>
>  In order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a
> Cipher with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also initializ=
e
> it with an OAEPParameterSpec that indicates that
> SHA-256 is to be used for MGF1 too. That looks something like this (or
> this is how I did it anyway):
>
>     Cipher cipher =3D
> Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");
>    OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec("SHA-256", "MGF1"=
,
> MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
>    cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);
>
>  The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant with
> what's specified in the OAEPParameterSpec but I've not been able to figur=
e
> out any other way to make it work. I don't know exactly how to say that
> in the Key Management Algorithm Identifier Cross-Reference but that's
> apparently what needs to be done.
>
>
>
>
>
> On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de> wrote:
>
>>  Does =E2=80=9CRSA/ECB/OAEPWithSHA-1AndMGF1Padding=E2=80=9D mean that SH=
A-256 must be
>> used for padding too?
>>
>> I did not read it so.
>>
>> Did somebody manage to use JCA correctly with one algorithm specifier
>> like RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?
>>
>>
>>
>> Axel
>> A.2.<http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.htm=
l#rfc.appendix.A.2> Key
>> Management Algorithm Identifier Cross-Reference<http://tools.ietf.org/id=
/draft-ietf-jose-json-web-algorithms-26.html#EncAlgXref>
>>
>> This section contains a table cross-referencing the JWE alg (algorithm)
>> values defined in this specification with the equivalent identifiers use=
d
>> by other standards and software packages.
>>
>> *JWE*
>>
>> *XML ENC*
>>
>> *JCA*
>>
>> *OID*
>>
>> RSA1_5
>>
>> http://www.w3.org/2001/04/xmlenc#rsa-1_5
>>
>> RSA/ECB/PKCS1Padding
>>
>> 1.2.840.113549.1.1.1
>>
>> RSA-OAEP
>>
>> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
>>
>> RSA/ECB/OAEPWithSHA-1AndMGF1Padding
>>
>> 1.2.840.113549.1.1.7
>>
>> RSA-OAEP-256
>>
>> http://www.w3.org/2009/xmlenc11#rsa-oaep
>>
>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding
>>
>> 1.2.840.113549.1.1.7
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Antonio Sanso [mailto:asanso@adobe.com]
>> Sent: Wednesday, May 07, 2014 4:24 PM
>> To: Richer, Justin P.
>> Cc: Brian Campbell; Matt Miller; jose@ietf.org; Nennker, Axel
>> Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example
>>
>>
>>
>> On 5/7/14, 2:21 AM,
>> Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de> wrote:
>>
>> > I think that the java implementations implemented the spec and
>>
>> > everything is ok from that POV.
>>
>> >
>>
>> > These implementations are not broken.
>>
>>
>>
>> The JOSE Java implementations did not implement the spec, though.
>>
>> draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states the hash a=
nd
>> mask generation functions are to use the same algorithm -- SHA-1 (and
>>
>> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1 with
>>
>> SHA-256) in the case of "RSA-OAEP-256".
>>
>>
>>
>> >
>>
>> >
>>
>> >
>>
>> > One could argue that when we replace SHA-1 by SHA-256 in one place
>>
>> > then we might consider to replace it in the padding too.
>>
>>
>>
>> That is exactly what draft-ietf-jose-json-web-algorithms specified.
>>
>>
>>
>> >
>>
>> > My feeling is that using sha-256 for the padding does not give us more
>>
>> > security. YMMW
>>
>> >
>>
>>
>>
>> That is a separate debate, I think.  The prevailing opinion (at least
>> around the IETF) is "don't mix the algorithms".
>>
>>
>>
>>
>>
>> --
>>
>> - m&m
>>
>>
>>
>> Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com> > Cisco
>> Systems, Inc.
>>
>>
>>
>> >
>>
>> >
>>
>> >
>>
>> >
>>
>> > *From:*jose
>>
>> > [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org><jose-bounc=
es@ietf.org%3cmailto:jose-bounces@ietf.org%3e>]
>> *On
>>
>> > Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM
>>
>> > *To:* Matt Miller
>>
>> > *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org> *Subject:*
>>
>> > Re: [jose]
>>
>> > RSA-OAEP-256 Example
>>
>> >
>>
>> >
>>
>> >
>>
>> > Thanks Matt.
>>
>> >
>>
>> > That is why I was looking for someone to verify using a different
>>
>> > platform. Though I was hoping it'd just work.
>>
>> >
>>
>> > Matt, can you try decrypting this one by chance? Using the same key. I
>>
>> > was more explicit with the parameters and, I think, MGF1 should be
>>
>> > using SHA-256 now too.
>>
>> >
>>
>> >
>>
>> > eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj
>>
>> > jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ
>>
>> > 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpi
>>
>> > OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j
>>
>> > L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPu
>>
>> > BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9
>>
>> > _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G
>>
>> > Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w
>>
>> >
>>
>> >
>>
>> >
>>
>> >
>>
>> > On Tue, May 6, 2014 at 8:39 PM, Matt Miller
>>
>> > <mamille2@cisco.com<mailto:mamille2@cisco.com>
>>
>> > <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com<mamille2@cisco.co=
m%3cmailto:mamille2@cisco.com>>>>
>> wrote:
>>
>> >
>>
>> > Short answer: You are all equally broken -- except from a certain
>>
>> > point of view d-:
>>
>> >
>>
>> > Long answer: The code I have is based on OpenSSL, which is hard-coded
>>
>> > to use SHA1 for the hash and mask generation (boo!), which means one
>>
>> > has to implement OAEP-SHA256 from scratch (hiss!!).
>>
>> >
>>
>> > When I implemented it per RFC 3447 and
>>
>> > draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not
>>
>> > decrypt the provided results.  When I hard-coded MGF1 to use "SHA1", I
>>
>> > could decrypt provided results.  A search through BouncyCastle's code
>>
>> > shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a Hash
>>
>> > function of
>>
>> > SHA-256 generate the lHash but its MGF1 uses a "SHA-1". Further
>>
>> > evidence is shown with how [FORGE] can be made to work with Java
>>
>> > (search their homepage for "Compatible with Java's
>>
>> > RSA/ECB/OAEPWithSHA-256AndMGF1Padding").
>>
>> >
>>
>> > Reconciling all of this with
>>
>> > draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to be
>>
>> > very straight-forward.  It appears that the JCA identifier is meant to
>>
>> > be "MGF1 with SHA1"; that ought to be explicitly noted.
>>
>> > The XMLENC reference is arguably incomplete, since
>>
>> > "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to
>>
>> > "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1); this can
>>
>> > probably be addressed by explicitly stating the mask generation
>>
>> > function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"
>>
>> > (MGF1 with SHA-256).
>>
>> >
>>
>> >
>>
>> >
>>
>> >
>>
>> >
>>
>
>
>
> --
>    [image: Ping Identity logo] <https://www.pingidentity.com/>
> Brian Campbell
> Portfolio Architect
>   @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
> with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity=
> [image:
> youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
> LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
> logo] <https://www.facebook.com/pingidentitypage> [image: Google+ logo]<h=
ttps://plus.google.com/u/0/114266977739397708540> [image:
> slideshare logo] <http://www.slideshare.net/PingIdentity> [image:
> flipboard logo] <http://flip.it/vjBF7> [image: rss feed icon]<https://www=
.pingidentity.com/blogs/>
>    [image: Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA]<https://www.cloudid=
entitysummit.com/>
>
>
>


--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--089e013c66148dc1dd04f8fa21a0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>So while OAEPWithSHA-256AndMGF1Padding is a little re=
dundant with the OAEPParameterSpec, I&#39;d say NOPADDING seems a little co=
ntradictory. But what do I know?<br><br></div>I&#39;m still not sure how to=
 concisely explain it in the appendix.<br>

</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Fri,=
 May 9, 2014 at 7:43 AM, Richer, Justin P. <span dir=3D"ltr">&lt;<a href=3D=
"mailto:jricher@mitre.org" target=3D"_blank">jricher@mitre.org</a>&gt;</spa=
n> 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">
I&#39;ve found that it seems to work if you use NOPADDING, too:
<div><br>
</div>
<div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco"><span style=3D"=
white-space:pre-wrap"></span>AlgorithmParameters algp =3D AlgorithmParamete=
rsHelper.getInstance(<span style=3D"color:#3933ff">&quot;OAEP&quot;</span>,=
 provider);</div>


<div style=3D"margin:0px;font-size:11px;font-family:Monaco"><span style=3D"=
white-space:pre-wrap"></span>AlgorithmParameterSpec paramSpec =3D
<span style=3D"color:#931a68">new</span> OAEPParameterSpec(<span style=3D"c=
olor:#3933ff">&quot;SHA-256&quot;</span>,
<span style=3D"color:#3933ff">&quot;MGF1&quot;</span>, MGF1ParameterSpec.<s=
pan style=3D"color:#0326cc">SHA256</span>, PSource.PSpecified.<span style=
=3D"color:#0326cc">DEFAULT</span>);</div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco"><span style=3D"=
white-space:pre-wrap"></span>algp.init(paramSpec);</div>
<div style=3D"margin:0px;font-size:11px;font-family:Monaco"><span style=3D"=
white-space:pre-wrap"></span>Cipher cipher =3D CipherHelper.getInstance(<sp=
an style=3D"color:#3933ff">&quot;RSA/ECB/NOPADDING&quot;</span>, provider);=
</div>


<div style=3D"margin:0px;font-size:11px;font-family:Monaco"><span style=3D"=
white-space:pre-wrap"></span>cipher.init(Cipher.<span style=3D"color:#0326c=
c">DECRYPT_MODE</span>, priv, algp);</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>(Note that all the AlgorithmParametersHelper does in our code is insta=
ll the right provider if given.)</div><span class=3D"HOEnZb"><font color=3D=
"#888888">
<div><br>
</div>
<div>-- Justin</div></font></span><div><div class=3D"h5">
<div><br>
<div>
<div>On May 9, 2014, at 9:32 AM, Brian Campbell &lt;<a href=3D"mailto:bcamp=
bell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a>&gt;=
 wrote:</div>
<br>
<blockquote type=3D"cite">
<div dir=3D"ltr">
<div>
<div><font><a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-a=
lgorithms-26#section-4.3" target=3D"_blank">http://tools.ietf.org/html/draf=
t-ietf-jose-json-web-algorithms-26#section-4.3</a> is pretty clear about wh=
ich parameters and hash functions to use in which OAEP
 alg. <br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-2=
6#appendix-A.2" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-algorithms-26#appendix-A.2</a> that you refer to Axel probably n=
eeds to be updated because just listing
<span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-style:=
normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-he=
ight:20px;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!im=
portant;float:none">
RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265 isn&#39;t completely=
 correct (well, maybe it is correct but a bit more is also needed).
<br>
<br>
</span></font></div>
<font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-=
style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;l=
ine-height:20px;text-align:start;text-indent:0px;text-transform:none;white-=
space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inl=
ine!important;float:none">In
 order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a Cipher w=
ith RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also initialize it with =
an OAEPParameterSpec that indicates that
</span><br>
<span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-style:=
normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-he=
ight:20px;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!im=
portant;float:none"><span style=3D"color:rgb(51,51,51);font-family:Arial,sa=
ns-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none">SHA-256
 is to be used for MGF1 too.</span></span><span style=3D"color:rgb(51,51,51=
);font-family:Arial,sans-serif;font-style:normal;font-variant:normal;font-w=
eight:normal;letter-spacing:normal;line-height:20px;text-align:start;text-i=
ndent:0px;text-transform:none;white-space:normal;word-spacing:0px;backgroun=
d-color:rgb(255,255,255);display:inline!important;float:none">
 That looks something like this (or this is how I did it anyway):<br>
</span>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <br>
</font></div>
<font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-=
style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;l=
ine-height:20px;text-align:start;text-indent:0px;text-transform:none;white-=
space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inl=
ine!important;float:none"></span></font>
<div><font><font size=3D"1"><span style=3D"color:rgb(51,51,51);font-family:=
Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;l=
etter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text=
-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(25=
5,255,255);display:inline!important;float:none">=C2=A0=C2=A0
 Cipher cipher =3D Cipher.getInstance(&quot;RSA/ECB/OAEPWithSHA-256AndMGF1P=
adding&quot;);<br>
=C2=A0=C2=A0 OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec(&quot;SHA=
-256&quot;, &quot;MGF1&quot;, MGF1ParameterSpec.SHA256, PSource.PSpecified.=
DEFAULT);<br>
=C2=A0=C2=A0 cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);</span></fo=
nt><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-sty=
le:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line=
-height:20px;text-align:start;text-indent:0px;text-transform:none;white-spa=
ce:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline=
!important;float:none"><br>


<br>
</span></font></div>
<div><font><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;=
font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:nor=
mal;line-height:20px;text-align:start;text-indent:0px;text-transform:none;w=
hite-space:normal;word-spacing:0px;background-color:rgb(255,255,255);displa=
y:inline!important;float:none"><span style=3D"color:rgb(51,51,51);font-fami=
ly:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:norma=
l;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;t=
ext-transform:none;white-space:normal;word-spacing:0px;background-color:rgb=
(255,255,255);display:inline!important;float:none">The
 &quot;...WithSHA-256AndMGF1Padding&quot; part seems somewhat redundant wit=
h what&#39;s specified in the OAEPParameterSpec but I&#39;ve not been able =
to figure out any other way to make it work.
</span>I don&#39;t know exactly how to say that in the Key Management Algor=
ithm Identifier Cross-Reference but that&#39;s apparently what needs to be =
done.<br>
<br>
</span></font></div>
<div><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-s=
ize:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none"><br>


</span></div>
<div><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;font-s=
ize:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-sp=
acing:normal;line-height:20px;text-align:start;text-indent:0px;text-transfo=
rm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,25=
5);display:inline!important;float:none"><br>


</span></div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Wed, May 7, 2014 at 8:30 AM, <span dir=3D"ltr=
">&lt;<a href=3D"mailto:Axel.Nennker@telekom.de" target=3D"_blank">Axel.Nen=
nker@telekom.de</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 link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<p>Does =E2=80=9CRSA/ECB/OAEPWithSHA-1AndMGF1Padding=E2=80=9D mean that SHA=
-256 must be used for padding too?<u></u><u></u></p>
<p>I did not read it so.<u></u><u></u></p>
<p>Did somebody manage to use JCA correctly with one algorithm specifier li=
ke RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?<u></u><u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>Axel<u></u><u></u></p>
<h1><a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms=
-26.html#rfc.appendix.A.2" target=3D"_blank">A.2.</a>
<a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.=
html#EncAlgXref" target=3D"_blank">
Key Management Algorithm Identifier Cross-Reference</a><u></u><u></u></h1>
<p>This section contains a table cross-referencing the JWE <samp>alg</samp>=
 (algorithm) values defined in this specification with the equivalent ident=
ifiers used by other standards and software packages.
<u></u><u></u></p>
<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
<thead>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>JWE<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>XML =
ENC</b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>JCA<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" style=3D"text-align:center" align=3D"center"><b>OID<=
/b><b><span style=3D"font-size:12.0pt"><u></u><u></u></span></b></p>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA1_5<span style=3D"font-size:12.0pt"><u></u><u></u=
></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-1_5"=
 target=3D"_blank">http://www.w3.org/2001/04/xmlenc#rsa-1_5</a><span style=
=3D"font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA/ECB/PKCS1Padding<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">1.2.840.113549.1.1.1<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA-OAEP<span style=3D"font-size:12.0pt"><u></u><u><=
/u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-oaep=
-mgf1p" target=3D"_blank">http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</=
a><span style=3D"font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA/ECB/OAEPWithSHA-1AndMGF1Padding<span style=3D"fo=
nt-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">1.2.840.113549.1.1.7<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA-OAEP-256<span style=3D"font-size:12.0pt"><u></u>=
<u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep"=
 target=3D"_blank">http://www.w3.org/2009/xmlenc11#rsa-oaep</a><span style=
=3D"font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">RSA/ECB/OAEPWithSHA-256AndMGF1Padding<span style=3D"=
font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td style=3D"padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal">1.2.840.113549.1.1.7<span style=3D"font-size:12.0pt"=
><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p><u></u>=C2=A0<u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>-----Original Message-----<br>
From: Antonio Sanso [mailto:<a href=3D"mailto:asanso@adobe.com" target=3D"_=
blank">asanso@adobe.com</a>]
<br>
Sent: Wednesday, May 07, 2014 4:24 PM<br>
To: Richer, Justin P.<br>
Cc: Brian Campbell; Matt Miller; <a href=3D"mailto:jose@ietf.org" target=3D=
"_blank">jose@ietf.org</a>; Nennker, Axel<br>
Subject: ***CAUTION_Invalid_Signature*** Re: [jose] RSA-OAEP-256 Example</p=
>
<div>
<p><u></u>=C2=A0<u></u></p>
<p>On 5/7/14, 2:21 AM, <a href=3D"mailto:Axel.Nennker@telekom.de%3cmailto:A=
xel.Nennker@telekom.de" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">Axel.Nennker@telekom.=
de&lt;mailto:Axel.Nennker@telekom.de</span></a>&gt; wrote:<u></u><u></u></p=
>
<p>&gt; I think that the java implementations implemented the spec and <u><=
/u><u></u></p>
<p>&gt; everything is ok from that POV.<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; These implementations are not broken.<u></u><u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>The JOSE Java implementations did not implement the spec, though.<u></u>=
<u></u></p>
<p>draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states the hash a=
nd mask generation functions are to use the same algorithm -- SHA-1 (and<u>=
</u><u></u></p>
<p>MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-256 (and M=
GF1 with<u></u><u></u></p>
<p>SHA-256) in the case of &quot;RSA-OAEP-256&quot;.<u></u><u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; One could argue that when we replace SHA-1 by SHA-256 in one place =
<u></u><u></u></p>
<p>&gt; then we might consider to replace it in the padding too.<u></u><u><=
/u></p>
<p><u></u>=C2=A0<u></u></p>
<p>That is exactly what draft-ietf-jose-json-web-algorithms specified.<u></=
u><u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; My feeling is that using sha-256 for the padding does not give us m=
ore <u></u><u></u></p>
<p>&gt; security. YMMW<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>That is a separate debate, I think.=C2=A0 The prevailing opinion (at lea=
st around the IETF) is &quot;don&#39;t mix the algorithms&quot;.<u></u><u><=
/u></p>
<p><u></u>=C2=A0<u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>--<u></u><u></u></p>
</div>
<p>- m&amp;m<u></u><u></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@=
cisco.com" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">mamille2@cisco.com&lt=
;mailto:mamille2@cisco.com</span></a>&gt; &gt; Cisco Systems, Inc.<u></u><u=
></u></p>
<p><u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; *From:*jose <u></u><u></u></p>
<p>&gt; [<a href=3D"mailto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf=
.org%3e" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:=
none">mailto:jose-bounces@ietf.org&lt;mailto:jose-bounces@ietf.org&gt;</spa=
n></a>] *On
<u></u><u></u></p>
<div>
<p>&gt; Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014 6:54 AM <=
u></u><u></u></p>
<p>&gt; *To:* Matt Miller<u></u><u></u></p>
</div>
<p>&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org%3cmailto:jose@=
ietf.org" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">jose@ietf.org&lt;mail=
to:jose@ietf.org</span></a>&gt; *Subject:*
<u></u><u></u></p>
<div>
<p>&gt; Re: [jose]<u></u><u></u></p>
<p>&gt; RSA-OAEP-256 Example<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; Thanks Matt.<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; That is why I was looking for someone to verify using a different <=
u></u><u></u></p>
<p>&gt; platform. Though I was hoping it&#39;d just work.<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; Matt, can you try decrypting this one by chance? Using the same key=
. I <u></u><u></u></p>
<p>&gt; was more explicit with the parameters and, I think, MGF1 should be =
<u></u><u></u></p>
<p>&gt; using SHA-256 now too.<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5c=
MCj<u></u><u></u></p>
<p>&gt; jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442=
ZgZ<u></u><u></u></p>
<p>&gt; 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3g=
Wpi<u></u><u></u></p>
<p>&gt; OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmc=
E2j<u></u><u></u></p>
<p>&gt; L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQ=
cPu<u></u><u></u></p>
<p>&gt; BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh=
1s9<u></u><u></u></p>
<p>&gt; _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feA=
H5G<u></u><u></u></p>
<p>&gt; Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; On Tue, May 6, 2014 at 8:39 PM, Matt Miller <u></u><u></u></p>
<p>&gt; &lt;<a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.co=
m" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">=
mamille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt;<u></u><u></u=
></p>


</div>
<div>
<div>
<p>&gt; &lt;<a href=3D"mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.co=
m" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">=
mailto:mamille2@cisco.com&lt;mailto:mamille2@cisco.com</span></a>&gt;&gt;&g=
t; wrote:<u></u><u></u></p>


<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; Short answer: You are all equally broken -- except from a certain <=
u></u><u></u></p>
<p>&gt; point of view d-:<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; Long answer: The code I have is based on OpenSSL, which is hard-cod=
ed <u></u><u></u></p>
<p>&gt; to use SHA1 for the hash and mask generation (boo!), which means on=
e <u></u><u></u></p>
<p>&gt; has to implement OAEP-SHA256 from scratch (hiss!!).<u></u><u></u></=
p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; When I implemented it per RFC 3447 and <u></u><u></u></p>
<p>&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I could not <u>=
</u><u></u></p>
<p>&gt; decrypt the provided results.=C2=A0 When I hard-coded MGF1 to use &=
quot;SHA1&quot;, I <u></u><u></u></p>
<p>&gt; could decrypt provided results.=C2=A0 A search through BouncyCastle=
&#39;s code <u></u><u></u></p>
<p>&gt; shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot; uses a=
 Hash <u></u><u></u></p>
<p>&gt; function of<u></u><u></u></p>
<p>&gt; SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1&quot;. F=
urther <u></u><u></u></p>
<p>&gt; evidence is shown with how [FORGE] can be made to work with Java <u=
></u><u></u></p>
<p>&gt; (search their homepage for &quot;Compatible with Java&#39;s <u></u>=
<u></u></p>
<p>&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt; Reconciling all of this with<u></u><u></u></p>
<p>&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not look to b=
e <u></u><u></u></p>
<p>&gt; very straight-forward.=C2=A0 It appears that the JCA identifier is =
meant to <u></u><u></u></p>
<p>&gt; be &quot;MGF1 with SHA1&quot;; that ought to be explicitly noted.<u=
></u><u></u></p>
<p>&gt; The XMLENC reference is arguably incomplete, since <u></u><u></u></=
p>
<p>&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep" target=
=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">http://ww=
w.w3.org/2009/xmlenc11#rsa-oaep</span></a>&quot; defaults to
<u></u><u></u></p>
<p>&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1" target=
=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">http://ww=
w.w3.org/2009/xmlenc11#mgf1sha1</span></a>&quot; (MGF1 with SHA1); this can
<u></u><u></u></p>
<p>&gt; probably be addressed by explicitly stating the mask generation <u>=
</u><u></u></p>
<p>&gt; function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sh=
a256" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:non=
e">http://www.w3.org/2009/xmlenc11#mgf1sha256</span></a>&quot;<u></u><u></u=
></p>


<p>&gt; (MGF1 with SHA-256).<u></u><u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
<p>&gt;<u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear=3D"all">
<br>
-- <br>
<div dir=3D"ltr">
<div style=3D"padding-bottom:5px;margin-bottom:0">
<table style=3D"height:40px">
<tbody>
<tr>
<td style=3D"width:75px;vertical-align:top;height:79px"><a href=3D"https://=
www.pingidentity.com/" style=3D"text-decoration:none" target=3D"_blank"><im=
g alt=3D"Ping Identity logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/EXP_PIC_square_logo_RGB_with_hard_drop.png" style=3D"width:75px;m=
in-height:79px;margin:0;border:none"></a></td>


<td style=3D"vertical-align:top;padding-left:10px">
<div style=3D"margin-bottom:7px"><span style=3D"color:#e61d3c;font-family:a=
rial,helvetica,sans-serif;font-weight:bold;font-size:14px">Brian Campbell</=
span><br>
<font face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>
<table>
<tbody>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e61d3c;padding:0 5px=
 0 0"><span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">@</span></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"mailto:bcampbell=
@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a></span><=
/font></td>


</tr>
<tr>
<td style=3D"text-align:center;border-right:1px solid #e63c1d;padding:0;ver=
tical-align:middle">
<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentity/images/=
EXP_phone_glyph.gif" style=3D"width:13px;min-height:16px"></td>
<td style=3D"text-align:left;padding:0 0 0 3px"><font face=3D"arial, helvet=
ica, sans-serif"><span style=3D"font-size:14px"><a href=3D"tel:%2B1%20720.3=
17.2061" value=3D"+17203172061" target=3D"_blank">+1 720.317.2061</a></span=
></font></td>


</tr>
<tr>
<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;font-size=
:14px;font-weight:normal;padding-top:15px;color:#999999">
Connect with us=E2=80=A6</td>
</tr>
<tr>
<td colspan=3D"2"><a href=3D"https://twitter.com/pingidentity" style=3D"tex=
t-decoration:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"=
twitter logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitt=
er.gif" style=3D"width:20px;min-height:23px;border:none;margin:0"></a>
<a href=3D"https://www.youtube.com/user/PingIdentityTV" style=3D"text-decor=
ation:none" title=3D"Ping on YouTube" target=3D"_blank">
<img alt=3D"youtube logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/youtube.gif" style=3D"width:23px;min-height:23px;border:none;margin:=
0"></a>
<a href=3D"https://www.linkedin.com/company/21870" style=3D"text-decoration=
:none" title=3D"Ping on LinkedIn" target=3D"_blank">
<img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/linkedin.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"https://www.facebook.com/pingidentitypage" style=3D"text-decorat=
ion:none" title=3D"Ping on Facebook" target=3D"_blank">
<img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/facebook.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"https://plus.google.com/u/0/114266977739397708540" style=3D"text=
-decoration:none" title=3D"Ping on Google+" target=3D"_blank">
<img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/=
images/google%2B.gif" style=3D"width:23px;min-height:23px;border:none;margi=
n:0"></a>
<a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decoration=
:none" title=3D"Ping on SlideShare" target=3D"_blank">
<img alt=3D"slideshare logo" src=3D"http://4.pingidentity.com/rs/pingidenti=
ty/images/slideshare.gif" style=3D"width:23px;min-height:23px;border:none;m=
argin:0"></a>
<a href=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Pi=
ng on Flipboard" target=3D"_blank">
<img alt=3D"flipboard logo" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/flipboard.gif" style=3D"width:23px;min-height:23px;border:none;mar=
gin:0"></a>
<a href=3D"https://www.pingidentity.com/blogs/" style=3D"text-decoration:no=
ne" title=3D"Ping blogs" target=3D"_blank">
<img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingidentity=
/images/rss.gif" style=3D"width:23px;min-height:23px;border:none;margin:0">=
</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #99=
9999;width:315px">
<tbody>
<tr>
<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-alig=
n:top;border:none">
<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decoration:n=
one;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | Moder=
n Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" target=3D"=
_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern Identi=
ty Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width:172p=
x;min-height:81px;margin:0;border:none"></a></td>


</tr>
</tbody>
</table>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>

</blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D"ltr">

<div style=3D"padding-bottom:5px;margin-bottom:0">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width:75px;height:79px;margin:0;border:none"></a></td>


				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">Brian Campbell</span><br><font color=3D"#00=
0000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>


					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e61d3c;paddi=
ng:0 5px 0 0">
									<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-seri=
f;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e63c1d;paddi=
ng:0;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px">+1 720.317.2061</span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:#999999">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width:20px;height:23px;border:none;margin:0"></a> <a href=3D"https:=
//www.youtube.com/user/PingIdentityTV" style=3D"text-decoration:none" title=
=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"youtube logo" src=3D"htt=
p://4.pingidentity.com/rs/pingidentity/images/youtube.gif" style=3D"width:2=
3px;height:23px;border:none;margin:0"></a> <a href=3D"https://www.linkedin.=
com/company/21870" style=3D"text-decoration:none" title=3D"Ping on LinkedIn=
" target=3D"_blank"><img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/linkedin.gif" style=3D"width:23px;height:23px;b=
order:none;margin:0"></a> <a href=3D"https://www.facebook.com/pingidentityp=
age" style=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_b=
lank"><img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/facebook.gif" style=3D"width:23px;height:23px;border:none;mar=
gin:0"></a> <a href=3D"https://plus.google.com/u/0/114266977739397708540" s=
tyle=3D"text-decoration:none" title=3D"Ping on Google+" target=3D"_blank"><=
img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/i=
mages/google%2B.gif" style=3D"width:23px;height:23px;border:none;margin:0">=
</a> <a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decor=
ation:none" title=3D"Ping on SlideShare" target=3D"_blank"><img alt=3D"slid=
eshare logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/slides=
hare.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a> <a hre=
f=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Ping on =
Flipboard" target=3D"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/flipboard.gif" style=3D"width:23px;he=
ight:23px;border:none;margin:0"></a> <a href=3D"https://www.pingidentity.co=
m/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_bl=
ank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingide=
ntity/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a></td>


							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #9=
99999;width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-=
align:top;border:none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | =
Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" targe=
t=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern I=
dentity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http:/=
/4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width=
:172px;height:81px;margin:0;border:none"></a></td>


			</tr>
		</tbody>
	</table>
</div>
<br></div>
</div>

--089e013c66148dc1dd04f8fa21a0--


From nobody Fri May  9 09:38:29 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 EEB661A02E5 for <jose@ietfa.amsl.com>; Fri,  9 May 2014 09:38:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.697
X-Spam-Level: 
X-Spam-Status: No, score=-12.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FRT_ADOBE2=2.455, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, 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 C5SXVvCOhM3u for <jose@ietfa.amsl.com>; Fri,  9 May 2014 09:38:25 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id C9EBD1A02E1 for <jose@ietf.org>; Fri,  9 May 2014 09:38:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13382; q=dns/txt; s=iport; t=1399653500; x=1400863100; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=sCB89Lof7ht9LcM7G8DXXVy6VUAcxalHCt/NNyfs3jY=; b=a4FAp3vMYzSH44BL/oj3oOyzCwqOdk8Xh7ECZwsgBKI84QpjWPgxluxX CrMivp6jxPKLDOXd0WMcKYlQrAsLm5ZN5vMmL0NADp/ji6Qp80J8HyxLb XyE89COF0DoYAfheUR9j8iT3TiCuSaJKxCBf7Tv1yAAqj+ENw453c8cBg Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AnYHAMADbVOtJV2a/2dsb2JhbABQBgODBk9RB6soAQEBAQEHklyHPAGBGBZ0giUBAQEEAQEBLwE7CgEMAgILDgMEAQEBCRYIBwkDAgECAQkMHwkIBg0BBQIBAYg9CAXRERcEhVKFbYI0KCMQBwYLhC8EhFoChTKIXIJlg3iBPItlhWGDVU4BAQGBPw
X-IronPort-AV: E=Sophos;i="4.97,1019,1389744000"; d="scan'208";a="323505551"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-1.cisco.com with ESMTP; 09 May 2014 16:38:19 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s49GcJm7014116 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 9 May 2014 16:38:19 GMT
Received: from MAMILLE2-M-T03K.CISCO.COM (10.129.24.57) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 9 May 2014 11:38:18 -0500
Message-ID: <536D047A.5030402@cisco.com>
Date: Fri, 9 May 2014 10:38:18 -0600
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.5.0
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>, "Richer, Justin P." <jricher@mitre.org>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com> <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com> <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org> <CA+k3eCSFL9Bqdvz0S0+bFYNzkYZ_eoKukUeiShRXBH9dRzjmqg@mail.gmail.com>
In-Reply-To: <CA+k3eCSFL9Bqdvz0S0+bFYNzkYZ_eoKukUeiShRXBH9dRzjmqg@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [10.129.24.57]
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/Gw-LJyLQJc2LzUeHu9t-6VcaUVc
Cc: Antonio Sanso <asanso@adobe.com>, Axel Nennker <Axel.Nennker@telekom.de>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 09 May 2014 16:38:28 -0000

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

As I said originally, I don't think there's a straight-forward fix
here.  It seems to me that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
gets the closest to the intent here.

I agree that "RSA/ECB/NOPADDING" is contradictory -- yes, you can get
the Java code to the JOSE-specified configuration starting with that
identifier string, but it's rather misleading without knowing the
paramspec.


- -- 
- - m&m

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

On 5/9/14, 10:31 AM, Brian Campbell wrote:
> So while OAEPWithSHA-256AndMGF1Padding is a little redundant with
> the OAEPParameterSpec, I'd say NOPADDING seems a little
> contradictory. But what do I know?
> 
> I'm still not sure how to concisely explain it in the appendix.
> 
> 
> On Fri, May 9, 2014 at 7:43 AM, Richer, Justin P.
> <jricher@mitre.org <mailto:jricher@mitre.org>> wrote:
> 
> I've found that it seems to work if you use NOPADDING, too:
> 
> AlgorithmParameters algp = 
> AlgorithmParametersHelper.getInstance("OAEP", provider); 
> AlgorithmParameterSpec paramSpec = new
> OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256,
> PSource.PSpecified.DEFAULT); algp.init(paramSpec); Cipher cipher =
> CipherHelper.getInstance("RSA/ECB/NOPADDING", provider); 
> cipher.init(Cipher.DECRYPT_MODE, priv, algp);
> 
> 
> (Note that all the AlgorithmParametersHelper does in our code is 
> install the right provider if given.)
> 
> -- Justin
> 
> On May 9, 2014, at 9:32 AM, Brian Campbell 
> <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>>
> wrote:
> 
>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-4.3
>>
>> 
is pretty clear about which parameters and hash functions to use
>> in which OAEP alg.
>> 
>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#appendix-A.2
>>
>> 
that you refer to Axel probably needs to be updated because just
>> listing RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265 
>> isn't completely correct (well, maybe it is correct but a bit
>> more is also needed).
>> 
>> In order to do RSA-OAPE-265 correctly using the JCA APIs, one
>> gets a Cipher with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then
>> also initialize it with an OAEPParameterSpec that indicates that 
>> SHA-256 is to be used for MGF1 too.That looks something like
>> this (or this is how I did it anyway):
>> 
>> Cipher cipher = 
>> Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding"); 
>> OAEPParameterSpec oaepSpec = new OAEPParameterSpec("SHA-256", 
>> "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT); 
>> cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);
>> 
>> The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant 
>> with what's specified in the OAEPParameterSpec but I've not been 
>> able to figure out any other way to make it work. I don't know 
>> exactly how to say that in the Key Management Algorithm
>> Identifier Cross-Reference but that's apparently what needs to be
>> done.
>> 
>> 
>> 
>> 
>> 
>> On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de 
>> <mailto:Axel.Nennker@telekom.de>> wrote:
>> 
>> Does “RSA/ECB/OAEPWithSHA-1AndMGF1Padding” mean that SHA-256 must
>> be used for padding too?____
>> 
>> I did not read it so.____
>> 
>> Did somebody manage to use JCA correctly with one algorithm 
>> specifier like
>> RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?____
>> 
>> __ __
>> 
>> Axel____
>> 
>> 
>> A.2. 
>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#rfc.appendix.A.2>
>>
>> 
Key Management Algorithm Identifier Cross-Reference
>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#EncAlgXref>____
>>
>>
>> 
This section contains a table cross-referencing the JWE alg
>> (algorithm) values defined in this specification with the 
>> equivalent identifiers used by other standards and software 
>> packages. ____
>> 
>> *JWE**____*
>> 
>> 
>> 
>> *XML ENC**____*
>> 
>> 
>> 
>> *JCA**____*
>> 
>> 
>> 
>> *OID**____*
>> 
>> RSA1_5____
>> 
>> 
>> 
>> http://www.w3.org/2001/04/xmlenc#rsa-1_5____
>> 
>> 
>> 
>> RSA/ECB/PKCS1Padding____
>> 
>> 
>> 
>> 1.2.840.113549.1.1.1____
>> 
>> RSA-OAEP____
>> 
>> 
>> 
>> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p____
>> 
>> 
>> 
>> RSA/ECB/OAEPWithSHA-1AndMGF1Padding____
>> 
>> 
>> 
>> 1.2.840.113549.1.1.7____
>> 
>> RSA-OAEP-256____
>> 
>> 
>> 
>> http://www.w3.org/2009/xmlenc11#rsa-oaep____
>> 
>> 
>> 
>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding____
>> 
>> 
>> 
>> 1.2.840.113549.1.1.7____
>> 
>> __ __
>> 
>> __ __
>> 
>> -----Original Message----- From: Antonio Sanso
>> [mailto:asanso@adobe.com <mailto:asanso@adobe.com>] Sent:
>> Wednesday, May 07, 2014 4:24 PM To: Richer, Justin P. Cc: Brian
>> Campbell; Matt Miller; jose@ietf.org <mailto:jose@ietf.org>;
>> Nennker, Axel Subject: ***CAUTION_Invalid_Signature*** Re:
>> [jose] RSA-OAEP-256 Example
>> 
>> __ __
>> 
>> On 5/7/14, 2:21 AM, 
>> Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de 
>> <mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de>>
>>
>> 
wrote:____
>> 
>>> I think that the java implementations implemented the spec
>> and ____
>> 
>>> everything is ok from that POV.____
>> 
>>> __ __
>> 
>>> These implementations are not broken.____
>> 
>> __ __
>> 
>> The JOSE Java implementations did not implement the spec, 
>> though.____
>> 
>> draft-ietf-jose-json-web-algorithms § 4.3 clearly states the hash
>> and mask generation functions are to use the same algorithm --
>> SHA-1 (and____
>> 
>> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1
>> with____
>> 
>> SHA-256) in the case of "RSA-OAEP-256".____
>> 
>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> One could argue that when we replace SHA-1 by SHA-256 in one
>> place ____
>> 
>>> then we might consider to replace it in the padding too.____
>> 
>> __ __
>> 
>> That is exactly what draft-ietf-jose-json-web-algorithms 
>> specified.____
>> 
>> __ __
>> 
>>> __ __
>> 
>>> My feeling is that using sha-256 for the padding does not
>> give us more ____
>> 
>>> security. YMMW____
>> 
>>> __ __
>> 
>> __ __
>> 
>> That is a separate debate, I think.  The prevailing opinion (at
>> least around the IETF) is "don't mix the algorithms".____
>> 
>> __ __
>> 
>> __ __
>> 
>> --____
>> 
>> - m&m____
>> 
>> __ __
>> 
>> Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com 
>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>> > Cisco
>> Systems, Inc.____
>> 
>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> *From:*jose ____
>> 
>>> [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>
>> <mailto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e>]
>>
>> 
*On ____
>> 
>>> Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014
>> 6:54 AM ____
>> 
>>> *To:* Matt Miller____
>> 
>>> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org
>> <mailto:jose@ietf.org%3cmailto:jose@ietf.org>> *Subject:* ____
>> 
>>> Re: [jose]____
>> 
>>> RSA-OAEP-256 Example____
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> Thanks Matt.____
>> 
>>> __ __
>> 
>>> That is why I was looking for someone to verify using a
>> different ____
>> 
>>> platform. Though I was hoping it'd just work.____
>> 
>>> __ __
>> 
>>> Matt, can you try decrypting this one by chance? Using the
>> same key. I ____
>> 
>>> was more explicit with the parameters and, I think, MGF1
>> should be ____
>> 
>>> using SHA-256 now too.____
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> 
>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj____
>>
>>
>> 
> 
>> jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ____
>>
>>
>> 
> 
>> 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpi____
>>
>>
>> 
> 
>> OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j____
>>
>>
>> 
> 
>> L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPu____
>>
>>
>> 
> 
>> BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9____
>>
>>
>> 
> 
>> _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G____
>>
>>
>> 
> Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w____
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> On Tue, May 6, 2014 at 8:39 PM, Matt Miller ____
>> 
>>> <mamille2@cisco.com<mailto:mamille2@cisco.com
>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>____
>> 
>>> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com
>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>>> 
>> wrote:____
>> 
>>> __ __
>> 
>>> Short answer: You are all equally broken -- except from a
>> certain ____
>> 
>>> point of view d-:____
>> 
>>> __ __
>> 
>>> Long answer: The code I have is based on OpenSSL, which is
>> hard-coded ____
>> 
>>> to use SHA1 for the hash and mask generation (boo!), which
>> means one ____
>> 
>>> has to implement OAEP-SHA256 from scratch (hiss!!).____
>> 
>>> __ __
>> 
>>> When I implemented it per RFC 3447 and ____
>> 
>>> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could
>> not ____
>> 
>>> decrypt the provided results.  When I hard-coded MGF1 to use
>> "SHA1", I ____
>> 
>>> could decrypt provided results.  A search through
>> BouncyCastle's code ____
>> 
>>> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a
>> Hash ____
>> 
>>> function of____
>> 
>>> SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
>> Further ____
>> 
>>> evidence is shown with how [FORGE] can be made to work with
>> Java ____
>> 
>>> (search their homepage for "Compatible with Java's ____
>> 
>>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").____
>> 
>>> __ __
>> 
>>> Reconciling all of this with____
>> 
>>> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not
>> look to be ____
>> 
>>> very straight-forward.  It appears that the JCA identifier
>> is meant to ____
>> 
>>> be "MGF1 with SHA1"; that ought to be explicitly noted.____
>> 
>>> The XMLENC reference is arguably incomplete, since ____
>> 
>>> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to ____
>> 
>>> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1);
>> this can ____
>> 
>>> probably be addressed by explicitly stating the mask
>> generation ____
>> 
>>> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"____
>> 
>>> (MGF1 with SHA-256).____
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>>> __ __
>> 
>> 
>> 
>> 
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
>> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061
>> <tel:%2B1%20720.317.2061> Connect with us… twitter logo
>> <https://twitter.com/pingidentity> youtube logo 
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo 
>> <https://www.linkedin.com/company/21870> Facebook logo 
>> <https://www.facebook.com/pingidentitypage> Google+ logo 
>> <https://plus.google.com/u/0/114266977739397708540> slideshare 
>> logo <http://www.slideshare.net/PingIdentity> flipboard logo 
>> <http://flip.it/vjBF7> rss feed icon 
>> <https://www.pingidentity.com/blogs/>
>> 
>> Register for Cloud Identity Summit 2014 | Modern Identity 
>> Revolution | 19–23 July, 2014 | Monterey, CA 
>> <https://www.cloudidentitysummit.com/>
>> 
>> 
> 
> 
> 
> 
> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061 Connect
> with us… twitter logo <https://twitter.com/pingidentity> youtube
> logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo 
> <https://www.linkedin.com/company/21870> Facebook logo 
> <https://www.facebook.com/pingidentitypage> Google+ logo 
> <https://plus.google.com/u/0/114266977739397708540> slideshare
> logo <http://www.slideshare.net/PingIdentity> flipboard logo 
> <http://flip.it/vjBF7> rss feed icon
> <https://www.pingidentity.com/blogs/>
> 
> Register for Cloud Identity Summit 2014 | Modern Identity
> Revolution | 19–23 July, 2014 | Monterey, CA
> <https://www.cloudidentitysummit.com/>
> 
> 
> 
> 
> _______________________________________________ jose mailing list 
> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTbQR6AAoJEDWi+S0W7cO14kgH/3RsEgO+jMpMOmHKLxB695iK
DHO5wvJKXE/WI5WLlhEpK86TVcghdL7RJWxBXMw5Rz8+p27HLrr0mrBWw7PYBzCL
31fHFpd/OdsI8iaSnVeLXuG/fiPNBmPagYQ0iN/FMgVDI+Ra61dUT1Cq0yyFWFVj
1n1qzkjDhKhw9OkazcKWxp2fXvjhwaxtI/WrchBBPg5bJt0JA4MvlMhvoQHu5+gL
d2Qox1TO0j3XltTkvtliorDku1aHCFfNaqLwvDxfu89H+ayvqMHTzgi274y9JmGi
YvN1zzITnYkvpaeGC978sqLvg1j5Zh4VvO+3zquFeVJvu4801hrMyzzeSyeRpdc=
=2XGV
-----END PGP SIGNATURE-----


From nobody Sat May 10 14:17:34 2014
Return-Path: <jricher@mitre.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 2F5AE1A00D7 for <jose@ietfa.amsl.com>; Sat, 10 May 2014 14:17:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.396
X-Spam-Level: 
X-Spam-Status: No, score=-2.396 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651] 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 M0mJfOfd8oX8 for <jose@ietfa.amsl.com>; Sat, 10 May 2014 14:17:28 -0700 (PDT)
Received: from smtpksrv1.mitre.org (smtpksrv1.mitre.org [198.49.146.77]) by ietfa.amsl.com (Postfix) with ESMTP id EDBEE1A001B for <jose@ietf.org>; Sat, 10 May 2014 14:17:27 -0700 (PDT)
Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 6C5DE22600F7; Sat, 10 May 2014 17:17:22 -0400 (EDT)
Received: from IMCCAS04.MITRE.ORG (imccas04.mitre.org [129.83.29.81]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 4D9181F036B; Sat, 10 May 2014 17:17:22 -0400 (EDT)
Received: from IMCMBX01.MITRE.ORG ([169.254.1.73]) by IMCCAS04.MITRE.ORG ([129.83.29.81]) with mapi id 14.03.0174.001; Sat, 10 May 2014 17:17:21 -0400
From: "Richer, Justin P." <jricher@mitre.org>
To: Matt Miller <mamille2@cisco.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaaXt6y9pFg73WUeWYaQCNSAO4Zs00HCAgAA5+gCAAEbmgIAADyMAgAAMIwCAAtakQIAARdKAgAAu24CAAAIEAIAB4FAA
Date: Sat, 10 May 2014 21:17:21 +0000
Message-ID: <07A5F5E2-9EFC-4653-BE49-ED24C455FB63@mitre.org>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com> <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com> <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org> <CA+k3eCSFL9Bqdvz0S0+bFYNzkYZ_eoKukUeiShRXBH9dRzjmqg@mail.gmail.com> <536D047A.5030402@cisco.com>
In-Reply-To: <536D047A.5030402@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.31.50.140]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <0C035140CBEE6B4E853CCAC2C141AB6A@imc.mitre.org>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/AMk-iQSJE3yAqIkORvJP8LpkqW4
Cc: Antonio Sanso <asanso@adobe.com>, Brian Campbell <bcampbell@pingidentity.com>, Axel Nennker <Axel.Nennker@telekom.de>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 10 May 2014 21:17:32 -0000

The fact is that there's no way to get this kind of signature *without* the=
 param spec, since it overrides the padding definition defined by the strin=
g itself. So there's not actually a single string of any kind in JCE that w=
ill do the right thing, and the appendix ought to have both pieces in it.

 -- Justin

On May 9, 2014, at 12:38 PM, Matt Miller <mamille2@cisco.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> As I said originally, I don't think there's a straight-forward fix
> here.  It seems to me that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
> gets the closest to the intent here.
>=20
> I agree that "RSA/ECB/NOPADDING" is contradictory -- yes, you can get
> the Java code to the JOSE-specified configuration starting with that
> identifier string, but it's rather misleading without knowing the
> paramspec.
>=20
>=20
> - --=20
> - - m&m
>=20
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>=20
> On 5/9/14, 10:31 AM, Brian Campbell wrote:
>> So while OAEPWithSHA-256AndMGF1Padding is a little redundant with
>> the OAEPParameterSpec, I'd say NOPADDING seems a little
>> contradictory. But what do I know?
>>=20
>> I'm still not sure how to concisely explain it in the appendix.
>>=20
>>=20
>> On Fri, May 9, 2014 at 7:43 AM, Richer, Justin P.
>> <jricher@mitre.org <mailto:jricher@mitre.org>> wrote:
>>=20
>> I've found that it seems to work if you use NOPADDING, too:
>>=20
>> AlgorithmParameters algp =3D=20
>> AlgorithmParametersHelper.getInstance("OAEP", provider);=20
>> AlgorithmParameterSpec paramSpec =3D new
>> OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256,
>> PSource.PSpecified.DEFAULT); algp.init(paramSpec); Cipher cipher =3D
>> CipherHelper.getInstance("RSA/ECB/NOPADDING", provider);=20
>> cipher.init(Cipher.DECRYPT_MODE, priv, algp);
>>=20
>>=20
>> (Note that all the AlgorithmParametersHelper does in our code is=20
>> install the right provider if given.)
>>=20
>> -- Justin
>>=20
>> On May 9, 2014, at 9:32 AM, Brian Campbell=20
>> <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>>
>> wrote:
>>=20
>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#secti=
on-4.3
>>>=20
>>>=20
> is pretty clear about which parameters and hash functions to use
>>> in which OAEP alg.
>>>=20
>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#appen=
dix-A.2
>>>=20
>>>=20
> that you refer to Axel probably needs to be updated because just
>>> listing RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265=20
>>> isn't completely correct (well, maybe it is correct but a bit
>>> more is also needed).
>>>=20
>>> In order to do RSA-OAPE-265 correctly using the JCA APIs, one
>>> gets a Cipher with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then
>>> also initialize it with an OAEPParameterSpec that indicates that=20
>>> SHA-256 is to be used for MGF1 too.That looks something like
>>> this (or this is how I did it anyway):
>>>=20
>>> Cipher cipher =3D=20
>>> Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");=20
>>> OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec("SHA-256",=20
>>> "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);=20
>>> cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);
>>>=20
>>> The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant=20
>>> with what's specified in the OAEPParameterSpec but I've not been=20
>>> able to figure out any other way to make it work. I don't know=20
>>> exactly how to say that in the Key Management Algorithm
>>> Identifier Cross-Reference but that's apparently what needs to be
>>> done.
>>>=20
>>>=20
>>>=20
>>>=20
>>>=20
>>> On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de=20
>>> <mailto:Axel.Nennker@telekom.de>> wrote:
>>>=20
>>> Does =93RSA/ECB/OAEPWithSHA-1AndMGF1Padding=94 mean that SHA-256 must
>>> be used for padding too?____
>>>=20
>>> I did not read it so.____
>>>=20
>>> Did somebody manage to use JCA correctly with one algorithm=20
>>> specifier like
>>> RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?____
>>>=20
>>> __ __
>>>=20
>>> Axel____
>>>=20
>>>=20
>>> A.2.=20
>>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#r=
fc.appendix.A.2>
>>>=20
>>>=20
> Key Management Algorithm Identifier Cross-Reference
>>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.html#E=
ncAlgXref>____
>>>=20
>>>=20
>>>=20
> This section contains a table cross-referencing the JWE alg
>>> (algorithm) values defined in this specification with the=20
>>> equivalent identifiers used by other standards and software=20
>>> packages. ____
>>>=20
>>> *JWE**____*
>>>=20
>>>=20
>>>=20
>>> *XML ENC**____*
>>>=20
>>>=20
>>>=20
>>> *JCA**____*
>>>=20
>>>=20
>>>=20
>>> *OID**____*
>>>=20
>>> RSA1_5____
>>>=20
>>>=20
>>>=20
>>> http://www.w3.org/2001/04/xmlenc#rsa-1_5____
>>>=20
>>>=20
>>>=20
>>> RSA/ECB/PKCS1Padding____
>>>=20
>>>=20
>>>=20
>>> 1.2.840.113549.1.1.1____
>>>=20
>>> RSA-OAEP____
>>>=20
>>>=20
>>>=20
>>> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p____
>>>=20
>>>=20
>>>=20
>>> RSA/ECB/OAEPWithSHA-1AndMGF1Padding____
>>>=20
>>>=20
>>>=20
>>> 1.2.840.113549.1.1.7____
>>>=20
>>> RSA-OAEP-256____
>>>=20
>>>=20
>>>=20
>>> http://www.w3.org/2009/xmlenc11#rsa-oaep____
>>>=20
>>>=20
>>>=20
>>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding____
>>>=20
>>>=20
>>>=20
>>> 1.2.840.113549.1.1.7____
>>>=20
>>> __ __
>>>=20
>>> __ __
>>>=20
>>> -----Original Message----- From: Antonio Sanso
>>> [mailto:asanso@adobe.com <mailto:asanso@adobe.com>] Sent:
>>> Wednesday, May 07, 2014 4:24 PM To: Richer, Justin P. Cc: Brian
>>> Campbell; Matt Miller; jose@ietf.org <mailto:jose@ietf.org>;
>>> Nennker, Axel Subject: ***CAUTION_Invalid_Signature*** Re:
>>> [jose] RSA-OAEP-256 Example
>>>=20
>>> __ __
>>>=20
>>> On 5/7/14, 2:21 AM,=20
>>> Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de=20
>>> <mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de>>
>>>=20
>>>=20
> wrote:____
>>>=20
>>>> I think that the java implementations implemented the spec
>>> and ____
>>>=20
>>>> everything is ok from that POV.____
>>>=20
>>>> __ __
>>>=20
>>>> These implementations are not broken.____
>>>=20
>>> __ __
>>>=20
>>> The JOSE Java implementations did not implement the spec,=20
>>> though.____
>>>=20
>>> draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash
>>> and mask generation functions are to use the same algorithm --
>>> SHA-1 (and____
>>>=20
>>> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1
>>> with____
>>>=20
>>> SHA-256) in the case of "RSA-OAEP-256".____
>>>=20
>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> One could argue that when we replace SHA-1 by SHA-256 in one
>>> place ____
>>>=20
>>>> then we might consider to replace it in the padding too.____
>>>=20
>>> __ __
>>>=20
>>> That is exactly what draft-ietf-jose-json-web-algorithms=20
>>> specified.____
>>>=20
>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> My feeling is that using sha-256 for the padding does not
>>> give us more ____
>>>=20
>>>> security. YMMW____
>>>=20
>>>> __ __
>>>=20
>>> __ __
>>>=20
>>> That is a separate debate, I think.  The prevailing opinion (at
>>> least around the IETF) is "don't mix the algorithms".____
>>>=20
>>> __ __
>>>=20
>>> __ __
>>>=20
>>> --____
>>>=20
>>> - m&m____
>>>=20
>>> __ __
>>>=20
>>> Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com=20
>>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>> > Cisco
>>> Systems, Inc.____
>>>=20
>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> *From:*jose ____
>>>=20
>>>> [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>
>>> <mailto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e>]
>>>=20
>>>=20
> *On ____
>>>=20
>>>> Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014
>>> 6:54 AM ____
>>>=20
>>>> *To:* Matt Miller____
>>>=20
>>>> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org
>>> <mailto:jose@ietf.org%3cmailto:jose@ietf.org>> *Subject:* ____
>>>=20
>>>> Re: [jose]____
>>>=20
>>>> RSA-OAEP-256 Example____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> Thanks Matt.____
>>>=20
>>>> __ __
>>>=20
>>>> That is why I was looking for someone to verify using a
>>> different ____
>>>=20
>>>> platform. Though I was hoping it'd just work.____
>>>=20
>>>> __ __
>>>=20
>>>> Matt, can you try decrypting this one by chance? Using the
>>> same key. I ____
>>>=20
>>>> was more explicit with the parameters and, I think, MGF1
>>> should be ____
>>>=20
>>>> using SHA-256 now too.____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>>=20
>>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cMCj_=
___
>>>=20
>>>=20
>>>=20
>>=20
>>> jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442ZgZ_=
___
>>>=20
>>>=20
>>>=20
>>=20
>>> 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gWpi_=
___
>>>=20
>>>=20
>>>=20
>>=20
>>> OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE2j_=
___
>>>=20
>>>=20
>>>=20
>>=20
>>> L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQcPu_=
___
>>>=20
>>>=20
>>>=20
>>=20
>>> BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1s9_=
___
>>>=20
>>>=20
>>>=20
>>=20
>>> _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH5G_=
___
>>>=20
>>>=20
>>>=20
>> Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> On Tue, May 6, 2014 at 8:39 PM, Matt Miller ____
>>>=20
>>>> <mamille2@cisco.com<mailto:mamille2@cisco.com
>>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>____
>>>=20
>>>> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com
>>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>>>=20
>>> wrote:____
>>>=20
>>>> __ __
>>>=20
>>>> Short answer: You are all equally broken -- except from a
>>> certain ____
>>>=20
>>>> point of view d-:____
>>>=20
>>>> __ __
>>>=20
>>>> Long answer: The code I have is based on OpenSSL, which is
>>> hard-coded ____
>>>=20
>>>> to use SHA1 for the hash and mask generation (boo!), which
>>> means one ____
>>>=20
>>>> has to implement OAEP-SHA256 from scratch (hiss!!).____
>>>=20
>>>> __ __
>>>=20
>>>> When I implemented it per RFC 3447 and ____
>>>=20
>>>> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could
>>> not ____
>>>=20
>>>> decrypt the provided results.  When I hard-coded MGF1 to use
>>> "SHA1", I ____
>>>=20
>>>> could decrypt provided results.  A search through
>>> BouncyCastle's code ____
>>>=20
>>>> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a
>>> Hash ____
>>>=20
>>>> function of____
>>>=20
>>>> SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
>>> Further ____
>>>=20
>>>> evidence is shown with how [FORGE] can be made to work with
>>> Java ____
>>>=20
>>>> (search their homepage for "Compatible with Java's ____
>>>=20
>>>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").____
>>>=20
>>>> __ __
>>>=20
>>>> Reconciling all of this with____
>>>=20
>>>> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not
>>> look to be ____
>>>=20
>>>> very straight-forward.  It appears that the JCA identifier
>>> is meant to ____
>>>=20
>>>> be "MGF1 with SHA1"; that ought to be explicitly noted.____
>>>=20
>>>> The XMLENC reference is arguably incomplete, since ____
>>>=20
>>>> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to ____
>>>=20
>>>> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1);
>>> this can ____
>>>=20
>>>> probably be addressed by explicitly stating the mask
>>> generation ____
>>>=20
>>>> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"____
>>>=20
>>>> (MGF1 with SHA-256).____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>=20
>>>=20
>>>=20
>>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>>> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
>>> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061
>>> <tel:%2B1%20720.317.2061> Connect with us=85 twitter logo
>>> <https://twitter.com/pingidentity> youtube logo=20
>>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo=20
>>> <https://www.linkedin.com/company/21870> Facebook logo=20
>>> <https://www.facebook.com/pingidentitypage> Google+ logo=20
>>> <https://plus.google.com/u/0/114266977739397708540> slideshare=20
>>> logo <http://www.slideshare.net/PingIdentity> flipboard logo=20
>>> <http://flip.it/vjBF7> rss feed icon=20
>>> <https://www.pingidentity.com/blogs/>
>>>=20
>>> Register for Cloud Identity Summit 2014 | Modern Identity=20
>>> Revolution | 19=9623 July, 2014 | Monterey, CA=20
>>> <https://www.cloudidentitysummit.com/>
>>>=20
>>>=20
>>=20
>>=20
>>=20
>>=20
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
>> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061 Connect
>> with us=85 twitter logo <https://twitter.com/pingidentity> youtube
>> logo <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo=20
>> <https://www.linkedin.com/company/21870> Facebook logo=20
>> <https://www.facebook.com/pingidentitypage> Google+ logo=20
>> <https://plus.google.com/u/0/114266977739397708540> slideshare
>> logo <http://www.slideshare.net/PingIdentity> flipboard logo=20
>> <http://flip.it/vjBF7> rss feed icon
>> <https://www.pingidentity.com/blogs/>
>>=20
>> Register for Cloud Identity Summit 2014 | Modern Identity
>> Revolution | 19=9623 July, 2014 | Monterey, CA
>> <https://www.cloudidentitysummit.com/>
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________ jose mailing list=20
>> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>>=20
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>=20
> iQEcBAEBCgAGBQJTbQR6AAoJEDWi+S0W7cO14kgH/3RsEgO+jMpMOmHKLxB695iK
> DHO5wvJKXE/WI5WLlhEpK86TVcghdL7RJWxBXMw5Rz8+p27HLrr0mrBWw7PYBzCL
> 31fHFpd/OdsI8iaSnVeLXuG/fiPNBmPagYQ0iN/FMgVDI+Ra61dUT1Cq0yyFWFVj
> 1n1qzkjDhKhw9OkazcKWxp2fXvjhwaxtI/WrchBBPg5bJt0JA4MvlMhvoQHu5+gL
> d2Qox1TO0j3XltTkvtliorDku1aHCFfNaqLwvDxfu89H+ayvqMHTzgi274y9JmGi
> YvN1zzITnYkvpaeGC978sqLvg1j5Zh4VvO+3zquFeVJvu4801hrMyzzeSyeRpdc=3D
> =3D2XGV
> -----END PGP SIGNATURE-----


From nobody Sat May 10 14:31:06 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 790541A00E8 for <jose@ietfa.amsl.com>; Sat, 10 May 2014 14:31:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.553
X-Spam-Level: 
X-Spam-Status: No, score=0.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FRT_ADOBE2=2.455, SPF_HELO_PASS=-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 4nZstYC7RFHW for <jose@ietfa.amsl.com>; Sat, 10 May 2014 14:30:59 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0666.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::666]) by ietfa.amsl.com (Postfix) with ESMTP id 7B31E1A00DE for <jose@ietf.org>; Sat, 10 May 2014 14:30:59 -0700 (PDT)
Received: from CH1PR03CA011.namprd03.prod.outlook.com (10.255.156.156) by BN1PR03MB024.namprd03.prod.outlook.com (10.255.224.42) with Microsoft SMTP Server (TLS) id 15.0.944.11; Sat, 10 May 2014 21:30:30 +0000
Received: from BN1AFFO11FD056.protection.gbl (10.255.156.132) by CH1PR03CA011.outlook.office365.com (10.255.156.156) with Microsoft SMTP Server (TLS) id 15.0.944.11 via Frontend Transport; Sat, 10 May 2014 21:30:30 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD056.mail.protection.outlook.com (10.58.53.71) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Sat, 10 May 2014 21:30:30 +0000
Received: from TK5EX14MBXC292.redmond.corp.microsoft.com ([169.254.1.125]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.03.0181.007; Sat, 10 May 2014 21:30:05 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Richer, Justin P." <jricher@mitre.org>, Matt Miller <mamille2@cisco.com>
Thread-Topic: [jose] RSA-OAEP-256 Example
Thread-Index: AQHPaNzzUST7t/6zekuLw8sjGcxcCJszSweAgABAdgCAAAExAIAAAPYAgAAHsoCAAOTKgIAAFNOAgAA5+wCAAEbmgIAADyMAgAAMHACAAAMOAIAAAgaAgAMUfYCAAALggIAALueAgAACBACAAeBMgIAAA0dQ
Date: Sat, 10 May 2014 21:30:04 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD164DA@TK5EX14MBXC292.redmond.corp.microsoft.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com> <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com> <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org> <CA+k3eCSFL9Bqdvz0S0+bFYNzkYZ_eoKukUeiShRXBH9dRzjmqg@mail.gmail.com> <536D047A.5030402@cisco.com> <07A5F5E2-9EFC-4653-BE49-ED24C455FB63@mitre.org>
In-Reply-To: <07A5F5E2-9EFC-4653-BE49-ED24C455FB63@mitre.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.36]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(6009001)(438001)(51704005)(24454002)(199002)(189002)(13464003)(51444003)(479174003)(377454003)(54524002)(33656001)(86612001)(15395725003)(86362001)(92566001)(92726001)(83072002)(55846006)(575784001)(15202345003)(46102001)(26826002)(74662001)(76482001)(77982001)(50466002)(81342001)(81542001)(20776003)(47776003)(21056001)(64706001)(31966008)(23756003)(85852003)(19580395003)(4396001)(15975445006)(66066001)(80022001)(85806002)(6806004)(68736004)(76176999)(97736001)(54356999)(69596002)(19580405001)(44976005)(50986999)(83322001)(99396002)(2009001)(81156002)(15198665003)(87936001)(79102001)(74502001)(84676001)(2656002)(443494003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB024; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 02070414A1
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/ZGN9_O_ua7pJdarUGfCnqiTpWRM
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>, Axel Nennker <Axel.Nennker@telekom.de>, Brian Campbell <bcampbell@pingidentity.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 10 May 2014 21:31:04 -0000

I plan to just put both strings in the table the next time edits are made. =
 Are there other strings or OIDS in the tables that also should be updated,=
 based on people's implementation experiences?

				-- Mike

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richer, Justin P.
Sent: Saturday, May 10, 2014 2:17 PM
To: Matt Miller
Cc: Antonio Sanso; Brian Campbell; Axel Nennker; jose@ietf.org
Subject: Re: [jose] RSA-OAEP-256 Example

The fact is that there's no way to get this kind of signature *without* the=
 param spec, since it overrides the padding definition defined by the strin=
g itself. So there's not actually a single string of any kind in JCE that w=
ill do the right thing, and the appendix ought to have both pieces in it.

 -- Justin

On May 9, 2014, at 12:38 PM, Matt Miller <mamille2@cisco.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> As I said originally, I don't think there's a straight-forward fix=20
> here.  It seems to me that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
> gets the closest to the intent here.
>=20
> I agree that "RSA/ECB/NOPADDING" is contradictory -- yes, you can get=20
> the Java code to the JOSE-specified configuration starting with that=20
> identifier string, but it's rather misleading without knowing the=20
> paramspec.
>=20
>=20
> - --
> - - m&m
>=20
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>=20
> On 5/9/14, 10:31 AM, Brian Campbell wrote:
>> So while OAEPWithSHA-256AndMGF1Padding is a little redundant with the=20
>> OAEPParameterSpec, I'd say NOPADDING seems a little contradictory.=20
>> But what do I know?
>>=20
>> I'm still not sure how to concisely explain it in the appendix.
>>=20
>>=20
>> On Fri, May 9, 2014 at 7:43 AM, Richer, Justin P.
>> <jricher@mitre.org <mailto:jricher@mitre.org>> wrote:
>>=20
>> I've found that it seems to work if you use NOPADDING, too:
>>=20
>> AlgorithmParameters algp =3D
>> AlgorithmParametersHelper.getInstance("OAEP", provider);=20
>> AlgorithmParameterSpec paramSpec =3D new OAEPParameterSpec("SHA-256",=20
>> "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);=20
>> algp.init(paramSpec); Cipher cipher =3D=20
>> CipherHelper.getInstance("RSA/ECB/NOPADDING", provider);=20
>> cipher.init(Cipher.DECRYPT_MODE, priv, algp);
>>=20
>>=20
>> (Note that all the AlgorithmParametersHelper does in our code is=20
>> install the right provider if given.)
>>=20
>> -- Justin
>>=20
>> On May 9, 2014, at 9:32 AM, Brian Campbell=20
>> <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>>
>> wrote:
>>=20
>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#se
>>> ction-4.3
>>>=20
>>>=20
> is pretty clear about which parameters and hash functions to use
>>> in which OAEP alg.
>>>=20
>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#ap
>>> pendix-A.2
>>>=20
>>>=20
> that you refer to Axel probably needs to be updated because just
>>> listing RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265 isn't=20
>>> completely correct (well, maybe it is correct but a bit more is also=20
>>> needed).
>>>=20
>>> In order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a=20
>>> Cipher with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also=20
>>> initialize it with an OAEPParameterSpec that indicates that
>>> SHA-256 is to be used for MGF1 too.That looks something like this=20
>>> (or this is how I did it anyway):
>>>=20
>>> Cipher cipher =3D
>>> Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");
>>> OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec("SHA-256",=20
>>> "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);=20
>>> cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);
>>>=20
>>> The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant=20
>>> with what's specified in the OAEPParameterSpec but I've not been=20
>>> able to figure out any other way to make it work. I don't know=20
>>> exactly how to say that in the Key Management Algorithm Identifier=20
>>> Cross-Reference but that's apparently what needs to be done.
>>>=20
>>>=20
>>>=20
>>>=20
>>>=20
>>> On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de=20
>>> <mailto:Axel.Nennker@telekom.de>> wrote:
>>>=20
>>> Does "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" mean that SHA-256 must be=20
>>> used for padding too?____
>>>=20
>>> I did not read it so.____
>>>=20
>>> Did somebody manage to use JCA correctly with one algorithm=20
>>> specifier like RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?____
>>>=20
>>> __ __
>>>=20
>>> Axel____
>>>=20
>>>=20
>>> A.2.=20
>>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.htm
>>> l#rfc.appendix.A.2>
>>>=20
>>>=20
> Key Management Algorithm Identifier Cross-Reference
>>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.htm
>>> l#EncAlgXref>____
>>>=20
>>>=20
>>>=20
> This section contains a table cross-referencing the JWE alg
>>> (algorithm) values defined in this specification with the equivalent=20
>>> identifiers used by other standards and software packages. ____
>>>=20
>>> *JWE**____*
>>>=20
>>>=20
>>>=20
>>> *XML ENC**____*
>>>=20
>>>=20
>>>=20
>>> *JCA**____*
>>>=20
>>>=20
>>>=20
>>> *OID**____*
>>>=20
>>> RSA1_5____
>>>=20
>>>=20
>>>=20
>>> http://www.w3.org/2001/04/xmlenc#rsa-1_5____
>>>=20
>>>=20
>>>=20
>>> RSA/ECB/PKCS1Padding____
>>>=20
>>>=20
>>>=20
>>> 1.2.840.113549.1.1.1____
>>>=20
>>> RSA-OAEP____
>>>=20
>>>=20
>>>=20
>>> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p____
>>>=20
>>>=20
>>>=20
>>> RSA/ECB/OAEPWithSHA-1AndMGF1Padding____
>>>=20
>>>=20
>>>=20
>>> 1.2.840.113549.1.1.7____
>>>=20
>>> RSA-OAEP-256____
>>>=20
>>>=20
>>>=20
>>> http://www.w3.org/2009/xmlenc11#rsa-oaep____
>>>=20
>>>=20
>>>=20
>>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding____
>>>=20
>>>=20
>>>=20
>>> 1.2.840.113549.1.1.7____
>>>=20
>>> __ __
>>>=20
>>> __ __
>>>=20
>>> -----Original Message----- From: Antonio Sanso=20
>>> [mailto:asanso@adobe.com <mailto:asanso@adobe.com>] Sent:
>>> Wednesday, May 07, 2014 4:24 PM To: Richer, Justin P. Cc: Brian=20
>>> Campbell; Matt Miller; jose@ietf.org <mailto:jose@ietf.org>;=20
>>> Nennker, Axel Subject: ***CAUTION_Invalid_Signature*** Re:
>>> [jose] RSA-OAEP-256 Example
>>>=20
>>> __ __
>>>=20
>>> On 5/7/14, 2:21 AM,
>>> Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de
>>> <mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de>>
>>>=20
>>>=20
> wrote:____
>>>=20
>>>> I think that the java implementations implemented the spec
>>> and ____
>>>=20
>>>> everything is ok from that POV.____
>>>=20
>>>> __ __
>>>=20
>>>> These implementations are not broken.____
>>>=20
>>> __ __
>>>=20
>>> The JOSE Java implementations did not implement the spec,=20
>>> though.____
>>>=20
>>> draft-ietf-jose-json-web-algorithms =A7 4.3 clearly states the hash=20
>>> and mask generation functions are to use the same algorithm --
>>> SHA-1 (and____
>>>=20
>>> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1=20
>>> with____
>>>=20
>>> SHA-256) in the case of "RSA-OAEP-256".____
>>>=20
>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> One could argue that when we replace SHA-1 by SHA-256 in one
>>> place ____
>>>=20
>>>> then we might consider to replace it in the padding too.____
>>>=20
>>> __ __
>>>=20
>>> That is exactly what draft-ietf-jose-json-web-algorithms
>>> specified.____
>>>=20
>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> My feeling is that using sha-256 for the padding does not
>>> give us more ____
>>>=20
>>>> security. YMMW____
>>>=20
>>>> __ __
>>>=20
>>> __ __
>>>=20
>>> That is a separate debate, I think.  The prevailing opinion (at=20
>>> least around the IETF) is "don't mix the algorithms".____
>>>=20
>>> __ __
>>>=20
>>> __ __
>>>=20
>>> --____
>>>=20
>>> - m&m____
>>>=20
>>> __ __
>>>=20
>>> Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com
>>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>> > Cisco=20
>>> Systems, Inc.____
>>>=20
>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> *From:*jose ____
>>>=20
>>>> [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>
>>> <mailto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e>]
>>>=20
>>>=20
> *On ____
>>>=20
>>>> Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014
>>> 6:54 AM ____
>>>=20
>>>> *To:* Matt Miller____
>>>=20
>>>> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org
>>> <mailto:jose@ietf.org%3cmailto:jose@ietf.org>> *Subject:* ____
>>>=20
>>>> Re: [jose]____
>>>=20
>>>> RSA-OAEP-256 Example____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> Thanks Matt.____
>>>=20
>>>> __ __
>>>=20
>>>> That is why I was looking for someone to verify using a
>>> different ____
>>>=20
>>>> platform. Though I was hoping it'd just work.____
>>>=20
>>>> __ __
>>>=20
>>>> Matt, can you try decrypting this one by chance? Using the
>>> same key. I ____
>>>=20
>>>> was more explicit with the parameters and, I think, MGF1
>>> should be ____
>>>=20
>>>> using SHA-256 now too.____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>>=20
>>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cM
>>> Cj____
>>>=20
>>>=20
>>>=20
>>=20
>>> jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442Z
>>> gZ____
>>>=20
>>>=20
>>>=20
>>=20
>>> 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gW
>>> pi____
>>>=20
>>>=20
>>>=20
>>=20
>>> OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE
>>> 2j____
>>>=20
>>>=20
>>>=20
>>=20
>>> L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQc
>>> Pu____
>>>=20
>>>=20
>>>=20
>>=20
>>> BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1
>>> s9____
>>>=20
>>>=20
>>>=20
>>=20
>>> _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH
>>> 5G____
>>>=20
>>>=20
>>>=20
>> Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> On Tue, May 6, 2014 at 8:39 PM, Matt Miller ____
>>>=20
>>>> <mamille2@cisco.com<mailto:mamille2@cisco.com
>>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>____
>>>=20
>>>> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com
>>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>>>
>>> wrote:____
>>>=20
>>>> __ __
>>>=20
>>>> Short answer: You are all equally broken -- except from a
>>> certain ____
>>>=20
>>>> point of view d-:____
>>>=20
>>>> __ __
>>>=20
>>>> Long answer: The code I have is based on OpenSSL, which is
>>> hard-coded ____
>>>=20
>>>> to use SHA1 for the hash and mask generation (boo!), which
>>> means one ____
>>>=20
>>>> has to implement OAEP-SHA256 from scratch (hiss!!).____
>>>=20
>>>> __ __
>>>=20
>>>> When I implemented it per RFC 3447 and ____
>>>=20
>>>> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could
>>> not ____
>>>=20
>>>> decrypt the provided results.  When I hard-coded MGF1 to use
>>> "SHA1", I ____
>>>=20
>>>> could decrypt provided results.  A search through
>>> BouncyCastle's code ____
>>>=20
>>>> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a
>>> Hash ____
>>>=20
>>>> function of____
>>>=20
>>>> SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
>>> Further ____
>>>=20
>>>> evidence is shown with how [FORGE] can be made to work with
>>> Java ____
>>>=20
>>>> (search their homepage for "Compatible with Java's ____
>>>=20
>>>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").____
>>>=20
>>>> __ __
>>>=20
>>>> Reconciling all of this with____
>>>=20
>>>> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not
>>> look to be ____
>>>=20
>>>> very straight-forward.  It appears that the JCA identifier
>>> is meant to ____
>>>=20
>>>> be "MGF1 with SHA1"; that ought to be explicitly noted.____
>>>=20
>>>> The XMLENC reference is arguably incomplete, since ____
>>>=20
>>>> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to ____
>>>=20
>>>> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1);
>>> this can ____
>>>=20
>>>> probably be addressed by explicitly stating the mask
>>> generation ____
>>>=20
>>>> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"____
>>>=20
>>>> (MGF1 with SHA-256).____
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>> __ __
>>>=20
>>>=20
>>>=20
>>>=20
>>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>>> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
>>> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061
>>> <tel:%2B1%20720.317.2061> Connect with us. twitter logo=20
>>> <https://twitter.com/pingidentity> youtube logo=20
>>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo=20
>>> <https://www.linkedin.com/company/21870> Facebook logo=20
>>> <https://www.facebook.com/pingidentitypage> Google+ logo=20
>>> <https://plus.google.com/u/0/114266977739397708540> slideshare logo=20
>>> <http://www.slideshare.net/PingIdentity> flipboard logo=20
>>> <http://flip.it/vjBF7> rss feed icon=20
>>> <https://www.pingidentity.com/blogs/>
>>>=20
>>> Register for Cloud Identity Summit 2014 | Modern Identity Revolution=20
>>> | 19-23 July, 2014 | Monterey, CA=20
>>> <https://www.cloudidentitysummit.com/>
>>>=20
>>>=20
>>=20
>>=20
>>=20
>>=20
>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
>> Campbell Portfolio Architect @ 	bcampbell@pingidentity.com
>> <mailto:bcampbell@pingidentity.com> phone 	+1 720.317.2061 Connect
>> with us. twitter logo <https://twitter.com/pingidentity> youtube logo=20
>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo=20
>> <https://www.linkedin.com/company/21870> Facebook logo=20
>> <https://www.facebook.com/pingidentitypage> Google+ logo=20
>> <https://plus.google.com/u/0/114266977739397708540> slideshare logo=20
>> <http://www.slideshare.net/PingIdentity> flipboard logo=20
>> <http://flip.it/vjBF7> rss feed icon=20
>> <https://www.pingidentity.com/blogs/>
>>=20
>> Register for Cloud Identity Summit 2014 | Modern Identity Revolution=20
>> | 19-23 July, 2014 | Monterey, CA=20
>> <https://www.cloudidentitysummit.com/>
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________ jose mailing list=20
>> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>>=20
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>=20
> iQEcBAEBCgAGBQJTbQR6AAoJEDWi+S0W7cO14kgH/3RsEgO+jMpMOmHKLxB695iK
> DHO5wvJKXE/WI5WLlhEpK86TVcghdL7RJWxBXMw5Rz8+p27HLrr0mrBWw7PYBzCL
> 31fHFpd/OdsI8iaSnVeLXuG/fiPNBmPagYQ0iN/FMgVDI+Ra61dUT1Cq0yyFWFVj
> 1n1qzkjDhKhw9OkazcKWxp2fXvjhwaxtI/WrchBBPg5bJt0JA4MvlMhvoQHu5+gL
> d2Qox1TO0j3XltTkvtliorDku1aHCFfNaqLwvDxfu89H+ayvqMHTzgi274y9JmGi
> YvN1zzITnYkvpaeGC978sqLvg1j5Zh4VvO+3zquFeVJvu4801hrMyzzeSyeRpdc=3D
> =3D2XGV
> -----END PGP SIGNATURE-----

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


From nobody Sun May 11 07:43:04 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 C1D131A024E for <jose@ietfa.amsl.com>; Sun, 11 May 2014 07:42:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.123
X-Spam-Level: 
X-Spam-Status: No, score=-1.123 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 psU9U9qizLjb for <jose@ietfa.amsl.com>; Sun, 11 May 2014 07:42:51 -0700 (PDT)
Received: from na3sys009aog124.obsmtp.com (na3sys009aog124.obsmtp.com [74.125.149.151]) by ietfa.amsl.com (Postfix) with ESMTP id 98EA11A0225 for <jose@ietf.org>; Sun, 11 May 2014 07:42:50 -0700 (PDT)
Received: from mail-ig0-f180.google.com ([209.85.213.180]) (using TLSv1) by na3sys009aob124.postini.com ([74.125.148.12]) with SMTP ID DSNKU2+MZMmQxKUu77wJNh4s9DvuUt5ehxGM@postini.com; Sun, 11 May 2014 07:42:45 PDT
Received: by mail-ig0-f180.google.com with SMTP id c1so2900918igq.1 for <jose@ietf.org>; Sun, 11 May 2014 07:42:44 -0700 (PDT)
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=0zdw0XseO6TcTGLaujynPT3qojWWcmJhJTsvLXt4KGU=; b=ZX1e+CqJsoxhPvTdQAtkXXq62sPnzF7BR9ws5xk4xRY3UWjpzZ9Ukve5tdgfVzfZzh HsZjiBApAAI9FF4NW1w6RZIadge4Az9XIAZCt8IgLWjrkGeSs2NM3ywejnBGc/uFvYze qQMtbcySpbUYAwuEZNOlKQYskQvHIQSdZRcvQNBcLikFZdhDSM0P9kuUgBGxspwQWixj mSlX46Qkjc97EQePTi32eROo9aIgBJVOnQlDuUkPJB++07GcKKGyAdS9u1KWjQHdseBI 8yW4udnZSC+6xPQ0hb64iN3CwbtjFCrCTFb3FrCD7dz7WbIG3Zo5h18Z0RCYFHzLPpY0 TMmw==
X-Gm-Message-State: ALoCoQlFS9fsqSMCIk3vHNx/fUlXbg2m5kAMfbiOhSUMevVWzXnke3IwYIHAqej2QZmzzgRedPtCWKpk74FhQOkAgK1UQovgIK8s/muJ6IIxGXMQyG0cEx4FFxJnQA3vW7OqlTqrwWC6
X-Received: by 10.50.79.226 with SMTP id m2mr33203659igx.11.1399819364683; Sun, 11 May 2014 07:42:44 -0700 (PDT)
X-Received: by 10.50.79.226 with SMTP id m2mr33203627igx.11.1399819364529; Sun, 11 May 2014 07:42:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.240.201 with HTTP; Sun, 11 May 2014 07:42:14 -0700 (PDT)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD164DA@TK5EX14MBXC292.redmond.corp.microsoft.com>
References: <CA+k3eCSa7rHj5bJZXy4pAF2WVVOOpMign6Pu2rnZQtT+7usx3w@mail.gmail.com> <7BAE8830-3CD7-4BD5-B1E7-6A09FE34F402@adobe.com> <CA+k3eCS5RTNoyij5kJCAh4zD4gPh_c21tYC7mC-HR6GO=8EB8g@mail.gmail.com> <C2972F75-E43C-4E79-A248-860CFA1F9E6A@adobe.com> <CA+k3eCSeb5F1Z+2W3hH4aNLgnsdGD7XatUQa2nWuOXQ-F2bguw@mail.gmail.com> <5369AAE7.2060704@cisco.com> <CA+k3eCSa3YtX5dVjh7ScibtQVphknKC4acZkE2or5n=QcBdxOQ@mail.gmail.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603A59@HE111541.emea1.cds.t-internal.com> <536A287B.4030905@cisco.com> <CA+k3eCQ63iKbHeBZ1y3hXN9jk7Z0qEu23AJDXh=qW57492tvGA@mail.gmail.com> <04474579-8878-47FB-8218-45B6EE618C6F@mitre.org> <C4F202FB-5B5E-4A6F-BB00-870C01A60005@adobe.com> <CE8995AB5D178F44A2154F5C9A97CAF402631C603DFA@HE111541.emea1.cds.t-internal.com> <CA+k3eCS-3+CYmWo4HTUSGZGYVH6dJ-LOkReOM5wFqEMVWqQMaQ@mail.gmail.com> <534AC72E-F7C4-4EAA-B1D7-194CAFC08961@mitre.org> <CA+k3eCSFL9Bqdvz0S0+bFYNzkYZ_eoKukUeiShRXBH9dRzjmqg@mail.gmail.com> <536D047A.5030402@cisco.com> <07A5F5E2-9EFC-4653-BE49-ED24C455FB63@mitre.org> <4E1F6AAD24975D4BA5B16804296739439AD164DA@TK5EX14MBXC292.redmond.corp.microsoft.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Sun, 11 May 2014 08:42:14 -0600
Message-ID: <CA+k3eCSropPDgLg-Y4m4cNCMociGXjNb1--P8Xz_D-FSUdK37A@mail.gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=089e01160752f90ba704f920d75f
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/JSH-iRIg1vDbEu3BaSIOwF6mre4
Cc: Antonio Sanso <asanso@adobe.com>, "jose@ietf.org" <jose@ietf.org>, "Richer, Justin P." <jricher@mitre.org>, Axel Nennker <Axel.Nennker@telekom.de>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] RSA-OAEP-256 Example
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, 11 May 2014 14:42:56 -0000

--089e01160752f90ba704f920d75f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yeah, I've got a few potential updates to the table based on my experience
building https://bitbucket.org/b_c/jose4j

"AESWrap" is the JCA string/transform for A128KW, A192KW and A256KW.

For ECDH-ES, the java algorithm for the key agreement part is "ECDH".
AFAIK, there is nothing in the JCA that does the KDF so that part needs to
be written 'from scratch' using a SHA-256 message digest. Dunno how much of
that you want to try and capture in the table, maybe just "ECDH" is good.
The AES key wrap part of the ECDH-ES+AxxxKW ones use same "AESWrap" as the
AxxxKW above.

A128GCMKW, A192GCMKW and A256GCMKW, which aren't currently in appendix A.2
all use the same JCA algorithm as their AxxxGCM content encryption
counterparts: "AES/GCM/NoPadding"

"PBKDF2WithHmacSHA256", "PBKDF2WithHmacSHA384" and "PBKDF2WithHmacSHA512"
would be the SecretKeyFactory JCA algorithms for the PBKDF2 part of
PBES2-HS256+A128KW, PBES2-HS384+A192KW and PBES2-HS512+A256KW
respectively.  But they aren't widely implemented (only in the Java 8
provider, I think, most providers only seem to have PBKDF2WithHmacSHA1) so
I ended up writing my own PBKDF2 using the corresponding HMAC-SHA2 Mac.
The encryption part is the same as the AxxxKW.









On Sat, May 10, 2014 at 3:30 PM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

> I plan to just put both strings in the table the next time edits are made=
.
>  Are there other strings or OIDS in the tables that also should be update=
d,
> based on people's implementation experiences?
>
>                                 -- Mike
>
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richer, Justin P.
> Sent: Saturday, May 10, 2014 2:17 PM
> To: Matt Miller
> Cc: Antonio Sanso; Brian Campbell; Axel Nennker; jose@ietf.org
> Subject: Re: [jose] RSA-OAEP-256 Example
>
> The fact is that there's no way to get this kind of signature *without*
> the param spec, since it overrides the padding definition defined by the
> string itself. So there's not actually a single string of any kind in JCE
> that will do the right thing, and the appendix ought to have both pieces =
in
> it.
>
>  -- Justin
>
> On May 9, 2014, at 12:38 PM, Matt Miller <mamille2@cisco.com> wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > As I said originally, I don't think there's a straight-forward fix
> > here.  It seems to me that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding"
> > gets the closest to the intent here.
> >
> > I agree that "RSA/ECB/NOPADDING" is contradictory -- yes, you can get
> > the Java code to the JOSE-specified configuration starting with that
> > identifier string, but it's rather misleading without knowing the
> > paramspec.
> >
> >
> > - --
> > - - m&m
> >
> > Matt Miller < mamille2@cisco.com >
> > Cisco Systems, Inc.
> >
> > On 5/9/14, 10:31 AM, Brian Campbell wrote:
> >> So while OAEPWithSHA-256AndMGF1Padding is a little redundant with the
> >> OAEPParameterSpec, I'd say NOPADDING seems a little contradictory.
> >> But what do I know?
> >>
> >> I'm still not sure how to concisely explain it in the appendix.
> >>
> >>
> >> On Fri, May 9, 2014 at 7:43 AM, Richer, Justin P.
> >> <jricher@mitre.org <mailto:jricher@mitre.org>> wrote:
> >>
> >> I've found that it seems to work if you use NOPADDING, too:
> >>
> >> AlgorithmParameters algp =3D
> >> AlgorithmParametersHelper.getInstance("OAEP", provider);
> >> AlgorithmParameterSpec paramSpec =3D new OAEPParameterSpec("SHA-256",
> >> "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
> >> algp.init(paramSpec); Cipher cipher =3D
> >> CipherHelper.getInstance("RSA/ECB/NOPADDING", provider);
> >> cipher.init(Cipher.DECRYPT_MODE, priv, algp);
> >>
> >>
> >> (Note that all the AlgorithmParametersHelper does in our code is
> >> install the right provider if given.)
> >>
> >> -- Justin
> >>
> >> On May 9, 2014, at 9:32 AM, Brian Campbell
> >> <bcampbell@pingidentity.com <mailto:bcampbell@pingidentity.com>>
> >> wrote:
> >>
> >>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#se
> >>> ction-4.3
> >>>
> >>>
> > is pretty clear about which parameters and hash functions to use
> >>> in which OAEP alg.
> >>>
> >>> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#ap
> >>> pendix-A.2
> >>>
> >>>
> > that you refer to Axel probably needs to be updated because just
> >>> listing RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265 isn't
> >>> completely correct (well, maybe it is correct but a bit more is also
> >>> needed).
> >>>
> >>> In order to do RSA-OAPE-265 correctly using the JCA APIs, one gets a
> >>> Cipher with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then also
> >>> initialize it with an OAEPParameterSpec that indicates that
> >>> SHA-256 is to be used for MGF1 too.That looks something like this
> >>> (or this is how I did it anyway):
> >>>
> >>> Cipher cipher =3D
> >>> Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");
> >>> OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec("SHA-256",
> >>> "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT);
> >>> cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);
> >>>
> >>> The "...WithSHA-256AndMGF1Padding" part seems somewhat redundant
> >>> with what's specified in the OAEPParameterSpec but I've not been
> >>> able to figure out any other way to make it work. I don't know
> >>> exactly how to say that in the Key Management Algorithm Identifier
> >>> Cross-Reference but that's apparently what needs to be done.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, May 7, 2014 at 8:30 AM, <Axel.Nennker@telekom.de
> >>> <mailto:Axel.Nennker@telekom.de>> wrote:
> >>>
> >>> Does "RSA/ECB/OAEPWithSHA-1AndMGF1Padding" mean that SHA-256 must be
> >>> used for padding too?____
> >>>
> >>> I did not read it so.____
> >>>
> >>> Did somebody manage to use JCA correctly with one algorithm
> >>> specifier like RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?____
> >>>
> >>> __ __
> >>>
> >>> Axel____
> >>>
> >>>
> >>> A.2.
> >>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.htm
> >>> l#rfc.appendix.A.2>
> >>>
> >>>
> > Key Management Algorithm Identifier Cross-Reference
> >>> <http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-26.htm
> >>> l#EncAlgXref>____
> >>>
> >>>
> >>>
> > This section contains a table cross-referencing the JWE alg
> >>> (algorithm) values defined in this specification with the equivalent
> >>> identifiers used by other standards and software packages. ____
> >>>
> >>> *JWE**____*
> >>>
> >>>
> >>>
> >>> *XML ENC**____*
> >>>
> >>>
> >>>
> >>> *JCA**____*
> >>>
> >>>
> >>>
> >>> *OID**____*
> >>>
> >>> RSA1_5____
> >>>
> >>>
> >>>
> >>> http://www.w3.org/2001/04/xmlenc#rsa-1_5____
> >>>
> >>>
> >>>
> >>> RSA/ECB/PKCS1Padding____
> >>>
> >>>
> >>>
> >>> 1.2.840.113549.1.1.1____
> >>>
> >>> RSA-OAEP____
> >>>
> >>>
> >>>
> >>> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p____
> >>>
> >>>
> >>>
> >>> RSA/ECB/OAEPWithSHA-1AndMGF1Padding____
> >>>
> >>>
> >>>
> >>> 1.2.840.113549.1.1.7____
> >>>
> >>> RSA-OAEP-256____
> >>>
> >>>
> >>>
> >>> http://www.w3.org/2009/xmlenc11#rsa-oaep____
> >>>
> >>>
> >>>
> >>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding____
> >>>
> >>>
> >>>
> >>> 1.2.840.113549.1.1.7____
> >>>
> >>> __ __
> >>>
> >>> __ __
> >>>
> >>> -----Original Message----- From: Antonio Sanso
> >>> [mailto:asanso@adobe.com <mailto:asanso@adobe.com>] Sent:
> >>> Wednesday, May 07, 2014 4:24 PM To: Richer, Justin P. Cc: Brian
> >>> Campbell; Matt Miller; jose@ietf.org <mailto:jose@ietf.org>;
> >>> Nennker, Axel Subject: ***CAUTION_Invalid_Signature*** Re:
> >>> [jose] RSA-OAEP-256 Example
> >>>
> >>> __ __
> >>>
> >>> On 5/7/14, 2:21 AM,
> >>> Axel.Nennker@telekom.de<mailto:Axel.Nennker@telekom.de
> >>> <mailto:Axel.Nennker@telekom.de%3cmailto:Axel.Nennker@telekom.de>>
> >>>
> >>>
> > wrote:____
> >>>
> >>>> I think that the java implementations implemented the spec
> >>> and ____
> >>>
> >>>> everything is ok from that POV.____
> >>>
> >>>> __ __
> >>>
> >>>> These implementations are not broken.____
> >>>
> >>> __ __
> >>>
> >>> The JOSE Java implementations did not implement the spec,
> >>> though.____
> >>>
> >>> draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states the has=
h
> >>> and mask generation functions are to use the same algorithm --
> >>> SHA-1 (and____
> >>>
> >>> MGF1 with SHA-1) in the case of "RSA-OAEP", and SHA-256 (and MGF1
> >>> with____
> >>>
> >>> SHA-256) in the case of "RSA-OAEP-256".____
> >>>
> >>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> One could argue that when we replace SHA-1 by SHA-256 in one
> >>> place ____
> >>>
> >>>> then we might consider to replace it in the padding too.____
> >>>
> >>> __ __
> >>>
> >>> That is exactly what draft-ietf-jose-json-web-algorithms
> >>> specified.____
> >>>
> >>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> My feeling is that using sha-256 for the padding does not
> >>> give us more ____
> >>>
> >>>> security. YMMW____
> >>>
> >>>> __ __
> >>>
> >>> __ __
> >>>
> >>> That is a separate debate, I think.  The prevailing opinion (at
> >>> least around the IETF) is "don't mix the algorithms".____
> >>>
> >>> __ __
> >>>
> >>> __ __
> >>>
> >>> --____
> >>>
> >>> - m&m____
> >>>
> >>> __ __
> >>>
> >>> Matt Miller < mamille2@cisco.com<mailto:mamille2@cisco.com
> >>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>> > Cisco
> >>> Systems, Inc.____
> >>>
> >>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> *From:*jose ____
> >>>
> >>>> [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>
> >>> <mailto:jose-bounces@ietf.org%3cmailto:jose-bounces@ietf.org%3e>]
> >>>
> >>>
> > *On ____
> >>>
> >>>> Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014
> >>> 6:54 AM ____
> >>>
> >>>> *To:* Matt Miller____
> >>>
> >>>> *Cc:* Antonio Sanso; jose@ietf.org<mailto:jose@ietf.org
> >>> <mailto:jose@ietf.org%3cmailto:jose@ietf.org>> *Subject:* ____
> >>>
> >>>> Re: [jose]____
> >>>
> >>>> RSA-OAEP-256 Example____
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> Thanks Matt.____
> >>>
> >>>> __ __
> >>>
> >>>> That is why I was looking for someone to verify using a
> >>> different ____
> >>>
> >>>> platform. Though I was hoping it'd just work.____
> >>>
> >>>> __ __
> >>>
> >>>> Matt, can you try decrypting this one by chance? Using the
> >>> same key. I ____
> >>>
> >>>> was more explicit with the parameters and, I think, MGF1
> >>> should be ____
> >>>
> >>>> using SHA-256 now too.____
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>>
> >>> eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL5IL5cM
> >>> Cj____
> >>>
> >>>
> >>>
> >>
> >>> jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3UEL442Z
> >>> gZ____
> >>>
> >>>
> >>>
> >>
> >>> 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eehbCA3gW
> >>> pi____
> >>>
> >>>
> >>>
> >>
> >>> OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_EJxmcE
> >>> 2j____
> >>>
> >>>
> >>>
> >>
> >>> L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGpMleIQc
> >>> Pu____
> >>>
> >>>
> >>>
> >>
> >>> BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P8UAzh1
> >>> s9____
> >>>
> >>>
> >>>
> >>
> >>> _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRCp2feAH
> >>> 5G____
> >>>
> >>>
> >>>
> >> Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w____
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> On Tue, May 6, 2014 at 8:39 PM, Matt Miller ____
> >>>
> >>>> <mamille2@cisco.com<mailto:mamille2@cisco.com
> >>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>____
> >>>
> >>>> <mailto:mamille2@cisco.com<mailto:mamille2@cisco.com
> >>> <mailto:mamille2@cisco.com%3cmailto:mamille2@cisco.com>>>>
> >>> wrote:____
> >>>
> >>>> __ __
> >>>
> >>>> Short answer: You are all equally broken -- except from a
> >>> certain ____
> >>>
> >>>> point of view d-:____
> >>>
> >>>> __ __
> >>>
> >>>> Long answer: The code I have is based on OpenSSL, which is
> >>> hard-coded ____
> >>>
> >>>> to use SHA1 for the hash and mask generation (boo!), which
> >>> means one ____
> >>>
> >>>> has to implement OAEP-SHA256 from scratch (hiss!!).____
> >>>
> >>>> __ __
> >>>
> >>>> When I implemented it per RFC 3447 and ____
> >>>
> >>>> draft-ietf-jose-json-web-algorithms-26#section-4.3, I could
> >>> not ____
> >>>
> >>>> decrypt the provided results.  When I hard-coded MGF1 to use
> >>> "SHA1", I ____
> >>>
> >>>> could decrypt provided results.  A search through
> >>> BouncyCastle's code ____
> >>>
> >>>> shows that "RSA/ECB/OAEPWithSHA-256AndMGF1Padding" uses a
> >>> Hash ____
> >>>
> >>>> function of____
> >>>
> >>>> SHA-256 generate the lHash but its MGF1 uses a "SHA-1".
> >>> Further ____
> >>>
> >>>> evidence is shown with how [FORGE] can be made to work with
> >>> Java ____
> >>>
> >>>> (search their homepage for "Compatible with Java's ____
> >>>
> >>>> RSA/ECB/OAEPWithSHA-256AndMGF1Padding").____
> >>>
> >>>> __ __
> >>>
> >>>> Reconciling all of this with____
> >>>
> >>>> draft-ietf-jose-json-web-algorithms#appendix-A.2 does not
> >>> look to be ____
> >>>
> >>>> very straight-forward.  It appears that the JCA identifier
> >>> is meant to ____
> >>>
> >>>> be "MGF1 with SHA1"; that ought to be explicitly noted.____
> >>>
> >>>> The XMLENC reference is arguably incomplete, since ____
> >>>
> >>>> "http://www.w3.org/2009/xmlenc11#rsa-oaep" defaults to ____
> >>>
> >>>> "http://www.w3.org/2009/xmlenc11#mgf1sha1" (MGF1 with SHA1);
> >>> this can ____
> >>>
> >>>> probably be addressed by explicitly stating the mask
> >>> generation ____
> >>>
> >>>> function is "http://www.w3.org/2009/xmlenc11#mgf1sha256"____
> >>>
> >>>> (MGF1 with SHA-256).____
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>> __ __
> >>>
> >>>
> >>>
> >>>
> >>> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> >>> Campbell Portfolio Architect @      bcampbell@pingidentity.com
> >>> <mailto:bcampbell@pingidentity.com> phone   +1 720.317.2061
> >>> <tel:%2B1%20720.317.2061> Connect with us. twitter logo
> >>> <https://twitter.com/pingidentity> youtube logo
> >>> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> >>> <https://www.linkedin.com/company/21870> Facebook logo
> >>> <https://www.facebook.com/pingidentitypage> Google+ logo
> >>> <https://plus.google.com/u/0/114266977739397708540> slideshare logo
> >>> <http://www.slideshare.net/PingIdentity> flipboard logo
> >>> <http://flip.it/vjBF7> rss feed icon
> >>> <https://www.pingidentity.com/blogs/>
> >>>
> >>> Register for Cloud Identity Summit 2014 | Modern Identity Revolution
> >>> | 19-23 July, 2014 | Monterey, CA
> >>> <https://www.cloudidentitysummit.com/>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >> -- Ping Identity logo <https://www.pingidentity.com/> Brian
> >> Campbell Portfolio Architect @       bcampbell@pingidentity.com
> >> <mailto:bcampbell@pingidentity.com> phone    +1 720.317.2061 Connect
> >> with us. twitter logo <https://twitter.com/pingidentity> youtube logo
> >> <https://www.youtube.com/user/PingIdentityTV> LinkedIn logo
> >> <https://www.linkedin.com/company/21870> Facebook logo
> >> <https://www.facebook.com/pingidentitypage> Google+ logo
> >> <https://plus.google.com/u/0/114266977739397708540> slideshare logo
> >> <http://www.slideshare.net/PingIdentity> flipboard logo
> >> <http://flip.it/vjBF7> rss feed icon
> >> <https://www.pingidentity.com/blogs/>
> >>
> >> Register for Cloud Identity Summit 2014 | Modern Identity Revolution
> >> | 19-23 July, 2014 | Monterey, CA
> >> <https://www.cloudidentitysummit.com/>
> >>
> >>
> >>
> >>
> >> _______________________________________________ jose mailing list
> >> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
> >>
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> > Comment: GPGTools - https://gpgtools.org
> > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> >
> > iQEcBAEBCgAGBQJTbQR6AAoJEDWi+S0W7cO14kgH/3RsEgO+jMpMOmHKLxB695iK
> > DHO5wvJKXE/WI5WLlhEpK86TVcghdL7RJWxBXMw5Rz8+p27HLrr0mrBWw7PYBzCL
> > 31fHFpd/OdsI8iaSnVeLXuG/fiPNBmPagYQ0iN/FMgVDI+Ra61dUT1Cq0yyFWFVj
> > 1n1qzkjDhKhw9OkazcKWxp2fXvjhwaxtI/WrchBBPg5bJt0JA4MvlMhvoQHu5+gL
> > d2Qox1TO0j3XltTkvtliorDku1aHCFfNaqLwvDxfu89H+ayvqMHTzgi274y9JmGi
> > YvN1zzITnYkvpaeGC978sqLvg1j5Zh4VvO+3zquFeVJvu4801hrMyzzeSyeRpdc=3D
> > =3D2XGV
> > -----END PGP SIGNATURE-----
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>



--=20
   [image: Ping Identity logo] <https://www.pingidentity.com/>
Brian Campbell
Portfolio Architect
  @ bcampbell@pingidentity.com  [image: phone] +1 720.317.2061  Connect
with us=E2=80=A6  [image: twitter logo] <https://twitter.com/pingidentity> =
[image:
youtube logo] <https://www.youtube.com/user/PingIdentityTV> [image:
LinkedIn logo] <https://www.linkedin.com/company/21870> [image: Facebook
logo] <https://www.facebook.com/pingidentitypage> [image: Google+
logo]<https://plus.google.com/u/0/114266977739397708540> [image:
slideshare logo] <http://www.slideshare.net/PingIdentity> [image: flipboard
logo] <http://flip.it/vjBF7> [image: rss feed
icon]<https://www.pingidentity.com/blogs/>
   [image: Register for Cloud Identity Summit 2014 | Modern Identity
Revolution | 19=E2=80=9323 July, 2014 | Monterey,
CA]<https://www.cloudidentitysummit.com/>

--089e01160752f90ba704f920d75f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Yeah, I&#39;ve got a few potential updates to the tab=
le based on my experience building <a href=3D"https://bitbucket.org/b_c/jos=
e4j">https://bitbucket.org/b_c/jose4j</a>=C2=A0 <br><br>&quot;AESWrap&quot;=
 is the JCA string/transform for A128KW, A192KW and A256KW.<br>

<br></div>For ECDH-ES, the java algorithm for the key agreement part is &qu=
ot;ECDH&quot;. AFAIK, there is nothing in the JCA that does the KDF so that=
 part needs to be written &#39;from scratch&#39; using a SHA-256 message di=
gest. Dunno how much of that you want to try and capture in the table, mayb=
e just &quot;ECDH&quot; is good. The AES key wrap part of the ECDH-ES+AxxxK=
W ones use same &quot;AESWrap&quot; as the AxxxKW above. <br>

<div><br><span style=3D"color:rgb(51,51,51);font-family:Arial,sans-serif;fo=
nt-size:14px;font-style:normal;font-variant:normal;font-weight:normal;lette=
r-spacing:normal;line-height:20px;text-align:left;text-indent:0px;text-tran=
sform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255=
,255);display:inline!important;float:none">A128GCMKW, </span><span style=3D=
"color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;font-style=
:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-h=
eight:20px;text-align:left;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!im=
portant;float:none">A192GCMKW and </span><span style=3D"color:rgb(51,51,51)=
;font-family:Arial,sans-serif;font-size:14px;font-style:normal;font-variant=
:normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-alig=
n:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:=
0px;background-color:rgb(255,255,255);display:inline!important;float:none">=
A256GCMKW, which aren&#39;t currently in </span>appendix A.2 all use the sa=
me JCA algorithm as their AxxxGCM content encryption counterparts: &quot;AE=
S/GCM/NoPadding&quot;<br>

<br>&quot;PBKDF2WithHmacSHA256&quot;, &quot;PBKDF2WithHmacSHA384&quot; and =
&quot;PBKDF2WithHmacSHA512&quot; would be the SecretKeyFactory JCA algorith=
ms for the PBKDF2 part of PBES2-HS256+A128KW, PBES2-HS384+A192KW and PBES2-=
HS512+A256KW respectively.=C2=A0 But they aren&#39;t widely implemented (on=
ly in the Java 8 provider, I think, most providers only seem to have PBKDF2=
WithHmacSHA1) so I ended up writing my own PBKDF2 using the corresponding H=
MAC-SHA2 Mac.=C2=A0 The encryption part is the same as the AxxxKW. <br>

<br><br>=C2=A0 <br>
<br><br>=C2=A0<br><br></div></div><div class=3D"gmail_extra"><br><br><div c=
lass=3D"gmail_quote">On Sat, May 10, 2014 at 3:30 PM, Mike Jones <span dir=
=3D"ltr">&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blan=
k">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">I plan to just put both strings in the table=
 the next time edits are made. =C2=A0Are there other strings or OIDS in the=
 tables that also should be updated, based on people&#39;s implementation e=
xperiences?<br>


<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<div class=3D""><br>
-----Original Message-----<br>
From: jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ie=
tf.org</a>] On Behalf Of Richer, Justin P.<br>
Sent: Saturday, May 10, 2014 2:17 PM<br>
To: Matt Miller<br>
</div><div class=3D"">Cc: Antonio Sanso; Brian Campbell; Axel Nennker; <a h=
ref=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
Subject: Re: [jose] RSA-OAEP-256 Example<br>
<br>
</div><div><div class=3D"h5">The fact is that there&#39;s no way to get thi=
s kind of signature *without* the param spec, since it overrides the paddin=
g definition defined by the string itself. So there&#39;s not actually a si=
ngle string of any kind in JCE that will do the right thing, and the append=
ix ought to have both pieces in it.<br>


<br>
=C2=A0-- Justin<br>
<br>
On May 9, 2014, at 12:38 PM, Matt Miller &lt;<a href=3D"mailto:mamille2@cis=
co.com">mamille2@cisco.com</a>&gt; wrote:<br>
<br>
&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>
&gt; Hash: SHA512<br>
&gt;<br>
&gt; As I said originally, I don&#39;t think there&#39;s a straight-forward=
 fix<br>
&gt; here. =C2=A0It seems to me that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Pa=
dding&quot;<br>
&gt; gets the closest to the intent here.<br>
&gt;<br>
&gt; I agree that &quot;RSA/ECB/NOPADDING&quot; is contradictory -- yes, yo=
u can get<br>
&gt; the Java code to the JOSE-specified configuration starting with that<b=
r>
&gt; identifier string, but it&#39;s rather misleading without knowing the<=
br>
&gt; paramspec.<br>
&gt;<br>
&gt;<br>
&gt; - --<br>
&gt; - - m&amp;m<br>
&gt;<br>
&gt; Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com">mamille2@cisco.=
com</a> &gt;<br>
&gt; Cisco Systems, Inc.<br>
&gt;<br>
&gt; On 5/9/14, 10:31 AM, Brian Campbell wrote:<br>
&gt;&gt; So while OAEPWithSHA-256AndMGF1Padding is a little redundant with =
the<br>
&gt;&gt; OAEPParameterSpec, I&#39;d say NOPADDING seems a little contradict=
ory.<br>
&gt;&gt; But what do I know?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m still not sure how to concisely explain it in the appendix=
.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, May 9, 2014 at 7:43 AM, Richer, Justin P.<br>
&gt;&gt; &lt;<a href=3D"mailto:jricher@mitre.org">jricher@mitre.org</a> &lt=
;mailto:<a href=3D"mailto:jricher@mitre.org">jricher@mitre.org</a>&gt;&gt; =
wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve found that it seems to work if you use NOPADDING, too:<br=
>
&gt;&gt;<br>
&gt;&gt; AlgorithmParameters algp =3D<br>
&gt;&gt; AlgorithmParametersHelper.getInstance(&quot;OAEP&quot;, provider);=
<br>
&gt;&gt; AlgorithmParameterSpec paramSpec =3D new OAEPParameterSpec(&quot;S=
HA-256&quot;,<br>
&gt;&gt; &quot;MGF1&quot;, MGF1ParameterSpec.SHA256, PSource.PSpecified.DEF=
AULT);<br>
&gt;&gt; algp.init(paramSpec); Cipher cipher =3D<br>
&gt;&gt; CipherHelper.getInstance(&quot;RSA/ECB/NOPADDING&quot;, provider);=
<br>
&gt;&gt; cipher.init(Cipher.DECRYPT_MODE, priv, algp);<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; (Note that all the AlgorithmParametersHelper does in our code is<b=
r>
&gt;&gt; install the right provider if given.)<br>
&gt;&gt;<br>
&gt;&gt; -- Justin<br>
&gt;&gt;<br>
&gt;&gt; On May 9, 2014, at 9:32 AM, Brian Campbell<br>
&gt;&gt; &lt;<a href=3D"mailto:bcampbell@pingidentity.com">bcampbell@pingid=
entity.com</a> &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com">bca=
mpbell@pingidentity.com</a>&gt;&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web=
-algorithms-26#se" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-=
jose-json-web-algorithms-26#se</a><br>
&gt;&gt;&gt; ction-4.3<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt; is pretty clear about which parameters and hash functions to use<br>
&gt;&gt;&gt; in which OAEP alg.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web=
-algorithms-26#ap" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-=
jose-json-web-algorithms-26#ap</a><br>
&gt;&gt;&gt; pendix-A.2<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt; that you refer to Axel probably needs to be updated because just<br>
&gt;&gt;&gt; listing RSA/ECB/OAEPWithSHA-256AndMGF1Padding for RSA-OAPE-265=
 isn&#39;t<br>
&gt;&gt;&gt; completely correct (well, maybe it is correct but a bit more i=
s also<br>
&gt;&gt;&gt; needed).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In order to do RSA-OAPE-265 correctly using the JCA APIs, one =
gets a<br>
&gt;&gt;&gt; Cipher with RSA/ECB/OAEPWithSHA-256AndMGF1Padding and then als=
o<br>
&gt;&gt;&gt; initialize it with an OAEPParameterSpec that indicates that<br=
>
&gt;&gt;&gt; SHA-256 is to be used for MGF1 too.That looks something like t=
his<br>
&gt;&gt;&gt; (or this is how I did it anyway):<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cipher cipher =3D<br>
&gt;&gt;&gt; Cipher.getInstance(&quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding=
&quot;);<br>
&gt;&gt;&gt; OAEPParameterSpec oaepSpec =3D new OAEPParameterSpec(&quot;SHA=
-256&quot;,<br>
&gt;&gt;&gt; &quot;MGF1&quot;, MGF1ParameterSpec.SHA256, PSource.PSpecified=
.DEFAULT);<br>
&gt;&gt;&gt; cipher.init(Cipher.WRAP_MODE, publicKey, oaepSpec);<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The &quot;...WithSHA-256AndMGF1Padding&quot; part seems somewh=
at redundant<br>
&gt;&gt;&gt; with what&#39;s specified in the OAEPParameterSpec but I&#39;v=
e not been<br>
&gt;&gt;&gt; able to figure out any other way to make it work. I don&#39;t =
know<br>
&gt;&gt;&gt; exactly how to say that in the Key Management Algorithm Identi=
fier<br>
&gt;&gt;&gt; Cross-Reference but that&#39;s apparently what needs to be don=
e.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, May 7, 2014 at 8:30 AM, &lt;<a href=3D"mailto:Axel.Nen=
nker@telekom.de">Axel.Nennker@telekom.de</a><br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nen=
nker@telekom.de</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Does &quot;RSA/ECB/OAEPWithSHA-1AndMGF1Padding&quot; mean that=
 SHA-256 must be<br>
&gt;&gt;&gt; used for padding too?____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I did not read it so.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Did somebody manage to use JCA correctly with one algorithm<br=
>
&gt;&gt;&gt; specifier like RSA/ECB/OAEPWithSHA-1AndMGF1PaddingWithSHA-256?=
____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Axel____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; A.2.<br>
&gt;&gt;&gt; &lt;<a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-w=
eb-algorithms-26.htm" target=3D"_blank">http://tools.ietf.org/id/draft-ietf=
-jose-json-web-algorithms-26.htm</a><br>
&gt;&gt;&gt; l#rfc.appendix.A.2&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt; Key Management Algorithm Identifier Cross-Reference<br>
&gt;&gt;&gt; &lt;<a href=3D"http://tools.ietf.org/id/draft-ietf-jose-json-w=
eb-algorithms-26.htm" target=3D"_blank">http://tools.ietf.org/id/draft-ietf=
-jose-json-web-algorithms-26.htm</a><br>
&gt;&gt;&gt; l#EncAlgXref&gt;____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt; This section contains a table cross-referencing the JWE alg<br>
&gt;&gt;&gt; (algorithm) values defined in this specification with the equi=
valent<br>
&gt;&gt;&gt; identifiers used by other standards and software packages. ___=
_<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; *JWE**____*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; *XML ENC**____*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; *JCA**____*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; *OID**____*<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RSA1_5____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-1_5____" targe=
t=3D"_blank">http://www.w3.org/2001/04/xmlenc#rsa-1_5____</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RSA/ECB/PKCS1Padding____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1.2.840.113549.1.1.1____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RSA-OAEP____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href=3D"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p____=
" target=3D"_blank">http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p____</a>=
<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RSA/ECB/OAEPWithSHA-1AndMGF1Padding____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1.2.840.113549.1.1.7____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RSA-OAEP-256____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep____" targe=
t=3D"_blank">http://www.w3.org/2009/xmlenc11#rsa-oaep____</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1.2.840.113549.1.1.7____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -----Original Message----- From: Antonio Sanso<br>
&gt;&gt;&gt; [mailto:<a href=3D"mailto:asanso@adobe.com">asanso@adobe.com</=
a> &lt;mailto:<a href=3D"mailto:asanso@adobe.com">asanso@adobe.com</a>&gt;]=
 Sent:<br>
&gt;&gt;&gt; Wednesday, May 07, 2014 4:24 PM To: Richer, Justin P. Cc: Bria=
n<br>
&gt;&gt;&gt; Campbell; Matt Miller; <a href=3D"mailto:jose@ietf.org">jose@i=
etf.org</a> &lt;mailto:<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>&g=
t;;<br>
&gt;&gt;&gt; Nennker, Axel Subject: ***CAUTION_Invalid_Signature*** Re:<br>
&gt;&gt;&gt; [jose] RSA-OAEP-256 Example<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 5/7/14, 2:21 AM,<br>
&gt;&gt;&gt; <a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nennker@teleko=
m.de</a>&lt;mailto:<a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nennker@=
telekom.de</a><br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nen=
nker@telekom.de</a>%<a href=3D"mailto:3cmailto%3AAxel.Nennker@telekom.de">3=
cmailto:Axel.Nennker@telekom.de</a>&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt; wrote:____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think that the java implementations implemented the spec=
<br>
&gt;&gt;&gt; and ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; everything is ok from that POV.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; These implementations are not broken.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The JOSE Java implementations did not implement the spec,<br>
&gt;&gt;&gt; though.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; draft-ietf-jose-json-web-algorithms =C2=A7 4.3 clearly states =
the hash<br>
&gt;&gt;&gt; and mask generation functions are to use the same algorithm --=
<br>
&gt;&gt;&gt; SHA-1 (and____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; MGF1 with SHA-1) in the case of &quot;RSA-OAEP&quot;, and SHA-=
256 (and MGF1<br>
&gt;&gt;&gt; with____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; SHA-256) in the case of &quot;RSA-OAEP-256&quot;.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; One could argue that when we replace SHA-1 by SHA-256 in o=
ne<br>
&gt;&gt;&gt; place ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; then we might consider to replace it in the padding too.__=
__<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That is exactly what draft-ietf-jose-json-web-algorithms<br>
&gt;&gt;&gt; specified.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; My feeling is that using sha-256 for the padding does not<=
br>
&gt;&gt;&gt; give us more ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; security. YMMW____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That is a separate debate, I think. =C2=A0The prevailing opini=
on (at<br>
&gt;&gt;&gt; least around the IETF) is &quot;don&#39;t mix the algorithms&q=
uot;.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - m&amp;m____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Matt Miller &lt; <a href=3D"mailto:mamille2@cisco.com">mamille=
2@cisco.com</a>&lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@ci=
sco.com</a><br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@cisc=
o.com</a>%<a href=3D"mailto:3cmailto%3Amamille2@cisco.com">3cmailto:mamille=
2@cisco.com</a>&gt;&gt; &gt; Cisco<br>
&gt;&gt;&gt; Systems, Inc.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *From:*jose ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-boun=
ces@ietf.org</a>&lt;mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bo=
unces@ietf.org</a>&gt;<br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounc=
es@ietf.org</a>%<a href=3D"mailto:3cmailto%3Ajose-bounces@ietf.org">3cmailt=
o:jose-bounces@ietf.org</a>%3e&gt;]<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt; *On ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Behalf Of *Brian Campbell *Sent:* Wednesday, May 07, 2014<=
br>
&gt;&gt;&gt; 6:54 AM ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *To:* Matt Miller____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *Cc:* Antonio Sanso; <a href=3D"mailto:jose@ietf.org">jose=
@ietf.org</a>&lt;mailto:<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><=
br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>%=
<a href=3D"mailto:3cmailto%3Ajose@ietf.org">3cmailto:jose@ietf.org</a>&gt;&=
gt; *Subject:* ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Re: [jose]____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; RSA-OAEP-256 Example____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks Matt.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; That is why I was looking for someone to verify using a<br=
>
&gt;&gt;&gt; different ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; platform. Though I was hoping it&#39;d just work.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Matt, can you try decrypting this one by chance? Using the=
<br>
&gt;&gt;&gt; same key. I ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; was more explicit with the parameters and, I think, MGF1<b=
r>
&gt;&gt;&gt; should be ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; using SHA-256 now too.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.fL=
5IL5cM<br>
&gt;&gt;&gt; Cj____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; jU9G9_ZjsD2XO0HIwTOwbVwulcZVw31_rx2qTcHzbYhIvrvbcVLTfJzn8xbQ3U=
EL442Z<br>
&gt;&gt;&gt; gZ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; 1PcFYKENYePXiEyvYxPN8dmvj_OfLSJDEqR6kvwOb6nghGtxfzdB_VRvFt2eeh=
bCA3gW<br>
&gt;&gt;&gt; pi____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; OYHHvSTFdBPGx2KZHQisLz3oZR8EWiZ1woEpHy8a7FoQ2zzuDlZEJQOUrh09b_=
EJxmcE<br>
&gt;&gt;&gt; 2j____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; L6wmEtgabyxy3VgWg3GqSPUISlJZV9HThuVJezzktJdpntRDnAPUqjc8IwByGp=
MleIQc<br>
&gt;&gt;&gt; Pu____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; BUseRRPr_OsroOJ6eTl5DuFCmBOKb-eNNw5v-GEcVYr1w7X9oXoA.0frdIwx8P=
8UAzh1<br>
&gt;&gt;&gt; s9____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; _PgOA.RAzILH0xfs0yxzML1CzzGExCfE2_wzWKs0FVuXfM8R5H68yTqTbqIqRC=
p2feAH<br>
&gt;&gt;&gt; 5G____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; Svluzmztk2_CkGNSjAyoaw.4nMUXOgmgWvM-08tIZ-h5w____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Tue, May 6, 2014 at 8:39 PM, Matt Miller ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;<a href=3D"mailto:mamille2@cisco.com">mamille2@cisco.c=
om</a>&lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@cisco.com</=
a><br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@cisc=
o.com</a>%<a href=3D"mailto:3cmailto%3Amamille2@cisco.com">3cmailto:mamille=
2@cisco.com</a>&gt;&gt;____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@=
cisco.com</a>&lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@cisc=
o.com</a><br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:mamille2@cisco.com">mamille2@cisc=
o.com</a>%<a href=3D"mailto:3cmailto%3Amamille2@cisco.com">3cmailto:mamille=
2@cisco.com</a>&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; wrote:____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Short answer: You are all equally broken -- except from a<=
br>
&gt;&gt;&gt; certain ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; point of view d-:____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Long answer: The code I have is based on OpenSSL, which is=
<br>
&gt;&gt;&gt; hard-coded ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; to use SHA1 for the hash and mask generation (boo!), which=
<br>
&gt;&gt;&gt; means one ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; has to implement OAEP-SHA256 from scratch (hiss!!).____<br=
>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; When I implemented it per RFC 3447 and ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; draft-ietf-jose-json-web-algorithms-26#section-4.3, I coul=
d<br>
&gt;&gt;&gt; not ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; decrypt the provided results. =C2=A0When I hard-coded MGF1=
 to use<br>
&gt;&gt;&gt; &quot;SHA1&quot;, I ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; could decrypt provided results. =C2=A0A search through<br>
&gt;&gt;&gt; BouncyCastle&#39;s code ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; shows that &quot;RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quo=
t; uses a<br>
&gt;&gt;&gt; Hash ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; function of____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; SHA-256 generate the lHash but its MGF1 uses a &quot;SHA-1=
&quot;.<br>
&gt;&gt;&gt; Further ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; evidence is shown with how [FORGE] can be made to work wit=
h<br>
&gt;&gt;&gt; Java ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; (search their homepage for &quot;Compatible with Java&#39;=
s ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; RSA/ECB/OAEPWithSHA-256AndMGF1Padding&quot;).____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Reconciling all of this with____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; draft-ietf-jose-json-web-algorithms#appendix-A.2 does not<=
br>
&gt;&gt;&gt; look to be ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; very straight-forward. =C2=A0It appears that the JCA ident=
ifier<br>
&gt;&gt;&gt; is meant to ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; be &quot;MGF1 with SHA1&quot;; that ought to be explicitly=
 noted.____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The XMLENC reference is arguably incomplete, since ____<br=
>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#rsa-oaep"=
 target=3D"_blank">http://www.w3.org/2009/xmlenc11#rsa-oaep</a>&quot; defau=
lts to ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;<a href=3D"http://www.w3.org/2009/xmlenc11#mgf1sha1"=
 target=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha1</a>&quot; (MGF1=
 with SHA1);<br>
&gt;&gt;&gt; this can ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; probably be addressed by explicitly stating the mask<br>
&gt;&gt;&gt; generation ____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; function is &quot;<a href=3D"http://www.w3.org/2009/xmlenc=
11#mgf1sha256" target=3D"_blank">http://www.w3.org/2009/xmlenc11#mgf1sha256=
</a>&quot;____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; (MGF1 with SHA-256).____<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; __ __<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.=
com/" target=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
&gt;&gt;&gt; Campbell Portfolio Architect @ =C2=A0 =C2=A0 =C2=A0<a href=3D"=
mailto:bcampbell@pingidentity.com">bcampbell@pingidentity.com</a><br>
&gt;&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com">bcamp=
bell@pingidentity.com</a>&gt; phone =C2=A0 <a href=3D"tel:%2B1%20720.317.20=
61" value=3D"+17203172061">+1 720.317.2061</a><br>
</div></div>&gt;&gt;&gt; &lt;tel:%2B1%20720.317.2061&gt; Connect with us. t=
witter logo<br>
<div class=3D"">&gt;&gt;&gt; &lt;<a href=3D"https://twitter.com/pingidentit=
y" target=3D"_blank">https://twitter.com/pingidentity</a>&gt; youtube logo<=
br>
&gt;&gt;&gt; &lt;<a href=3D"https://www.youtube.com/user/PingIdentityTV" ta=
rget=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>&gt; LinkedI=
n logo<br>
&gt;&gt;&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=
=3D"_blank">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br=
>
&gt;&gt;&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" targ=
et=3D"_blank">https://www.facebook.com/pingidentitypage</a>&gt; Google+ log=
o<br>
&gt;&gt;&gt; &lt;<a href=3D"https://plus.google.com/u/0/1142669777393977085=
40" target=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>=
&gt; slideshare logo<br>
&gt;&gt;&gt; &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=
=3D"_blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<b=
r>
&gt;&gt;&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://=
flip.it/vjBF7</a>&gt; rss feed icon<br>
&gt;&gt;&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"=
_blank">https://www.pingidentity.com/blogs/</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Register for Cloud Identity Summit 2014 | Modern Identity Revo=
lution<br>
</div>&gt;&gt;&gt; | 19-23 July, 2014 | Monterey, CA<br>
<div class=3D"">&gt;&gt;&gt; &lt;<a href=3D"https://www.cloudidentitysummit=
.com/" target=3D"_blank">https://www.cloudidentitysummit.com/</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -- Ping Identity logo &lt;<a href=3D"https://www.pingidentity.com/=
" target=3D"_blank">https://www.pingidentity.com/</a>&gt; Brian<br>
&gt;&gt; Campbell Portfolio Architect @ =C2=A0 =C2=A0 =C2=A0 <a href=3D"mai=
lto:bcampbell@pingidentity.com">bcampbell@pingidentity.com</a><br>
&gt;&gt; &lt;mailto:<a href=3D"mailto:bcampbell@pingidentity.com">bcampbell=
@pingidentity.com</a>&gt; phone =C2=A0 =C2=A0<a href=3D"tel:%2B1%20720.317.=
2061" value=3D"+17203172061">+1 720.317.2061</a> Connect<br>
</div>&gt;&gt; with us. twitter logo &lt;<a href=3D"https://twitter.com/pin=
gidentity" target=3D"_blank">https://twitter.com/pingidentity</a>&gt; youtu=
be logo<br>
<div class=3D"">&gt;&gt; &lt;<a href=3D"https://www.youtube.com/user/PingId=
entityTV" target=3D"_blank">https://www.youtube.com/user/PingIdentityTV</a>=
&gt; LinkedIn logo<br>
&gt;&gt; &lt;<a href=3D"https://www.linkedin.com/company/21870" target=3D"_=
blank">https://www.linkedin.com/company/21870</a>&gt; Facebook logo<br>
&gt;&gt; &lt;<a href=3D"https://www.facebook.com/pingidentitypage" target=
=3D"_blank">https://www.facebook.com/pingidentitypage</a>&gt; Google+ logo<=
br>
&gt;&gt; &lt;<a href=3D"https://plus.google.com/u/0/114266977739397708540" =
target=3D"_blank">https://plus.google.com/u/0/114266977739397708540</a>&gt;=
 slideshare logo<br>
&gt;&gt; &lt;<a href=3D"http://www.slideshare.net/PingIdentity" target=3D"_=
blank">http://www.slideshare.net/PingIdentity</a>&gt; flipboard logo<br>
&gt;&gt; &lt;<a href=3D"http://flip.it/vjBF7" target=3D"_blank">http://flip=
.it/vjBF7</a>&gt; rss feed icon<br>
&gt;&gt; &lt;<a href=3D"https://www.pingidentity.com/blogs/" target=3D"_bla=
nk">https://www.pingidentity.com/blogs/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Register for Cloud Identity Summit 2014 | Modern Identity Revoluti=
on<br>
</div>&gt;&gt; | 19-23 July, 2014 | Monterey, CA<br>
<div class=3D"HOEnZb"><div class=3D"h5">&gt;&gt; &lt;<a href=3D"https://www=
.cloudidentitysummit.com/" target=3D"_blank">https://www.cloudidentitysummi=
t.com/</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________ jose mailing list<=
br>
&gt;&gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a> <a href=3D"http=
s://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">https://www.ietf.=
org/mailman/listinfo/jose</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; -----BEGIN PGP SIGNATURE-----<br>
&gt; Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
&gt; Comment: GPGTools - <a href=3D"https://gpgtools.org" target=3D"_blank"=
>https://gpgtools.org</a><br>
&gt; Comment: Using GnuPG with Thunderbird - <a href=3D"http://www.enigmail=
.net/" target=3D"_blank">http://www.enigmail.net/</a><br>
&gt;<br>
&gt; iQEcBAEBCgAGBQJTbQR6AAoJEDWi+S0W7cO14kgH/3RsEgO+jMpMOmHKLxB695iK<br>
&gt; DHO5wvJKXE/WI5WLlhEpK86TVcghdL7RJWxBXMw5Rz8+p27HLrr0mrBWw7PYBzCL<br>
&gt; 31fHFpd/OdsI8iaSnVeLXuG/fiPNBmPagYQ0iN/FMgVDI+Ra61dUT1Cq0yyFWFVj<br>
&gt; 1n1qzkjDhKhw9OkazcKWxp2fXvjhwaxtI/WrchBBPg5bJt0JA4MvlMhvoQHu5+gL<br>
&gt; d2Qox1TO0j3XltTkvtliorDku1aHCFfNaqLwvDxfu89H+ayvqMHTzgi274y9JmGi<br>
&gt; YvN1zzITnYkvpaeGC978sqLvg1j5Zh4VvO+3zquFeVJvu4801hrMyzzeSyeRpdc=3D<br>
&gt; =3D2XGV<br>
&gt; -----END PGP SIGNATURE-----<br>
<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><br clear=3D"all"><br>-- <br><div dir=3D=
"ltr">

<div style=3D"padding-bottom:5px;margin-bottom:0">
	<table style=3D"height:40px">
		<tbody>
			<tr>
				<td style=3D"width:75px;vertical-align:top;height:79px">
					<a href=3D"https://www.pingidentity.com/" style=3D"text-decoration:non=
e" target=3D"_blank"><img alt=3D"Ping Identity logo" src=3D"http://4.pingid=
entity.com/rs/pingidentity/images/EXP_PIC_square_logo_RGB_with_hard_drop.pn=
g" style=3D"width:75px;height:79px;margin:0;border:none"></a></td>


				<td style=3D"vertical-align:top;padding-left:10px">
				=09
					<div style=3D"margin-bottom:7px">
						<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-serif;f=
ont-weight:bold;font-size:14px">Brian Campbell</span><br><font color=3D"#00=
0000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-size:14px">=
Portfolio Architect</span></font></div>


					<table>
						<tbody>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e61d3c;paddi=
ng:0 5px 0 0">
									<span style=3D"color:#e61d3c;font-family:arial,helvetica,sans-seri=
f;font-weight:bold;font-size:14px">@</span></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px"><a href=3D"mailto:bcampbell@pingidentity.com" ta=
rget=3D"_blank">bcampbell@pingidentity.com</a></span></font></td>
							</tr>
							<tr>
								<td style=3D"text-align:center;border-right:1px solid #e63c1d;paddi=
ng:0;vertical-align:middle">
									<img alt=3D"phone" src=3D"http://4.pingidentity.com/rs/pingidentit=
y/images/EXP_phone_glyph.gif" style=3D"width:13px;height:16px"></td>
								<td style=3D"text-align:left;padding:0 0 0 3px">
									<font color=3D"#000000" face=3D"arial, helvetica, sans-serif"><spa=
n style=3D"font-size:14px">+1 720.317.2061</span></font></td>
							</tr>
						=09
							<tr>
								<td colspan=3D"2" style=3D"font-family:arial,helvetica,sans-serif;f=
ont-size:14px;font-weight:normal;padding-top:15px;color:#999999">
									Connect with us=E2=80=A6</td>
							</tr>
							<tr>
								<td colspan=3D"2">
									<a href=3D"https://twitter.com/pingidentity" style=3D"text-decorat=
ion:none" title=3D"Ping on Twitter" target=3D"_blank"><img alt=3D"twitter l=
ogo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/twitter.gif" s=
tyle=3D"width:20px;height:23px;border:none;margin:0"></a> <a href=3D"https:=
//www.youtube.com/user/PingIdentityTV" style=3D"text-decoration:none" title=
=3D"Ping on YouTube" target=3D"_blank"><img alt=3D"youtube logo" src=3D"htt=
p://4.pingidentity.com/rs/pingidentity/images/youtube.gif" style=3D"width:2=
3px;height:23px;border:none;margin:0"></a> <a href=3D"https://www.linkedin.=
com/company/21870" style=3D"text-decoration:none" title=3D"Ping on LinkedIn=
" target=3D"_blank"><img alt=3D"LinkedIn logo" src=3D"http://4.pingidentity=
.com/rs/pingidentity/images/linkedin.gif" style=3D"width:23px;height:23px;b=
order:none;margin:0"></a> <a href=3D"https://www.facebook.com/pingidentityp=
age" style=3D"text-decoration:none" title=3D"Ping on Facebook" target=3D"_b=
lank"><img alt=3D"Facebook logo" src=3D"http://4.pingidentity.com/rs/pingid=
entity/images/facebook.gif" style=3D"width:23px;height:23px;border:none;mar=
gin:0"></a> <a href=3D"https://plus.google.com/u/0/114266977739397708540" s=
tyle=3D"text-decoration:none" title=3D"Ping on Google+" target=3D"_blank"><=
img alt=3D"Google+ logo" src=3D"http://4.pingidentity.com/rs/pingidentity/i=
mages/google%2B.gif" style=3D"width:23px;height:23px;border:none;margin:0">=
</a> <a href=3D"http://www.slideshare.net/PingIdentity" style=3D"text-decor=
ation:none" title=3D"Ping on SlideShare" target=3D"_blank"><img alt=3D"slid=
eshare logo" src=3D"http://4.pingidentity.com/rs/pingidentity/images/slides=
hare.gif" style=3D"width:23px;height:23px;border:none;margin:0"></a> <a hre=
f=3D"http://flip.it/vjBF7" style=3D"text-decoration:none" title=3D"Ping on =
Flipboard" target=3D"_blank"><img alt=3D"flipboard logo" src=3D"http://4.pi=
ngidentity.com/rs/pingidentity/images/flipboard.gif" style=3D"width:23px;he=
ight:23px;border:none;margin:0"></a> <a href=3D"https://www.pingidentity.co=
m/blogs/" style=3D"text-decoration:none" title=3D"Ping blogs" target=3D"_bl=
ank"><img alt=3D"rss feed icon" src=3D"http://4.pingidentity.com/rs/pingide=
ntity/images/rss.gif" style=3D"width:23px;height:23px;border:none;margin:0"=
></a></td>


							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	<table style=3D"margin:0;border-collapse:collapse;border-top:1px dotted #9=
99999;width:315px">
		<tbody>
			<tr>
				<td style=3D"width:172px;height:81px;padding:15px 15px 0 15px;vertical-=
align:top;border:none">
					<a href=3D"https://www.cloudidentitysummit.com/" style=3D"text-decorat=
ion:none;color:#cccccc" title=3D"Register for Cloud Identity Summit 2014 | =
Modern Identity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" targe=
t=3D"_blank"><img alt=3D"Register for Cloud Identity Summit 2014 | Modern I=
dentity Revolution | 19=E2=80=9323 July, 2014 | Monterey, CA" src=3D"http:/=
/4.pingidentity.com/rs/pingidentity/images/EXP_CIS_2014.gif" style=3D"width=
:172px;height:81px;margin:0;border:none"></a></td>


			</tr>
		</tbody>
	</table>
</div>
<br></div>
</div>

--089e01160752f90ba704f920d75f--


From nobody Wed May 14 11:19:43 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 8D1A11A0178 for <jose@ietfa.amsl.com>; Wed, 14 May 2014 11:19:39 -0700 (PDT)
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 Moke3BixYsPN for <jose@ietfa.amsl.com>; Wed, 14 May 2014 11:19:35 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0139.outbound.protection.outlook.com [207.46.163.139]) by ietfa.amsl.com (Postfix) with ESMTP id D9EC91A012F for <jose@ietf.org>; Wed, 14 May 2014 11:19:34 -0700 (PDT)
Received: from BY2PR03CA034.namprd03.prod.outlook.com (10.242.234.155) by BY2PR03MB255.namprd03.prod.outlook.com (10.242.37.22) with Microsoft SMTP Server (TLS) id 15.0.939.12; Wed, 14 May 2014 18:19:26 +0000
Received: from BN1AFFO11FD053.protection.gbl (2a01:111:f400:7c10::124) by BY2PR03CA034.outlook.office365.com (2a01:111:e400:2c2c::27) with Microsoft SMTP Server (TLS) id 15.0.944.11 via Frontend Transport; Wed, 14 May 2014 18:19:25 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD053.mail.protection.outlook.com (10.58.53.68) with Microsoft SMTP Server (TLS) id 15.0.939.9 via Frontend Transport; Wed, 14 May 2014 18:19:25 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0181.007; Wed, 14 May 2014 18:18:55 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: JWT and JOSE have won a Special European Identity Award
Thread-Index: Ac9voPf+mMeygFbPSlS6hXyIq5bS6A==
Date: Wed, 14 May 2014 18:18:54 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD229C5@TK5EX14MBXC293.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.37]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739439AD229C5TK5EX14MBXC293r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(438001)(51914003)(189002)(199002)(2656002)(87936001)(84326002)(54356999)(74662001)(76482001)(92726001)(19300405004)(21056001)(44976005)(19580395003)(86612001)(86362001)(46102001)(55846006)(77982001)(85852003)(97736001)(83072002)(4396001)(92566001)(20776003)(71186001)(80022001)(64706001)(15202345003)(6806004)(79102001)(19625215002)(81342001)(16297215004)(31966008)(68736004)(66066001)(74502001)(84676001)(81156002)(512954002)(26826002)(33656001)(81542001)(69596002)(50986999)(16236675002)(2009001)(83322001)(99396002)(15975445006)(6606295002); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR03MB255; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0211965D06
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/KR2fcGHbX5CfnLjq9PWWV5bd-ig
Subject: [jose] JWT and JOSE have won a Special European Identity Award
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, 14 May 2014 18:19:39 -0000

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

Today the JSON Web Token (JWT) and JSON Object Signing and Encryption (JOSE=
) specifications were granted a Special European Identity Award for Best In=
novation for Security in the API Economy.  I was honored to accept the awar=
d, along with Nat Sakimura and John Bradley, on behalf of the contributors =
to and implementers of these specifications at the European Identity and Cl=
oud Conference<http://www.id-conf.com/eic2014>.

It's great to see this recognition for the impact that these specs are havi=
ng by making it easy to use simple JSON-based security tokens and other Web=
-friendly cryptographically protected data structures.  Special thanks are =
due to all of you have built and deployed implementations and provided feed=
back on the specs throughout their development; they significantly benefitt=
ed from your active involvement!

These specifications are:

*        JSON Web Token (JWT)<http://tools.ietf.org/html/draft-ietf-oauth-j=
son-web-token>

*        JSON Web Signature (JWS)<http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-signature>

*        JSON Web Encryption (JWE)<http://tools.ietf.org/html/draft-ietf-jo=
se-json-web-encryption>

*        JSON Web Key (JWK)<http://tools.ietf.org/html/draft-ietf-jose-json=
-web-key>

*        JSON Web Algorithms (JWA)<http://tools.ietf.org/html/draft-ietf-jo=
se-json-web-algorithms>

The authors are:

*        John Bradley<http://www.thread-safe.com/>

*        Joe Hildebrand<https://twitter.com/hildjj>

*        Michael B. Jones<http://self-issued.info/>

*        Nat Sakimura<http://nat.sakimura.org/>

Dirk Balfanz<https://plus.google.com/+DirkBalfanz>, Yaron Goland<http://www=
.goland.org/>, John Panzer<https://plus.google.com/+JohnPanzer0>, and Eric =
Rescorla<http://www.rtfm.com/> also deserve thanks for their significant co=
ntributions to creating these specifications.

                                                            -- Mike

P.S.  This note was also posted at http://self-issued.info/?p=3D1223 and as=
 @selfissued.

--_000_4E1F6AAD24975D4BA5B16804296739439AD229C5TK5EX14MBXC293r_
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.EmailStyle18
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	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:1686245431;
	mso-list-type:hybrid;
	mso-list-template-ids:-1561153974 67698689 67698691 67698693 67698689 6769=
8691 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:1797943897;
	mso-list-type:hybrid;
	mso-list-template-ids:1155726628 67698689 67698691 67698693 67698689 67698=
691 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">Today the JSON Web Token (JWT) and JSON Object Signi=
ng and Encryption (JOSE) specifications were granted a Special European Ide=
ntity Award for Best Innovation for Security in the API Economy.&nbsp; I wa=
s honored to accept the award, along with
 Nat Sakimura and John Bradley, on behalf of the contributors to and implem=
enters of these specifications at the
<a href=3D"http://www.id-conf.com/eic2014">European Identity and Cloud Conf=
erence</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It&#8217;s great to see this recognition for the imp=
act that these specs are having by making it easy to use simple JSON-based =
security tokens and other Web-friendly cryptographically protected data str=
uctures.&nbsp; Special thanks are due to all
 of you have built and deployed implementations and provided feedback on th=
e specs throughout their development; they significantly benefitted from yo=
ur active involvement!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">These specifications are:<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://tools.ietf.org/html/draft-=
ietf-oauth-json-web-token">JSON Web Token (JWT)</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://tools.ietf.org/html/draft-=
ietf-jose-json-web-signature">JSON Web Signature (JWS)</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://tools.ietf.org/html/draft-=
ietf-jose-json-web-encryption">JSON Web Encryption (JWE)</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://tools.ietf.org/html/draft-=
ietf-jose-json-web-key">JSON Web Key (JWK)</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://tools.ietf.org/html/draft-=
ietf-jose-json-web-algorithms">JSON Web Algorithms (JWA)</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The authors are:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![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://www.thread-safe.com/">John=
 Bradley</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![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"https://twitter.com/hildjj">Joe H=
ildebrand</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![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/">Michael=
 B. Jones</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![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://nat.sakimura.org/">Nat Sak=
imura</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://plus.google.com/&#43;DirkBalfanz"=
>Dirk Balfanz</a>,
<a href=3D"http://www.goland.org/">Yaron Goland</a>, <a href=3D"https://plu=
s.google.com/&#43;JohnPanzer0">
John Panzer</a>, and <a href=3D"http://www.rtfm.com/">Eric Rescorla</a> als=
o deserve thanks for their significant contributions to creating these spec=
ifications.<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>
<p class=3D"MsoNormal">P.S.&nbsp; This note was also posted at <a href=3D"h=
ttp://self-issued.info/?p=3D1223">
http://self-issued.info/?p=3D1223</a> and as @selfissued.<o:p></o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739439AD229C5TK5EX14MBXC293r_--


From nobody Wed May 14 11:39:15 2014
Return-Path: <kathleen.moriarty.ietf@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 CDDDC1A02B5 for <jose@ietfa.amsl.com>; Wed, 14 May 2014 11:39:13 -0700 (PDT)
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 HlQb34ltLRuu for <jose@ietfa.amsl.com>; Wed, 14 May 2014 11:39:12 -0700 (PDT)
Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 109581A016C for <jose@ietf.org>; Wed, 14 May 2014 11:39:11 -0700 (PDT)
Received: by mail-lb0-f172.google.com with SMTP id l4so1769621lbv.3 for <jose@ietf.org>; Wed, 14 May 2014 11:39:04 -0700 (PDT)
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 :cc:content-type:content-transfer-encoding; bh=ZA9d9pw1cs/IHurfylUl3ZnWgAzNkC8zZcx//Ivxa+I=; b=NM7hzxrbcaG7gEzG8dV7gBMm8KEPlK1BRj47dRXxcL7BjyT55O3rXqMht77JpBFtU0 DFg3iGwF46trhnx+RnoayNZ+eWJXtrTsINdE1FdYMJ5L0dqNTsOqQ1N2+jYnv44F5BuO KvC5QLfQr05MmUrffq1moNQ/S5kPAKMyKyglo2FkbzyZP0myTWiwESGPJGqZX6BFpX3U i54nm4Njt14HMJEtUhfn69NhOBZ6S+Y+/jx0FRv72QNi+XvrUQ58Ozh1XlnmsG8oxVYy sa7q+prrM7iERVewHS+7AwOy5vYGCDPYW5ux+UEZwsuhDQBpoAoxyzXeb9GtXSwUgrM8 Q1AQ==
MIME-Version: 1.0
X-Received: by 10.112.120.207 with SMTP id le15mr3007392lbb.45.1400092744638;  Wed, 14 May 2014 11:39:04 -0700 (PDT)
Received: by 10.112.26.142 with HTTP; Wed, 14 May 2014 11:39:04 -0700 (PDT)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD229C5@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739439AD229C5@TK5EX14MBXC293.redmond.corp.microsoft.com>
Date: Wed, 14 May 2014 14:39:04 -0400
Message-ID: <CAHbuEH7v210d7FLRjS51f+YCzeXvL7Fu4okEKpmKd_guue+H7Q@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/yt9bOEJEmV8atL59xQ94rGxwpIc
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWT and JOSE have won a Special European Identity Award
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, 14 May 2014 18:39:14 -0000

Congratulations and well done!

On Wed, May 14, 2014 at 2:18 PM, Mike Jones <Michael.Jones@microsoft.com> w=
rote:
> Today the JSON Web Token (JWT) and JSON Object Signing and Encryption (JO=
SE)
> specifications were granted a Special European Identity Award for Best
> Innovation for Security in the API Economy.  I was honored to accept the
> award, along with Nat Sakimura and John Bradley, on behalf of the
> contributors to and implementers of these specifications at the European
> Identity and Cloud Conference.
>
>
>
> It=E2=80=99s great to see this recognition for the impact that these spec=
s are
> having by making it easy to use simple JSON-based security tokens and oth=
er
> Web-friendly cryptographically protected data structures.  Special thanks
> are due to all of you have built and deployed implementations and provide=
d
> feedback on the specs throughout their development; they significantly
> benefitted from your active involvement!
>
>
>
> These specifications are:
>
> =C2=B7        JSON Web Token (JWT)
>
> =C2=B7        JSON Web Signature (JWS)
>
> =C2=B7        JSON Web Encryption (JWE)
>
> =C2=B7        JSON Web Key (JWK)
>
> =C2=B7        JSON Web Algorithms (JWA)
>
>
>
> The authors are:
>
> =C2=B7        John Bradley
>
> =C2=B7        Joe Hildebrand
>
> =C2=B7        Michael B. Jones
>
> =C2=B7        Nat Sakimura
>
>
>
> Dirk Balfanz, Yaron Goland, John Panzer, and Eric Rescorla also deserve
> thanks for their significant contributions to creating these specificatio=
ns.
>
>
>
>                                                             -- Mike
>
>
>
> P.S.  This note was also posted at http://self-issued.info/?p=3D1223 and =
as
> @selfissued.
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>



--=20

Best regards,
Kathleen


From nobody Wed May 14 11:58:33 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 435471A0320 for <jose@ietfa.amsl.com>; Wed, 14 May 2014 11:58:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 zxvo3CChaIQp for <jose@ietfa.amsl.com>; Wed, 14 May 2014 11:58:09 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0184.outbound.protection.outlook.com [207.46.163.184]) by ietfa.amsl.com (Postfix) with ESMTP id 304651A032E for <jose@ietf.org>; Wed, 14 May 2014 11:57:38 -0700 (PDT)
Received: from BY2PR03CA037.namprd03.prod.outlook.com (10.242.234.158) by BY2PR03MB298.namprd03.prod.outlook.com (10.141.139.17) with Microsoft SMTP Server (TLS) id 15.0.939.12; Wed, 14 May 2014 18:57:29 +0000
Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::199) by BY2PR03CA037.outlook.office365.com (2a01:111:e400:2c2c::30) with Microsoft SMTP Server (TLS) id 15.0.939.12 via Frontend Transport; Wed, 14 May 2014 18:57:29 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) with Microsoft SMTP Server (TLS) id 15.0.939.9 via Frontend Transport; Wed, 14 May 2014 18:57:29 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.03.0181.007; Wed, 14 May 2014 18:56:57 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] JWT and JOSE have won a Special European Identity Award
Thread-Index: Ac9voPf+mMeygFbPSlS6hXyIq5bS6AAAs/UAAACCyZA=
Date: Wed, 14 May 2014 18:56:57 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD22C6A@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739439AD229C5@TK5EX14MBXC293.redmond.corp.microsoft.com> <CAHbuEH7v210d7FLRjS51f+YCzeXvL7Fu4okEKpmKd_guue+H7Q@mail.gmail.com>
In-Reply-To: <CAHbuEH7v210d7FLRjS51f+YCzeXvL7Fu4okEKpmKd_guue+H7Q@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.36]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438001)(51914003)(164054003)(54164003)(24454002)(13464003)(51704005)(377454003)(189002)(199002)(68736004)(86362001)(79102001)(66066001)(86612001)(6806004)(50466002)(83322001)(84676001)(83072002)(92726001)(85852003)(87936001)(4396001)(2009001)(44976005)(64706001)(47776003)(81156002)(69596002)(55846006)(31966008)(76176999)(92566001)(33656001)(15975445006)(46102001)(50986999)(15202345003)(19580405001)(77982001)(2656002)(99396002)(76482001)(81342001)(74502001)(20776003)(81542001)(97736001)(26826002)(21056001)(80022001)(23676002)(74662001)(54356999)(19580395003)(6606295002); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR03MB298; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0211965D06
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/uYPaORvkOdJdWq6ePUx6wlMH5C0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWT and JOSE have won a Special European Identity Award
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, 14 May 2014 18:58:12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12:14 2014
Return-Path: <vladimir@connect2id.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 4C5B21A02B5 for <jose@ietfa.amsl.com>; Wed, 14 May 2014 12:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.879
X-Spam-Level: 
X-Spam-Status: No, score=-0.879 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001] 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 aM11MHbOh4H7 for <jose@ietfa.amsl.com>; Wed, 14 May 2014 12:12:11 -0700 (PDT)
Received: from n1plsmtpa01-01.prod.ams1.secureserver.net (n1plsmtpa01-01.prod.ams1.secureserver.net [188.121.53.6]) by ietfa.amsl.com (Postfix) with ESMTP id D3FB51A0298 for <jose@ietf.org>; Wed, 14 May 2014 12:12:10 -0700 (PDT)
Received: from [192.168.1.3] ([46.10.72.3]) by n1plsmtpa01-01.prod.ams1.secureserver.net with  id 1vBz1o00504EsTS01vBzVP; Wed, 14 May 2014 12:12:00 -0700
Message-ID: <1400094719.4073.0.camel@shakespeare>
From: Vladimir Dzhuvinov <vladimir@connect2id.com>
Cc: "jose@ietf.org" <jose@ietf.org>
Date: Wed, 14 May 2014 22:11:59 +0300
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD229C5@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739439AD229C5@TK5EX14MBXC293.redmond.corp.microsoft.com>
Organization: Connect2id Ltd.
Content-Type: text/plain
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/3RrTmLvt-M8iFPfpee8y2_Js1TE
Subject: Re: [jose] JWT and JOSE have won a Special European Identity Award
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, 14 May 2014 19:12:12 -0000

Conguratulations, great job!

Vladimir



From nobody Mon May 19 18:16:20 2014
Return-Path: <kathleen.moriarty.ietf@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 8DA9E1A022B for <jose@ietfa.amsl.com>; Mon, 19 May 2014 18:16:17 -0700 (PDT)
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 vEf4YV3Jf8Xh for <jose@ietfa.amsl.com>; Mon, 19 May 2014 18:16:16 -0700 (PDT)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA34A1A0228 for <jose@ietf.org>; Mon, 19 May 2014 18:16:15 -0700 (PDT)
Received: by mail-la0-f51.google.com with SMTP id gf5so4678596lab.38 for <jose@ietf.org>; Mon, 19 May 2014 18:16:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=fosBBS9kuroa47BCI7vlr5ad9EIBAuGGjmI0uIWqePw=; b=wz1DfddyMdB8b9fM50c508NjqiQUaM3FHI9ATrxkvYJlw2K558F5sbGmGguPtOjAqN CkDBkl9P5nfZsqsIOp3ki/35z49lD114ZphVy8Jyp8luUsFnZ6jX1/vfhCmSdRmkkTcD t9qofsAbZEth8j2Z75jwnNM7l/V8GfkfBe7Nc9s+M/zCBNKR8H6jvUVMRmmZBtMXASzP xptyxTu9dClAJRrG2qsta4rTHB8qgSESm9sknKkLjDnrADcYn64dLV9nlgjB1vh3O4J5 aE0XxPhFNwaWCNSiOIjgM9T7UMxR+3Y97Xne3AbzldU2meK6ScqS0uJ5hyrEsB0wZSFQ I0YA==
MIME-Version: 1.0
X-Received: by 10.112.46.97 with SMTP id u1mr9186958lbm.50.1400548573974; Mon, 19 May 2014 18:16:13 -0700 (PDT)
Received: by 10.112.26.147 with HTTP; Mon, 19 May 2014 18:16:13 -0700 (PDT)
Date: Mon, 19 May 2014 21:16:13 -0400
Message-ID: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/KK8WC-x8ePNR8doNRPfbIh32eZw
Subject: [jose] AD review of JWS draft
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, 20 May 2014 01:16:17 -0000

Hello,

I reviewed the JWS draft and have questions and comments for the
editor and working group.  There are a few things that I would like
clarified or corrected before we progress the document.

1. Section 4.1.7, Why isn't there a SHA-256 'Thumbprint'?  XML tools
had this functionality 2+ years ago as I used it with the XML editor,
Oxygen.  It would be better to bake this in now rather than having to
rush it at a point later in time.

2. Section 8:

Is it still the case that you guys aren't using TLS 1.2 widely still?
Setting a minimum requirement would be good here and there are
implementations now.  Is this just older text (I'm guessing that is
the case and it just needs to be updated)?  The pointer for TLS 1.2 is
rfc5246.  Wikipedia
(http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations) has a
list they maintain of TLS implementation state and there is good
support for TLS 1.2 now.  Can you update this and set a minimum
requirement?

For the following text, I recommend removing the last clause in the
second sentence as the decision will be made with knowledge of current
vulnerabilities as opposed to those at the time of this publication.
I have some other suggested edits to the sentence as well.

Change from:
   Implementations MUST support TLS.  Which version(s) ought to be
   implemented will vary over time, and depend on the widespread
   deployment and known security vulnerabilities at the time of
   implementation.
To:
   Implementations MUST support TLS.  Which version(s) ought to be
   implemented will vary over time, will depend on widespread
   adoption and deployment, as well as known security vulnerabilities.


3. Section 10.1
This looks like the same text from the start of the security
considerations section of JWA.  Please make the same updates and
ensure the documents are consistent where there is shared text.

4. Section 10.1 -
There is more text here about the SHA-1 thumbprint and state of
implementation that would need to get updated with an adjustment to
support SHA256 for the thumbprints.  Just making a note of this so it
is not forgotten.

5. Section 10.2
Could you add a clause to the end of the last sentence to make it
specific to the scope of applicability for this sentence?  Since this
just has an example, the full scope of what should be rejected is not
clear and it is different from what is in parsers (according to this
paragraph).  Here is the current text:

   Some JSON parsers might not reject input that contains extra
   significant characters after a valid input.  For instance, the input
   "{"tag":"value"}ABCD" contains a valid JSON object followed by the
   extra characters "ABCD".  Such input MUST be rejected in its
   entirety.

http://datatracker.ietf.org/doc/draft-ietf-json-text-sequence/ is an
example of parsers that would not reject the input.  Can you add this
as an informational reference and ideally, you would fix the issue to
prevent the problem.

6. Also on issue #26, is there a pointer to discussion on this?  It
looks like it was closed out, but I'd like to read more on agreement
for the decision.


7. In the first paragraph of section 4, couldn't you wind up with
different answers because of the text, "use a JSON parser that returns
only the lexically last duplicate member name"?  Full paragraph
included for reference:

   The members of the JSON object(s) representing the JWS Header

   describe the digital signature or MAC applied to the JWS Protected

   Header and the JWS Payload and optionally additional properties of

   the JWS.  The Header Parameter names within the JWS Header MUST be

   unique; recipients MUST either reject JWSs with duplicate Header

   Parameter names or use a JSON parser that returns only the lexically

   last duplicate member name, as specified in Section 15.12 (The JSON

   Object) of ECMAScript 5.1 [ECMAScript].

Let's say you have the following:

{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =E2=80=9Calg=E2=80=9D:=E2=80=
=9Dalg2=E2=80=9D}

{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=9D:=E2=80=
=9Dalg1=E2=80=9D}

You could end up with two difference answers about what is the value
of the member alg.  A parser that reads everything and then re-emits
may change the order of the fields or emit only one of the fields and
thus change the validity of it.

Can it be reworded to avoid this potential issue?


--=20

Best regards,
Kathleen


From nobody Tue May 20 05:58: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 E1C981A035B for <jose@ietfa.amsl.com>; Tue, 20 May 2014 05:58:15 -0700 (PDT)
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 0njik-XzX89T for <jose@ietfa.amsl.com>; Tue, 20 May 2014 05:58:10 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0144.outbound.protection.outlook.com [207.46.163.144]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 468D61A0357 for <jose@ietf.org>; Tue, 20 May 2014 05:58:10 -0700 (PDT)
Received: from BY2PR03CA034.namprd03.prod.outlook.com (10.242.234.155) by BY2PR03MB553.namprd03.prod.outlook.com (10.141.141.155) with Microsoft SMTP Server (TLS) id 15.0.944.11; Tue, 20 May 2014 12:58:07 +0000
Received: from BN1BFFO11FD055.protection.gbl (2a01:111:f400:7c10::1:123) by BY2PR03CA034.outlook.office365.com (2a01:111:e400:2c2c::27) with Microsoft SMTP Server (TLS) id 15.0.944.11 via Frontend Transport; Tue, 20 May 2014 12:58:07 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD055.mail.protection.outlook.com (10.58.145.10) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Tue, 20 May 2014 12:58:06 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([157.54.7.154]) with mapi id 14.03.0181.007; Tue, 20 May 2014 12:57:34 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] AD review of JWS draft
Thread-Index: AQHPc8keaKSyhstUXUuoYPyHZeH0q5tJIyLQ
Date: Tue, 20 May 2014 12:57:33 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com>
In-Reply-To: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@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_4E1F6AAD24975D4BA5B16804296739439AD2A033TK5EX14MBXC293r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(438001)(199002)(189002)(51914003)(13464003)(377454003)(25584003)(43784003)(92566001)(83322001)(6806004)(19580395003)(19300405004)(99396002)(68736004)(19580405001)(69596002)(81156002)(21056001)(512874002)(87936001)(2656002)(80022001)(85852003)(44976005)(26826002)(64706001)(33656001)(92726001)(66066001)(16236675002)(15202345003)(16297215004)(20776003)(15975445006)(97736001)(55846006)(31966008)(86362001)(86612001)(74662001)(79102001)(74502001)(19625215002)(76482001)(83072002)(4396001)(84676001)(81542001)(50986999)(76176999)(77982001)(54356999)(81342001)(46102001)(71186001)(84326002); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR03MB553; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 02176E2458
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/UCFUCXCN5G7eNQ5GXWA5ztvNPEc
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of JWS draft
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, 20 May 2014 12:58:16 -0000

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

VGhhbmtzIGZvciB0aGUgcmV2aWV3LCBLYXRobGVlbi4gIE15IHJlc3BvbnNlcyBhcmUgaW5saW5l
IGJlbG93LCBwcmVmaXhlZCBieSAiTWlrZT4iLg0KDQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl
LS0tLS0NCkZyb206IGpvc2UgW21haWx0bzpqb3NlLWJvdW5jZXNAaWV0Zi5vcmddIE9uIEJlaGFs
ZiBPZiBLYXRobGVlbiBNb3JpYXJ0eQ0KU2VudDogTW9uZGF5LCBNYXkgMTksIDIwMTQgNjoxNiBQ
TQ0KVG86IGpvc2VAaWV0Zi5vcmcNClN1YmplY3Q6IFtqb3NlXSBBRCByZXZpZXcgb2YgSldTIGRy
YWZ0DQoNCg0KDQpIZWxsbywNCg0KDQoNCkkgcmV2aWV3ZWQgdGhlIEpXUyBkcmFmdCBhbmQgaGF2
ZSBxdWVzdGlvbnMgYW5kIGNvbW1lbnRzIGZ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ybWl0IHJlLWVt
aXR0aW5nIHRoZSBmaWVsZHMgaW4gZGlmZmVyZW50IG9yZGVyLCBhcyB5b3Ugc3VnZ2VzdCBpbiB5
b3VyIGNvbW1lbnQsIHNpbmNlIGl0IGNoYW5nZXMgdGhlIG1lYW5pbmcgb2YgdGhlIG9iamVjdC4g
IFdpdGggdGhhdCBiZWluZyBzYWlkLCBkbyB5b3Ugc3RpbGwgcGVyY2VpdmUgdGhhdCB0aGVyZeKA
mXMgYSBwb3RlbnRpYWwgYW1iaWd1aXR5IHRoYXQgbmVlZHMgdG8gYmUgY2xhcmlmaWVkPw0KDQoN
Cg0KVGhhbmtzIGFnYWluIGZvciB5b3VyIHJldmlldy4NCg0KDQoNCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0tIE1pa2UNCg0KDQoN
Ci0tDQoNCg0KDQpCZXN0IHJlZ2FyZHMsDQoNCkthdGhsZWVuDQoNCg0KDQpfX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KDQpqb3NlIG1haWxpbmcgbGlzdA0K
DQpqb3NlQGlldGYub3JnPG1haWx0bzpqb3NlQGlldGYub3JnPg0KDQpodHRwczovL3d3dy5pZXRm
Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2pvc2UNCg==

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZp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ZXh0Ij48bzpwPiZuYnNw
OzwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPl9fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fPG86cD48L286cD48L3A+DQo8cCBjbGFzcz0iTXNv
UGxhaW5UZXh0Ij5qb3NlIG1haWxpbmcgbGlzdDxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1z
b1BsYWluVGV4dCI+PGEgaHJlZj0ibWFpbHRvOmpvc2VAaWV0Zi5vcmciPjxzcGFuIHN0eWxlPSJj
b2xvcjp3aW5kb3d0ZXh0O3RleHQtZGVjb3JhdGlvbjpub25lIj5qb3NlQGlldGYub3JnPC9zcGFu
PjwvYT48bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29QbGFpblRleHQiPjxhIGhyZWY9Imh0
dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vam9zZSI+PHNwYW4gc3R5bGU9ImNv
bG9yOndpbmRvd3RleHQ7dGV4dC1kZWNvcmF0aW9uOm5vbmUiPmh0dHBzOi8vd3d3LmlldGYub3Jn
L21haWxtYW4vbGlzdGluZm8vam9zZTwvc3Bhbj48L2E+PG86cD48L286cD48L3A+DQo8L2Rpdj4N
CjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_4E1F6AAD24975D4BA5B16804296739439AD2A033TK5EX14MBXC293r_--


From nobody Wed May 21 06:00:36 2014
Return-Path: <kathleen.moriarty.ietf@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 612021A045E for <jose@ietfa.amsl.com>; Wed, 21 May 2014 06:00:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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, MIME_QP_LONG_LINE=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 0g-llii-HSts for <jose@ietfa.amsl.com>; Wed, 21 May 2014 06:00:29 -0700 (PDT)
Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E1611A0358 for <jose@ietf.org>; Wed, 21 May 2014 06:00:28 -0700 (PDT)
Received: by mail-qc0-f173.google.com with SMTP id i8so3006363qcq.4 for <jose@ietf.org>; Wed, 21 May 2014 06:00:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=rPURZWRQn1sb5huU6t3/5LoQcI9trUvqI9T+cfo2YR4=; b=rOOIcfFP2rtkK3N9I1NdFHTrirmcPst/hvIIQfdixaE+iSRXoQbN1Li0p5X8P3ff+3 UQNY7tpvXFoOxlMTnRKUTjH30mlmxLxRCUiTCZM5YoogX98dHByciU/dLeYYmGXrhg/P 3w2vbNN2lkLQIvmQdVvRWnuBVqf46KJ6VXo7OxaNkk67abfzfnwOYNXSCs5jBodAhxyG evE9YgLu2h7dbAz3iCjUPkwLIiIuEsr4xiON1mz5YKFKqEDYO4V9W+a1ZqEnu2SLPzCO 1jd1DAwUQbVYwM1jOReEtenybFUwqhpasfqS/bI4e9u6VCz9h3Bz53Be+qgOdzyVK39B ZH4w==
X-Received: by 10.229.89.65 with SMTP id d1mr69677834qcm.14.1400677226708; Wed, 21 May 2014 06:00:26 -0700 (PDT)
Received: from [10.174.179.154] (mobile-198-228-199-019.mycingular.net. [198.228.199.19]) by mx.google.com with ESMTPSA id b5sm1829711qar.1.2014.05.21.06.00.24 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 06:00:25 -0700 (PDT)
X-Google-Original-From: Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-CEF378C9-D593-48BC-86E4-EE4D5F83106D
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
Message-Id: <4B24F978-77CC-410E-8CF8-471FC3B36040@gmail.com>
Date: Wed, 21 May 2014 09:00:23 -0400
References: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com> <C16AD469-39E4-444E-9808-ACB004B3D762@gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD2B8B2@TK5EX14MBXC293.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD2B8B2@TK5EX14MBXC293.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>, "<jose@ietf.org>" <jose@ietf.org>
X-Mailer: iPhone Mail (11D167)
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/4spB7cpyHbYxlHec16qAv_GP1sU
Subject: Re: [jose] AD review of JWS draft
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, 21 May 2014 13:00:34 -0000

--Apple-Mail-CEF378C9-D593-48BC-86E4-EE4D5F83106D
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Adding the WG... Thanks.

Sent from my iPhone

> On May 21, 2014, at 8:20 AM, Mike Jones <Michael.Jones@microsoft.com> wrot=
e:
>=20
> Did you mean to also send this to WG?  You just sent it to me.
> =20
> From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]=20
> Sent: Wednesday, May 21, 2014 5:17 AM
> To: Mike Jones
> Subject: Re: [jose] AD review of JWS draft
> =20
> Thanks, Mike.  Responses are inline as well and we are down to just a few i=
tems where WG input could be helpful.  I will be off for a couple of days, s=
o I may be slow to respond, but will do my best.
> =20
>=20
> Sent from my iPhone
>=20
> On May 20, 2014, at 8:57 AM, Mike Jones <Michael.Jones@microsoft.com> wrot=
e:
>=20
> Thanks for the review, Kathleen.  My responses are inline below, prefixed b=
y "Mike>".
> =20
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen Moriarty
> Sent: Monday, May 19, 2014 6:16 PM
> To: jose@ietf.org
> Subject: [jose] AD review of JWS draft
> =20
> Hello,
> =20
> I reviewed the JWS draft and have questions and comments for the editor an=
d working group.  There are a few things that I would like clarified or corr=
ected before we progress the document.
> =20
> 1. Section 4.1.7, Why isn't there a SHA-256 'Thumbprint'?  XML tools had t=
his functionality 2+ years ago as I used it with the XML editor, Oxygen.  It=
 would be better to bake this in now rather than having to rush it at a poin=
t later in time.
> =20
> Mike> We haven=E2=80=99t added this, to date, because no implementations o=
f SHA-256 thumbprints of certificates in common development tools had been b=
rought to the working group=E2=80=99s attention.  For instance OpenSSL suppo=
rts SHA-1 but not SHA-256 (see http://www.openssl.org/docs/apps/x509.html). =
 The same is true of Windows and .NET.  (Java has no support for certificate=
 thumbprints, but they can be computed by writing code to do so.)
> =20
> In general, the JOSE working group=E2=80=99s features choices have been st=
rongly directed by what features are actually available in common developmen=
t tools.  If something is not commonly implemented in practice, we have tend=
ed to leave it out, while providing registries to enable adding new function=
ality later, should it be desired.
> =20
> I do see that RFC 6594 describes the use of SHA-256 fingerprints in SSHFP R=
esource Records and I don=E2=80=99t doubt that some tools such as Oxygen imp=
lement this for SSH purposes.
> =20
> There wouldn=E2=80=99t have to be a rush to add this later and it doesn=E2=
=80=99t even have to be done by the JOSE working group.  This can be added b=
y a separate specification via the JSON Web Signature and Encryption Header P=
arameters Registry (defined in Section 9.1) at any time that it=E2=80=99s ne=
eded.
> =20
> Also, note that even if SHA-1 were completely cryptographically broken, th=
ere wouldn=E2=80=99t be a significant security issue with using SHA-1 thumbp=
rints of certificates, since the certificates are public information, and th=
e thumbprint is just used as a certificate selection hint.  No non-public in=
formation would be leaked.  Yes, it might be possible to create another cert=
ificate with the same thumbprint at that point, but when used, the full cert=
ificate would be downloaded and evaluated.  If not trusted, it would be reje=
cted.
> =20
> What do others in the working group think?  Is there a compelling reason t=
o add this now, or shall we leave it to a future specification to add it via=
 the registry, when wanted?
> =20
> I'd like to hear others chime in as well.
>=20
> =20
> 2. Section 8:
> =20
> Is it still the case that you guys aren't using TLS 1.2 widely still?
> Setting a minimum requirement would be good here and there are implementat=
ions now.  Is this just older text (I'm guessing that is the case and it jus=
t needs to be updated)?  The pointer for TLS 1.2 is rfc5246.  Wikipedia
> (http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations) has a lis=
t they maintain of TLS implementation state and there is good support for TL=
S 1.2 now.  Can you update this and set a minimum requirement?
> =20
> For the following text, I recommend removing the last clause in the second=
 sentence as the decision will be made with knowledge of current vulnerabili=
ties as opposed to those at the time of this publication.
> I have some other suggested edits to the sentence as well.
> =20
> Change from:
>    Implementations MUST support TLS.  Which version(s) ought to be
>    implemented will vary over time, and depend on the widespread
>    deployment and known security vulnerabilities at the time of
>    implementation.
> To:
>    Implementations MUST support TLS.  Which version(s) ought to be
>    implemented will vary over time, will depend on widespread
>    adoption and deployment, as well as known security vulnerabilities.
> =20
> Mike> Agreed.  You=E2=80=99re right that the text is old; its origin is ht=
tp://tools.ietf.org/html/rfc6749#section-1.6.  I=E2=80=99ll also drop the ph=
rase =E2=80=9Cbut has very limited actual deployment, and might not be readi=
ly available in implementation toolkits=E2=80=9D.
> =20
> Thanks.
>=20
> =20
> 3. Section 10.1
> This looks like the same text from the start of the security consideration=
s section of JWA.  Please make the same updates and ensure the documents are=
 consistent where there is shared text.
> =20
> Mike> Yes, the introductions to all four Security Considerations sections a=
re intentionally the same, and will be kept in sync.  The specific threats l=
isted in the four specs differ.
> =20
> *Working Group* =E2=80=93 I=E2=80=99m still hoping that a number of you wi=
ll identify additional threats that we want to describe mitigations for in t=
he four Security Considerations sections.  Have at it!
> =20
> =20
> Thanks & I look forward to seeing the updated text.
>=20
> =20
> 4. Section 10.1 -
> There is more text here about the SHA-1 thumbprint and state of implementa=
tion that would need to get updated with an adjustment to support SHA256 for=
 the thumbprints.  Just making a note of this so it is not forgotten.
> =20
> Mike> Thanks =E2=80=93 noted.
> =20
> 5. Section 10.2
> Could you add a clause to the end of the last sentence to make it specific=
 to the scope of applicability for this sentence?  Since this just has an ex=
ample, the full scope of what should be rejected is not clear and it is diff=
erent from what is in parsers (according to this paragraph).  Here is the cu=
rrent text:
> =20
>    Some JSON parsers might not reject input that contains extra
>    significant characters after a valid input.  For instance, the input
>    "{"tag":"value"}ABCD" contains a valid JSON object followed by the
>    extra characters "ABCD".  Such input MUST be rejected in its
>    entirety.
> =20
> Mike> How about if I change the last sentence to =E2=80=9CAny inputs not c=
onforming to the JSON-text syntax defined in RFC 7159 input MUST be rejected=
 in their entirety=E2=80=9D?
> =20
> http://datatracker.ietf.org/doc/draft-ietf-json-text-sequence/ is an examp=
le of parsers that would not reject the input.  Can you add this as an infor=
mational reference and ideally, you would fix the issue to prevent the probl=
em.
> =20
> Mike> The parser cited is parsing sequences of JSON-text objects separated=
 by newlines.  Yes, it would accept some such JWS-invalid inputs, because th=
ey would be valid JSON-sequence values but not valid JSON-text  values.  I b=
elieve it would be ill advised to use such a parser as it is designed to acc=
ept inputs not conforming to the JSON-text syntax, but if it were used, the i=
nput would need to be rejected if the JSON-sequence contained more than one J=
SON-text object.
> =20
> Is your intent in asking for the informative reference to use this as an e=
xample of characteristics of a parser that should not be used?  I could do t=
hat, but it=E2=80=99s not clear to me that this reference would really help m=
ost developers quickly grasp the issue.  Would it be OK to just change the l=
ast sentence to =E2=80=9CAny inputs not conforming to the JSON-text syntax d=
efined in RFC 7159 input MUST be rejected in their entirety=E2=80=9D, as pro=
posed above, or are you still interested in having us discuss how parsers of=
 JSON-sequence syntax and other extended syntaxes should not be used?  If so=
, I could add something like =E2=80=9CUse of parsers that accept syntax beyo=
nd JSON-text, such as parsers for JSON-sequence streams, as defined in draft=
-ietf-json-text-sequence, is ill advised, as without further filtering their=
 outputs, they will accept inputs that are not legal JSON.=E2=80=9D  Do you a=
lso want that, or are you OK just with the first change?
> =20
> My bigger concern on this one was to see crisper guidance.  I like the fir=
st sentence, as just saying something is ill advised may not be strong enoug=
h.  I'd like to avoid interoperability issues if possible.  Thanks.
>=20
> =20
> 6. Also on issue #26, is there a pointer to discussion on this?  It looks l=
ike it was closed out, but I'd like to read more on agreement for the decisi=
on.
> =20
> Mike> This was discussed on the thread titled =E2=80=9C[jose] #26: Allow f=
or signature payload to not be base64 encoded=E2=80=9D, which starts at http=
://www.ietf.org/mail-archive/web/jose/current/msg02645.html.  The discussion=
 concluded during the in-person WG meeting at IETF 87, the minutes of which a=
re at http://www.ietf.org/proceedings/87/minutes/minutes-87-jose.  These min=
utes record:
> =20
> *  Issue #26 - Allow for signature payload not to be base64 encoded
> =20
> John said that this issue should wait for something like a compact binary s=
erialization.  Joe Hildebrand said see CBOR and Richard nodded vigorously.
> =20
> Jim said he could live with deferring the issue until an updated version.
> =20
> Based upon this agreement, Jim closed the issue during IETF 87.
> =20
> I'll have to read the threads, thank you.  The issue tracker statement was=
n't clear enough for me on any consensus, etc.
>=20
>=20
> 7. In the first paragraph of section 4, couldn't you wind up with differen=
t answers because of the text, "use a JSON parser that returns only the lexi=
cally last duplicate member name"?  Full paragraph included for reference:
> =20
>    The members of the JSON object(s) representing the JWS Header
>    describe the digital signature or MAC applied to the JWS Protected
>    Header and the JWS Payload and optionally additional properties of
>    the JWS.  The Header Parameter names within the JWS Header MUST be
>    unique; recipients MUST either reject JWSs with duplicate Header
>    Parameter names or use a JSON parser that returns only the lexically
>    last duplicate member name, as specified in Section 15.12 (The JSON
>    Object) of ECMAScript 5.1 [ECMAScript].
> =20
> Let's say you have the following:
> =20
> {=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =E2=80=9Calg=E2=80=9D:=E2=80=
=9Dalg2=E2=80=9D}
> =20
> {=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=9D:=E2=80=
=9Dalg1=E2=80=9D}
> =20
> You could end up with two difference answers about what is the value of th=
e member alg.  A parser that reads everything and then re-emits may change t=
he order of the fields or emit only one of the fields and thus change the va=
lidity of it.
> =20
> Can it be reworded to avoid this potential issue?
> =20
> Mike> When parsing the input =E2=80=9C{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=
=E2=80=9D, =E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}=E2=80=9D legal outc=
omes are either rejecting the input or using =E2=80=9Calg=E2=80=9D: =E2=80=9C=
alg2=E2=80=9D (the ECMAScript 5.1 specified behavior =E2=80=93 using the lex=
ically last member with that name).  The wording above doesn=E2=80=99t allow=
 the =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D result, since it is neith=
er unique or the lexically last member name.  Likewise, for the input =E2=80=
=9C{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=9D:=E2=80=
=9Dalg1=E2=80=9D}=E2=80=9D, only rejecting the input or using =E2=80=9Calg=E2=
=80=9D: =E2=80=9Calg1=E2=80=9D are legal outcomes.  These inputs are not at a=
ll equivalent (unless the parser rejects them both because they have duplica=
te member names).
> =20
> ECMAScript doesn=E2=80=99t permit re-emitting the fields in different orde=
r, as you suggest in your comment, since it changes the meaning of the objec=
t.  With that being said, do you still perceive that there=E2=80=99s a poten=
tial ambiguity that needs to be clarified?
> =20
> Ok, then the language may need to be adjusted so that is clear.
> =20
> Thank you,
> Kathleen=20
>=20
> =20
> Thanks again for your review.
> =20
>                                                             -- Mike
> =20
> --
> =20
> Best regards,
> Kathleen
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose

--Apple-Mail-CEF378C9-D593-48BC-86E4-EE4D5F83106D
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Adding the WG... Thanks.<br><br>Sent f=
rom my iPhone</div><div><br>On May 21, 2014, at 8:20 AM, Mike Jones &lt;<a h=
ref=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&g=
t; wrote:<br><br></div><blockquote type=3D"cite"><div>

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
<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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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:"Courier New";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
span.EmailStyle21
	{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;
	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]-->


<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Did you mean to also se=
nd this to WG?&nbsp; You just sent it to me.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><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 0=
in 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-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Kathleen Mo=
riarty [<a href=3D"mailto:kathleen.moriarty.ietf@gmail.com">mailto:kathleen.=
moriarty.ietf@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, May 21, 2014 5:17 AM<br>
<b>To:</b> Mike Jones<br>
<b>Subject:</b> Re: [jose] AD review of JWS draft<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Thanks, Mike. &nbsp;Responses are inline as well and w=
e are down to just a few items where WG input could be helpful. &nbsp;I will=
 be off for a couple of days, so I may be slow to respond, but will do my be=
st.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><br>
Sent from my iPhone<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
On May 20, 2014, at 8:57 AM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones@=
microsoft.com">Michael.Jones@microsoft.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Thanks for the revie=
w, Kathleen.&nbsp; My responses are inline below, prefixed by "Mike&gt;".</s=
pan><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText">-----Original Message-----<br>
From: jose [<a href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@iet=
f.org</a>] On Behalf Of Kathleen Moriarty<br>
Sent: Monday, May 19, 2014 6:16 PM<br>
To: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
Subject: [jose] AD review of JWS draft<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">Hello,<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">I reviewed the JWS draft and have questions and co=
mments for the editor and working group.&nbsp; There are a few things that I=
 would like clarified or corrected before we progress the document.<o:p></o:=
p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">1. Section 4.1.7, Why isn't there a SHA-256 'Thumb=
print'?&nbsp; XML tools had this functionality 2+ years ago as I used it wit=
h the XML editor, Oxygen.&nbsp; It would be better to bake this in now rathe=
r than having to rush it at a point later
 in time.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; We haven=E2=
=80=99t added this, to date, because no implementations of SHA-256 thumbprin=
ts of certificates in common development tools had been brought to the worki=
ng group=E2=80=99s attention.&nbsp; For instance OpenSSL
 supports SHA-1 but not SHA-256 (see <a href=3D"http://www.openssl.org/docs/=
apps/x509.html">
http://www.openssl.org/docs/apps/x509.html</a>).&nbsp; The same is true of W=
indows and .NET.&nbsp; (Java has no support for certificate thumbprints, but=
 they can be computed by writing code to do so.)</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">In general, the JOSE=
 working group=E2=80=99s features choices have been strongly directed by wha=
t features are actually available in common development tools.&nbsp; If some=
thing is not commonly implemented in practice,
 we have tended to leave it out, while providing registries to enable adding=
 new functionality later, should it be desired.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">I do see that RFC 65=
94 describes the use of SHA-256 fingerprints in SSHFP Resource Records and I=
 don=E2=80=99t doubt that some tools such as Oxygen implement this for SSH p=
urposes.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">There wouldn=E2=80=99=
t have to be a rush to add this later and it doesn=E2=80=99t even have to be=
 done by the JOSE working group.&nbsp; This can be added by a separate speci=
fication via the JSON Web Signature and Encryption Header
 Parameters Registry (defined in Section 9.1) at any time that it=E2=80=99s n=
eeded.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Also, note that even=
 if SHA-1 were completely cryptographically broken, there wouldn=E2=80=99t b=
e a significant security issue with using SHA-1 thumbprints of certificates,=
 since the certificates are public information,
 and the thumbprint is just used as a certificate selection hint.&nbsp; No n=
on-public information would be leaked.&nbsp; Yes, it might be possible to cr=
eate another certificate with the same thumbprint at that point, but when us=
ed, the full certificate would be downloaded
 and evaluated.&nbsp; If not trusted, it would be rejected.</span><o:p></o:p=
></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">What do others in th=
e working group think?&nbsp; Is there a compelling reason to add this now, o=
r shall we leave it to a future specification to add it via the registry, wh=
en wanted?</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">I'd like to hear others chime in as we=
ll.<br>
<br>
<o:p></o:p></span></p>
<div>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText">2. Section 8:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">Is it still the case that you guys aren't using TL=
S 1.2 widely still?<o:p></o:p></p>
<p class=3D"MsoPlainText">Setting a minimum requirement would be good here a=
nd there are implementations now.&nbsp; Is this just older text (I'm guessin=
g that is the case and it just needs to be updated)?&nbsp; The pointer for T=
LS 1.2 is rfc5246.&nbsp; Wikipedia<o:p></o:p></p>
<p class=3D"MsoPlainText">(<a href=3D"http://en.wikipedia.org/wiki/Compariso=
n_of_TLS_implementations"><span style=3D"color:windowtext;text-decoration:no=
ne">http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations</span></a=
>) has a list they maintain of TLS
 implementation state and there is good support for TLS 1.2 now.&nbsp; Can y=
ou update this and set a minimum requirement?<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">For the following text, I recommend removing the l=
ast clause in the second sentence as the decision will be made with knowledg=
e of current vulnerabilities as opposed to those at the time of this publica=
tion.<o:p></o:p></p>
<p class=3D"MsoPlainText">I have some other suggested edits to the sentence a=
s well.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">Change from:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; Implementations MUST support TLS.&nbs=
p; Which version(s) ought to be<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; implemented will vary over time, and d=
epend on the widespread<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; deployment and known security vulnera=
bilities at the time of<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; implementation.<o:p></o:p></p>
<p class=3D"MsoPlainText">To:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; Implementations MUST support TLS.&nbs=
p; Which version(s) ought to be<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; implemented will vary over time, will=
 depend on widespread<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; adoption and deployment, as well as k=
nown security vulnerabilities.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; Agreed.&nbs=
p; You=E2=80=99re right that the text is old; its origin is
</span><span style=3D"color:black"><a href=3D"http://tools.ietf.org/html/rfc=
6749#section-1.6">http://tools.ietf.org/html/rfc6749#section-1.6</a></span><=
span style=3D"color:#0070C0">.&nbsp; I=E2=80=99ll also drop the phrase =E2=80=
=9Cbut has very limited actual deployment, and might not
 be readily available in implementation toolkits=E2=80=9D.</span><o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">Thanks.<br>
<br>
<o:p></o:p></span></p>
<div>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText">3. Section 10.1<o:p></o:p></p>
<p class=3D"MsoPlainText">This looks like the same text from the start of th=
e security considerations section of JWA.&nbsp; Please make the same updates=
 and ensure the documents are consistent where there is shared text.<o:p></o=
:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; Yes, the in=
troductions to all four Security Considerations sections are intentionally t=
he same, and will be kept in sync.&nbsp; The specific threats listed in the f=
our specs differ.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><b><span style=3D"color:#0070C0">*Working Group</s=
pan></b><span style=3D"color:#0070C0">* =E2=80=93 I=E2=80=99m still hoping t=
hat a number of you will identify additional threats that we want to describ=
e mitigations for in the four Security Considerations
 sections.&nbsp; Have at it!</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">Thanks &amp; I look forward to seeing t=
he updated text.<br>
<br>
<o:p></o:p></span></p>
<div>
<p class=3D"MsoPlainText"><span style=3D"color:black">&nbsp;</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText">4. Section 10.1 -<o:p></o:p></p>
<p class=3D"MsoPlainText">There is more text here about the SHA-1 thumbprint=
 and state of implementation that would need to get updated with an adjustme=
nt to support SHA256 for the thumbprints.&nbsp; Just making a note of this s=
o it is not forgotten.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; Thanks =E2=80=
=93 noted.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText">5. Section 10.2<o:p></o:p></p>
<p class=3D"MsoPlainText">Could you add a clause to the end of the last sent=
ence to make it specific to the scope of applicability for this sentence?&nb=
sp; Since this just has an example, the full scope of what should be rejecte=
d is not clear and it is different from
 what is in parsers (according to this paragraph).&nbsp; Here is the current=
 text:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; Some JSON parsers might not reject in=
put that contains extra<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; significant characters after a valid i=
nput.&nbsp; For instance, the input<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; "{"tag":"value"}ABCD" contains a vali=
d JSON object followed by the<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; extra characters "ABCD".&nbsp; Such i=
nput MUST be rejected in its<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; entirety.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; How about i=
f I change the last sentence to =E2=80=9CAny inputs not conforming to the JS=
ON-text syntax defined in RFC 7159 input MUST be rejected in their entirety=E2=
=80=9D?</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><a href=3D"http://datatracker.ietf.org/doc/draft-i=
etf-json-text-sequence/"><span style=3D"color:windowtext;text-decoration:non=
e">http://datatracker.ietf.org/doc/draft-ietf-json-text-sequence/</span></a>=
 is an example of parsers that would
 not reject the input.&nbsp; Can you add this as an informational reference a=
nd ideally, you would fix the issue to prevent the problem.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; The parser c=
ited is parsing sequences of JSON-text objects separated by newlines.&nbsp; Y=
es, it would accept some such JWS-invalid inputs, because they would be vali=
d JSON-sequence values but not valid JSON-text
 values.&nbsp; I believe it would be ill advised to use such a parser as it i=
s designed to accept inputs not conforming to the JSON-text syntax, but if i=
t were used, the input would need to be rejected if the JSON-sequence contai=
ned more than one JSON-text object.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Is your intent in as=
king for the informative reference to use this as an example of characterist=
ics of a parser that should not be used?&nbsp; I could do that, but it=E2=80=
=99s not clear to me that this reference would
 really help most developers quickly grasp the issue.&nbsp; Would it be OK t=
o just change the last sentence to =E2=80=9CAny inputs not conforming to the=
 JSON-text syntax defined in RFC 7159 input MUST be rejected in their entire=
ty=E2=80=9D, as proposed above, or are you still interested
 in having us discuss how parsers of JSON-sequence syntax and other extended=
 syntaxes should not be used?&nbsp; If so, I could add something like =E2=80=
=9CUse of parsers that accept syntax beyond JSON-text, such as parsers for J=
SON-sequence streams, as defined in draft-ietf-json-text-sequence,
 is ill advised, as without further filtering their outputs, they will accep=
t inputs that are not legal JSON.=E2=80=9D&nbsp; Do you also want that, or a=
re you OK just with the first change?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">My bigger concern on this one was to s=
ee crisper guidance. &nbsp;I like the first sentence, as just saying somethi=
ng is ill advised may not be strong enough. &nbsp;I'd like to avoid
 interoperability issues if possible. &nbsp;Thanks.<br>
<br>
<o:p></o:p></span></p>
<div>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText">6. Also on issue #26, is there a pointer to discus=
sion on this?&nbsp; It looks like it was closed out, but I'd like to read mo=
re on agreement for the decision.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; This was di=
scussed on the thread titled =E2=80=9C[jose] #26: Allow for signature payloa=
d to not be base64 encoded=E2=80=9D, which starts at
</span><span style=3D"color:black"><a href=3D"http://www.ietf.org/mail-archi=
ve/web/jose/current/msg02645.html">http://www.ietf.org/mail-archive/web/jose=
/current/msg02645.html</a></span><span style=3D"color:#0070C0">.&nbsp; The d=
iscussion concluded during the in-person
 WG meeting at IETF 87, the minutes of which are at </span><span style=3D"co=
lor:black"><a href=3D"http://www.ietf.org/proceedings/87/minutes/minutes-87-=
jose">http://www.ietf.org/proceedings/87/minutes/minutes-87-jose</a></span><=
span style=3D"color:#0070C0">.&nbsp; These
 minutes record:</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">&nbsp;</span><o:p></o:=
p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:1=
0.0pt;font-family:&quot;Courier New&quot;">*&nbsp; Issue #26 - Allow for sig=
nature payload not to be base64 encoded</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:1=
0.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:1=
0.0pt;font-family:&quot;Courier New&quot;">John said that this issue should w=
ait for something like a compact binary serialization.&nbsp; Joe Hildebrand s=
aid see CBOR and Richard nodded vigorously.
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:1=
0.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:1=
0.0pt;font-family:&quot;Courier New&quot;">Jim said he could live with defer=
ring the issue until an updated version.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">&nbsp;</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Based upon this agre=
ement, Jim closed the issue during IETF 87.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">I'll have to read the threads, thank y=
ou. &nbsp;The issue tracker statement wasn't clear enough for me on any cons=
ensus, etc.<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><br>
<br>
<o:p></o:p></span></p>
<div>
<p class=3D"MsoPlainText">7. In the first paragraph of section 4, couldn't y=
ou wind up with different answers because of the text, "use a JSON parser th=
at returns only the lexically last duplicate member name"?&nbsp; Full paragr=
aph included for reference:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; The members of the JSON object(s) rep=
resenting the JWS Header<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; describe the digital signature or MAC=
 applied to the JWS Protected<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; Header and the JWS Payload and option=
ally additional properties of<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; the JWS.&nbsp; The Header Parameter n=
ames within the JWS Header MUST be<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; unique; recipients MUST either reject=
 JWSs with duplicate Header<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; Parameter names or use a JSON parser t=
hat returns only the lexically<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; last duplicate member name, as specif=
ied in Section 15.12 (The JSON<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; Object) of ECMAScript 5.1 [ECMAScript=
].<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">Let's say you have the following:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =E2=
=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=
=9Dalg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D}<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">You could end up with two difference answers about=
 what is the value of the member alg.&nbsp; A parser that reads everything a=
nd then re-emits may change the order of the fields or emit only one of the f=
ields and thus change the validity
 of it.<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">Can it be reworded to avoid this potential issue?<=
o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Mike&gt; When parsin=
g the input =E2=80=9C</span>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =E2=
=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}<span style=3D"color:#0070C0">=E2=80=
=9D legal outcomes are either rejecting the input or using =E2=80=9Calg=E2=80=
=9D: =E2=80=9Calg2=E2=80=9D (the ECMAScript 5.1 specified behavior =E2=80=93=

 using the lexically last member with that name).&nbsp; The wording above do=
esn=E2=80=99t allow the =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D result=
, since it is neither unique or the lexically last member name.&nbsp; Likewi=
se, for the input =E2=80=9C</span>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=
=9D,=E2=80=9Dalg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D}<span style=3D"color:#0070C=
0">=E2=80=9D,
 only rejecting the input or using =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=
=9D are legal outcomes.&nbsp; These inputs are not at all equivalent (unless=
 the parser rejects them both because they have duplicate member names).</sp=
an><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">ECMAScript doesn=E2=80=
=99t permit re-emitting the fields in different order, as you suggest in you=
r comment, since it changes the meaning of the object.&nbsp; With that being=
 said, do you still perceive that there=E2=80=99s a
 potential ambiguity that needs to be clarified?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">Ok, then the language may need to be a=
djusted so that is clear.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">Thank you,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Tim=
es New Roman&quot;,&quot;serif&quot;">Kathleen&nbsp;<br>
<br>
<o:p></o:p></span></p>
<div>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">Thanks again for you=
r review.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&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;&nbs=
p;&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; -- Mike</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:#0070C0">&nbsp;</span><o:p></=
o:p></p>
<p class=3D"MsoPlainText">-- <o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">Best regards,<o:p></o:p></p>
<p class=3D"MsoPlainText">Kathleen<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;<o:p></o:p></p>
<p class=3D"MsoPlainText">_______________________________________________<o:=
p></o:p></p>
<p class=3D"MsoPlainText">jose mailing list<o:p></o:p></p>
<p class=3D"MsoPlainText"><a href=3D"mailto:jose@ietf.org"><span style=3D"co=
lor:windowtext;text-decoration:none">jose@ietf.org</span></a><o:p></o:p></p>=

<p class=3D"MsoPlainText"><a href=3D"https://www.ietf.org/mailman/listinfo/j=
ose"><span style=3D"color:windowtext;text-decoration:none">https://www.ietf.=
org/mailman/listinfo/jose</span></a><o:p></o:p></p>
</div>
</div>
</div>


</div></blockquote></body></html>=

--Apple-Mail-CEF378C9-D593-48BC-86E4-EE4D5F83106D--


From nobody Wed May 21 11:10:45 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 385991A04A1 for <jose@ietfa.amsl.com>; Wed, 21 May 2014 11:10:44 -0700 (PDT)
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_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 BE6HhbVBR9HZ for <jose@ietfa.amsl.com>; Wed, 21 May 2014 11:10:42 -0700 (PDT)
Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7071D1A0449 for <jose@ietf.org>; Wed, 21 May 2014 11:10:42 -0700 (PDT)
Received: by mail-qg0-f48.google.com with SMTP id i50so3795700qgf.21 for <jose@ietf.org>; Wed, 21 May 2014 11:10:41 -0700 (PDT)
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=JOOZeEG/5G8+zJm4rcBRLkGaAFI78EMznE0Wi5S2S6M=; b=WFAHbP187GMquIK3mMjNMd+XuSJipqwI4Gsjk75ayu5hw09dWdyhA0MB3VY3tN/Bx/ r1owz5GckIHhOJceTs+Jj897tDTkyyIzxCQKZnHd07o07Qaiyf7N3bPZVi9hEJ90LfNd qo9pjXps5KyJ8VFPGgVWUvuC7jAHlI0Eo32o/c4CV0zIrtDb9I3DewTvvX+lGZ/6A3c2 V1VsBKfy8r3HMBuTi27ojXLyZXuW5x/rrZl3Qvj9eVmKTO41J9mLkawYQ88b05yjttYk NkjXJ86PeBYYjDkL6H4YX8IdLtkq5JLj/Vkl3rueh3jkRtmOkYO1CtDWLbgRdgDsdHsb Mdxw==
X-Gm-Message-State: ALoCoQl852dRxlbaXsWdJea0b8gPVgFeNPmLgbfsXEmmbEOmq5s4ouNZg0/fVGj2qQ1JRLzcY0v/
X-Received: by 10.224.67.131 with SMTP id r3mr71141214qai.75.1400695840891; Wed, 21 May 2014 11:10:40 -0700 (PDT)
Received: from [10.2.2.165] (PING-IDENTI.bar1.Boston1.Level3.net. [4.31.154.18]) by mx.google.com with ESMTPSA id w2sm2927593qar.21.2014.05.21.11.10.39 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 11:10:39 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_B111E303-DA8B-4860-83C8-ECC6756983B1"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com>
Date: Wed, 21 May 2014 14:10:38 -0400
Message-Id: <354DE4FA-9678-41E4-BFBA-BFA700B175F0@ve7jtb.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com> <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Mailer: Apple Mail (2.1878.2)
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/jP76lsd0M6HjJBsdj0zpblWuAnU
Cc: Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Wed, 21 May 2014 18:10:44 -0000

--Apple-Mail=_B111E303-DA8B-4860-83C8-ECC6756983B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

I agree with Mike, many key stores use SHA1 thumbprints.   I don't know =
of any security consideration that makes SHA2 thumbprints better in any =
practical way.

I don't think that adding SHA 2 thumbprints is something that we need to =
do now.

John B.

On May 1, 2014, at 1:46 PM, Kathleen Moriarty =
<kathleen.moriarty.ietf@gmail.com> wrote:

>>=20
>> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed.  =
I=92m
>> aware of no SHA-256 certificate thumbprint deployments.  I=92ll note =
that even
>> if SHA-1 were completely broken, that wouldn=92t be a security issue =
because
>> it=92s just being used to generate a digest of publicly available =
certificate
>> information.  It=92s not being used to cryptographically obscure =
anything.
>> (But that=92s actually a discussion for another draft. J)
>>=20
>=20
> This is in place for the XML equivalents and should be possible for
> JSON.  I used this at least 2 years ago in the XML Oxygen editor.  I
> believe this has been brought up before in terms of JSON, so I am not
> the first.  But it is another draft... I'd like to get through these
> all soon :-)


--Apple-Mail=_B111E303-DA8B-4860-83C8-ECC6756983B1
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEH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FsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNV
BAMTL1N0YXJ0Q29tIENsYXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgJIBzAN
BgkqhkiG9w0BAQEFAASCAQAQKu/ZhSLJqKbsGjfrMz63vNMc5Z0j361DUAgXw7Ry+tVXqdDaSLRR
mCzWSbHLfEUTbx10ZS+PhH/WiodzSUEQbtGNa/O4z/xNdI4POQgw+UUsTTXxoa5LedBZ5PRQFvZw
BG1dtSsGLRm8HTiHqiusHNtA4UtPZ7dSiOIJLX3FhieSmSri2pktc0JgbKR9WhWz5ThFPcHk5mdp
Di5nnQdBVfPK4oOMEHR81e5glM53wEx+NZCOoxYikryD7Aqg2v8h+QHoR+UtOdjXCwwFhTbFs+GS
ZlKFk/wtwKih/qNyyn57RIrcCD7Td/2+3F7w75hP+m+lQCvWRcukcrvGBZlTAAAAAAAA

--Apple-Mail=_B111E303-DA8B-4860-83C8-ECC6756983B1--


From nobody Wed May 21 17:45: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 103DA1A000E for <jose@ietfa.amsl.com>; Wed, 21 May 2014 17:45:57 -0700 (PDT)
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 4U5uK4cviVE3 for <jose@ietfa.amsl.com>; Wed, 21 May 2014 17:45:53 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC4B41A001B for <jose@ietf.org>; Wed, 21 May 2014 17:45:51 -0700 (PDT)
Received: from Philemon (75-147-179-38-Washington.hfc.comcastbusiness.net [75.147.179.38]) (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 448CD2CA02; Wed, 21 May 2014 17:45:50 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, "'Kathleen Moriarty'" <kathleen.moriarty.ietf@gmail.com>
References: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com>
Date: Wed, 21 May 2014 17:43:49 -0700
Message-ID: <028701cf7556$e5ed38c0$b1c7aa40$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0288_01CF751C.3994F070"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQDSuIPrpgJi2RFxC8spt58QeFhLEAJZdI9WnTJw1vA=
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/Hx0R5vcsOj03jCZzju1uN1hpMOY
Cc: jose@ietf.org
Subject: Re: [jose] AD review of JWS draft
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, 22 May 2014 00:45:57 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0288_01CF751C.3994F070
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

=20

=20

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Tuesday, May 20, 2014 5:58 AM
To: Kathleen Moriarty
Cc: jose@ietf.org
Subject: Re: [jose] AD review of JWS draft

=20

Thanks for the review, Kathleen.  My responses are inline below, =
prefixed by "Mike>".

=20

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen Moriarty
Sent: Monday, May 19, 2014 6:16 PM
To: jose@ietf.org
Subject: [jose] AD review of JWS draft

=20

Hello,

=20

I reviewed the JWS draft and have questions and comments for the editor =
and working group.  There are a few things that I would like clarified =
or corrected before we progress the document.

=20

1. Section 4.1.7, Why isn't there a SHA-256 'Thumbprint'?  XML tools had =
this functionality 2+ years ago as I used it with the XML editor, =
Oxygen.  It would be better to bake this in now rather than having to =
rush it at a point later in time.

=20

Mike> We haven=E2=80=99t added this, to date, because no implementations =
of SHA-256 thumbprints of certificates in common development tools had =
been brought to the working group=E2=80=99s attention.  For instance =
OpenSSL supports SHA-1 but not SHA-256 (see =
http://www.openssl.org/docs/apps/x509.html).  The same is true of =
Windows and .NET.  (Java has no support for certificate thumbprints, but =
they can be computed by writing code to do so.)

=20

In general, the JOSE working group=E2=80=99s features choices have been =
strongly directed by what features are actually available in common =
development tools.  If something is not commonly implemented in =
practice, we have tended to leave it out, while providing registries to =
enable adding new functionality later, should it be desired.

=20

I do see that RFC 6594 describes the use of SHA-256 fingerprints in =
SSHFP Resource Records and I don=E2=80=99t doubt that some tools such as =
Oxygen implement this for SSH purposes.

=20

There wouldn=E2=80=99t have to be a rush to add this later and it =
doesn=E2=80=99t even have to be done by the JOSE working group.  This =
can be added by a separate specification via the JSON Web Signature and =
Encryption Header Parameters Registry (defined in Section 9.1) at any =
time that it=E2=80=99s needed.

=20

Also, note that even if SHA-1 were completely cryptographically broken, =
there wouldn=E2=80=99t be a significant security issue with using SHA-1 =
thumbprints of certificates, since the certificates are public =
information, and the thumbprint is just used as a certificate selection =
hint.  No non-public information would be leaked.  Yes, it might be =
possible to create another certificate with the same thumbprint at that =
point, but when used, the full certificate would be downloaded and =
evaluated.  If not trusted, it would be rejected.

=20

What do others in the working group think?  Is there a compelling reason =
to add this now, or shall we leave it to a future specification to add =
it via the registry, when wanted?

=20

2. Section 8:

=20

Is it still the case that you guys aren't using TLS 1.2 widely still?

Setting a minimum requirement would be good here and there are =
implementations now.  Is this just older text (I'm guessing that is the =
case and it just needs to be updated)?  The pointer for TLS 1.2 is =
rfc5246.  Wikipedia

( <http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations> =
http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations) has a =
list they maintain of TLS implementation state and there is good support =
for TLS 1.2 now.  Can you update this and set a minimum requirement?

=20

For the following text, I recommend removing the last clause in the =
second sentence as the decision will be made with knowledge of current =
vulnerabilities as opposed to those at the time of this publication.

I have some other suggested edits to the sentence as well.

=20

Change from:

   Implementations MUST support TLS.  Which version(s) ought to be

   implemented will vary over time, and depend on the widespread

   deployment and known security vulnerabilities at the time of

   implementation.

To:

   Implementations MUST support TLS.  Which version(s) ought to be

   implemented will vary over time, will depend on widespread

   adoption and deployment, as well as known security vulnerabilities.

=20

Mike> Agreed.  You=E2=80=99re right that the text is old; its origin is =
http://tools.ietf.org/html/rfc6749#section-1.6.  I=E2=80=99ll also drop =
the phrase =E2=80=9Cbut has very limited actual deployment, and might =
not be readily available in implementation toolkits=E2=80=9D.

=20

3. Section 10.1

This looks like the same text from the start of the security =
considerations section of JWA.  Please make the same updates and ensure =
the documents are consistent where there is shared text.

=20

Mike> Yes, the introductions to all four Security Considerations =
sections are intentionally the same, and will be kept in sync.  The =
specific threats listed in the four specs differ.

=20

*Working Group* =E2=80=93 I=E2=80=99m still hoping that a number of you =
will identify additional threats that we want to describe mitigations =
for in the four Security Considerations sections.  Have at it!

=20

4. Section 10.1 -

There is more text here about the SHA-1 thumbprint and state of =
implementation that would need to get updated with an adjustment to =
support SHA256 for the thumbprints.  Just making a note of this so it is =
not forgotten.

=20

Mike> Thanks =E2=80=93 noted.

=20

5. Section 10.2

Could you add a clause to the end of the last sentence to make it =
specific to the scope of applicability for this sentence?  Since this =
just has an example, the full scope of what should be rejected is not =
clear and it is different from what is in parsers (according to this =
paragraph).  Here is the current text:

=20

   Some JSON parsers might not reject input that contains extra

   significant characters after a valid input.  For instance, the input

   "{"tag":"value"}ABCD" contains a valid JSON object followed by the

   extra characters "ABCD".  Such input MUST be rejected in its

   entirety.

=20

Mike> How about if I change the last sentence to =E2=80=9CAny inputs not =
conforming to the JSON-text syntax defined in RFC 7159 input MUST be =
rejected in their entirety=E2=80=9D?

=20

 <http://datatracker.ietf.org/doc/draft-ietf-json-text-sequence/> =
http://datatracker.ietf.org/doc/draft-ietf-json-text-sequence/ is an =
example of parsers that would not reject the input.  Can you add this as =
an informational reference and ideally, you would fix the issue to =
prevent the problem.

=20

Mike> The parser cited is parsing sequences of JSON-text objects =
separated by newlines.  Yes, it would accept some such JWS-invalid =
inputs, because they would be valid JSON-sequence values but not valid =
JSON-text values.  I believe it would be ill advised to use such a =
parser as it is designed to accept inputs not conforming to the =
JSON-text syntax, but if it were used, the input would need to be =
rejected if the JSON-sequence contained more than one JSON-text object.

=20

Is your intent in asking for the informative reference to use this as an =
example of characteristics of a parser that should not be used?  I could =
do that, but it=E2=80=99s not clear to me that this reference would =
really help most developers quickly grasp the issue.  Would it be OK to =
just change the last sentence to =E2=80=9CAny inputs not conforming to =
the JSON-text syntax defined in RFC 7159 input MUST be rejected in their =
entirety=E2=80=9D, as proposed above, or are you still interested in =
having us discuss how parsers of JSON-sequence syntax and other extended =
syntaxes should not be used?  If so, I could add something like =
=E2=80=9CUse of parsers that accept syntax beyond JSON-text, such as =
parsers for JSON-sequence streams, as defined in =
draft-ietf-json-text-sequence, is ill advised, as without further =
filtering their outputs, they will accept inputs that are not legal =
JSON.=E2=80=9D  Do you also want that, or are you OK just with the first =
change?

=20

6. Also on issue #26, is there a pointer to discussion on this?  It =
looks like it was closed out, but I'd like to read more on agreement for =
the decision.

=20

Mike> This was discussed on the thread titled =E2=80=9C[jose] #26: Allow =
for signature payload to not be base64 encoded=E2=80=9D, which starts at =
http://www.ietf.org/mail-archive/web/jose/current/msg02645.html.  The =
discussion concluded during the in-person WG meeting at IETF 87, the =
minutes of which are at =
http://www.ietf.org/proceedings/87/minutes/minutes-87-jose.  These =
minutes record:

=20

*  Issue #26 - Allow for signature payload not to be base64 encoded

=20

John said that this issue should wait for something like a compact =
binary serialization.  Joe Hildebrand said see CBOR and Richard nodded =
vigorously.=20

=20

Jim said he could live with deferring the issue until an updated =
version.

=20

Based upon this agreement, Jim closed the issue during IETF 87.

=20

7. In the first paragraph of section 4, couldn't you wind up with =
different answers because of the text, "use a JSON parser that returns =
only the lexically last duplicate member name"?  Full paragraph included =
for reference:

=20

   The members of the JSON object(s) representing the JWS Header

   describe the digital signature or MAC applied to the JWS Protected

   Header and the JWS Payload and optionally additional properties of

   the JWS.  The Header Parameter names within the JWS Header MUST be

   unique; recipients MUST either reject JWSs with duplicate Header

   Parameter names or use a JSON parser that returns only the lexically

   last duplicate member name, as specified in Section 15.12 (The JSON

   Object) of ECMAScript 5.1 [ECMAScript].

=20

Let's say you have the following:

=20

{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}

=20

{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=9D:=E2=80=
=9Dalg1=E2=80=9D}

=20

You could end up with two difference answers about what is the value of =
the member alg.  A parser that reads everything and then re-emits may =
change the order of the fields or emit only one of the fields and thus =
change the validity of it.

=20

Can it be reworded to avoid this potential issue?

=20

Mike> When parsing the input =
=E2=80=9C{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}=E2=80=9D legal outcomes =
are either rejecting the input or using =E2=80=9Calg=E2=80=9D: =
=E2=80=9Calg2=E2=80=9D (the ECMAScript 5.1 specified behavior =E2=80=93 =
using the lexically last member with that name).  The wording above =
doesn=E2=80=99t allow the =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D =
result, since it is neither unique or the lexically last member name.  =
Likewise, for the input =
=E2=80=9C{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=
=9D:=E2=80=9Dalg1=E2=80=9D}=E2=80=9D, only rejecting the input or using =
=E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D are legal outcomes.  These =
inputs are not at all equivalent (unless the parser rejects them both =
because they have duplicate member names).

=20

ECMAScript doesn=E2=80=99t permit re-emitting the fields in different =
order, as you suggest in your comment, since it changes the meaning of =
the object.  With that being said, do you still perceive that =
there=E2=80=99s a potential ambiguity that needs to be clarified?

=20

[JLS] I would note that while ECMAScript 5.1 does not allow this =
behavior, there is nothing in the IETF JSON document which has the same =
restriction.

=20

Thanks again for your review.

=20

                                                            -- Mike

=20

--=20

=20

Best regards,

Kathleen

=20

_______________________________________________

jose mailing list

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

 <https://www.ietf.org/mailman/listinfo/jose> =
https://www.ietf.org/mailman/listinfo/jose


------=_NextPart_000_0288_01CF751C.3994F070
Content-Type: text/html;
	charset="utf-8"
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=3Dutf-8"><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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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:"Courier New";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","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.EmailStyle23
	{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'><o:p>&nbsp;</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 [mailto:jose-bounces@ietf.org] <b>On Behalf Of </b>Mike =
Jones<br><b>Sent:</b> Tuesday, May 20, 2014 5:58 AM<br><b>To:</b> =
Kathleen Moriarty<br><b>Cc:</b> jose@ietf.org<br><b>Subject:</b> Re: =
[jose] AD review of JWS draft<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Thanks for the review, Kathleen.&nbsp; My =
responses are inline below, prefixed by =
&quot;Mike&gt;&quot;.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>-----Original Message-----<br>From: jose [<a =
href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>] =
On Behalf Of Kathleen Moriarty<br>Sent: Monday, May 19, 2014 6:16 =
PM<br>To: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>Subject: =
[jose] AD review of JWS draft<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>Hello,<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>I =
reviewed the JWS draft and have questions and comments for the editor =
and working group.&nbsp; There are a few things that I would like =
clarified or corrected before we progress the document.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>1. =
Section 4.1.7, Why isn't there a SHA-256 'Thumbprint'?&nbsp; XML tools =
had this functionality 2+ years ago as I used it with the XML editor, =
Oxygen.&nbsp; It would be better to bake this in now rather than having =
to rush it at a point later in time.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; We haven=E2=80=99t added this, to date, =
because no implementations of SHA-256 thumbprints of certificates in =
common development tools had been brought to the working group=E2=80=99s =
attention.&nbsp; For instance OpenSSL supports SHA-1 but not SHA-256 =
(see <a =
href=3D"http://www.openssl.org/docs/apps/x509.html">http://www.openssl.or=
g/docs/apps/x509.html</a>).&nbsp; The same is true of Windows and =
.NET.&nbsp; (Java has no support for certificate thumbprints, but they =
can be computed by writing code to do so.)<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>In general, the JOSE =
working group=E2=80=99s features choices have been strongly directed by =
what features are actually available in common development tools.&nbsp; =
If something is not commonly implemented in practice, we have tended to =
leave it out, while providing registries to enable adding new =
functionality later, should it be desired.<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>I do see that RFC =
6594 describes the use of SHA-256 fingerprints in SSHFP Resource Records =
and I don=E2=80=99t doubt that some tools such as Oxygen implement this =
for SSH purposes.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>There =
wouldn=E2=80=99t have to be a rush to add this later and it =
doesn=E2=80=99t even have to be done by the JOSE working group.&nbsp; =
This can be added by a separate specification via the JSON Web Signature =
and Encryption Header Parameters Registry (defined in Section 9.1) at =
any time that it=E2=80=99s needed.<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>Also, note that even =
if SHA-1 were completely cryptographically broken, there =
wouldn=E2=80=99t be a significant security issue with using SHA-1 =
thumbprints of certificates, since the certificates are public =
information, and the thumbprint is just used as a certificate selection =
hint.&nbsp; No non-public information would be leaked.&nbsp; Yes, it =
might be possible to create another certificate with the same thumbprint =
at that point, but when used, the full certificate would be downloaded =
and evaluated.&nbsp; If not trusted, it would be =
rejected.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>What do others in the =
working group think?&nbsp; Is there a compelling reason to add this now, =
or shall we leave it to a future specification to add it via the =
registry, when wanted?<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>2. Section 8:<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Is it =
still the case that you guys aren't using TLS 1.2 widely =
still?<o:p></o:p></p><p class=3DMsoPlainText>Setting a minimum =
requirement would be good here and there are implementations now.&nbsp; =
Is this just older text (I'm guessing that is the case and it just needs =
to be updated)?&nbsp; The pointer for TLS 1.2 is rfc5246.&nbsp; =
Wikipedia<o:p></o:p></p><p class=3DMsoPlainText>(<a =
href=3D"http://en.wikipedia.org/wiki/Comparison_of_TLS_implementations"><=
span =
style=3D'color:windowtext;text-decoration:none'>http://en.wikipedia.org/w=
iki/Comparison_of_TLS_implementations</span></a>) has a list they =
maintain of TLS implementation state and there is good support for TLS =
1.2 now.&nbsp; Can you update this and set a minimum =
requirement?<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>For =
the following text, I recommend removing the last clause in the second =
sentence as the decision will be made with knowledge of current =
vulnerabilities as opposed to those at the time of this =
publication.<o:p></o:p></p><p class=3DMsoPlainText>I have some other =
suggested edits to the sentence as well.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Change =
from:<o:p></o:p></p><p class=3DMsoPlainText>&nbsp;&nbsp; Implementations =
MUST support TLS.&nbsp; Which version(s) ought to be<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; implemented will vary over time, and =
depend on the widespread<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; deployment and known security =
vulnerabilities at the time of<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; implementation.<o:p></o:p></p><p =
class=3DMsoPlainText>To:<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; Implementations MUST support =
TLS.&nbsp; Which version(s) ought to be<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; implemented will vary over time, will =
depend on widespread<o:p></o:p></p><p class=3DMsoPlainText>&nbsp;&nbsp; =
adoption and deployment, as well as known security =
vulnerabilities.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; Agreed.&nbsp; You=E2=80=99re right that =
the text is old; its origin is </span><span style=3D'color:black'><a =
href=3D"http://tools.ietf.org/html/rfc6749#section-1.6">http://tools.ietf=
.org/html/rfc6749#section-1.6</a></span><span =
style=3D'color:#0070C0'>.&nbsp; I=E2=80=99ll also drop the phrase =
=E2=80=9Cbut has very limited actual deployment, and might not be =
readily available in implementation =
toolkits=E2=80=9D.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>3. Section 10.1<o:p></o:p></p><p =
class=3DMsoPlainText>This looks like the same text from the start of the =
security considerations section of JWA.&nbsp; Please make the same =
updates and ensure the documents are consistent where there is shared =
text.<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>Mike&gt; Yes, the =
introductions to all four Security Considerations sections are =
intentionally the same, and will be kept in sync.&nbsp; The specific =
threats listed in the four specs differ.<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><b><span style=3D'color:#0070C0'>*Working =
Group</span></b><span style=3D'color:#0070C0'>* =E2=80=93 I=E2=80=99m =
still hoping that a number of you will identify additional threats that =
we want to describe mitigations for in the four Security Considerations =
sections.&nbsp; Have at it!<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:black'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>4. Section 10.1 -<o:p></o:p></p><p =
class=3DMsoPlainText>There is more text here about the SHA-1 thumbprint =
and state of implementation that would need to get updated with an =
adjustment to support SHA256 for the thumbprints.&nbsp; Just making a =
note of this so it is not forgotten.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; Thanks =E2=80=93 =
noted.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>5. Section 10.2<o:p></o:p></p><p =
class=3DMsoPlainText>Could you add a clause to the end of the last =
sentence to make it specific to the scope of applicability for this =
sentence?&nbsp; Since this just has an example, the full scope of what =
should be rejected is not clear and it is different from what is in =
parsers (according to this paragraph).&nbsp; Here is the current =
text:<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; Some JSON parsers might not reject =
input that contains extra<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; significant characters after a valid =
input.&nbsp; For instance, the input<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; =
&quot;{&quot;tag&quot;:&quot;value&quot;}ABCD&quot; contains a valid =
JSON object followed by the<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; extra characters =
&quot;ABCD&quot;.&nbsp; Such input MUST be rejected in =
its<o:p></o:p></p><p class=3DMsoPlainText>&nbsp;&nbsp; =
entirety.<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>Mike&gt; How about if =
I change the last sentence to =E2=80=9CAny inputs not conforming to the =
JSON-text syntax defined in RFC 7159 input MUST be rejected in their =
entirety=E2=80=9D?<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><a =
href=3D"http://datatracker.ietf.org/doc/draft-ietf-json-text-sequence/"><=
span =
style=3D'color:windowtext;text-decoration:none'>http://datatracker.ietf.o=
rg/doc/draft-ietf-json-text-sequence/</span></a> is an example of =
parsers that would not reject the input.&nbsp; Can you add this as an =
informational reference and ideally, you would fix the issue to prevent =
the problem.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; The parser cited is parsing sequences =
of JSON-text objects separated by newlines.&nbsp; Yes, it would accept =
some such JWS-invalid inputs, because they would be valid JSON-sequence =
values but not valid JSON-text values.&nbsp; I believe it would be ill =
advised to use such a parser as it is designed to accept inputs not =
conforming to the JSON-text syntax, but if it were used, the input would =
need to be rejected if the JSON-sequence contained more than one =
JSON-text object.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>Is your intent in =
asking for the informative reference to use this as an example of =
characteristics of a parser that should not be used?&nbsp; I could do =
that, but it=E2=80=99s not clear to me that this reference would really =
help most developers quickly grasp the issue.&nbsp; Would it be OK to =
just change the last sentence to =E2=80=9CAny inputs not conforming to =
the JSON-text syntax defined in RFC 7159 input MUST be rejected in their =
entirety=E2=80=9D, as proposed above, or are you still interested in =
having us discuss how parsers of JSON-sequence syntax and other extended =
syntaxes should not be used?&nbsp; If so, I could add something like =
=E2=80=9CUse of parsers that accept syntax beyond JSON-text, such as =
parsers for JSON-sequence streams, as defined in =
draft-ietf-json-text-sequence, is ill advised, as without further =
filtering their outputs, they will accept inputs that are not legal =
JSON.=E2=80=9D&nbsp; Do you also want that, or are you OK just with the =
first change?<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>6. Also on issue #26, is there a pointer to =
discussion on this?&nbsp; It looks like it was closed out, but I'd like =
to read more on agreement for the decision.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; This was discussed on the thread titled =
=E2=80=9C[jose] #26: Allow for signature payload to not be base64 =
encoded=E2=80=9D, which starts at </span><span style=3D'color:black'><a =
href=3D"http://www.ietf.org/mail-archive/web/jose/current/msg02645.html">=
http://www.ietf.org/mail-archive/web/jose/current/msg02645.html</a></span=
><span style=3D'color:#0070C0'>.&nbsp; The discussion concluded during =
the in-person WG meeting at IETF 87, the minutes of which are at =
</span><span style=3D'color:black'><a =
href=3D"http://www.ietf.org/proceedings/87/minutes/minutes-87-jose">http:=
//www.ietf.org/proceedings/87/minutes/minutes-87-jose</a></span><span =
style=3D'color:#0070C0'>.&nbsp; These minutes =
record:<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>*&nbsp; Issue #26 - =
Allow for signature payload not to be base64 =
encoded<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>John said that this =
issue should wait for something like a compact binary =
serialization.&nbsp; Joe Hildebrand said see CBOR and Richard nodded =
vigorously. <o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal =
style=3D'margin-left:.5in'><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Jim said he could =
live with deferring the issue until an updated =
version.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:black'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>Based upon this =
agreement, Jim closed the issue during IETF 87.<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>7. In the first paragraph of section 4, couldn't =
you wind up with different answers because of the text, &quot;use a JSON =
parser that returns only the lexically last duplicate member =
name&quot;?&nbsp; Full paragraph included for =
reference:<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; The members of the JSON object(s) =
representing the JWS Header<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; describe the digital signature or MAC =
applied to the JWS Protected<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; Header and the JWS Payload and =
optionally additional properties of<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; the JWS.&nbsp; The Header Parameter =
names within the JWS Header MUST be<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; unique; recipients MUST either reject =
JWSs with duplicate Header<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; Parameter names or use a JSON parser =
that returns only the lexically<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; last duplicate member name, as =
specified in Section 15.12 (The JSON<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; Object) of ECMAScript 5.1 =
[ECMAScript].<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Let's =
say you have the following:<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=
=9Dalg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D}<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>You =
could end up with two difference answers about what is the value of the =
member alg.&nbsp; A parser that reads everything and then re-emits may =
change the order of the fields or emit only one of the fields and thus =
change the validity of it.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Can it =
be reworded to avoid this potential issue?<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; When parsing the input =
=E2=80=9C</span>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}<span =
style=3D'color:#0070C0'>=E2=80=9D legal outcomes are either rejecting =
the input or using =E2=80=9Calg=E2=80=9D: =E2=80=9Calg2=E2=80=9D (the =
ECMAScript 5.1 specified behavior =E2=80=93 using the lexically last =
member with that name).&nbsp; The wording above doesn=E2=80=99t allow =
the =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D result, since it is =
neither unique or the lexically last member name.&nbsp; Likewise, for =
the input =
=E2=80=9C</span>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dal=
g=E2=80=9D:=E2=80=9Dalg1=E2=80=9D}<span =
style=3D'color:#0070C0'>=E2=80=9D, only rejecting the input or using =
=E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D are legal outcomes.&nbsp; =
These inputs are not at all equivalent (unless the parser rejects them =
both because they have duplicate member names).<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>ECMAScript =
doesn=E2=80=99t permit re-emitting the fields in different order, as you =
suggest in your comment, since it changes the meaning of the =
object.&nbsp; With that being said, do you still perceive that =
there=E2=80=99s a potential ambiguity that needs to be =
clarified?<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] I would note that =
while ECMAScript 5.1 does not allow this behavior, there is nothing in =
the IETF JSON document which has the same =
restriction.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>Thanks again for your =
review.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'>&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=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>-- <o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Best =
regards,<o:p></o:p></p><p class=3DMsoPlainText>Kathleen<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>_______________________________________________<o:p>=
</o:p></p><p class=3DMsoPlainText>jose mailing list<o:p></o:p></p><p =
class=3DMsoPlainText><a href=3D"mailto:jose@ietf.org"><span =
style=3D'color:windowtext;text-decoration:none'>jose@ietf.org</span></a><=
o:p></o:p></p><p class=3DMsoPlainText><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose"><span =
style=3D'color:windowtext;text-decoration:none'>https://www.ietf.org/mail=
man/listinfo/jose</span></a><o:p></o:p></p></div></body></html>
------=_NextPart_000_0288_01CF751C.3994F070--


From nobody Wed May 21 18:51:41 2014
Return-Path: <sakimura@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 4B7991A002F for <jose@ietfa.amsl.com>; Wed, 21 May 2014 18:51:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FpKGprDg47Zn for <jose@ietfa.amsl.com>; Wed, 21 May 2014 18:51:38 -0700 (PDT)
Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 249691A0029 for <jose@ietf.org>; Wed, 21 May 2014 18:51:37 -0700 (PDT)
Received: by mail-lb0-f169.google.com with SMTP id s7so2181102lbd.28 for <jose@ietf.org>; Wed, 21 May 2014 18:51:35 -0700 (PDT)
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 :cc:content-type; bh=kvmphaTRWLW5KccjqkujLromstRmzMXKHIKeOVMW4So=; b=CMqoUX4fFozuYV7JDbtGXE2xNtz41P/eKnRTKmHCKEUracs3dSr51varJC4+biBQ3l 1NZY9vxXKaCX2JHYxCDC1s7ombVwfgk/qR3AxUXYypifwArzpzSUR3UNJs4Yud5N+173 8qmz9Eq2x2jzPUYzXMXuWarNr7vFdEt7omi2KtQPW0n22vCuG8CHiAcWZlf7h2vqdDy6 KXzGhvHbizgWuOMMWyzwEPQeBVditb5lFLu8x6JfrqXQlrq4zvQg0zF2qVTJF5EZTt1e 1ITnEctrODUU8G+chPY+EDP3tg8iRjQP9zJvtyI9o7ph29WMXNl7eY3h7pqYIaVgdxCn BPBw==
MIME-Version: 1.0
X-Received: by 10.112.159.7 with SMTP id wy7mr20646292lbb.4.1400723495696; Wed, 21 May 2014 18:51:35 -0700 (PDT)
Received: by 10.112.105.134 with HTTP; Wed, 21 May 2014 18:51:35 -0700 (PDT)
In-Reply-To: <354DE4FA-9678-41E4-BFBA-BFA700B175F0@ve7jtb.com>
References: <CAHbuEH6D8bchMbWnFy5JZH=psj5eWisFgfK8N2nfQ1vqGfpQCw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A15D3B1@TK5EX14MBXC286.redmond.corp.microsoft.com> <00db01cf5a82$db1c7f80$91557e80$@augustcellars.com> <CAHbuEH5hRpw+qWKXFUsiTO12aQvXfVknE7d_SrzVZWYPJRWsXw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439A1971D7@TK5EX14MBXC288.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739439A1A14A2@TK5EX14MBXC288.redmond.corp.microsoft.com> <CAHbuEH7UUUrYTK3fREA=CrJ8reWNhEx_gyAEgZU7fwBeqKFOxQ@mail.gmail.com> <354DE4FA-9678-41E4-BFBA-BFA700B175F0@ve7jtb.com>
Date: Thu, 22 May 2014 10:51:35 +0900
Message-ID: <CABzCy2DK9GsZGruaB6aagh3mPEWtkVDKbVCT102bfxqHyz34Dg@mail.gmail.com>
From: Nat Sakimura <sakimura@gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary=001a11c2909863bfaf04f9f35a73
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/gJ9NmSIqxQ6_Gk9MlbVY-BqwaBA
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of draft-ietf-jose-json-web-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: Thu, 22 May 2014 01:51:40 -0000

--001a11c2909863bfaf04f9f35a73
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

ditto here.

The primary reason for having thumbprint was for finding keys in the
Windows crypto API.
Security property must not depend on it. If it wants to deal with
authentication, it should use the keys, IMHO.


2014-05-22 3:10 GMT+09:00 John Bradley <ve7jtb@ve7jtb.com>:

> I agree with Mike, many key stores use SHA1 thumbprints.   I don't know o=
f
> any security consideration that makes SHA2 thumbprints better in any
> practical way.
>
> I don't think that adding SHA 2 thumbprints is something that we need to
> do now.
>
> John B.
>
> On May 1, 2014, at 1:46 PM, Kathleen Moriarty <
> kathleen.moriarty.ietf@gmail.com> wrote:
>
> >>
> >> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed.  I=
=E2=80=99m
> >> aware of no SHA-256 certificate thumbprint deployments.  I=E2=80=99ll =
note that
> even
> >> if SHA-1 were completely broken, that wouldn=E2=80=99t be a security i=
ssue
> because
> >> it=E2=80=99s just being used to generate a digest of publicly availabl=
e
> certificate
> >> information.  It=E2=80=99s not being used to cryptographically obscure=
 anything.
> >> (But that=E2=80=99s actually a discussion for another draft. J)
> >>
> >
> > This is in place for the XML equivalents and should be possible for
> > JSON.  I used this at least 2 years ago in the XML Oxygen editor.  I
> > believe this has been brought up before in terms of JSON, so I am not
> > the first.  But it is another draft... I'd like to get through these
> > all soon :-)
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>


--=20
Nat Sakimura (=3Dnat)
Chairman, OpenID Foundation
http://nat.sakimura.org/
@_nat_en

--001a11c2909863bfaf04f9f35a73
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">ditto here.=C2=A0<div><br></div><div>The=C2=A0primary reas=
on for having thumbprint was for finding keys in the Windows crypto API.=C2=
=A0</div><div>Security property must not depend on it. If it wants to deal =
with authentication, it should use the keys, IMHO.=C2=A0</div>
</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2014-05=
-22 3:10 GMT+09:00 John Bradley <span dir=3D"ltr">&lt;<a href=3D"mailto:ve7=
jtb@ve7jtb.com" target=3D"_blank">ve7jtb@ve7jtb.com</a>&gt;</span>:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">
I agree with Mike, many key stores use SHA1 thumbprints. =C2=A0 I don&#39;t=
 know of any security consideration that makes SHA2 thumbprints better in a=
ny practical way.<br>
<br>
I don&#39;t think that adding SHA 2 thumbprints is something that we need t=
o do now.<br>
<br>
John B.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On May 1, 2014, at 1:46 PM, Kathleen Moriarty &lt;<a href=3D"mailto:kathlee=
n.moriarty.ietf@gmail.com">kathleen.moriarty.ietf@gmail.com</a>&gt; wrote:<=
br>
<br>
&gt;&gt;<br>
&gt;&gt; Mike&gt; Per your JWS comment, SHA-1 thumbprints are widely deploy=
ed. =C2=A0I=E2=80=99m<br>
&gt;&gt; aware of no SHA-256 certificate thumbprint deployments. =C2=A0I=E2=
=80=99ll note that even<br>
&gt;&gt; if SHA-1 were completely broken, that wouldn=E2=80=99t be a securi=
ty issue because<br>
&gt;&gt; it=E2=80=99s just being used to generate a digest of publicly avai=
lable certificate<br>
&gt;&gt; information. =C2=A0It=E2=80=99s not being used to cryptographicall=
y obscure anything.<br>
&gt;&gt; (But that=E2=80=99s actually a discussion for another draft. J)<br=
>
&gt;&gt;<br>
&gt;<br>
&gt; This is in place for the XML equivalents and should be possible for<br=
>
&gt; JSON. =C2=A0I used this at least 2 years ago in the XML Oxygen editor.=
 =C2=A0I<br>
&gt; believe this has been brought up before in terms of JSON, so I am not<=
br>
&gt; the first. =C2=A0But it is another draft... I&#39;d like to get throug=
h these<br>
&gt; all soon :-)<br>
<br>
</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><br clear=3D"all"><div><br></div>-- <br>Nat Saki=
mura (=3Dnat)<div>Chairman, OpenID Foundation<br><a href=3D"http://nat.saki=
mura.org/" target=3D"_blank">http://nat.sakimura.org/</a><br>@_nat_en</div>
</div>

--001a11c2909863bfaf04f9f35a73--


From nobody Thu May 22 00:53:08 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 ADF071A0143 for <jose@ietfa.amsl.com>; Thu, 22 May 2014 00:53:05 -0700 (PDT)
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 eY9ymtAANWuJ for <jose@ietfa.amsl.com>; Thu, 22 May 2014 00:53:03 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0235.outbound.protection.outlook.com [207.46.163.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6E941A011B for <jose@ietf.org>; Thu, 22 May 2014 00:53:02 -0700 (PDT)
Received: from BN1PR03MB204.namprd03.prod.outlook.com (10.255.200.155) by BN1PR03MB284.namprd03.prod.outlook.com (10.255.200.26) with Microsoft SMTP Server (TLS) id 15.0.944.11; Thu, 22 May 2014 07:52:59 +0000
Received: from CH1PR03CA010.namprd03.prod.outlook.com (10.255.156.155) by BN1PR03MB204.namprd03.prod.outlook.com (10.255.200.155) with Microsoft SMTP Server (TLS) id 15.0.944.11; Thu, 22 May 2014 07:52:58 +0000
Received: from BN1BFFO11FD054.protection.gbl (10.255.156.132) by CH1PR03CA010.outlook.office365.com (10.255.156.155) with Microsoft SMTP Server (TLS) id 15.0.944.11 via Frontend Transport; Thu, 22 May 2014 07:52:57 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD054.mail.protection.outlook.com (10.58.145.9) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Thu, 22 May 2014 07:52:58 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.193]) with mapi id 14.03.0181.007; Thu, 22 May 2014 07:52:28 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Kathleen Moriarty' <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] AD review of JWS draft
Thread-Index: AQHPc8keaKSyhstUXUuoYPyHZeH0q5tJIyLQgAKjFoCAAHYpgA==
Date: Thu, 22 May 2014 07:52:28 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD2DBE9@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com> <028701cf7556$e5ed38c0$b1c7aa40$@augustcellars.com>
In-Reply-To: <028701cf7556$e5ed38c0$b1c7aa40$@augustcellars.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_4E1F6AAD24975D4BA5B16804296739439AD2DBE9TK5EX14MBXC293r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438001)(199002)(189002)(81342001)(76482001)(19625215002)(15202345003)(85852003)(55846006)(86612001)(80022001)(50986999)(92566001)(84326002)(84676001)(92726001)(21056001)(71186001)(81156002)(66066001)(76176999)(54356999)(83072002)(69596002)(87936001)(77982001)(99396002)(68736004)(31966008)(46102001)(79102001)(74662001)(16236675002)(97736001)(20776003)(19300405004)(15975445006)(6806004)(64706001)(26826002)(2656002)(86362001)(44976005)(512874002)(83322001)(81542001)(74502001)(33656002)(19580395003)(4396001); DIR:OUT; SFP:; SCL:1; SRVR:BN1PR03MB204; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 021975AE46
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/YKjlMlg75apHENIWIQe5Qx3SqgU
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of JWS draft
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, 22 May 2014 07:53:05 -0000

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

TWlrZT4gKE5hcnJvd2luZyBkaXNjdXNzaW9uIHRvIGp1c3QgdGhlIEpTT04gcGFyc2VyIGNvbW1l
bnQuKQ0KDQo3LiBJbiB0aGUgZmlyc3QgcGFyYWdyYXBoIG9mIHNlY3Rpb24gNCwgY291bGRuJ3Qg
eW91IHdpbmQgdXAgd2l0aCBkaWZmZXJlbnQgYW5zd2VycyBiZWNhdXNlIG9mIHRoZSB0ZXh0LCAi
dXNlIGEgSlNPTiBwYXJzZXIgdGhhdCByZXR1cm5zIG9ubHkgdGhlIGxleGljYWxseSBsYXN0IGR1
cGxpY2F0ZSBtZW1iZXIgbmFtZSI/ICBGdWxsIHBhcmFncmFwaCBpbmNsdWRlZCBmb3IgcmVmZXJl
bmNlOg0KDQoNCg0KICAgVGhlIG1lbWJlcnMgb2YgdGhlIEpTT04gb2JqZWN0KHMpIHJlcHJlc2Vu
dGluZyB0aGUgSldTIEhlYWRlcg0KDQogICBkZXNjcmliZSB0aGUgZGlnaXRhbCBzaWduYXR1cmUg
b3IgTUFDIGFwcGxpZWQgdG8gdGhlIEpXUyBQcm90ZWN0ZWQNCg0KICAgSGVhZGVyIGFuZCB0aGUg
SldTIFBheWxvYWQgYW5kIG9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BPbmx5IHRoZSBsZXhpY2FsbHkgbGFzdCBkdXBsaWNhdGUgbWVtYmVyIG5hbWUgbWF5
IGJlIHJldHVybmVkIChpZiBhbnkpLjxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJN
c29QbGFpblRleHQiPjxzcGFuIHN0eWxlPSJjb2xvcjojMDBCMDUwIj48bzpwPiZuYnNwOzwvbzpw
Pjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_4E1F6AAD24975D4BA5B16804296739439AD2DBE9TK5EX14MBXC293r_--


From nobody Thu May 22 08:48: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 D8A0A1A0178 for <jose@ietfa.amsl.com>; Thu, 22 May 2014 08:48:01 -0700 (PDT)
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 9Plx3Lpdh84s for <jose@ietfa.amsl.com>; Thu, 22 May 2014 08:47:59 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA5601A016D for <jose@ietf.org>; Thu, 22 May 2014 08:47:59 -0700 (PDT)
Received: from Philemon (75-147-179-38-Washington.hfc.comcastbusiness.net [75.147.179.38]) (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 0444338F3F; Thu, 22 May 2014 08:47:57 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, "'Kathleen Moriarty'" <kathleen.moriarty.ietf@gmail.com>
References: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com> <028701cf7556$e5ed38c0$b1c7aa40$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739439AD2DBE9@TK5EX14MBXC293.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD2DBE9@TK5EX14MBXC293.redmond.corp.microsoft.com>
Date: Thu, 22 May 2014 08:45:57 -0700
Message-ID: <03d801cf75d4$ec9c5a60$c5d50f20$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_03D9_01CF759A.403E93D0"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQDSuIPrpgJi2RFxC8spt58QeFhLEAJZdI9WAgzykQUCAgOXVp0S9UMA
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/dqO-NCN7Rdj94hPls7eQ_lXy8C4
Cc: jose@ietf.org
Subject: Re: [jose] AD review of JWS draft
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, 22 May 2014 15:48:02 -0000

This is a multipart message in MIME format.

------=_NextPart_000_03D9_01CF759A.403E93D0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

=20

=20

From: Mike Jones [mailto:Michael.Jones@microsoft.com]=20
Sent: Thursday, May 22, 2014 12:52 AM
To: Jim Schaad; 'Kathleen Moriarty'
Cc: jose@ietf.org
Subject: RE: [jose] AD review of JWS draft

=20

Mike> (Narrowing discussion to just the JSON parser comment.)

=20

7. In the first paragraph of section 4, couldn't you wind up with =
different answers because of the text, "use a JSON parser that returns =
only the lexically last duplicate member name"?  Full paragraph included =
for reference:

=20

   The members of the JSON object(s) representing the JWS Header

   describe the digital signature or MAC applied to the JWS Protected

   Header and the JWS Payload and optionally additional properties of

   the JWS.  The Header Parameter names within the JWS Header MUST be

   unique; recipients MUST either reject JWSs with duplicate Header

   Parameter names or use a JSON parser that returns only the lexically

   last duplicate member name, as specified in Section 15.12 (The JSON

   Object) of ECMAScript 5.1 [ECMAScript].

=20

Let's say you have the following:

=20

{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}

=20

{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=9D:=E2=80=
=9Dalg1=E2=80=9D}

=20

You could end up with two difference answers about what is the value of =
the member alg.  A parser that reads everything and then re-emits may =
change the order of the fields or emit only one of the fields and thus =
change the validity of it.

=20

Can it be reworded to avoid this potential issue?

=20

Mike> When parsing the input =
=E2=80=9C{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}=E2=80=9D legal outcomes =
are either rejecting the input or using =E2=80=9Calg=E2=80=9D: =
=E2=80=9Calg2=E2=80=9D (the ECMAScript 5.1 specified behavior =E2=80=93 =
using the lexically last member with that name).  The wording above =
doesn=E2=80=99t allow the =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D =
result, since it is neither unique or the lexically last member name.  =
Likewise, for the input =
=E2=80=9C{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dalg=E2=80=
=9D:=E2=80=9Dalg1=E2=80=9D}=E2=80=9D, only rejecting the input or using =
=E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D are legal outcomes.  These =
inputs are not at all equivalent (unless the parser rejects them both =
because they have duplicate member names).

=20

ECMAScript doesn=E2=80=99t permit re-emitting the fields in different =
order, as you suggest in your comment, since it changes the meaning of =
the object.  With that being said, do you still perceive that =
there=E2=80=99s a potential ambiguity that needs to be clarified?

=20

[JLS] I would note that while ECMAScript 5.1 does not allow this =
behavior, there is nothing in the IETF JSON document which has the same =
restriction.

=20

Mike> Actually, the last sentence of the quoted section above does =
incorporate the same restriction into our draft.  Only the lexically =
last duplicate member name may be returned (if any).

=20

[JLS] Yes =E2=80=93 that is what you have as a restriction for the JOSE =
documents.  What about a middleware piece of software?


------=_NextPart_000_03D9_01CF759A.403E93D0
Content-Type: text/html;
	charset="utf-8"
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=3Dutf-8"><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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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:"Courier New";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","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.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'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><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> =
Thursday, May 22, 2014 12:52 AM<br><b>To:</b> Jim Schaad; 'Kathleen =
Moriarty'<br><b>Cc:</b> jose@ietf.org<br><b>Subject:</b> RE: [jose] AD =
review of JWS draft<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#00B050'>Mike&gt; (Narrowing discussion to just the JSON =
parser comment.)<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#00B050'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText>7. In the first paragraph of section 4, couldn't =
you wind up with different answers because of the text, &quot;use a JSON =
parser that returns only the lexically last duplicate member =
name&quot;?&nbsp; Full paragraph included for =
reference:<o:p></o:p></p><p class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; The members of the JSON object(s) =
representing the JWS Header<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; describe the digital signature or MAC =
applied to the JWS Protected<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; Header and the JWS Payload and =
optionally additional properties of<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; the JWS.&nbsp; The Header Parameter =
names within the JWS Header MUST be<o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; unique; <span =
style=3D'background:yellow;mso-highlight:yellow'>recipients MUST either =
reject JWSs with duplicate Header</span><o:p></o:p></p><p =
class=3DMsoPlainText>&nbsp;&nbsp; <span =
style=3D'background:yellow;mso-highlight:yellow'>Parameter names or use =
a JSON parser that returns only the lexically<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'background:yellow;mso-highlight:yellow'>&nbsp;&nbsp; last =
duplicate member name, as specified in Section 15.12 (The =
JSON<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'background:yellow;mso-highlight:yellow'>&nbsp;&nbsp; Object) of =
ECMAScript 5.1 [ECMAScript].</span><o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Let's =
say you have the following:<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p =
class=3DMsoPlainText>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=
=9Dalg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D}<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>You =
could end up with two difference answers about what is the value of the =
member alg.&nbsp; A parser that reads everything and then re-emits may =
change the order of the fields or emit only one of the fields and thus =
change the validity of it.<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText>Can it =
be reworded to avoid this potential issue?<o:p></o:p></p><p =
class=3DMsoPlainText><o:p>&nbsp;</o:p></p><p class=3DMsoPlainText><span =
style=3D'color:#0070C0'>Mike&gt; When parsing the input =
=E2=80=9C</span>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg1=E2=80=9D, =
=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D}<span =
style=3D'color:#0070C0'>=E2=80=9D legal outcomes are either rejecting =
the input or using =E2=80=9Calg=E2=80=9D: =E2=80=9Calg2=E2=80=9D (the =
ECMAScript 5.1 specified behavior =E2=80=93 using the lexically last =
member with that name).&nbsp; The wording above doesn=E2=80=99t allow =
the =E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D result, since it is =
neither unique or the lexically last member name.&nbsp; Likewise, for =
the input =
=E2=80=9C</span>{=E2=80=9Calg=E2=80=9D:=E2=80=9Dalg2=E2=80=9D,=E2=80=9Dal=
g=E2=80=9D:=E2=80=9Dalg1=E2=80=9D}<span =
style=3D'color:#0070C0'>=E2=80=9D, only rejecting the input or using =
=E2=80=9Calg=E2=80=9D: =E2=80=9Calg1=E2=80=9D are legal outcomes.&nbsp; =
These inputs are not at all equivalent (unless the parser rejects them =
both because they have duplicate member names).<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:#0070C0'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#0070C0'>ECMAScript =
doesn=E2=80=99t permit re-emitting the fields in different order, as you =
suggest in your comment, since it changes the meaning of the =
object.&nbsp; With that being said, do you still perceive that =
there=E2=80=99s a potential ambiguity that needs to be =
clarified?<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] I would note that =
while ECMAScript 5.1 does not allow this behavior, there is nothing in =
the IETF JSON document which has the same =
restriction.<o:p></o:p></span></p><p class=3DMsoPlainText><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:#00B050'>Mike&gt; Actually, =
the <span style=3D'background:yellow;mso-highlight:yellow'>last =
sentence</span> of the quoted section above does incorporate the same =
restriction into our draft.&nbsp; Only the lexically last duplicate =
member name may be returned (if any).<o:p></o:p></span></p><p =
class=3DMsoPlainText><span =
style=3D'color:red'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoPlainText><span style=3D'color:red'>[JLS] Yes =E2=80=93 that =
is what you have as a restriction for the JOSE documents.=C2=A0 What =
about a middleware piece of =
software?<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_03D9_01CF759A.403E93D0--


From nobody Thu May 22 09:02:57 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 988871A011F for <jose@ietfa.amsl.com>; Thu, 22 May 2014 09:02:54 -0700 (PDT)
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 QhTYR2tnox4I for <jose@ietfa.amsl.com>; Thu, 22 May 2014 09:02:50 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0183.outbound.protection.outlook.com [207.46.163.183]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3B1351A0049 for <jose@ietf.org>; Thu, 22 May 2014 09:02:50 -0700 (PDT)
Received: from BLUPR03CA034.namprd03.prod.outlook.com (10.141.30.27) by BLUPR03MB198.namprd03.prod.outlook.com (10.255.212.147) with Microsoft SMTP Server (TLS) id 15.0.944.11; Thu, 22 May 2014 16:02:47 +0000
Received: from BL2FFO11FD012.protection.gbl (2a01:111:f400:7c09::102) by BLUPR03CA034.outlook.office365.com (2a01:111:e400:879::27) with Microsoft SMTP Server (TLS) id 15.0.949.11 via Frontend Transport; Thu, 22 May 2014 16:02:47 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Thu, 22 May 2014 16:02:46 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.03.0181.007; Thu, 22 May 2014 16:02:07 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Kathleen Moriarty' <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] AD review of JWS draft
Thread-Index: AQHPc8keaKSyhstUXUuoYPyHZeH0q5tJIyLQgAKjFoCAAHYpgIAAheSAgAAA3CA=
Date: Thu, 22 May 2014 16:02:07 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD2E991@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <CAHbuEH6X0FO2yrti5oB_-yqwPWUXvw0TsN8ySYY53y=q1XAunw@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD2A033@TK5EX14MBXC293.redmond.corp.microsoft.com> <028701cf7556$e5ed38c0$b1c7aa40$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739439AD2DBE9@TK5EX14MBXC293.redmond.corp.microsoft.com> <03d801cf75d4$ec9c5a60$c5d50f20$@augustcellars.com>
In-Reply-To: <03d801cf75d4$ec9c5a60$c5d50f20$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.36]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739439AD2E991TK5EX14MBXC293r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(438001)(377454003)(189002)(199002)(2656002)(19625215002)(99396002)(97736001)(85852003)(79102001)(15975445006)(21056001)(84676001)(74662001)(33656002)(92726001)(26826002)(76482001)(76176999)(92566001)(19300405004)(68736004)(69596002)(77982001)(84326002)(31966008)(512874002)(64706001)(50986999)(87936001)(4396001)(6806004)(86362001)(20776003)(44976005)(81342001)(81542001)(81156002)(74502001)(71186001)(55846006)(66066001)(80022001)(46102001)(54356999)(16236675002)(19580405001)(15202345003)(19580395003)(86612001)(83072002)(83322001); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR03MB198; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 021975AE46
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/XXPoXvjMHsdBcGUao-QVoKciWzU
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] AD review of JWS draft
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, 22 May 2014 16:02:54 -0000

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

DQoNCkZyb206IEppbSBTY2hhYWQgW21haWx0bzppZXRmQGF1Z3VzdGNlbGxhcnMuY29tXQ0KU2Vu
dDogVGh1cnNkYXksIE1heSAyMiwgMjAxNCA4OjQ2IEFNDQpUbzogTWlrZSBKb25lczsgJ0thdGhs
ZWVuIE1vcmlhcnR5Jw0KQ2M6IGpvc2VAaWV0Zi5vcmcNClN1YmplY3Q6IFJFOiBbam9zZV0gQUQg
cmV2aWV3IG9mIEpXUyBkcmFmdA0KDQoNCg0KRnJvbTogTWlrZSBKb25lcyBbbWFpbHRvOk1pY2hh
ZWwuSm9uZXNAbWljcm9zb2Z0LmNvbV0NClNlbnQ6IFRodXJzZGF5LCBNYXkgMjIsIDIwMTQgMTI6
NTIgQU0NClRvOiBKaW0gU2NoYWFkOyAnS2F0aGxlZW4gTW9yaWFydHknDQpDYzogam9zZUBpZXRm
Lm9yZzxtYWlsdG86am9zZUBpZXRmLm9yZz4NClN1YmplY3Q6IFJFOiBbam9zZV0gQUQgcmV2aWV3
IG9mIEpXUyBkcmFmdA0KDQoNCk1pa2U+IChOYXJyb3dpbmcgZGlzY3Vzc2lvbiB0byBqdXN0IHRo
ZSBKU09OIHBhcnNlciBjb21tZW50LikNCg0KDQoNCjcuIEluIHRoZSBmaXJzdCBwYXJhZ3JhcGgg
b2Ygc2VjdGlvbiA0LCBjb3VsZG4ndCB5b3Ugd2luZCB1cCB3aXRoIGRpZmZlcmVudCBhbnN3ZXJz
IGJlY2F1c2Ugb2YgdGhlIHRleHQsICJ1c2UgYSBKU09OIHBhcnNlciB0aGF0IHJldHVybnMgb25s
eSB0aGUgbGV4aWNhbGx5IGxhc3QgZHVwbGljYXRlIG1l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U9ImNvbG9yOiM3MDMwQTAiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFu
PjwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_4E1F6AAD24975D4BA5B16804296739439AD2E991TK5EX14MBXC293r_--


From nobody Tue May 27 07:42:37 2014
Return-Path: <kathleen.moriarty.ietf@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 CB6181A0159 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 07:42:33 -0700 (PDT)
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 KOUKiA2vpoHY for <jose@ietfa.amsl.com>; Tue, 27 May 2014 07:42:27 -0700 (PDT)
Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 903351A015F for <jose@ietf.org>; Tue, 27 May 2014 07:42:24 -0700 (PDT)
Received: by mail-lb0-f180.google.com with SMTP id p9so5015893lbv.39 for <jose@ietf.org>; Tue, 27 May 2014 07:42:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wooa0Tx4mPZDbJl9nuQNzAwqBU9FVrHHwqTp2BmS24k=; b=Tb3RKm6bSehCtOwDuj9anjm9z2tMA197YKosMYaMYzn5xNi8R6DLqum/U/GCAFVA1+ eTuAWyJaKytMqQxSSkNY6Kh5/8oA4vw93y3Ro7Movyj9aa0v/L2A0if+PMQ/sGuVTM0W t3dn7dfkiJb+/o0sSMgHjrRuakXNQW9BDfKZD2auZsrwZe6rC9rdB7jVCBvmmtrXkL15 ZFk5vCzyJ+rQR7SERtR5rhkAXcRONiQSNW4ZJTFnMsxkUV7qYNbKFW0FtAps5NtkM8eg syncaBGxi40atSUlYV+ruKFvGie/CJzplCX9Tub3FKY09DtH19mPjQ59zHXEsFsON98W uRGA==
MIME-Version: 1.0
X-Received: by 10.152.203.236 with SMTP id kt12mr23237584lac.8.1401201739990;  Tue, 27 May 2014 07:42:19 -0700 (PDT)
Received: by 10.112.33.36 with HTTP; Tue, 27 May 2014 07:42:19 -0700 (PDT)
Date: Tue, 27 May 2014 10:42:19 -0400
Message-ID: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Nat Sakimura <sakimura@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/g7algxk58Q1rhG1ncQGFPDxjDGI
Cc: John Bradley <ve7jtb@ve7jtb.com>, Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 14:42:33 -0000

The reviews got a little confused with the responses for SHA1 and SHA2
thumbprints.  A couple of people responded supporting Mike's
assertion, but I have had others tell me directly, SHA2 would be good.

Is there a need to support this for the XMPP community, since they set
to SHA256 as a default for certificate fingerprints:
http://xmpp.org/extensions/xep-0189.html

Thanks,
Kathleen

On Wed, May 21, 2014 at 9:51 PM, Nat Sakimura <sakimura@gmail.com> wrote:
> ditto here.
>
> The primary reason for having thumbprint was for finding keys in the Wind=
ows
> crypto API.
> Security property must not depend on it. If it wants to deal with
> authentication, it should use the keys, IMHO.
>
>
> 2014-05-22 3:10 GMT+09:00 John Bradley <ve7jtb@ve7jtb.com>:
>>
>> I agree with Mike, many key stores use SHA1 thumbprints.   I don't know =
of
>> any security consideration that makes SHA2 thumbprints better in any
>> practical way.
>>
>> I don't think that adding SHA 2 thumbprints is something that we need to
>> do now.
>>
>> John B.
>>
>> On May 1, 2014, at 1:46 PM, Kathleen Moriarty
>> <kathleen.moriarty.ietf@gmail.com> wrote:
>>
>> >>
>> >> Mike> Per your JWS comment, SHA-1 thumbprints are widely deployed.  I=
=E2=80=99m
>> >> aware of no SHA-256 certificate thumbprint deployments.  I=E2=80=99ll=
 note that
>> >> even
>> >> if SHA-1 were completely broken, that wouldn=E2=80=99t be a security =
issue
>> >> because
>> >> it=E2=80=99s just being used to generate a digest of publicly availab=
le
>> >> certificate
>> >> information.  It=E2=80=99s not being used to cryptographically obscur=
e
>> >> anything.
>> >> (But that=E2=80=99s actually a discussion for another draft. J)
>> >>
>> >
>> > This is in place for the XML equivalents and should be possible for
>> > JSON.  I used this at least 2 years ago in the XML Oxygen editor.  I
>> > believe this has been brought up before in terms of JSON, so I am not
>> > the first.  But it is another draft... I'd like to get through these
>> > all soon :-)
>>
>>
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>>
>
>
>
> --
> Nat Sakimura (=3Dnat)
> Chairman, OpenID Foundation
> http://nat.sakimura.org/
> @_nat_en



--=20

Best regards,
Kathleen


From nobody Tue May 27 08:00:39 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 E7D6F1A0429 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 08:00:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level: 
X-Spam-Status: No, score=-15.152 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.651, 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 IB6d79qBB2Lv for <jose@ietfa.amsl.com>; Tue, 27 May 2014 08:00:33 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A799F1A040C for <jose@ietf.org>; Tue, 27 May 2014 08:00:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3730; q=dns/txt; s=iport; t=1401202831; x=1402412431; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=u2HuvNVTy3087Pz/EjZb2TouX3a/CkU3lm+c2Ln8WQc=; b=AOmF5J1kRlIYqo9On8s/UJiUNmlqRQNHzENMzMYehOWMzQz5dcglvj6x wtgaVquXPWzHgil/r1yQp5n65UP1G82JqlQB0QMKZo6XPZm9rkLQMllwJ NLrHn2e6yvT5/ZKTvDEMwYyEr3WS2lJQFm/B17BWZo97Ln5Jrt46nVZN4 g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AngFABOnhFOtJA2B/2dsb2JhbABZgwdSWIJqpxgBAQEBAQeQUoc6AYEOFnSCJQEBAQQBAQEgDwE4AwoBEAsYAgIFFgsCAgkDAgECAQ8GIgENBg0BBQIBARCIGgMRDbA5nlwNhhoXgSqEK4VueYFjMweCdYFLBIohhR6IPoF2gT2LeIVygXiBX02BQw
X-IronPort-AV: E=Sophos;i="4.98,919,1392163200"; d="scan'208";a="328235416"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-8.cisco.com with ESMTP; 27 May 2014 15:00:30 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id s4RF0UiP022629 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 27 May 2014 15:00:30 GMT
Received: from MAMILLE2-M-T03K.CISCO.COM (10.129.24.57) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 27 May 2014 10:00:29 -0500
Message-ID: <5384A896.8030305@cisco.com>
Date: Tue, 27 May 2014 09:00:38 -0600
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.5.0
MIME-Version: 1.0
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com>
In-Reply-To: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [10.129.24.57]
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/ur5lV9uA1D1hb3i94hVNDLx1qq4
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 15:00:38 -0000

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

/me dons "XMPP Expert" Hat

There is some desire to use SHA2 but no strong requirement.  As far as
algorithm requirements go, look to [XMPP-TLS], [XEP-0300], and
[XEP-0320] for the results of the community's more current discussions.


- -- 
- - m&m

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

[XMPP-TLS] Use of Transport Layer Security (TLS) in the Extensible
Messaging and Presence Protocol (XMPP) <
http://tools.ietf.org/html/draft-ietf-uta-xmpp-00 >
[XEP-0300] Use of Cryptographic Hash Functions in XMPP <
http://xmpp.org/extensions/xep-0300.html >
[XEP-0320] Use of DTLS-SRTP in Jingle Sessions <
http://xmpp.org/extensions/xep-0320.html >

On 5/27/14, 8:42 AM, Kathleen Moriarty wrote:
> The reviews got a little confused with the responses for SHA1 and
> SHA2 thumbprints.  A couple of people responded supporting Mike's 
> assertion, but I have had others tell me directly, SHA2 would be
> good.
> 
> Is there a need to support this for the XMPP community, since they
> set to SHA256 as a default for certificate fingerprints: 
> http://xmpp.org/extensions/xep-0189.html
> 
> Thanks, Kathleen
> 
> On Wed, May 21, 2014 at 9:51 PM, Nat Sakimura <sakimura@gmail.com>
> wrote:
>> ditto here.
>> 
>> The primary reason for having thumbprint was for finding keys in
>> the Windows crypto API. Security property must not depend on it.
>> If it wants to deal with authentication, it should use the keys,
>> IMHO.
>> 
>> 
>> 2014-05-22 3:10 GMT+09:00 John Bradley <ve7jtb@ve7jtb.com>:
>>> 
>>> I agree with Mike, many key stores use SHA1 thumbprints.   I
>>> don't know of any security consideration that makes SHA2
>>> thumbprints better in any practical way.
>>> 
>>> I don't think that adding SHA 2 thumbprints is something that
>>> we need to do now.
>>> 
>>> John B.
>>> 
>>> On May 1, 2014, at 1:46 PM, Kathleen Moriarty 
>>> <kathleen.moriarty.ietf@gmail.com> wrote:
>>> 
>>>>> 
>>>>> Mike> Per your JWS comment, SHA-1 thumbprints are widely
>>>>> deployed.  I’m aware of no SHA-256 certificate thumbprint
>>>>> deployments.  I’ll note that even if SHA-1 were completely
>>>>> broken, that wouldn’t be a security issue because it’s just
>>>>> being used to generate a digest of publicly available 
>>>>> certificate information.  It’s not being used to
>>>>> cryptographically obscure anything. (But that’s actually a
>>>>> discussion for another draft. J)
>>>>> 
>>>> 
>>>> This is in place for the XML equivalents and should be
>>>> possible for JSON.  I used this at least 2 years ago in the
>>>> XML Oxygen editor.  I believe this has been brought up before
>>>> in terms of JSON, so I am not the first.  But it is another
>>>> draft... I'd like to get through these all soon :-)
>>> 
>>> 
>>> _______________________________________________ jose mailing
>>> list jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>>> 
>> 
>> 
>> 
>> -- Nat Sakimura (=nat) Chairman, OpenID Foundation 
>> http://nat.sakimura.org/ @_nat_en
> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJThKiWAAoJEDWi+S0W7cO1RT0H/115y7u4qLZbWNTC23/dZhNa
cvH47z2l+cL5KEEKLCFlx3NNgDFYZMabZc9NfTnHYxs0oRw8HQ48B5UubDp/wOgL
E35wM4k7+Qsdl+UuiQR86Xu6JRc/9NW8ov4dTSk80TN64AltEtvjyFCO1cN9Zs89
6x/LBtgxrvjhsze4R+LnwWnm/+lXswME01wK8mZTCl0tY753Ca8FtRoAeLb51f4S
YwGolRZ8bSRv5waZhupxV/crMeWUFbEsSKQePqrnH7R0O6EzKEI8qZuYc1BsoQ1a
EyhHkeElAmJ71qfvBRzLMM6xTA+AGGVtmQG5msm2ETyTiJ4b1ASfG5EHXU1KYVE=
=bDGF
-----END PGP SIGNATURE-----


From nobody Tue May 27 08:27:45 2014
Return-Path: <kathleen.moriarty.ietf@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 64AC01A0137 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 08:27:44 -0700 (PDT)
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 4hynG2GhZ2gT for <jose@ietfa.amsl.com>; Tue, 27 May 2014 08:27:42 -0700 (PDT)
Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28E941A013B for <jose@ietf.org>; Tue, 27 May 2014 08:27:41 -0700 (PDT)
Received: by mail-lb0-f170.google.com with SMTP id w7so5101788lbi.15 for <jose@ietf.org>; Tue, 27 May 2014 08:27:37 -0700 (PDT)
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 :cc:content-type:content-transfer-encoding; bh=/BWM1mjydAaWXz+y57fqjIJPFUohwqUEO+oSuoOjG3s=; b=Bv/6bZJQ5PslXN8fxtX3DQP6MEv8cZusWe6xUxJkGOAdJxs9Dp95gQEl0RwREdWhru n35qLpfl9q3cuQogfbvTV6Qead1f0F3mX1YLMGFRBJSm7aerm75X3HM9rpDyMlr/iSqF iAHx2UiCRYMJ36fHD73W7izzf+sVULC1Q5dbDzDqVcyJioKGz50c9IKmvCbpMoQe9PId 1eGFa7IMQULqFvZweLQQd9n3nPGE++LZEQjpsVFIRVEKj5vu32/5oTVghRCosAeTwJMg F+BeMZ6z4/M/DKfcgtPXGWwCdSHOj+CNx6xF2DCN6uIZpaeFQ0T+mvKyEBdqJSpIxQez HHzw==
MIME-Version: 1.0
X-Received: by 10.152.6.228 with SMTP id e4mr3544438laa.57.1401204457470; Tue, 27 May 2014 08:27:37 -0700 (PDT)
Received: by 10.112.33.36 with HTTP; Tue, 27 May 2014 08:27:37 -0700 (PDT)
In-Reply-To: <5384A896.8030305@cisco.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com> <5384A896.8030305@cisco.com>
Date: Tue, 27 May 2014 11:27:37 -0400
Message-ID: <CAHbuEH7+TGcT95eLmvP9fzDxiLJV_ww6nSYU4G+Fw-0LB2sOUg@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Matt Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/XMNk42XAIToDW6Ukqosq4ykAFqo
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 15:27:44 -0000

Thanks for the quick reply.  Another argument would be for the ability
to drop SHA1 support eventually.  If you move to all SHA2, there is no
need to support the SHA1 code anymore.

On Tue, May 27, 2014 at 11:00 AM, Matt Miller <mamille2@cisco.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> /me dons "XMPP Expert" Hat
>
> There is some desire to use SHA2 but no strong requirement.  As far as
> algorithm requirements go, look to [XMPP-TLS], [XEP-0300], and
> [XEP-0320] for the results of the community's more current discussions.
>
>
> - --
> - - m&m
>
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>
> [XMPP-TLS] Use of Transport Layer Security (TLS) in the Extensible
> Messaging and Presence Protocol (XMPP) <
> http://tools.ietf.org/html/draft-ietf-uta-xmpp-00 >
> [XEP-0300] Use of Cryptographic Hash Functions in XMPP <
> http://xmpp.org/extensions/xep-0300.html >
> [XEP-0320] Use of DTLS-SRTP in Jingle Sessions <
> http://xmpp.org/extensions/xep-0320.html >
>
> On 5/27/14, 8:42 AM, Kathleen Moriarty wrote:
>> The reviews got a little confused with the responses for SHA1 and
>> SHA2 thumbprints.  A couple of people responded supporting Mike's
>> assertion, but I have had others tell me directly, SHA2 would be
>> good.
>>
>> Is there a need to support this for the XMPP community, since they
>> set to SHA256 as a default for certificate fingerprints:
>> http://xmpp.org/extensions/xep-0189.html
>>
>> Thanks, Kathleen
>>
>> On Wed, May 21, 2014 at 9:51 PM, Nat Sakimura <sakimura@gmail.com>
>> wrote:
>>> ditto here.
>>>
>>> The primary reason for having thumbprint was for finding keys in
>>> the Windows crypto API. Security property must not depend on it.
>>> If it wants to deal with authentication, it should use the keys,
>>> IMHO.
>>>
>>>
>>> 2014-05-22 3:10 GMT+09:00 John Bradley <ve7jtb@ve7jtb.com>:
>>>>
>>>> I agree with Mike, many key stores use SHA1 thumbprints.   I
>>>> don't know of any security consideration that makes SHA2
>>>> thumbprints better in any practical way.
>>>>
>>>> I don't think that adding SHA 2 thumbprints is something that
>>>> we need to do now.
>>>>
>>>> John B.
>>>>
>>>> On May 1, 2014, at 1:46 PM, Kathleen Moriarty
>>>> <kathleen.moriarty.ietf@gmail.com> wrote:
>>>>
>>>>>>
>>>>>> Mike> Per your JWS comment, SHA-1 thumbprints are widely
>>>>>> deployed.  I=E2=80=99m aware of no SHA-256 certificate thumbprint
>>>>>> deployments.  I=E2=80=99ll note that even if SHA-1 were completely
>>>>>> broken, that wouldn=E2=80=99t be a security issue because it=E2=80=
=99s just
>>>>>> being used to generate a digest of publicly available
>>>>>> certificate information.  It=E2=80=99s not being used to
>>>>>> cryptographically obscure anything. (But that=E2=80=99s actually a
>>>>>> discussion for another draft. J)
>>>>>>
>>>>>
>>>>> This is in place for the XML equivalents and should be
>>>>> possible for JSON.  I used this at least 2 years ago in the
>>>>> XML Oxygen editor.  I believe this has been brought up before
>>>>> in terms of JSON, so I am not the first.  But it is another
>>>>> draft... I'd like to get through these all soon :-)
>>>>
>>>>
>>>> _______________________________________________ jose mailing
>>>> list jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>>>>
>>>
>>>
>>>
>>> -- Nat Sakimura (=3Dnat) Chairman, OpenID Foundation
>>> http://nat.sakimura.org/ @_nat_en
>>
>>
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBCgAGBQJThKiWAAoJEDWi+S0W7cO1RT0H/115y7u4qLZbWNTC23/dZhNa
> cvH47z2l+cL5KEEKLCFlx3NNgDFYZMabZc9NfTnHYxs0oRw8HQ48B5UubDp/wOgL
> E35wM4k7+Qsdl+UuiQR86Xu6JRc/9NW8ov4dTSk80TN64AltEtvjyFCO1cN9Zs89
> 6x/LBtgxrvjhsze4R+LnwWnm/+lXswME01wK8mZTCl0tY753Ca8FtRoAeLb51f4S
> YwGolRZ8bSRv5waZhupxV/crMeWUFbEsSKQePqrnH7R0O6EzKEI8qZuYc1BsoQ1a
> EyhHkeElAmJ71qfvBRzLMM6xTA+AGGVtmQG5msm2ETyTiJ4b1ASfG5EHXU1KYVE=3D
> =3DbDGF
> -----END PGP SIGNATURE-----



--=20

Best regards,
Kathleen


From nobody Tue May 27 08:42:46 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 9CB411A0417 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 08:42:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 5HrZvo9u2oun for <jose@ietfa.amsl.com>; Tue, 27 May 2014 08:42:40 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (dns-bn1lp0143.outbound.protection.outlook.com [207.46.163.143]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E491D1A034E for <jose@ietf.org>; Tue, 27 May 2014 08:42:38 -0700 (PDT)
Received: from CH1PR03CA011.namprd03.prod.outlook.com (10.255.156.156) by BN1PR0301MB0643.namprd03.prod.outlook.com (25.160.171.16) with Microsoft SMTP Server (TLS) id 15.0.944.11; Tue, 27 May 2014 15:42:34 +0000
Received: from BN1BFFO11FD034.protection.gbl (10.255.156.132) by CH1PR03CA011.outlook.office365.com (10.255.156.156) with Microsoft SMTP Server (TLS) id 15.0.949.11 via Frontend Transport; Tue, 27 May 2014 15:42:33 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD034.mail.protection.outlook.com (10.58.144.97) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Tue, 27 May 2014 15:42:33 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0181.007; Tue, 27 May 2014 15:41:56 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, Matt Miller <mamille2@cisco.com>
Thread-Topic: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-algorithms
Thread-Index: AQHPebxtCPAVLgnqAEydIboQDXegMJtUjOeAgAABACA=
Date: Tue, 27 May 2014 15:41:56 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD34D88@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com> <5384A896.8030305@cisco.com> <CAHbuEH7+TGcT95eLmvP9fzDxiLJV_ww6nSYU4G+Fw-0LB2sOUg@mail.gmail.com>
In-Reply-To: <CAHbuEH7+TGcT95eLmvP9fzDxiLJV_ww6nSYU4G+Fw-0LB2sOUg@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.71]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438001)(24454002)(164054003)(51704005)(51914003)(377424004)(13464003)(54524002)(479174003)(199002)(189002)(377454003)(50986999)(83322001)(46102001)(66066001)(55846006)(86362001)(54356999)(81342001)(99396002)(50466002)(80022001)(79102001)(83072002)(85852003)(4396001)(77982001)(47776003)(92726001)(23676002)(26826002)(97736001)(15395725003)(74662001)(15202345003)(84676001)(19580395003)(575784001)(69596002)(86612001)(74502001)(92566001)(21056001)(15975445006)(81156002)(20776003)(76482001)(87936001)(19580405001)(44976005)(64706001)(6806004)(33656002)(76176999)(2656002)(81542001)(31966008)(68736004)(104016001); DIR:OUT; SFP:; SCL:1; SRVR:BN1PR0301MB0643; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 02243C58C6
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/-mAYnEl0QMXHWd4sVthCmnPgkKk
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 15:42:43 -0000

VGhlIHByb2JsZW0gd2l0aCBtaWdyYXRpbmcgYXdheSBmcm9tIFNIQTEtYmFzZWQgdGh1bWJwcmlu
dHMgaXMgdGhhdCB0byBkbyBzbywgdGhlIHVuZGVybHlpbmcgZGV2ZWxvcG1lbnQgcGxhdGZvcm1z
IHVzZWQgdG8gYnVpbGQgSk9TRSBpbXBsZW1lbnRhdGlvbnMgd291bGQgYWxzbyBuZWVkIHRvIGRv
IHNvIGZvciB0aGUgbWlncmF0aW9uIGF0IHRoZSBKT1NFIGxldmVsIHRvIGJlIHVzZWZ1bC4gIElu
IHBhcnRpY3VsYXIsIGFzIE5hdCBwb2ludGVkIG91dCwgIng1dCIgd2FzIGFkZGVkIHRvIHRoZSBK
T1NFIHNwZWNzIGluIHRoZSBmaXJzdCBwbGFjZSBiZWNhdXNlIFdpbmRvd3MgZW5hYmxlcyBrZXkg
bG9va3VwIGluIHRoZSBXaW5kb3dzIGtleSBzdG9yZSB1c2luZyB0aGUgU0hBLTEgdGh1bWJwcmlu
dC4NCiANCldoaWxlIEknbSBzZW5zaXRpdmUgdG8gdGhlIGZhY3QgdGhhdCBJJ20gdXNpbmcgV2lu
ZG93cyBhcyBhIG1vdGl2YXRpbmcgdXNlIGNhc2UgYW5kIEknbSBhIE1pY3Jvc29mdCBlbXBsb3ll
ZSAoc28geW91IGNhbiBkaXNjb3VudCB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ZUVsQW1KNzFxZnZCUnpMTU02eFRBK0FHR1Z0bVFHNW1zbTJFVHlU
aUo0YjFBU2ZHNUVIWFUxS1lWRT0NCj4gPWJER0YNCj4gLS0tLS1FTkQgUEdQIFNJR05BVFVSRS0t
LS0tDQoNCg0KDQotLSANCg0KQmVzdCByZWdhcmRzLA0KS2F0aGxlZW4NCg0KX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCmpvc2UgbWFpbGluZyBsaXN0DQpq
b3NlQGlldGYub3JnDQpodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2pvc2UN
Cg==


From nobody Tue May 27 10:13:13 2014
Return-Path: <kathleen.moriarty.ietf@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 177521A01AF for <jose@ietfa.amsl.com>; Tue, 27 May 2014 10:13:12 -0700 (PDT)
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 OrDjpkjALALy for <jose@ietfa.amsl.com>; Tue, 27 May 2014 10:13:08 -0700 (PDT)
Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48E6F1A01AC for <jose@ietf.org>; Tue, 27 May 2014 10:13:08 -0700 (PDT)
Received: by mail-la0-f43.google.com with SMTP id mc6so6782671lab.30 for <jose@ietf.org>; Tue, 27 May 2014 10:13:03 -0700 (PDT)
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 :cc:content-type:content-transfer-encoding; bh=CXFPYg5MCp7eTN22YSzLGSAGkq0ldJQxwMVSXSuzF2s=; b=QpknvqlwbJCfSF1aYXcpOxS7RZuKsxEfN7SaiGzAdNJo7kohbFwvAeiHUcInKvaLq4 Ttz+95bbdLHeJg51DUjikCRuBSHSjFSQxU5jbWEsQ3I6ERjQ62ZgygNiChRCRk3RdaOS WODzoXgog6Qy/gnEV08CCNsqlHZoTZUrahCTMDt37ogHPABb44jNoc9jxGPFTBBf44n3 Gtkanny/JnsdSNli6V+axwIid/7gmRYOlqoRVF9B7XDHiJQRE9OA+LaqrQi1H/llh5zI G+hjQalivCn2Y2VDYmp19VH43TEWVHIaEhtMA5JpGZJgXE35xhLHN8hHtw/v+Cxvhg9g 4zPQ==
MIME-Version: 1.0
X-Received: by 10.152.21.169 with SMTP id w9mr3458975lae.90.1401210783631; Tue, 27 May 2014 10:13:03 -0700 (PDT)
Received: by 10.112.33.36 with HTTP; Tue, 27 May 2014 10:13:03 -0700 (PDT)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739439AD34D88@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com> <5384A896.8030305@cisco.com> <CAHbuEH7+TGcT95eLmvP9fzDxiLJV_ww6nSYU4G+Fw-0LB2sOUg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD34D88@TK5EX14MBXC293.redmond.corp.microsoft.com>
Date: Tue, 27 May 2014 13:13:03 -0400
Message-ID: <CAHbuEH5k5DzVDVwjJkw1iPmVESj6TaOm3X+usRuf3vMDySBBCg@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/Jh_jestK8gV6OCfO_OQICJfZXPE
Cc: "jose@ietf.org" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 17:13:12 -0000

Hi Mike,

The request was to add SHA2 support, not to get rid of SHA1 support.
You have a community of users (XMPP) that are supposed to be able to
use JOSE and have a stated preference for SHA2, I think that is
argument enough.

The other argument I just provided for supporting SHA2 is that
eventually, you will no longer need to support SHA1 algorithms once
SHA2 is widely used/deployed.

On Tue, May 27, 2014 at 11:41 AM, Mike Jones
<Michael.Jones@microsoft.com> wrote:
> The problem with migrating away from SHA1-based thumbprints is that to do=
 so, the underlying development platforms used to build JOSE implementation=
s would also need to do so for the migration at the JOSE level to be useful=
.  In particular, as Nat pointed out, "x5t" was added to the JOSE specs in =
the first place because Windows enables key lookup in the Windows key store=
 using the SHA-1 thumbprint.
>
> While I'm sensitive to the fact that I'm using Windows as a motivating us=
e case and I'm a Microsoft employee (so you can discount my remarks relativ=
e to this as you see fit), in practice, you can't look up a key in Windows =
using any thumbprint value but the SHA-1 thumbprint.  Unless that changes, =
I doubt that any migration away from SHA-1 thumbprints will be practical, a=
t least when using keys in stored in the Windows key store.  I believe the =
same is currently also true of OpenSSL.
>
>                                 -- Mike
>
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Kathleen Moriarty
> Sent: Tuesday, May 27, 2014 8:28 AM
> To: Matt Miller
> Cc: jose@ietf.org
> Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of =
draft-ietf-jose-json-web-algorithms
>
> Thanks for the quick reply.  Another argument would be for the ability to=
 drop SHA1 support eventually.  If you move to all SHA2, there is no need t=
o support the SHA1 code anymore.
>
> On Tue, May 27, 2014 at 11:00 AM, Matt Miller <mamille2@cisco.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>> /me dons "XMPP Expert" Hat
>>
>> There is some desire to use SHA2 but no strong requirement.  As far as
>> algorithm requirements go, look to [XMPP-TLS], [XEP-0300], and
>> [XEP-0320] for the results of the community's more current discussions.
>>
>>
>> - --
>> - - m&m
>>
>> Matt Miller < mamille2@cisco.com >
>> Cisco Systems, Inc.
>>
>> [XMPP-TLS] Use of Transport Layer Security (TLS) in the Extensible
>> Messaging and Presence Protocol (XMPP) <
>> http://tools.ietf.org/html/draft-ietf-uta-xmpp-00 > [XEP-0300] Use of
>> Cryptographic Hash Functions in XMPP <
>> http://xmpp.org/extensions/xep-0300.html > [XEP-0320] Use of DTLS-SRTP
>> in Jingle Sessions < http://xmpp.org/extensions/xep-0320.html >
>>
>> On 5/27/14, 8:42 AM, Kathleen Moriarty wrote:
>>> The reviews got a little confused with the responses for SHA1 and
>>> SHA2 thumbprints.  A couple of people responded supporting Mike's
>>> assertion, but I have had others tell me directly, SHA2 would be
>>> good.
>>>
>>> Is there a need to support this for the XMPP community, since they
>>> set to SHA256 as a default for certificate fingerprints:
>>> http://xmpp.org/extensions/xep-0189.html
>>>
>>> Thanks, Kathleen
>>>
>>> On Wed, May 21, 2014 at 9:51 PM, Nat Sakimura <sakimura@gmail.com>
>>> wrote:
>>>> ditto here.
>>>>
>>>> The primary reason for having thumbprint was for finding keys in the
>>>> Windows crypto API. Security property must not depend on it.
>>>> If it wants to deal with authentication, it should use the keys,
>>>> IMHO.
>>>>
>>>>
>>>> 2014-05-22 3:10 GMT+09:00 John Bradley <ve7jtb@ve7jtb.com>:
>>>>>
>>>>> I agree with Mike, many key stores use SHA1 thumbprints.   I
>>>>> don't know of any security consideration that makes SHA2
>>>>> thumbprints better in any practical way.
>>>>>
>>>>> I don't think that adding SHA 2 thumbprints is something that we
>>>>> need to do now.
>>>>>
>>>>> John B.
>>>>>
>>>>> On May 1, 2014, at 1:46 PM, Kathleen Moriarty
>>>>> <kathleen.moriarty.ietf@gmail.com> wrote:
>>>>>
>>>>>>>
>>>>>>> Mike> Per your JWS comment, SHA-1 thumbprints are widely
>>>>>>> deployed.  I=E2=80=99m aware of no SHA-256 certificate thumbprint
>>>>>>> deployments.  I=E2=80=99ll note that even if SHA-1 were completely
>>>>>>> broken, that wouldn=E2=80=99t be a security issue because it=E2=80=
=99s just being
>>>>>>> used to generate a digest of publicly available certificate
>>>>>>> information.  It=E2=80=99s not being used to cryptographically obsc=
ure
>>>>>>> anything. (But that=E2=80=99s actually a discussion for another dra=
ft. J)
>>>>>>>
>>>>>>
>>>>>> This is in place for the XML equivalents and should be possible
>>>>>> for JSON.  I used this at least 2 years ago in the XML Oxygen
>>>>>> editor.  I believe this has been brought up before in terms of
>>>>>> JSON, so I am not the first.  But it is another draft... I'd like
>>>>>> to get through these all soon :-)
>>>>>
>>>>>
>>>>> _______________________________________________ jose mailing list
>>>>> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>>>>>
>>>>
>>>>
>>>>
>>>> -- Nat Sakimura (=3Dnat) Chairman, OpenID Foundation
>>>> http://nat.sakimura.org/ @_nat_en
>>>
>>>
>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
>> Comment: GPGTools - https://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iQEcBAEBCgAGBQJThKiWAAoJEDWi+S0W7cO1RT0H/115y7u4qLZbWNTC23/dZhNa
>> cvH47z2l+cL5KEEKLCFlx3NNgDFYZMabZc9NfTnHYxs0oRw8HQ48B5UubDp/wOgL
>> E35wM4k7+Qsdl+UuiQR86Xu6JRc/9NW8ov4dTSk80TN64AltEtvjyFCO1cN9Zs89
>> 6x/LBtgxrvjhsze4R+LnwWnm/+lXswME01wK8mZTCl0tY753Ca8FtRoAeLb51f4S
>> YwGolRZ8bSRv5waZhupxV/crMeWUFbEsSKQePqrnH7R0O6EzKEI8qZuYc1BsoQ1a
>> EyhHkeElAmJ71qfvBRzLMM6xTA+AGGVtmQG5msm2ETyTiJ4b1ASfG5EHXU1KYVE=3D
>> =3DbDGF
>> -----END PGP SIGNATURE-----
>
>
>
> --
>
> Best regards,
> Kathleen
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose



--=20

Best regards,
Kathleen


From nobody Tue May 27 10:25:50 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 4C3D21A01AF for <jose@ietfa.amsl.com>; Tue, 27 May 2014 10:25:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 mUEiWVHwydt0 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 10:25:44 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0182.outbound.protection.outlook.com [207.46.163.182]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5A3F1A01D5 for <jose@ietf.org>; Tue, 27 May 2014 10:25:43 -0700 (PDT)
Received: from BY2PR03CA036.namprd03.prod.outlook.com (10.242.234.157) by BY2PR03MB043.namprd03.prod.outlook.com (10.255.241.147) with Microsoft SMTP Server (TLS) id 15.0.949.11; Tue, 27 May 2014 17:25:38 +0000
Received: from BY2FFO11FD048.protection.gbl (2a01:111:f400:7c0c::172) by BY2PR03CA036.outlook.office365.com (2a01:111:e400:2c2c::29) with Microsoft SMTP Server (TLS) id 15.0.949.11 via Frontend Transport; Tue, 27 May 2014 17:25:38 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD048.mail.protection.outlook.com (10.1.15.176) with Microsoft SMTP Server (TLS) id 15.0.949.9 via Frontend Transport; Tue, 27 May 2014 17:25:38 +0000
Received: from TK5EX14MBXC293.redmond.corp.microsoft.com ([169.254.2.113]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.193]) with mapi id 14.03.0181.007; Tue, 27 May 2014 17:25:08 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Thread-Topic: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-algorithms
Thread-Index: AQHPebxtCPAVLgnqAEydIboQDXegMJtUjOeAgAABACCAABx2gIAAAwWw
Date: Tue, 27 May 2014 17:25:07 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439AD353A5@TK5EX14MBXC293.redmond.corp.microsoft.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com> <5384A896.8030305@cisco.com> <CAHbuEH7+TGcT95eLmvP9fzDxiLJV_ww6nSYU4G+Fw-0LB2sOUg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AD34D88@TK5EX14MBXC293.redmond.corp.microsoft.com> <CAHbuEH5k5DzVDVwjJkw1iPmVESj6TaOm3X+usRuf3vMDySBBCg@mail.gmail.com>
In-Reply-To: <CAHbuEH5k5DzVDVwjJkw1iPmVESj6TaOm3X+usRuf3vMDySBBCg@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.79]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438001)(199002)(189002)(51444003)(164054003)(54524002)(51914003)(13464003)(24454002)(377424004)(479174003)(377454003)(51704005)(54356999)(83322001)(44976005)(19580405001)(19580395003)(77982001)(15202345003)(69596002)(68736004)(6806004)(15975445006)(23676002)(76176999)(50986999)(84676001)(15395725003)(104016001)(50466002)(81342001)(74662001)(74502001)(31966008)(4396001)(83072002)(85852003)(81542001)(2656002)(87936001)(81156002)(64706001)(20776003)(80022001)(47776003)(97736001)(26826002)(99396002)(46102001)(76482001)(55846006)(33656002)(86612001)(86362001)(92566001)(575784001)(92726001)(66066001)(21056001)(79102001); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR03MB043; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 02243C58C6
Received-SPF: Pass (: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/OyeukhL1aQ3xBsnwbmKOarnp-Tw
Cc: "jose@ietf.org" <jose@ietf.org>, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 17:25:47 -0000

T0sNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEthdGhsZWVuIE1vcmlhcnR5
IFttYWlsdG86a2F0aGxlZW4ubW9yaWFydHkuaWV0ZkBnbWFpbC5jb21dIA0KU2VudDogVHVlc2Rh
eSwgTWF5IDI3LCAyMDE0IDEwOjEzIEFNDQpUbzogTWlrZSBKb25lcw0KQ2M6IE1hdHQgTWlsbGVy
OyBqb3NlQGlldGYub3JnDQpTdWJqZWN0OiBSZTogW2pvc2VdIEpXUyBSZXZpZXcsIFNIQSAyNTYg
dGh1bWJwcmludHMgLSB3YXMgLSBBRCByZXZpZXcgb2YgZHJhZnQtaWV0Zi1qb3NlLWpzb24td2Vi
LWFsZ29yaXRobXMNCg0KSGkgTWlrZSwNCg0KVGhlIHJlcXVlc3Qgd2FzIHRvIGFkZCBTSEEyIHN1
cHBvcnQsIG5vdCB0byBnZXQgcmlkIG9mIFNIQTEgc3VwcG9ydC4NCllvdSBoYXZlIGEgY29tbXVu
aXR5IG9mIHVzZXJzIChYTVBQKSB0aGF0IGFyZSBzdXBwb3N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StTMFc3Y08xUlQwSC8xMTV5N3U0cUxaYldOVEMy
My9kWmhOYQ0KPj4gY3ZINDd6MmwrY0w1S0VFS0xDRmx4M05OZ0RGWVpNYWJaYzlOZlRuSFl4czBv
Unc4SFE0OEI1VXViRHAvd09nTA0KPj4gRTM1d000azcrUXNkbCtVdWlRUjg2WHU2SlJjLzlOVzhv
djRkVFNrODBUTjY0QWx0RXR2anlGQ08xY045WnM4OQ0KPj4gNngvTEJ0Z3hydmpoc3plNFIrTG53
V25tLytsWHN3TUUwMXdLOG1aVENsMHRZNzUzQ2E4RnRSb0FlTGI1MWY0Uw0KPj4gWXdHb2xSWjhi
U1J2NXdhWmh1cHhWL2NyTWVXVUZiRXNTS1FlUHFybkg3UjBPNkV6S0VJOHFadVljMUJzb1ExYQ0K
Pj4gRXloSGtlRWxBbUo3MXFmdkJSekxNTTZ4VEErQUdHVnRtUUc1bXNtMkVUeVRpSjRiMUFTZkc1
RUhYVTFLWVZFPQ0KPj4gPWJER0YNCj4+IC0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0KPg0K
Pg0KPg0KPiAtLQ0KPg0KPiBCZXN0IHJlZ2FyZHMsDQo+IEthdGhsZWVuDQo+DQo+IF9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQo+IGpvc2UgbWFpbGluZyBs
aXN0DQo+IGpvc2VAaWV0Zi5vcmcNCj4gaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0
aW5mby9qb3NlDQoNCg0KDQotLSANCg0KQmVzdCByZWdhcmRzLA0KS2F0aGxlZW4NCg==


From nobody Tue May 27 11:28:23 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 712011A05E5 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 11:28:20 -0700 (PDT)
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_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 MZEAaDx8AT8E for <jose@ietfa.amsl.com>; Tue, 27 May 2014 11:28:18 -0700 (PDT)
Received: from mail-qc0-f171.google.com (mail-qc0-f171.google.com [209.85.216.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 235591A01F6 for <jose@ietf.org>; Tue, 27 May 2014 11:28:17 -0700 (PDT)
Received: by mail-qc0-f171.google.com with SMTP id c9so6429303qcz.2 for <jose@ietf.org>; Tue, 27 May 2014 11:28:14 -0700 (PDT)
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=FvwT2IlAZudUM6+J6i7PRWiFC/MAyBFoGm/r48yJxQU=; b=luHIpl471tr+8tITfhdSH4qDcI5tVAgSv2VvjSjBFTjukRe5cED7zOiAD4hyxVOud/ cMw63aPcHWLVyD7/quICP8M2Af//0w6Ol1OaqQ9FVYM9qxswE3bMCu5nFSWVFk6p4R8Q SH8pecTX+nthmIZyFH767o5S4TgH0N+LlsLEiT8u6SDAuOBsryr6dEW8W0Z+EZFGYlvr FA48Wm9uzW1c61NFYaau2HhtA/iUr+rLF73Bz7tQswVRFsaEcqhDVRtogvfEHy7e/vgN bky9XqhmK5Q74jjxsYO/HWGe2nbhZMvsjcAiknKg0wg8O9G2F0IirZhDVegPX4OW1BDn I99A==
X-Gm-Message-State: ALoCoQnzVBQUSN+OgT4+RuEcQPGemgBtv8P7wX4A+oxOBDqtSNgqzG13acyo3w3VYFqTplPJ71fa
X-Received: by 10.224.7.6 with SMTP id b6mr45279922qab.45.1401215294406; Tue, 27 May 2014 11:28:14 -0700 (PDT)
Received: from [192.168.1.216] ([190.22.11.143]) by mx.google.com with ESMTPSA id e12sm26309302qaq.13.2014.05.27.11.28.11 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 11:28:13 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_6DFDCB2D-7994-423F-B5F9-E5AF43C7F6EE"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <5384A896.8030305@cisco.com>
Date: Tue, 27 May 2014 14:27:53 -0400
Message-Id: <A85C6243-02BA-4AB7-9FBA-50584870DC37@ve7jtb.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com> <5384A896.8030305@cisco.com>
To: Matt Miller <mamille2@cisco.com>
X-Mailer: Apple Mail (2.1878.2)
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/QO1fgeM6HjBQVWMNZICtrU_b2W0
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 18:28:20 -0000

--Apple-Mail=_6DFDCB2D-7994-423F-B5F9-E5AF43C7F6EE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Matt,

Do people want a explicit way to send a SHA256 hash of a DER encoded =
cert in JWS/JWE?

The XMPP spec being pointed tp is talking about a print or keyprint that =
is a SHA256 of the XML character data of the <key/> element. =20

The key element seems to be a XML encoded Modulus, Exponent and other =
stuff.

Is this part of the XMPP spec stable enough to have its quite custom =
notion of encoded public keys included in  JOSE.=20

I would personally like to see the XMPP spec create the element and =
register it, similarly to the way we did it for JWKS thumbprint.
https://self-issued.info/docs/draft-jones-jose-jwk-thumbprint-00.html

If it were just using SHA256 vs SHA1 that might be a different case, but =
it seems that what is being hashed is quite different from the current =
thumbprint.

John B.

On May 27, 2014, at 11:00 AM, Matt Miller <mamille2@cisco.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> /me dons "XMPP Expert" Hat
>=20
> There is some desire to use SHA2 but no strong requirement.  As far as
> algorithm requirements go, look to [XMPP-TLS], [XEP-0300], and
> [XEP-0320] for the results of the community's more current =
discussions.
>=20
>=20
> - --=20
> - - m&m
>=20
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>=20
> [XMPP-TLS] Use of Transport Layer Security (TLS) in the Extensible
> Messaging and Presence Protocol (XMPP) <
> http://tools.ietf.org/html/draft-ietf-uta-xmpp-00 >
> [XEP-0300] Use of Cryptographic Hash Functions in XMPP <
> http://xmpp.org/extensions/xep-0300.html >
> [XEP-0320] Use of DTLS-SRTP in Jingle Sessions <
> http://xmpp.org/extensions/xep-0320.html >
>=20
> On 5/27/14, 8:42 AM, Kathleen Moriarty wrote:
>> The reviews got a little confused with the responses for SHA1 and
>> SHA2 thumbprints.  A couple of people responded supporting Mike's=20
>> assertion, but I have had others tell me directly, SHA2 would be
>> good.
>>=20
>> Is there a need to support this for the XMPP community, since they
>> set to SHA256 as a default for certificate fingerprints:=20
>> http://xmpp.org/extensions/xep-0189.html
>>=20
>> Thanks, Kathleen
>>=20
>> On Wed, May 21, 2014 at 9:51 PM, Nat Sakimura <sakimura@gmail.com>
>> wrote:
>>> ditto here.
>>>=20
>>> The primary reason for having thumbprint was for finding keys in
>>> the Windows crypto API. Security property must not depend on it.
>>> If it wants to deal with authentication, it should use the keys,
>>> IMHO.
>>>=20
>>>=20
>>> 2014-05-22 3:10 GMT+09:00 John Bradley <ve7jtb@ve7jtb.com>:
>>>>=20
>>>> I agree with Mike, many key stores use SHA1 thumbprints.   I
>>>> don't know of any security consideration that makes SHA2
>>>> thumbprints better in any practical way.
>>>>=20
>>>> I don't think that adding SHA 2 thumbprints is something that
>>>> we need to do now.
>>>>=20
>>>> John B.
>>>>=20
>>>> On May 1, 2014, at 1:46 PM, Kathleen Moriarty=20
>>>> <kathleen.moriarty.ietf@gmail.com> wrote:
>>>>=20
>>>>>>=20
>>>>>> Mike> Per your JWS comment, SHA-1 thumbprints are widely
>>>>>> deployed.  I=92m aware of no SHA-256 certificate thumbprint
>>>>>> deployments.  I=92ll note that even if SHA-1 were completely
>>>>>> broken, that wouldn=92t be a security issue because it=92s just
>>>>>> being used to generate a digest of publicly available=20
>>>>>> certificate information.  It=92s not being used to
>>>>>> cryptographically obscure anything. (But that=92s actually a
>>>>>> discussion for another draft. J)
>>>>>>=20
>>>>>=20
>>>>> This is in place for the XML equivalents and should be
>>>>> possible for JSON.  I used this at least 2 years ago in the
>>>>> XML Oxygen editor.  I believe this has been brought up before
>>>>> in terms of JSON, so I am not the first.  But it is another
>>>>> draft... I'd like to get through these all soon :-)
>>>>=20
>>>>=20
>>>> _______________________________________________ jose mailing
>>>> list jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>>>>=20
>>>=20
>>>=20
>>>=20
>>> -- Nat Sakimura (=3Dnat) Chairman, OpenID Foundation=20
>>> http://nat.sakimura.org/ @_nat_en
>>=20
>>=20
>>=20
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>=20
> iQEcBAEBCgAGBQJThKiWAAoJEDWi+S0W7cO1RT0H/115y7u4qLZbWNTC23/dZhNa
> cvH47z2l+cL5KEEKLCFlx3NNgDFYZMabZc9NfTnHYxs0oRw8HQ48B5UubDp/wOgL
> E35wM4k7+Qsdl+UuiQR86Xu6JRc/9NW8ov4dTSk80TN64AltEtvjyFCO1cN9Zs89
> 6x/LBtgxrvjhsze4R+LnwWnm/+lXswME01wK8mZTCl0tY753Ca8FtRoAeLb51f4S
> YwGolRZ8bSRv5waZhupxV/crMeWUFbEsSKQePqrnH7R0O6EzKEI8qZuYc1BsoQ1a
> EyhHkeElAmJ71qfvBRzLMM6xTA+AGGVtmQG5msm2ETyTiJ4b1ASfG5EHXU1KYVE=3D
> =3DbDGF
> -----END PGP SIGNATURE-----
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_6DFDCB2D-7994-423F-B5F9-E5AF43C7F6EE
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINPDCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJB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HPfFMcI7HtoxBnBuLUopkn2n3
k6Iwg1m7JiRi8qZj6qN5frUMz0Almf0sYyvvJuMDJZtZgGjfXXj+x9XjoB0tTE6wNhntBGEqdyk7
KOM4NKrDiBtyPGinsc3qLM3wyGIOhB68F3KlX2hulEevtc2zy4+5GzqyuidhAAAAAAAA

--Apple-Mail=_6DFDCB2D-7994-423F-B5F9-E5AF43C7F6EE--


From nobody Tue May 27 11:49:13 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 CA70D1A05E5 for <jose@ietfa.amsl.com>; Tue, 27 May 2014 11:49:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level: 
X-Spam-Status: No, score=-15.152 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.651, 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 uGYwmg1SpzFu for <jose@ietfa.amsl.com>; Tue, 27 May 2014 11:49:08 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C6C61A020A for <jose@ietf.org>; Tue, 27 May 2014 11:49:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3544; q=dns/txt; s=iport; t=1401216545; x=1402426145; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=EYd/JIQotrZt0aqr+1M0a0kDWNJUCQFXChzaZbuhKcE=; b=JiK5eklaLpT3IBsgV1NxmH5Krnk5GBc2F7DWuHq2Jw5pv3LwUnYlSSJd fvk6Ztxyo2uNYaj31eZDUi8s5RzvvocVzYv7C1Wal2pui1Yc8MkQFWWgj LPyNO+2xpgx9JTewEPh1C+/A3wlnVZ7EGITn/zi2MC1ZkOLt25I/vJCu5 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AmAFAHPdhFOtJA2G/2dsb2JhbABZgwdSWKoFAQEBAQeQUoc6AYEOFnSCJQEBAQQBAQFoAwoBEAsOCgkDEw8JAwIBAgEVMAYNAQUCAQEQiC4N1TIXhVWFboJcMweEQAEDiiGPUoE9kWqBeIFfghA
X-IronPort-AV: E=Sophos;i="4.98,921,1392163200"; d="scan'208";a="47643007"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-3.cisco.com with ESMTP; 27 May 2014 18:49:04 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by alln-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id s4RIn417018857 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 27 May 2014 18:49:04 GMT
Received: from MAMILLE2-M-T03K.CISCO.COM (10.129.24.57) by xhc-rcd-x05.cisco.com (173.37.183.79) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 27 May 2014 13:49:04 -0500
Message-ID: <5384DE1F.7080501@cisco.com>
Date: Tue, 27 May 2014 12:49:03 -0600
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.5.0
MIME-Version: 1.0
To: John Bradley <ve7jtb@ve7jtb.com>
References: <CAHbuEH4bMRKTHqLKThUVhF7Y22H1dq_G+D1VzriXNv7iXUPX0A@mail.gmail.com> <5384A896.8030305@cisco.com> <A85C6243-02BA-4AB7-9FBA-50584870DC37@ve7jtb.com>
In-Reply-To: <A85C6243-02BA-4AB7-9FBA-50584870DC37@ve7jtb.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.129.24.57]
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/eSNzIE6xHslD69HEyPSaJ-0rPDg
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWS Review, SHA 256 thumbprints - was - AD review of draft-ietf-jose-json-web-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: Tue, 27 May 2014 18:49:10 -0000

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

With regards to XEP-0189, I should have been much more explicit the
first time around.  It is Deferred, and has been so for a very long
time; it means no one is working on it, and no one cares enough about
it to put in the work to advance it to Draft.  It is essentially dead,
as dead as any specification can truly be.  Any further discussion on
the merits or deficiencies of XEP-0189 are pointless (unless you're
willing to take on its authorship).

Speaking much more generically, there is a desire to be able to use
SHA-2 wherever possible.  SHA-1 is still necessary to meet the widest
possible interoperability on the general Internet, but there are
isolated deployments where further restriction is wanted/needed.

There is some desire to make public keys available over XMPP via
[PUBSUB] and [PEP], but no one has yet put in the work to do that.  At
this point, that effort (if/when it starts up again) is extremely
likely to use something that already exists, which is possibly based
on JOSE.

As the above generalities apply to JOSE, I think that means:

* it would be nice to have a way to do everything with just SHA-2
* any fingerprinting ought to support SHA-2, but cannot prohibit SHA-1


- -- 
- - m&m

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

[PUBSUB] XEP-0060: Publish-Subscribe <
http://xmpp.org/extensions/xep-0060.html >
[PEP] XEP-0163: Personal Eventing Protocol <
http://xmpp.org/extensions/xep-0163.html >

On 5/27/14, 12:27 PM, John Bradley wrote:
> Matt,
> 
> Do people want a explicit way to send a SHA256 hash of a DER
> encoded cert in JWS/JWE?
> 
> The XMPP spec being pointed tp is talking about a print or keyprint
> that is a SHA256 of the XML character data of the <key/> element.
> 
> 
> The key element seems to be a XML encoded Modulus, Exponent and
> other stuff.
> 
> Is this part of the XMPP spec stable enough to have its quite
> custom notion of encoded public keys included in  JOSE.
> 
> I would personally like to see the XMPP spec create the element and
> register it, similarly to the way we did it for JWKS thumbprint. 
> https://self-issued.info/docs/draft-jones-jose-jwk-thumbprint-00.html
>
>  If it were just using SHA256 vs SHA1 that might be a different
> case, but it seems that what is being hashed is quite different
> from the current thumbprint.
> 
> John B.
> 
> On May 27, 2014, at 11:00 AM, Matt Miller <mamille2@cisco.com>
> wrote:
> 
> /me dons "XMPP Expert" Hat
> 
> There is some desire to use SHA2 but no strong requirement.  As far
> as algorithm requirements go, look to [XMPP-TLS], [XEP-0300], and 
> [XEP-0320] for the results of the community's more current
> discussions.
> 
> 
>> 
>> _______________________________________________ jose mailing
>> list jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJThN4fAAoJEDWi+S0W7cO1cZEH/iFZctAwEesDj8+I3e9PdM4A
niugjXOR4/Ptpbv058RJqRo3syykto5OrG8wWZ/xaCmdIS0SAkHsIWvlYu925Apa
KXzdMUBT8uMVsMmC//WGLeoyCDULjyiPHN07eJQU14MksmW5jy8FcswynESc2YCM
6UJfy6E/BLZ23VAYxLsQRP+Q5xUmpD+io9YOZ6bAhwri9oksC93P2UMU5+Yq9jxt
mFWUROM3e8qOP176Q7odRl3yoldTnOAHHvmovwZYcPetWQTukrgCRmQQravYG/Zj
qtjJhdQ4686Z6EwwOTQVKjdVs97zanNsjweUYoi7KEDzVbmBe1VX0celHC6Jr+8=
=SZyJ
-----END PGP SIGNATURE-----

