
From bcampbell@pingidentity.com  Mon Apr  2 07:42:50 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8356521F84D1 for <jose@ietfa.amsl.com>; Mon,  2 Apr 2012 07:42:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.976
X-Spam-Level: 
X-Spam-Status: No, score=-5.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qzST3-8uLQWr for <jose@ietfa.amsl.com>; Mon,  2 Apr 2012 07:42:50 -0700 (PDT)
Received: from na3sys009aog125.obsmtp.com (na3sys009aog125.obsmtp.com [74.125.149.153]) by ietfa.amsl.com (Postfix) with ESMTP id A784921F8510 for <jose@ietf.org>; Mon,  2 Apr 2012 07:42:49 -0700 (PDT)
Received: from mail-vx0-f177.google.com ([209.85.220.177]) (using TLSv1) by na3sys009aob125.postini.com ([74.125.148.12]) with SMTP ID DSNKT3m66PXwKWpdEEZdYkq0t7FOF+ql+2UK@postini.com; Mon, 02 Apr 2012 07:42:49 PDT
Received: by vcbf13 with SMTP id f13so2549229vcb.8 for <jose@ietf.org>; Mon, 02 Apr 2012 07:42:48 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=/HN11ncLcwWDEYIdzrqneJcEG0aLF/vAbnIro0UsG8M=; b=TqFZyOYnWu/gCHf2xzgZzHHGPvHdVj2HCGo4N/cUkm3yOQ+5/SOEj+VLvgQnlOSYug bvyB8TBSsj9cMMQe98q/itt88/3Oh8zgrMQ7kIxYglVBPFgq1+o5Or4NwLIOxTJ/pfYS 8wcix/4kLttQu3aC/PAaUyfUCXF+FkuFwoeV6Ot4cqKgNnWAsRwFl9m90LBwhDxxP3Jc hDQsWL4pbm9pwE12zWk6zmi9mija2ERyRdsdHyDxOTCegiIa6qUB4aXXDKkiuI+iKktE 9qjHCfCswslab7KSC3twxoFvUqB3afl3b4E3lduKCvza/mGTknezgTpHK3JCpecij0Xf ty8Q==
Received: by 10.52.27.162 with SMTP id u2mr3286265vdg.65.1333377768036; Mon, 02 Apr 2012 07:42:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Mon, 2 Apr 2012 07:42:17 -0700 (PDT)
In-Reply-To: <20120331124748.cc40c4f3d92d2001859047cd8cabb9ab.5135826b7b.wbe@email07.europe.secureserver.net>
References: <20120331124748.cc40c4f3d92d2001859047cd8cabb9ab.5135826b7b.wbe@email07.europe.secureserver.net>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Mon, 2 Apr 2012 08:42:17 -0600
Message-ID: <CA+k3eCTRpMR52kX_zYTzLc5HkjPwZrWeOS4S39q04TgAKA=+UA@mail.gmail.com>
To: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
Content-Type: multipart/alternative; boundary=20cf307ca3b037191a04bcb33447
X-Gm-Message-State: ALoCoQna8MV3FfNT2B1g4leBgc/HR+N8lhuYOW/eaglXdBrnfDUPpeJ9X9DUuzRrjCC7KbA6Ucu3
Cc: jose@ietf.org
Subject: Re: [jose] JWA - list encryption algorithms requiring integrity?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 02 Apr 2012 14:42:50 -0000

--20cf307ca3b037191a04bcb33447
Content-Type: text/plain; charset=ISO-8859-1

+1

On Sat, Mar 31, 2012 at 1:47 PM, Vladimir Dzhuvinov / NimbusDS <
vladimir@nimbusds.com> wrote:

> Hey guys,
>
> Just a small suggestion regarding the JSON Web Algorithms (JWA) spec: it
> could be useful to list which encryption algorithms require the
> additional integrity protection.
>
>
> Vladimir
>
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

+1<br><br><div class=3D"gmail_quote">On Sat, Mar 31, 2012 at 1:47 PM, Vladi=
mir Dzhuvinov / NimbusDS <span dir=3D"ltr">&lt;<a href=3D"mailto:vladimir@n=
imbusds.com">vladimir@nimbusds.com</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">

Hey guys,<br>
<br>
Just a small suggestion regarding the JSON Web Algorithms (JWA) spec: it<br=
>
could be useful to list which encryption algorithms require the<br>
additional integrity protection.<br>
<br>
<br>
Vladimir<br>
<br>
--<br>
Vladimir Dzhuvinov : <a href=3D"http://www.NimbusDS.com" target=3D"_blank">=
www.NimbusDS.com</a> : <a href=3D"mailto:vladimir@nimbusds.com">vladimir@ni=
mbusds.com</a><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>
</blockquote></div><br>

--20cf307ca3b037191a04bcb33447--

From Michael.Jones@microsoft.com  Mon Apr  2 08:08:16 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CEAF21F85EF for <jose@ietfa.amsl.com>; Mon,  2 Apr 2012 08:08:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n3FpTRZu4N29 for <jose@ietfa.amsl.com>; Mon,  2 Apr 2012 08:08:15 -0700 (PDT)
Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe002.messaging.microsoft.com [213.199.154.140]) by ietfa.amsl.com (Postfix) with ESMTP id A9B5D21F84C9 for <jose@ietf.org>; Mon,  2 Apr 2012 08:08:14 -0700 (PDT)
Received: from mail60-db3-R.bigfish.com (10.3.81.239) by DB3EHSOBE003.bigfish.com (10.3.84.23) with Microsoft SMTP Server id 14.1.225.23; Mon, 2 Apr 2012 15:08:13 +0000
Received: from mail60-db3 (localhost [127.0.0.1])	by mail60-db3-R.bigfish.com (Postfix) with ESMTP id 70EA42203A8; Mon,  2 Apr 2012 15:08:13 +0000 (UTC)
X-SpamScore: -24
X-BigFish: VS-24(zz9371Ic85fh98dKzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC107.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail60-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14HUBC107.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail60-db3 (localhost.localdomain [127.0.0.1]) by mail60-db3 (MessageSwitch) id 1333379290935984_32624; Mon,  2 Apr 2012 15:08:10 +0000 (UTC)
Received: from DB3EHSMHS015.bigfish.com (unknown [10.3.81.238])	by mail60-db3.bigfish.com (Postfix) with ESMTP id DFE0D40059; Mon,  2 Apr 2012 15:08:10 +0000 (UTC)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS015.bigfish.com (10.3.87.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 2 Apr 2012 15:08:09 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.02.0283.004; Mon, 2 Apr 2012 15:08:05 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Brian Campbell <bcampbell@pingidentity.com>, Vladimir Dzhuvinov / NimbusDS <vladimir@nimbusds.com>
Thread-Topic: [jose] JWA - list encryption algorithms requiring integrity?
Thread-Index: AQHND3csqDhWXV7ErkeSqjuWaG/5g5aHnquAgAAG04A=
Date: Mon, 2 Apr 2012 15:08:05 +0000
Message-ID: <4E1F6AAD24975D4BA5B168042967394366452A41@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <20120331124748.cc40c4f3d92d2001859047cd8cabb9ab.5135826b7b.wbe@email07.europe.secureserver.net> <CA+k3eCTRpMR52kX_zYTzLc5HkjPwZrWeOS4S39q04TgAKA=+UA@mail.gmail.com>
In-Reply-To: <CA+k3eCTRpMR52kX_zYTzLc5HkjPwZrWeOS4S39q04TgAKA=+UA@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.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B168042967394366452A41TK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWA - list encryption algorithms requiring integrity?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 02 Apr 2012 15:08:16 -0000

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

Already planned for the next revision.  Eric Rescorla's presentation in Par=
is contained this information, which will be incorporated in the spec.

                                                            -- Mike

From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Bri=
an Campbell
Sent: Monday, April 02, 2012 7:42 AM
To: Vladimir Dzhuvinov / NimbusDS
Cc: jose@ietf.org
Subject: Re: [jose] JWA - list encryption algorithms requiring integrity?

+1
On Sat, Mar 31, 2012 at 1:47 PM, Vladimir Dzhuvinov / NimbusDS <vladimir@ni=
mbusds.com<mailto:vladimir@nimbusds.com>> wrote:
Hey guys,

Just a small suggestion regarding the JSON Web Algorithms (JWA) spec: it
could be useful to list which encryption algorithms require the
additional integrity protection.


Vladimir

--
Vladimir Dzhuvinov : www.NimbusDS.com<http://www.NimbusDS.com> : vladimir@n=
imbusds.com<mailto:vladimir@nimbusds.com>

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


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Already planned for the n=
ext revision.&nbsp; Eric Rescorla&#8217;s presentation in Paris contained t=
his information, which will be incorporated in the spec.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose-bou=
nces@ietf.org [mailto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Brian Campbell<br>
<b>Sent:</b> Monday, April 02, 2012 7:42 AM<br>
<b>To:</b> Vladimir Dzhuvinov / NimbusDS<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] JWA - list encryption algorithms requiring integ=
rity?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&#43;1<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">On Sat, Mar 31, 2012 at 1:47 PM, Vladimir Dzhuvinov =
/ NimbusDS &lt;<a href=3D"mailto:vladimir@nimbusds.com">vladimir@nimbusds.c=
om</a>&gt; wrote:<o:p></o:p></p>
<p class=3D"MsoNormal">Hey guys,<br>
<br>
Just a small suggestion regarding the JSON Web Algorithms (JWA) spec: it<br=
>
could be useful to list which encryption algorithms require the<br>
additional integrity protection.<br>
<br>
<br>
Vladimir<br>
<br>
--<br>
Vladimir Dzhuvinov : <a href=3D"http://www.NimbusDS.com" target=3D"_blank">=
www.NimbusDS.com</a> :
<a href=3D"mailto:vladimir@nimbusds.com">vladimir@nimbusds.com</a><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><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B168042967394366452A41TK5EX14MBXC283r_--

From vladimir@nimbusds.com  Tue Apr  3 02:11:47 2012
Return-Path: <vladimir@nimbusds.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B765621F84B8 for <jose@ietfa.amsl.com>; Tue,  3 Apr 2012 02:11: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=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GVfCAsQHkeOd for <jose@ietfa.amsl.com>; Tue,  3 Apr 2012 02:11:45 -0700 (PDT)
Received: from n1plwbeout07-01.prod.ams1.secureserver.net (n1plsmtp07-01-02.prod.ams1.secureserver.net [188.121.52.106]) by ietfa.amsl.com (Postfix) with SMTP id 5C52621F84A6 for <jose@ietf.org>; Tue,  3 Apr 2012 02:11:44 -0700 (PDT)
Received: (qmail 22077 invoked from network); 3 Apr 2012 09:11:42 -0000
Received: from unknown (HELO localhost) (188.121.52.245) by n1plwbeout07-01.prod.ams1.secureserver.net with SMTP; 3 Apr 2012 09:11:31 -0000
Received: (qmail 10145 invoked by uid 99); 3 Apr 2012 09:11:31 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 95.43.58.44
User-Agent: Workspace Webmail 5.6.15
Message-Id: <20120403021130.cc40c4f3d92d2001859047cd8cabb9ab.5dd95571f3.wbe@email07.europe.secureserver.net>
From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
To: jose@ietf.org
Date: Tue, 03 Apr 2012 02:11:30 -0700
Mime-Version: 1.0
Subject: [jose] JWE and the Initialisation Vector (iv)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 03 Apr 2012 09:11:47 -0000

Hi guys,=0A=0Ahttp://tools.ietf.org/html/draft-ietf-jose-json-web-encryptio=
n-01#section-8.2=0A=0Asays "for GCM, the random 64-bit IV is prepended to t=
he ciphertext."=0A=0AIsn't the JWE "iv" header parameter meant to store the=
 IV bytes?=0A=0AVladimir=0A--=0AVladimir Dzhuvinov : www.NimbusDS.com : vla=
dimir@nimbusds.com=0A

From vladimir@nimbusds.com  Tue Apr  3 02:24:29 2012
Return-Path: <vladimir@nimbusds.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 17DCA21F85AE for <jose@ietfa.amsl.com>; Tue,  3 Apr 2012 02:24:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_34=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TNaMwD1+FwNH for <jose@ietfa.amsl.com>; Tue,  3 Apr 2012 02:24:28 -0700 (PDT)
Received: from n1plwbeout07-02.prod.ams1.secureserver.net (n1plsmtp07-02-02.prod.ams1.secureserver.net [188.121.52.107]) by ietfa.amsl.com (Postfix) with SMTP id 1943521F85AA for <jose@ietf.org>; Tue,  3 Apr 2012 02:24:27 -0700 (PDT)
Received: (qmail 1176 invoked from network); 3 Apr 2012 09:24:26 -0000
Received: from unknown (HELO localhost) (188.121.52.245) by n1plwbeout07-02.prod.ams1.secureserver.net with SMTP; 3 Apr 2012 09:24:22 -0000
Received: (qmail 1539 invoked by uid 99); 3 Apr 2012 09:24:22 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 95.43.58.44
User-Agent: Workspace Webmail 5.6.15
Message-Id: <20120403022421.cc40c4f3d92d2001859047cd8cabb9ab.f58ffac80e.wbe@email07.europe.secureserver.net>
From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
To: jose@ietf.org
Date: Tue, 03 Apr 2012 02:24:21 -0700
Mime-Version: 1.0
Subject: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 03 Apr 2012 09:24:29 -0000

Today I reached a point in my JWT+JOSE library implementation where I=0Awou=
ldn't feel ashamed to release it to the public :)=0A=0Ahttps://github.com/N=
imbusDS/Nimbus-JWT=0A=0AThe library is fully documented:=0Ahttp://nimbusds.=
com/files/jwt/javadoc/index.html=0A=0A=0AThe Nimbus-JWT library started a m=
onth ago from code borrowed from Axel=0ANennker's + Co OpenInfoCard project=
 and at this point covers fully plain=0Aand signed JWTs as well as JSON Web=
 Keys (JWK). The JWE implementation=0Astill requires a bit of work to add H=
MAC integrity and cover the=0Aremaining elliptic curve and key-wrap encrypt=
ion algorithms from the JWA=0Aspec. I would be very thankful if somebody co=
uld help me with that as I=0Adon't have much experience with cryptography :=
)=0A=0AFor the listing of the supported JWAs:=0Ahttp://nimbusds.com/files/j=
wt/javadoc/com/nimbusds/jwt/JWA.html=0A=0ACheers,=0A=0AVladimir=0A--=0AVlad=
imir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com=0A

From bcampbell@pingidentity.com  Wed Apr  4 15:41:13 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBFBC21F849B for <jose@ietfa.amsl.com>; Wed,  4 Apr 2012 15:41:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.976
X-Spam-Level: 
X-Spam-Status: No, score=-5.976 tagged_above=-999 required=5 tests=[AWL=0.001,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zgE9KY9-jldN for <jose@ietfa.amsl.com>; Wed,  4 Apr 2012 15:41:13 -0700 (PDT)
Received: from psmtp.com (na3sys009aog136.obsmtp.com [74.125.149.85]) by ietfa.amsl.com (Postfix) with ESMTP id B3A7321F8499 for <jose@ietf.org>; Wed,  4 Apr 2012 15:41:12 -0700 (PDT)
Received: from mail-vb0-f42.google.com ([209.85.212.42]) (using TLSv1) by na3sys009aob136.postini.com ([74.125.148.12]) with SMTP ID DSNKT3zOCK5j7yPBt+Rbf2QeFXwCsQw2bXXt@postini.com; Wed, 04 Apr 2012 15:41:12 PDT
Received: by vbjk13 with SMTP id k13so774132vbj.29 for <jose@ietf.org>; Wed, 04 Apr 2012 15:41:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=QjdffPpLYvO9JZUHEjRRxw5KaGsOilIKPPHHXbnsz3Y=; b=iJOtsuiQ2jv6ntdlY5BNgl4sJAsou6YBeHTVlweR/brJcrys8RyDA5oQDX2a+erzYN RW7v5w9PN4mch1mjd9A35D+pwX4qeMYjYT6WHi69iul3trgJl2AEoDq9GQH7yrJgguWK b7cVI+t5n7ZemHdx8yi3aXS5T0V0yoS4XojJDl82nJL3Cjw7gkTs5lzZmuY69qyDJhsS 1PTpvFZ8VyL1mS48PNaLWc8tnV0ZmMLw8ulh/LsxVQ+Yk0aFQ1pkMriF2cSn9dv15RQB PO+i9w14XAQsBu9RwK3ij0IWLY/ajYXAoTCi4/SL6KCxGk39zM2q2EdKejVzG8+WNys4 PWTw==
Received: by 10.52.27.162 with SMTP id u2mr142511vdg.65.1333579271378; Wed, 04 Apr 2012 15:41:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Wed, 4 Apr 2012 15:40:40 -0700 (PDT)
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Wed, 4 Apr 2012 16:40:40 -0600
Message-ID: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>
To: jose@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQlH9e2mKrtmbDq5x72ZA9cwbaV960k60DVGEQRYDy4iJq0oKlYAuwENKQlSEDgUBxluOAF2
Subject: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 04 Apr 2012 22:41:13 -0000

Hi all,

I was hoping someone could help me (hopefully it's not just me!)
understand the reasons for the introduction of the key derivation
stuff* into JWE draft -01?

I understand that it's there to derive the two keys, CEK and CIK, from
the CMK and that it is to be done when a non-AEAD algorithm is used to
encrypt the content. But what is the value of deriving the two keys as
apposed to using the CMK for both encryption and integrity?

Perhaps naively I assumed that using the CMK for both would be
sufficient.  It's randomly generated and used only for the one JWE.
It's not clear to me what benefit is provided by the additional
complexity of the derivation function as well as its conditional
application (and the potential interoperability problems that come
with such complexity). I assume there's some security benefit? But I
can't see what it is.

Any help would be appreciated.
Thanks,
Brian

* http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-7
which is referenced by
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-5
and http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-6

From juraj.somorovsky@rub.de  Wed Apr  4 16:13:26 2012
Return-Path: <juraj.somorovsky@rub.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D2DE621F8546 for <jose@ietfa.amsl.com>; Wed,  4 Apr 2012 16:13:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Level: 
X-Spam-Status: No, score=-3.049 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HELO_EQ_DE=0.35, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ECmgIm1tGJLJ for <jose@ietfa.amsl.com>; Wed,  4 Apr 2012 16:13:26 -0700 (PDT)
Received: from mx4.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.53]) by ietfa.amsl.com (Postfix) with SMTP id A517821F84C2 for <jose@ietf.org>; Wed,  4 Apr 2012 16:13:25 -0700 (PDT)
X-Queued: (qmail 8917 invoked by alias); 4 Apr 2012 23:13:24 -0000
X-Queued: (qmail 8902 invoked from network); 4 Apr 2012 23:13:24 -0000
Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx4.rz.ruhr-uni-bochum.de with SMTP; 4 Apr 2012 23:13:24 -0000
X-Queued: (qmail 1578 invoked by uid 281); 4 Apr 2012 23:13:24 -0000
X-Qmailscanner: from 178.201.46.200 (7Cil8M2CiUyUioUk/LQ5Gw==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from <juraj.somorovsky@rub.de>, uid 80) with qmail-scanner-2.01  (sophie: 3.05/3.29/4.75.  Clear:RC:1(178.201.46.200):.  Processed in 0.033693 secs); 04 Apr 2012 23:13:24 -0000
Received: from ip-178-201-46-200.unitymediagroup.de (HELO ?192.168.0.104?) (7Cil8M2CiUyUioUk/LQ5Gw==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-CAMELLIA256-SHA encrypted) SMTP; 4 Apr 2012 23:13:23 -0000
Date: 5 Apr 2012 01:13:22 +0200
Message-ID: <4F7CD592.6090902@rub.de>
From: "Juraj Somorovsky" <juraj.somorovsky@rub.de>
To: vladimir@nimbusds.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0
MIME-Version: 1.0
References: <20120403022421.cc40c4f3d92d2001859047cd8cabb9ab.f58ffac80e.wbe@email07.europe.secureserver.net>
In-Reply-To: <20120403022421.cc40c4f3d92d2001859047cd8cabb9ab.f58ffac80e.wbe@email07.europe.secureserver.net>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 04 Apr 2012 23:13:26 -0000

Hi Vladimir,

I have took a look at your implementation and found out, that your PKCS1
handling is vulnerable to the Bleichenbacher attack (the adversary could
be able to issue different ciphertexts, send them to the server, and
according to its responses he could learn the encrypted CEK)

I will send you PoCs and instructions how to fix it by tomorrow...or
just take a look at the document written by Eric Rescorla:
http://www.ietf.org/rfc/rfc3218.txt

Regards
Juraj

On 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:
> Today I reached a point in my JWT+JOSE library implementation where I
> wouldn't feel ashamed to release it to the public :)
> 
> https://github.com/NimbusDS/Nimbus-JWT
> 
> The library is fully documented:
> http://nimbusds.com/files/jwt/javadoc/index.html
> 
> 
> The Nimbus-JWT library started a month ago from code borrowed from Axel
> Nennker's + Co OpenInfoCard project and at this point covers fully plain
> and signed JWTs as well as JSON Web Keys (JWK). The JWE implementation
> still requires a bit of work to add HMAC integrity and cover the
> remaining elliptic curve and key-wrap encryption algorithms from the JWA
> spec. I would be very thankful if somebody could help me with that as I
> don't have much experience with cryptography :)
> 
> For the listing of the supported JWAs:
> http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/JWA.html
> 
> Cheers,
> 
> Vladimir
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
> 
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose

-- 
M.Sc. Juraj Somorovsky

Lehrstuhl für Netz- und Datensicherheit
Ruhr Universität Bochum
-----------------------------------
Universitätsstr. 150, Geb. ID 2/411
D-44780 Bochum

Telefon: +49 (0) 234 / 32-26551
Fax: +49 (0) 234 / 32-14347
http://www.nds.rub.de

From ve7jtb@ve7jtb.com  Wed Apr  4 16:42:26 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7435211E80FE for <jose@ietfa.amsl.com>; Wed,  4 Apr 2012 16:42:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kcgs2dDCSbzm for <jose@ietfa.amsl.com>; Wed,  4 Apr 2012 16:42:25 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id A7CD311E809F for <jose@ietf.org>; Wed,  4 Apr 2012 16:42:25 -0700 (PDT)
Received: by ggmi1 with SMTP id i1so568615ggm.31 for <jose@ietf.org>; Wed, 04 Apr 2012 16:42:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=9JvWZAm8c839rBbGPrMo87m8zn9fufrt0GjE61Ppmyc=; b=BayUubVC/62r202THqMsuj/V4ldsUzw/wp/FPGWFpMWYLpPuU/IHEhZHGJUjUwWzah TNnayAPUBlxd0Y7hcpFZUb4JZdXHJYIpUdfiy6F0zpv5bW3wGeZ17cekyJ3//mYjYZ+V Ag3Dec+QS2INsShaVcAMdkC74wcVzRhZA2brHCfJ/zFDnOudmssrWLi1OPsfDae4sgAm zk7HBKo4n/BD3dev4XE4SrPH3RESF+kdd+l297FiVHLz6VcejwzJ5loyfSL0Y2Rmdr/W IHKnSwmn8yfZC/5tkbY4klHj7rPl7I4OydwxIWqs2q0rDSMDbhWqnXYWI31QXYpIFesk XAzg==
Received: by 10.101.152.1 with SMTP id e1mr77049ano.83.1333582945272; Wed, 04 Apr 2012 16:42:25 -0700 (PDT)
Received: from [192.168.1.213] (190-20-18-73.baf.movistar.cl. [190.20.18.73]) by mx.google.com with ESMTPS id t43sm7949514yht.11.2012.04.04.16.42.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 16:42:24 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_00484FDE-E227-456C-9445-85D7CA3EDB5C"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>
Date: Wed, 4 Apr 2012 20:42:14 -0300
Message-Id: <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQmuSCdwIXS6Fpsa3RNybnqaf+AzYO0W+4+E+V9ELemPq8OaRBJS7un35O6D9l+Ij4EO/pia
Cc: jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 04 Apr 2012 23:42:26 -0000

--Apple-Mail=_00484FDE-E227-456C-9445-85D7CA3EDB5C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

The use of a single key across two functions is one of things that is =
not provably without problems.

I agree that from an implementers point of view one key is simpler.

There is a related-key attack that using the same key would enable.  =
This can be combined with differential and linear attacks on symmetric =
key cyphers.

Generally this can be thought of as a bad thing.

What is certain is that it increases the possible attack surface,  and =
if the is a problem discovered as we have seen with AES-CBC it is going =
to be hard to change later.

We need key derivation anyway for ECDH-ES to produce a key of the =
correct bit length.

Doing key derivation on CMK is the theoretically proper way to do it.
Making a simplification might bite us in the future.

I suppose one way to get around the conditional application argument is =
to always use it to produce the CEK even with AEAD algorithms.

Regards
John B.

On 2012-04-04, at 7:40 PM, Brian Campbell wrote:

> Hi all,
>=20
> I was hoping someone could help me (hopefully it's not just me!)
> understand the reasons for the introduction of the key derivation
> stuff* into JWE draft -01?
>=20
> I understand that it's there to derive the two keys, CEK and CIK, from
> the CMK and that it is to be done when a non-AEAD algorithm is used to
> encrypt the content. But what is the value of deriving the two keys as
> apposed to using the CMK for both encryption and integrity?
>=20
> Perhaps naively I assumed that using the CMK for both would be
> sufficient.  It's randomly generated and used only for the one JWE.
> It's not clear to me what benefit is provided by the additional
> complexity of the derivation function as well as its conditional
> application (and the potential interoperability problems that come
> with such complexity). I assume there's some security benefit? But I
> can't see what it is.
>=20
> Any help would be appreciated.
> Thanks,
> Brian
>=20
> * =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
7
> which is referenced by
> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
5
> and =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
6
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_00484FDE-E227-456C-9445-85D7CA3EDB5C
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2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9xr4mnYohtz1fYxAQCT986mpilrYLcVdVsTqUlEYLPSJ0rb/WcMQ8RYRjUYiX2H
DXSiEBWsFQYc43fb2MlhNGsOWV8C/foV5xSg+IwAAAAAAAA=

--Apple-Mail=_00484FDE-E227-456C-9445-85D7CA3EDB5C--

From vladimir@nimbusds.com  Thu Apr  5 04:34:15 2012
Return-Path: <vladimir@nimbusds.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A899921F878B for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 04:34:15 -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=-2.599, J_CHICKENPOX_34=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FfWjlTrhAkOV for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 04:34:14 -0700 (PDT)
Received: from n1plwbeout07-02.prod.ams1.secureserver.net (n1plsmtp07-02-02.prod.ams1.secureserver.net [188.121.52.107]) by ietfa.amsl.com (Postfix) with SMTP id 4C79021F8775 for <jose@ietf.org>; Thu,  5 Apr 2012 04:34:14 -0700 (PDT)
Received: (qmail 30562 invoked from network); 5 Apr 2012 11:34:08 -0000
Received: from unknown (HELO localhost) (188.121.52.245) by n1plwbeout07-02.prod.ams1.secureserver.net with SMTP; 5 Apr 2012 11:33:57 -0000
Received: (qmail 32679 invoked by uid 99); 5 Apr 2012 11:33:57 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 46.10.76.96
User-Agent: Workspace Webmail 5.6.15
Message-Id: <20120405043356.cc40c4f3d92d2001859047cd8cabb9ab.f357faaeda.wbe@email07.europe.secureserver.net>
From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
To: "Juraj Somorovsky" <juraj.somorovsky@rub.de>
Date: Thu, 05 Apr 2012 04:33:56 -0700
Mime-Version: 1.0
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 11:34:15 -0000

Hey, huge thanks for that!=0A=0AI remember this weakness mentioned some tim=
e ago, but didn't know more=0Auntil now.=0A=0AI'm not planning more work on=
 the JWT library for the next couple of=0Aweeks. So there's no rush, at lea=
st for me. If you have a concrete=0Asuggestion how to fix the I would be gr=
ateful :)=0A=0ACheers,=0A=0AVladimir=0A=0A--=0AVladimir Dzhuvinov : www.Nim=
busDS.com : vladimir@nimbusds.com=0A =0A=0A-------- Original Message ------=
--=0ASubject: Re: [jose] JWT + JOSE for Java=0AFrom: "Juraj Somorovsky" <ju=
raj.somorovsky@rub.de>=0ADate: Thu, April 05, 2012 12:13 am=0ATo: vladimir@=
nimbusds.com=0ACc: jose@ietf.org=0A=0A=0AHi Vladimir,=0A=0AI have took a lo=
ok at your implementation and found out, that your PKCS1=0Ahandling is vuln=
erable to the Bleichenbacher attack (the adversary could=0Abe able to issue=
 different ciphertexts, send them to the server, and=0Aaccording to its res=
ponses he could learn the encrypted CEK)=0A=0AI will send you PoCs and inst=
ructions how to fix it by tomorrow...or=0Ajust take a look at the document =
written by Eric Rescorla:=0Ahttp://www.ietf.org/rfc/rfc3218.txt=0A=0ARegard=
s=0AJuraj=0A=0AOn 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:=
=0A> Today I reached a point in my JWT+JOSE library implementation where I=
=0A> wouldn't feel ashamed to release it to the public :)=0A> =0A> https://=
github.com/NimbusDS/Nimbus-JWT=0A> =0A> The library is fully documented:=0A=
> http://nimbusds.com/files/jwt/javadoc/index.html=0A> =0A> =0A> The Nimbus=
-JWT library started a month ago from code borrowed from Axel=0A> Nennker's=
 + Co OpenInfoCard project and at this point covers fully plain=0A> and sig=
ned JWTs as well as JSON Web Keys (JWK). The JWE implementation=0A> still r=
equires a bit of work to add HMAC integrity and cover the=0A> remaining ell=
iptic curve and key-wrap encryption algorithms from the JWA=0A> spec. I wou=
ld be very thankful if somebody could help me with that as I=0A> don't have=
 much experience with cryptography :)=0A> =0A> For the listing of the suppo=
rted JWAs:=0A> http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/JWA.h=
tml=0A> =0A> Cheers,=0A> =0A> Vladimir=0A> --=0A> Vladimir Dzhuvinov : www.=
NimbusDS.com : vladimir@nimbusds.com=0A> =0A> _____________________________=
__________________=0A> jose mailing list=0A> jose@ietf.org=0A> https://www.=
ietf.org/mailman/listinfo/jose=0A=0A-- =0AM.Sc. Juraj Somorovsky=0A=0ALehrs=
tuhl f=C3=BCr Netz- und Datensicherheit=0ARuhr Universit=C3=A4t Bochum=0A--=
---------------------------------=0AUniversit=C3=A4tsstr. 150, Geb. ID 2/41=
1=0AD-44780 Bochum=0A=0ATelefon: +49 (0) 234 / 32-26551=0AFax: +49 (0) 234 =
/ 32-14347=0Ahttp://www.nds.rub.de=0A

From Axel.Nennker@telekom.de  Thu Apr  5 05:00:35 2012
Return-Path: <Axel.Nennker@telekom.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2054021F87CD for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 05:00:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.649
X-Spam-Level: 
X-Spam-Status: No, score=-2.649 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Ju23fbrd8MD for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 05:00:34 -0700 (PDT)
Received: from tcmail53.telekom.de (tcmail53.telekom.de [217.5.214.110]) by ietfa.amsl.com (Postfix) with ESMTP id B5E5921F881D for <jose@ietf.org>; Thu,  5 Apr 2012 05:00:33 -0700 (PDT)
Received: from he111528.emea1.cds.t-internal.com ([10.125.90.87]) by tcmail51.telekom.de with ESMTP/TLS/AES128-SHA; 05 Apr 2012 14:00:14 +0200
Received: from HE111541.emea1.cds.t-internal.com ([169.254.2.250]) by HE111528.EMEA1.CDS.T-INTERNAL.COM ([2002:7cd:5a57::7cd:5a57]) with mapi; Thu, 5 Apr 2012 14:00:14 +0200
From: <Axel.Nennker@telekom.de>
To: <juraj.somorovsky@rub.de>, <vladimir@nimbusds.com>
Date: Thu, 5 Apr 2012 14:00:13 +0200
Thread-Topic: [jose] JWT + JOSE for Java
Thread-Index: Ac0SuI6VLC6cIch5TGm4x9nsVGx68wAaRcDQ
Message-ID: <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB0C8@HE111541.emea1.cds.t-internal.com>
References: <20120403022421.cc40c4f3d92d2001859047cd8cabb9ab.f58ffac80e.wbe@email07.europe.secureserver.net> <4F7CD592.6090902@rub.de>
In-Reply-To: <4F7CD592.6090902@rub.de>
Accept-Language: de-DE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 12:00:35 -0000

Hi Juraj,

As Vladimir's work is based on my implementation I guess that my implementa=
tion has room for improvement too.
https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/j=
son/WebToken.java

ENC_ALG_RSA_OAEP is better than ENC_ALG_RSA1_5.=20
https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/j=
son/WebToken.java#116

Both padding algorithms are supported by my code and this RSA bulletin ment=
ions OAEP as one counter measure against the Bleichenbacher attack. ftp://f=
tp.rsasecurity.com/pub/pdfs/bulletn7.pdf

Does "your" attack work against ENC_ALG_RSA_OAEP too? Additional counter me=
asures suggestions are very welcome.

RSA1_5 is in the proposed standard because it is widely available although =
RSA recommends to use OAEP for decades.=20
I think that RSA-OAEP should be mandatory to implement and RSA1_5 deprecate=
d.

Cheers. Greetings from Berlin to Bochum.
Axel


-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Jur=
aj Somorovsky
Sent: Thursday, April 05, 2012 1:13 AM
To: vladimir@nimbusds.com
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java

Hi Vladimir,

I have took a look at your implementation and found out, that your PKCS1 ha=
ndling is vulnerable to the Bleichenbacher attack (the adversary could be a=
ble to issue different ciphertexts, send them to the server, and according =
to its responses he could learn the encrypted CEK)

I will send you PoCs and instructions how to fix it by tomorrow...or just t=
ake a look at the document written by Eric Rescorla:
http://www.ietf.org/rfc/rfc3218.txt

Regards
Juraj

On 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:
> Today I reached a point in my JWT+JOSE library implementation where I=20
> wouldn't feel ashamed to release it to the public :)
>=20
> https://github.com/NimbusDS/Nimbus-JWT
>=20
> The library is fully documented:
> http://nimbusds.com/files/jwt/javadoc/index.html
>=20
>=20
> The Nimbus-JWT library started a month ago from code borrowed from=20
> Axel Nennker's + Co OpenInfoCard project and at this point covers=20
> fully plain and signed JWTs as well as JSON Web Keys (JWK). The JWE=20
> implementation still requires a bit of work to add HMAC integrity and=20
> cover the remaining elliptic curve and key-wrap encryption algorithms=20
> from the JWA spec. I would be very thankful if somebody could help me=20
> with that as I don't have much experience with cryptography :)
>=20
> For the listing of the supported JWAs:
> http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/JWA.html
>=20
> Cheers,
>=20
> Vladimir
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose

--
M.Sc. Juraj Somorovsky

Lehrstuhl f=FCr Netz- und Datensicherheit
Ruhr Universit=E4t Bochum
-----------------------------------
Universit=E4tsstr. 150, Geb. ID 2/411
D-44780 Bochum

Telefon: +49 (0) 234 / 32-26551
Fax: +49 (0) 234 / 32-14347
http://www.nds.rub.de
_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose

From mamille2@cisco.com  Thu Apr  5 05:50:01 2012
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CB1A21F87F3 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 05:50:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V3d0MO+Pf+hT for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 05:50:00 -0700 (PDT)
Received: from mtv-iport-1.cisco.com (mtv-iport-1.cisco.com [173.36.130.12]) by ietfa.amsl.com (Postfix) with ESMTP id 5C10221F86A8 for <jose@ietf.org>; Thu,  5 Apr 2012 05:50:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mamille2@cisco.com; l=3657; q=dns/txt; s=iport; t=1333630200; x=1334839800; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=mvql+pjdJegOO9hgj9EqVBC9LkxzDCYD1jH1oVFmYxE=; b=YbLrXvr1piOMTrnQWUNox5+L1QEgDknlfKQtWJ3Yuc8nOTcNxcVVN+82 wdq7T7g+6i7qb+j7L2SxKuhx6ja3lXBz+MKGdxjFYVpGiGS5JR5Z3DhTB 6YlAb3n7oi6U3pKJ4We6B+3VZbGGpnvhwKtiBkpfoIlsD7Ys+hc1QIXRq o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAOiTfU+rRDoG/2dsb2JhbABFuGyBB4IJAQEBAwEBAQEPASc0CwULCw4KLicwBhMih2cEAQubLZ93j3djBIhZjRKBEY06gWmDBg
X-IronPort-AV: E=Sophos;i="4.75,375,1330905600"; d="scan'208";a="36078899"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-1.cisco.com with ESMTP; 05 Apr 2012 12:50:00 +0000
Received: from dhcp-64-101-72-208.cisco.com (dhcp-64-101-72-208.cisco.com [64.101.72.208]) by mtv-core-1.cisco.com (8.14.3/8.14.3) with ESMTP id q35Cnxvx019992; Thu, 5 Apr 2012 12:49:59 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
Date: Thu, 5 Apr 2012 06:49:59 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
To: John Bradley <ve7jtb@ve7jtb.com>
X-Pgp-Agent: GPGMail 1.3.3
X-Mailer: Apple Mail (2.1084)
Cc: Brian Campbell <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 12:50:01 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Another way around the conditional in application-space is to define an =
AEAD algorithm composed of an encryption and hashing function.  This =
seems like a reasonable place to start looking at one: < =
http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.

On Apr 4, 2012, at 17:42, John Bradley wrote:

> The use of a single key across two functions is one of things that is =
not provably without problems.
>=20
> I agree that from an implementers point of view one key is simpler.
>=20
> There is a related-key attack that using the same key would enable.  =
This can be combined with differential and linear attacks on symmetric =
key cyphers.
>=20
> Generally this can be thought of as a bad thing.
>=20
> What is certain is that it increases the possible attack surface,  and =
if the is a problem discovered as we have seen with AES-CBC it is going =
to be hard to change later.
>=20
> We need key derivation anyway for ECDH-ES to produce a key of the =
correct bit length.
>=20
> Doing key derivation on CMK is the theoretically proper way to do it.
> Making a simplification might bite us in the future.
>=20
> I suppose one way to get around the conditional application argument =
is to always use it to produce the CEK even with AEAD algorithms.
>=20
> Regards
> John B.
>=20
> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>=20
>> Hi all,
>>=20
>> I was hoping someone could help me (hopefully it's not just me!)
>> understand the reasons for the introduction of the key derivation
>> stuff* into JWE draft -01?
>>=20
>> I understand that it's there to derive the two keys, CEK and CIK, =
from
>> the CMK and that it is to be done when a non-AEAD algorithm is used =
to
>> encrypt the content. But what is the value of deriving the two keys =
as
>> apposed to using the CMK for both encryption and integrity?
>>=20
>> Perhaps naively I assumed that using the CMK for both would be
>> sufficient.  It's randomly generated and used only for the one JWE.
>> It's not clear to me what benefit is provided by the additional
>> complexity of the derivation function as well as its conditional
>> application (and the potential interoperability problems that come
>> with such complexity). I assume there's some security benefit? But I
>> can't see what it is.
>>=20
>> Any help would be appreciated.
>> Thanks,
>> Brian
>>=20
>> * =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
7
>> which is referenced by
>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
5
>> and =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
6
>> _______________________________________________
>> 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


- - m&m

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVqzQj
YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR8kx
c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvLy
LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb+
ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fbY
LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDGz/I=3D
=3D174E
-----END PGP SIGNATURE-----

From vladimir@nimbusds.com  Thu Apr  5 06:04:10 2012
Return-Path: <vladimir@nimbusds.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0670E21F87FE for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 06:04:10 -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=-2.599, J_CHICKENPOX_34=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kxAeazr1DpYs for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 06:04:09 -0700 (PDT)
Received: from n1plwbeout07-02.prod.ams1.secureserver.net (n1plsmtp07-02-02.prod.ams1.secureserver.net [188.121.52.107]) by ietfa.amsl.com (Postfix) with SMTP id BB4A321F87D8 for <jose@ietf.org>; Thu,  5 Apr 2012 06:04:08 -0700 (PDT)
Received: (qmail 20770 invoked from network); 5 Apr 2012 13:04:06 -0000
Received: from unknown (HELO localhost) (188.121.52.245) by n1plwbeout07-02.prod.ams1.secureserver.net with SMTP; 5 Apr 2012 13:03:59 -0000
Received: (qmail 26984 invoked by uid 99); 5 Apr 2012 13:03:59 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 46.10.76.96
User-Agent: Workspace Webmail 5.6.15
Message-Id: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net>
From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
To: Axel.Nennker@telekom.de, juraj.somorovsky@rub.de
Date: Thu, 05 Apr 2012 06:03:58 -0700
Mime-Version: 1.0
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 13:04:10 -0000

Hallo Berlin, hallo Bochum, hallo Welt! :)=0A=0AI just sent an email to a c=
rypto expert at a partner company to ask for=0Ahis opinion is on that. My f=
eeling is that when we collect sufficient=0Aopinions on that the "truth" wi=
ll eventually emerge :)=0A=0AAs mentioned, I don't have a proper crypto bac=
kground, so during=0Arefactoring I made sure Axel's code remained just as i=
t was.=0A=0A=0AVladimir=0A=0A--=0AVladimir Dzhuvinov : www.NimbusDS.com : v=
ladimir@nimbusds.com=0A=0A=0A=0A=0A=0A-------- Original Message --------=0A=
Subject: Re: [jose] JWT + JOSE for Java=0AFrom: <Axel.Nennker@telekom.de>=
=0ADate: Thu, April 05, 2012 1:00 pm=0ATo: <juraj.somorovsky@rub.de>, <vlad=
imir@nimbusds.com>=0ACc: jose@ietf.org=0A=0A=0AHi Juraj,=0A=0AAs Vladimir's=
 work is based on my implementation I guess that my=0Aimplementation has ro=
om for improvement too.=0Ahttps://code.google.com/p/openinfocard/source/bro=
wse/trunk/src/org/xmldap/json/WebToken.java=0A=0AENC_ALG_RSA_OAEP is better=
 than ENC_ALG_RSA1_5. =0Ahttps://code.google.com/p/openinfocard/source/brow=
se/trunk/src/org/xmldap/json/WebToken.java#116=0A=0ABoth padding algorithms=
 are supported by my code and this RSA bulletin=0Amentions OAEP as one coun=
ter measure against the Bleichenbacher attack.=0Aftp://ftp.rsasecurity.com/=
pub/pdfs/bulletn7.pdf=0A=0ADoes "your" attack work against ENC_ALG_RSA_OAEP=
 too? Additional counter=0Ameasures suggestions are very welcome.=0A=0ARSA1=
_5 is in the proposed standard because it is widely available=0Aalthough RS=
A recommends to use OAEP for decades. =0AI think that RSA-OAEP should be ma=
ndatory to implement and RSA1_5=0Adeprecated.=0A=0ACheers. Greetings from B=
erlin to Bochum.=0AAxel=0A=0A=0A-----Original Message-----=0AFrom: jose-bou=
nces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of=0AJuraj Somorovsk=
y=0ASent: Thursday, April 05, 2012 1:13 AM=0ATo: vladimir@nimbusds.com=0ACc=
: jose@ietf.org=0ASubject: Re: [jose] JWT + JOSE for Java=0A=0AHi Vladimir,=
=0A=0AI have took a look at your implementation and found out, that your PK=
CS1=0Ahandling is vulnerable to the Bleichenbacher attack (the adversary co=
uld=0Abe able to issue different ciphertexts, send them to the server, and=
=0Aaccording to its responses he could learn the encrypted CEK)=0A=0AI will=
 send you PoCs and instructions how to fix it by tomorrow...or=0Ajust take =
a look at the document written by Eric Rescorla:=0Ahttp://www.ietf.org/rfc/=
rfc3218.txt=0A=0ARegards=0AJuraj=0A=0AOn 04/03/2012 11:24 AM, Vladimir Dzhu=
vinov / NimbusDS wrote:=0A> Today I reached a point in my JWT+JOSE library =
implementation where I =0A> wouldn't feel ashamed to release it to the publ=
ic :)=0A> =0A> https://github.com/NimbusDS/Nimbus-JWT=0A> =0A> The library =
is fully documented:=0A> http://nimbusds.com/files/jwt/javadoc/index.html=
=0A> =0A> =0A> The Nimbus-JWT library started a month ago from code borrowe=
d from =0A> Axel Nennker's + Co OpenInfoCard project and at this point cove=
rs =0A> fully plain and signed JWTs as well as JSON Web Keys (JWK). The JWE=
 =0A> implementation still requires a bit of work to add HMAC integrity and=
 =0A> cover the remaining elliptic curve and key-wrap encryption algorithms=
 =0A> from the JWA spec. I would be very thankful if somebody could help me=
 =0A> with that as I don't have much experience with cryptography :)=0A> =
=0A> For the listing of the supported JWAs:=0A> http://nimbusds.com/files/j=
wt/javadoc/com/nimbusds/jwt/JWA.html=0A> =0A> Cheers,=0A> =0A> Vladimir=0A>=
 --=0A> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com=0A> =
=0A> _______________________________________________=0A> jose mailing list=
=0A> jose@ietf.org=0A> https://www.ietf.org/mailman/listinfo/jose=0A=0A--=
=0AM.Sc. Juraj Somorovsky=0A=0ALehrstuhl f=C3=BCr Netz- und Datensicherheit=
=0ARuhr Universit=C3=A4t Bochum=0A-----------------------------------=0AUni=
versit=C3=A4tsstr. 150, Geb. ID 2/411=0AD-44780 Bochum=0A=0ATelefon: +49 (0=
) 234 / 32-26551=0AFax: +49 (0) 234 / 32-14347=0Ahttp://www.nds.rub.de=0A__=
_____________________________________________=0Ajose mailing list=0Ajose@ie=
tf.org=0Ahttps://www.ietf.org/mailman/listinfo/jose=0A_____________________=
__________________________=0Ajose mailing list=0Ajose@ietf.org=0Ahttps://ww=
w.ietf.org/mailman/listinfo/jose=0A

From vladimir@nimbusds.com  Thu Apr  5 07:18:05 2012
Return-Path: <vladimir@nimbusds.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D99421F8770 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:18:05 -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=-2.599, J_CHICKENPOX_34=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qEaHVzxhbTEF for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:18:04 -0700 (PDT)
Received: from n1plwbeout07-02.prod.ams1.secureserver.net (n1plsmtp07-02-02.prod.ams1.secureserver.net [188.121.52.107]) by ietfa.amsl.com (Postfix) with SMTP id 0E6BD21F8769 for <jose@ietf.org>; Thu,  5 Apr 2012 07:18:03 -0700 (PDT)
Received: (qmail 15756 invoked from network); 5 Apr 2012 14:18:02 -0000
Received: from unknown (HELO localhost) (188.121.52.245) by n1plwbeout07-02.prod.ams1.secureserver.net with SMTP; 5 Apr 2012 14:17:59 -0000
Received: (qmail 16763 invoked by uid 99); 5 Apr 2012 14:17:59 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 46.10.76.96
User-Agent: Workspace Webmail 5.6.15
Message-Id: <20120405071758.cc40c4f3d92d2001859047cd8cabb9ab.b5b15f820c.wbe@email07.europe.secureserver.net>
From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
To: Axel.Nennker@telekom.de, juraj.somorovsky@rub.de
Date: Thu, 05 Apr 2012 07:17:58 -0700
Mime-Version: 1.0
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 14:18:05 -0000

+1 in favour of deprecating RSA1_5 in favour of OAEP.=0A=0AOn Thu, 2012-04-=
05 at 13:04 +0000, Mike Scott wrote:=0A> Hello Vladimir,=0A> =0A> I would r=
ecommend OAEP. As I recall there were some obscure attacks on earlier propo=
sals from RSA.=0A> =0A> Mike=0A=0A--=0AVladimir Dzhuvinov : www.NimbusDS.co=
m : vladimir@nimbusds.com=0A =0A=0A=0A=0A-------- Original Message --------=
=0ASubject: Re: [jose] JWT + JOSE for Java=0AFrom: "Vladimir Dzhuvinov / Ni=
mbusDS" <vladimir@nimbusds.com>=0ADate: Thu, April 05, 2012 2:03 pm=0ATo: A=
xel.Nennker@telekom.de, juraj.somorovsky@rub.de=0ACc: jose@ietf.org=0A=0AHa=
llo Berlin, hallo Bochum, hallo Welt! :)=0A=0AI just sent an email to a cry=
pto expert at a partner company to ask for=0Ahis opinion is on that. My fee=
ling is that when we collect sufficient=0Aopinions on that the "truth" will=
 eventually emerge :)=0A=0AAs mentioned, I don't have a proper crypto backg=
round, so during=0Arefactoring I made sure Axel's code remained just as it =
was.=0A=0A=0AVladimir=0A=0A--=0AVladimir Dzhuvinov : www.NimbusDS.com : vla=
dimir@nimbusds.com=0A=0A=0A=0A=0A=0A-------- Original Message --------=0ASu=
bject: Re: [jose] JWT + JOSE for Java=0AFrom: <Axel.Nennker@telekom.de>=0AD=
ate: Thu, April 05, 2012 1:00 pm=0ATo: <juraj.somorovsky@rub.de>, <vladimir=
@nimbusds.com>=0ACc: jose@ietf.org=0A=0A=0AHi Juraj,=0A=0AAs Vladimir's wor=
k is based on my implementation I guess that my=0Aimplementation has room f=
or improvement too.=0Ahttps://code.google.com/p/openinfocard/source/browse/=
trunk/src/org/xmldap/json/WebToken.java=0A=0AENC_ALG_RSA_OAEP is better tha=
n ENC_ALG_RSA1_5. =0Ahttps://code.google.com/p/openinfocard/source/browse/t=
runk/src/org/xmldap/json/WebToken.java#116=0A=0ABoth padding algorithms are=
 supported by my code and this RSA bulletin=0Amentions OAEP as one counter =
measure against the Bleichenbacher attack.=0Aftp://ftp.rsasecurity.com/pub/=
pdfs/bulletn7.pdf=0A=0ADoes "your" attack work against ENC_ALG_RSA_OAEP too=
? Additional counter=0Ameasures suggestions are very welcome.=0A=0ARSA1_5 i=
s in the proposed standard because it is widely available=0Aalthough RSA re=
commends to use OAEP for decades. =0AI think that RSA-OAEP should be mandat=
ory to implement and RSA1_5=0Adeprecated.=0A=0ACheers. Greetings from Berli=
n to Bochum.=0AAxel=0A=0A=0A-----Original Message-----=0AFrom: jose-bounces=
@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of=0AJuraj Somorovsky=0A=
Sent: Thursday, April 05, 2012 1:13 AM=0ATo: vladimir@nimbusds.com=0ACc: jo=
se@ietf.org=0ASubject: Re: [jose] JWT + JOSE for Java=0A=0AHi Vladimir,=0A=
=0AI have took a look at your implementation and found out, that your PKCS1=
=0Ahandling is vulnerable to the Bleichenbacher attack (the adversary could=
=0Abe able to issue different ciphertexts, send them to the server, and=0Aa=
ccording to its responses he could learn the encrypted CEK)=0A=0AI will sen=
d you PoCs and instructions how to fix it by tomorrow...or=0Ajust take a lo=
ok at the document written by Eric Rescorla:=0Ahttp://www.ietf.org/rfc/rfc3=
218.txt=0A=0ARegards=0AJuraj=0A=0AOn 04/03/2012 11:24 AM, Vladimir Dzhuvino=
v / NimbusDS wrote:=0A> Today I reached a point in my JWT+JOSE library impl=
ementation where I =0A> wouldn't feel ashamed to release it to the public :=
)=0A> =0A> https://github.com/NimbusDS/Nimbus-JWT=0A> =0A> The library is f=
ully documented:=0A> http://nimbusds.com/files/jwt/javadoc/index.html=0A> =
=0A> =0A> The Nimbus-JWT library started a month ago from code borrowed fro=
m =0A> Axel Nennker's + Co OpenInfoCard project and at this point covers =
=0A> fully plain and signed JWTs as well as JSON Web Keys (JWK). The JWE =
=0A> implementation still requires a bit of work to add HMAC integrity and =
=0A> cover the remaining elliptic curve and key-wrap encryption algorithms =
=0A> from the JWA spec. I would be very thankful if somebody could help me =
=0A> with that as I don't have much experience with cryptography :)=0A> =0A=
> For the listing of the supported JWAs:=0A> http://nimbusds.com/files/jwt/=
javadoc/com/nimbusds/jwt/JWA.html=0A> =0A> Cheers,=0A> =0A> Vladimir=0A> --=
=0A> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com=0A> =0A>=
 _______________________________________________=0A> jose mailing list=0A> =
jose@ietf.org=0A> https://www.ietf.org/mailman/listinfo/jose=0A=0A--=0AM.Sc=
. Juraj Somorovsky=0A=0ALehrstuhl f=C3=BCr Netz- und Datensicherheit=0ARuhr=
 Universit=C3=A4t Bochum=0A-----------------------------------=0AUniversit=
=C3=A4tsstr. 150, Geb. ID 2/411=0AD-44780 Bochum=0A=0ATelefon: +49 (0) 234 =
/ 32-26551=0AFax: +49 (0) 234 / 32-14347=0Ahttp://www.nds.rub.de=0A________=
_______________________________________=0Ajose mailing list=0Ajose@ietf.org=
=0Ahttps://www.ietf.org/mailman/listinfo/jose=0A___________________________=
____________________=0Ajose mailing list=0Ajose@ietf.org=0Ahttps://www.ietf=
.org/mailman/listinfo/jose=0A=0A___________________________________________=
____=0Ajose mailing list=0Ajose@ietf.org=0Ahttps://www.ietf.org/mailman/lis=
tinfo/jose=0A

From ve7jtb@ve7jtb.com  Thu Apr  5 07:28:38 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F323121F853E for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:28:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eLvTApOsiuPR for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:28:37 -0700 (PDT)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id E156221F853D for <jose@ietf.org>; Thu,  5 Apr 2012 07:28:36 -0700 (PDT)
Received: by vcbfk13 with SMTP id fk13so687478vcb.31 for <jose@ietf.org>; Thu, 05 Apr 2012 07:28:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=HEWDIcBKWJXnh3CEQRscXkJATATlTPx6My/J3VghByg=; b=Oh2UC490XOX+PxbLl+tBeCluDIp9EAiDLLbrew8h/LdQuDo3XsMHvVOeZuiWuuL5q/ koJg7pA+/vu85+ppbznjWJYQikQ21/GIzWo9iPO7AHM2p0HEWe3Y8geaf/jbzpGmkL8V vMibmp8rfmQTckNzDthVVHVd6LxC0DqQ6/svaHcgKUgVTk5FRHzf7H/g1znEMF9j1ZvF vBQLAx5IbM6bvh+gSowMwEpTUz8sscg4+DsWw1Yp98Dl5Oyx1PMHeaM0KEU/yswS5U6o sC7kXet9TK2hCTrXQfH7fqs7FSJ35vS3T+1TDgG8waM7htKzMGbgPvMaj0BcLckPUTg6 tpRw==
Received: by 10.52.73.102 with SMTP id k6mr1665654vdv.57.1333636116350; Thu, 05 Apr 2012 07:28:36 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id jz16sm4536471vdb.9.2012.04.05.07.28.31 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 07:28:34 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_BAAF2983-4884-4500-A1AC-C79E06C073C6"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com>
Date: Thu, 5 Apr 2012 11:28:18 -0300
Message-Id: <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com>
To: Matt Miller <mamille2@cisco.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQmtN81yQyzDZZla7jq8XBI8keeGEIIaO4YJsTnV8UGN8f/VcRv4WE5b2R/n/53kqsYxmmBy
Cc: Brian Campbell <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 14:28:38 -0000

--Apple-Mail=_BAAF2983-4884-4500-A1AC-C79E06C073C6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

A couple of observations.

The current proposal provides integrity over the header,  a new AEAD alg =
doesn't do that.
Low level crypto is a challenge.   Re-using standard underlying =
algorithms like HMAC and AES-CBC allow for JS and other libs to call =
standard lower level crypto functions.

I am not against having another AEAD alg,  but want to help people =
understand the current design choice.

John B.
On 2012-04-05, at 9:49 AM, Matt Miller wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Another way around the conditional in application-space is to define =
an AEAD algorithm composed of an encryption and hashing function.  This =
seems like a reasonable place to start looking at one: < =
http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>=20
> On Apr 4, 2012, at 17:42, John Bradley wrote:
>=20
>> The use of a single key across two functions is one of things that is =
not provably without problems.
>>=20
>> I agree that from an implementers point of view one key is simpler.
>>=20
>> There is a related-key attack that using the same key would enable.  =
This can be combined with differential and linear attacks on symmetric =
key cyphers.
>>=20
>> Generally this can be thought of as a bad thing.
>>=20
>> What is certain is that it increases the possible attack surface,  =
and if the is a problem discovered as we have seen with AES-CBC it is =
going to be hard to change later.
>>=20
>> We need key derivation anyway for ECDH-ES to produce a key of the =
correct bit length.
>>=20
>> Doing key derivation on CMK is the theoretically proper way to do it.
>> Making a simplification might bite us in the future.
>>=20
>> I suppose one way to get around the conditional application argument =
is to always use it to produce the CEK even with AEAD algorithms.
>>=20
>> Regards
>> John B.
>>=20
>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>=20
>>> Hi all,
>>>=20
>>> I was hoping someone could help me (hopefully it's not just me!)
>>> understand the reasons for the introduction of the key derivation
>>> stuff* into JWE draft -01?
>>>=20
>>> I understand that it's there to derive the two keys, CEK and CIK, =
from
>>> the CMK and that it is to be done when a non-AEAD algorithm is used =
to
>>> encrypt the content. But what is the value of deriving the two keys =
as
>>> apposed to using the CMK for both encryption and integrity?
>>>=20
>>> Perhaps naively I assumed that using the CMK for both would be
>>> sufficient.  It's randomly generated and used only for the one JWE.
>>> It's not clear to me what benefit is provided by the additional
>>> complexity of the derivation function as well as its conditional
>>> application (and the potential interoperability problems that come
>>> with such complexity). I assume there's some security benefit? But I
>>> can't see what it is.
>>>=20
>>> Any help would be appreciated.
>>> Thanks,
>>> Brian
>>>=20
>>> * =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
7
>>> which is referenced by
>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
5
>>> and =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
6
>>> _______________________________________________
>>> 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
>=20
>=20
> - - m&m
>=20
> Matt Miller - <mamille2@cisco.com>
> Cisco Systems, Inc.
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>=20
> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVqzQj
> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR8kx
> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvLy
> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb+
> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fbY
> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDGz/I=3D
> =3D174E
> -----END PGP SIGNATURE-----


--Apple-Mail=_BAAF2983-4884-4500-A1AC-C79E06C073C6
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3D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zm7sC2uecSUDqZsNYpAagsuSmqmLYi4s4Z2rTRHStSz5BG8l0LxrdkY2BDHbR7r4in/dTFoWy
7re2NCAOdpGSvrhDnW12dMQHiwZCf9UQM5Y5QTzIKFsXb1tIblUt7bHgQsywy3yY9eCNA1mftYY5
usiSI5H2fJXmuRcap4FDWA+WEA2IJAHdbrQVGYziuqaK2YIKGjpOrqHWFxsmeJ1mtkMx14ElWou8
oASKAAyyBKv94sbRFKQ+7+hqJ0Peo2EcRyx1FZUAAAAAAAA=

--Apple-Mail=_BAAF2983-4884-4500-A1AC-C79E06C073C6--

From mamille2@cisco.com  Thu Apr  5 07:51:02 2012
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F5A321F86C6 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i3Jcbjkm8184 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:51:01 -0700 (PDT)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id 485A521F86BE for <jose@ietf.org>; Thu,  5 Apr 2012 07:50:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mamille2@cisco.com; l=4827; q=dns/txt; s=iport; t=1333637455; x=1334847055; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=a/Q6fG7Avngfv7McY/JPHyEM0JhwdXfFgE7Ahh2K+Q4=; b=g7Bm+LaBUeMZ4avRsX9lrWjpwPaMPH7k/EGwSgXimmZUIDLCFJ6rIG1P zz442FtMtTDa86npBK2C4fm4YoAEI0W0Q3DQJVsoPclwPaYy1EK96WvKa ZbH/eqgVUcv5Fm+y9PcyvCX3BVIN4hfVM6kaB1mNzIz0YxTgBfWCGLl/5 w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAEKwfU+rRDoH/2dsb2JhbABDuHaBB4IJAQEBAwEBAQEPASc0CwULCw4KLicwBhMih2cEAQufQpgVj3djBIhZjRKBEY06gWmDBg
X-IronPort-AV: E=Sophos;i="4.75,375,1330905600"; d="scan'208";a="39209049"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-2.cisco.com with ESMTP; 05 Apr 2012 14:50:54 +0000
Received: from dhcp-64-101-72-208.cisco.com (dhcp-64-101-72-208.cisco.com [64.101.72.208]) by mtv-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id q35EorfL024926; Thu, 5 Apr 2012 14:50:53 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>
Date: Thu, 5 Apr 2012 08:50:53 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>
To: John Bradley <ve7jtb@ve7jtb.com>
X-Pgp-Agent: GPGMail 1.3.3
X-Mailer: Apple Mail (2.1084)
Cc: Brian Campbell <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 14:51:02 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Apr 5, 2012, at 08:28, John Bradley wrote:

> A couple of observations.
>=20
> The current proposal provides integrity over the header,  a new AEAD =
alg doesn't do that.

The current proposal does not provide this for existing AEAD algorithms.=20=


> Low level crypto is a challenge.   Re-using standard underlying =
algorithms like HMAC and AES-CBC allow for JS and other libs to call =
standard lower level crypto functions.
>=20

The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256 and =
HMAC-SHA-256); it's not any more low-level than the non-AEAD path =
specified in JWE.

> I am not against having another AEAD alg,  but want to help people =
understand the current design choice.
>=20

The benefit is to have a single path through the use of algorithms.  It =
puts the differences into the algorithm implementations, which is where =
they should be.

> John B.
> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>=20
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>=20
>> Another way around the conditional in application-space is to define =
an AEAD algorithm composed of an encryption and hashing function.  This =
seems like a reasonable place to start looking at one: < =
http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>>=20
>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>=20
>>> The use of a single key across two functions is one of things that =
is not provably without problems.
>>>=20
>>> I agree that from an implementers point of view one key is simpler.
>>>=20
>>> There is a related-key attack that using the same key would enable.  =
This can be combined with differential and linear attacks on symmetric =
key cyphers.
>>>=20
>>> Generally this can be thought of as a bad thing.
>>>=20
>>> What is certain is that it increases the possible attack surface,  =
and if the is a problem discovered as we have seen with AES-CBC it is =
going to be hard to change later.
>>>=20
>>> We need key derivation anyway for ECDH-ES to produce a key of the =
correct bit length.
>>>=20
>>> Doing key derivation on CMK is the theoretically proper way to do =
it.
>>> Making a simplification might bite us in the future.
>>>=20
>>> I suppose one way to get around the conditional application argument =
is to always use it to produce the CEK even with AEAD algorithms.
>>>=20
>>> Regards
>>> John B.
>>>=20
>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>=20
>>>> Hi all,
>>>>=20
>>>> I was hoping someone could help me (hopefully it's not just me!)
>>>> understand the reasons for the introduction of the key derivation
>>>> stuff* into JWE draft -01?
>>>>=20
>>>> I understand that it's there to derive the two keys, CEK and CIK, =
from
>>>> the CMK and that it is to be done when a non-AEAD algorithm is used =
to
>>>> encrypt the content. But what is the value of deriving the two keys =
as
>>>> apposed to using the CMK for both encryption and integrity?
>>>>=20
>>>> Perhaps naively I assumed that using the CMK for both would be
>>>> sufficient.  It's randomly generated and used only for the one JWE.
>>>> It's not clear to me what benefit is provided by the additional
>>>> complexity of the derivation function as well as its conditional
>>>> application (and the potential interoperability problems that come
>>>> with such complexity). I assume there's some security benefit? But =
I
>>>> can't see what it is.
>>>>=20
>>>> Any help would be appreciated.
>>>> Thanks,
>>>> Brian
>>>>=20
>>>> * =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
7
>>>> which is referenced by
>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
5
>>>> and =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
6
>>>> _______________________________________________
>>>> 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


- - m&m

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJPfbFOAAoJEJq6Ou0cgrSPPSAH/jyPOD3BKP/bYlq5fh2N+J/l
63kyL3oo+wN++Ifm1TF+6d5DYD3OIht7HrzcJsek8haEEeUVgjFaDqJNQmbPmX4I
x4n8AZedPMq37a13k35r25OefqtNgfctVPowDAXlWDRUXvpqKB8yfTNDcCJNvAVh
i8PEKO3EUeYGGehVLMWfZ61zupxGbS3p4PBV4SuIlQFYAeVDjlXLorxt6JKMu0H9
ZKGkSaHhXR8SprMEoASAWXD/PzJhXbLka3dAGxOiFL8YBGb0ei/Fxt+LdlATSpa7
Jq4FrURTG6RzJDgOX5Mi6AFL4ke/GVinksz5SXwrMe9i74bt+8LYjptvGYWKPiw=3D
=3D1hMy
-----END PGP SIGNATURE-----

From ve7jtb@ve7jtb.com  Thu Apr  5 07:51:46 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EB9021F86C3 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level: 
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fZ+-nk+aifbp for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 07:51:44 -0700 (PDT)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 967E121F86C2 for <jose@ietf.org>; Thu,  5 Apr 2012 07:51:43 -0700 (PDT)
Received: by vcbfk13 with SMTP id fk13so706042vcb.31 for <jose@ietf.org>; Thu, 05 Apr 2012 07:51:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=4xNdx+NdjCIINUbHK5r0RFE6f3FqTQxmSvY/jeClwHk=; b=I+UsnDt+lbJ38wWjYQO9Z8NI8g41mI2ozsUTTYzO1sUM1q8GDj+I6IwPxJJAkjZDT7 uYn0cubrYCDqLZYC7fFsEz1ts/LBkVE0jH8nHFDePYEAMwPUN+FpAbGJ00WbQr0E6ME6 30Rx0C4pykBmpgfU3xeLgMWojPpNFN6FESJOv7gGO9HHm+cQeAjHkuJVWU6KGV7aEo4G B3mc2CBSchdTR7O3r+HZIAjvismnMpP40jVVWb7lMS8dISX6tTMnmvr5FYqxhxg73ezv 0wUFzksvxphBBgFwiNwG8F/PdehBSyhHWjXcrCOvKeNm9bcrymvlcx3N0C/12z3d/Xl2 V3BQ==
Received: by 10.52.28.178 with SMTP id c18mr1715063vdh.45.1333637503132; Thu, 05 Apr 2012 07:51:43 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id cp2sm4599313vdb.3.2012.04.05.07.51.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 07:51:41 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_CAA4BB4E-5537-4792-B192-4415725EA78C"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <20120405071758.cc40c4f3d92d2001859047cd8cabb9ab.b5b15f820c.wbe@email07.europe.secureserver.net>
Date: Thu, 5 Apr 2012 11:51:06 -0300
Message-Id: <F252B69E-2E85-4AAE-8851-89FF20DD8D0C@ve7jtb.com>
References: <20120405071758.cc40c4f3d92d2001859047cd8cabb9ab.b5b15f820c.wbe@email07.europe.secureserver.net>
To: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkp55xAxfkwG22QjK9qIH8Um+zHQAMhlY/NellKvgXBnQbbsYQxGZ+Ok6mjrm7Wus9rELJB
Cc: jose@ietf.org, Axel.Nennker@telekom.de, juraj.somorovsky@rub.de
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 14:51:46 -0000

--Apple-Mail=_CAA4BB4E-5537-4792-B192-4415725EA78C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

I have been pro OAEP for a long time.  I think we had OAEP as the =
default in the earlier JSS spec.

The question always comes back to deployability.   PKCS#1_5 is available =
more places.

I am interested in peoples opinions especialy developers and library =
people.

John B.
On 2012-04-05, at 11:17 AM, Vladimir Dzhuvinov / NimbusDS wrote:

> +1 in favour of deprecating RSA1_5 in favour of OAEP.
>=20
> On Thu, 2012-04-05 at 13:04 +0000, Mike Scott wrote:
>> Hello Vladimir,
>>=20
>> I would recommend OAEP. As I recall there were some obscure attacks =
on earlier proposals from RSA.
>>=20
>> Mike
>=20
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
>=20
>=20
>=20
>=20
> -------- Original Message --------
> Subject: Re: [jose] JWT + JOSE for Java
> From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
> Date: Thu, April 05, 2012 2:03 pm
> To: Axel.Nennker@telekom.de, juraj.somorovsky@rub.de
> Cc: jose@ietf.org
>=20
> Hallo Berlin, hallo Bochum, hallo Welt! :)
>=20
> I just sent an email to a crypto expert at a partner company to ask =
for
> his opinion is on that. My feeling is that when we collect sufficient
> opinions on that the "truth" will eventually emerge :)
>=20
> As mentioned, I don't have a proper crypto background, so during
> refactoring I made sure Axel's code remained just as it was.
>=20
>=20
> Vladimir
>=20
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
>=20
>=20
>=20
>=20
>=20
> -------- Original Message --------
> Subject: Re: [jose] JWT + JOSE for Java
> From: <Axel.Nennker@telekom.de>
> Date: Thu, April 05, 2012 1:00 pm
> To: <juraj.somorovsky@rub.de>, <vladimir@nimbusds.com>
> Cc: jose@ietf.org
>=20
>=20
> Hi Juraj,
>=20
> As Vladimir's work is based on my implementation I guess that my
> implementation has room for improvement too.
> =
https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/=
json/WebToken.java
>=20
> ENC_ALG_RSA_OAEP is better than ENC_ALG_RSA1_5.=20
> =
https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/=
json/WebToken.java#116
>=20
> Both padding algorithms are supported by my code and this RSA bulletin
> mentions OAEP as one counter measure against the Bleichenbacher =
attack.
> ftp://ftp.rsasecurity.com/pub/pdfs/bulletn7.pdf
>=20
> Does "your" attack work against ENC_ALG_RSA_OAEP too? Additional =
counter
> measures suggestions are very welcome.
>=20
> RSA1_5 is in the proposed standard because it is widely available
> although RSA recommends to use OAEP for decades.=20
> I think that RSA-OAEP should be mandatory to implement and RSA1_5
> deprecated.
>=20
> Cheers. Greetings from Berlin to Bochum.
> Axel
>=20
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of
> Juraj Somorovsky
> Sent: Thursday, April 05, 2012 1:13 AM
> To: vladimir@nimbusds.com
> Cc: jose@ietf.org
> Subject: Re: [jose] JWT + JOSE for Java
>=20
> Hi Vladimir,
>=20
> I have took a look at your implementation and found out, that your =
PKCS1
> handling is vulnerable to the Bleichenbacher attack (the adversary =
could
> be able to issue different ciphertexts, send them to the server, and
> according to its responses he could learn the encrypted CEK)
>=20
> I will send you PoCs and instructions how to fix it by tomorrow...or
> just take a look at the document written by Eric Rescorla:
> http://www.ietf.org/rfc/rfc3218.txt
>=20
> Regards
> Juraj
>=20
> On 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:
>> Today I reached a point in my JWT+JOSE library implementation where I=20=

>> wouldn't feel ashamed to release it to the public :)
>>=20
>> https://github.com/NimbusDS/Nimbus-JWT
>>=20
>> The library is fully documented:
>> http://nimbusds.com/files/jwt/javadoc/index.html
>>=20
>>=20
>> The Nimbus-JWT library started a month ago from code borrowed from=20
>> Axel Nennker's + Co OpenInfoCard project and at this point covers=20
>> fully plain and signed JWTs as well as JSON Web Keys (JWK). The JWE=20=

>> implementation still requires a bit of work to add HMAC integrity and=20=

>> cover the remaining elliptic curve and key-wrap encryption algorithms=20=

>> from the JWA spec. I would be very thankful if somebody could help me=20=

>> with that as I don't have much experience with cryptography :)
>>=20
>> For the listing of the supported JWAs:
>> http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/JWA.html
>>=20
>> Cheers,
>>=20
>> Vladimir
>> --
>> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
>>=20
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>=20
> --
> M.Sc. Juraj Somorovsky
>=20
> Lehrstuhl f=FCr Netz- und Datensicherheit
> Ruhr Universit=E4t Bochum
> -----------------------------------
> Universit=E4tsstr. 150, Geb. ID 2/411
> D-44780 Bochum
>=20
> Telefon: +49 (0) 234 / 32-26551
> Fax: +49 (0) 234 / 32-14347
> http://www.nds.rub.de
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>=20
> _______________________________________________
> 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


--Apple-Mail=_CAA4BB4E-5537-4792-B192-4415725EA78C
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMCQ0wxIjAgBgNVBAgTGU1ldHJvcG9saXRhbmEgZGUgU2FudGlhZ28xFjAU
BgNVBAcTDUlzbGEgZGUgTWFpcG8xFTATBgNVBAMTDEpvaG4gQnJhZGxleTEeMBwGCSqGSIb3DQEJ
ARYPamJyYWRsZXlAbWUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAskrlBI93
rBTLOQGSwIT6co6dAw/rwDPrRXl6/F2o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W5nMTgwNgYDVQQDEy9TdGFydENvbSBD
bGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQICHlwwgaYGCyqGSIb3DQEJEAIL
MYGWoIGTMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
ABmM6HaCkpXAcH8y/wBkzmWCu3qmoGsxK/CdUJndIhPV4oXf4SU+1wg9flCUkQtGGhi7vM66i3fK
BJLGfMLfKlC3gxNWv/talu1jZHwgZHGI88Q20SUKv2jUEGkZj9gFt4W30H/WDSbWilgq6nFEm5v4
qK+XVHImantyFpUHsAXjEu8jKKWtubnrBPSKhz36mgBftZTq1F+noItOAEWckTrs/NNaIV12h6Rj
cdzyt7+L8EcGzZqenJvxCCJCwlQcxJvkKm2qjzkPwogjir+M5zQu887/IjCLeaB1R/41Kp0VIT21
CNVfO7YpMs0Tyxg41VESM/pIz5kA/v8MSM1XJ8UAAAAAAAA=

--Apple-Mail=_CAA4BB4E-5537-4792-B192-4415725EA78C--

From Michael.Jones@microsoft.com  Thu Apr  5 08:08:02 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16F9C21F8618 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=0.001,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KJ9Tj978TCf9 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:08:01 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe003.messaging.microsoft.com [216.32.181.183]) by ietfa.amsl.com (Postfix) with ESMTP id 4615821F85A2 for <jose@ietf.org>; Thu,  5 Apr 2012 08:08:01 -0700 (PDT)
Received: from mail160-ch1-R.bigfish.com (10.43.68.239) by CH1EHSOBE007.bigfish.com (10.43.70.57) with Microsoft SMTP Server id 14.1.225.23; Thu, 5 Apr 2012 15:08:00 +0000
Received: from mail160-ch1 (localhost [127.0.0.1])	by mail160-ch1-R.bigfish.com (Postfix) with ESMTP id 423F624048B; Thu,  5 Apr 2012 15:08:00 +0000 (UTC)
X-SpamScore: -31
X-BigFish: VS-31(zz9371I542M1447Mzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839h944hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC101.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail160-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail160-ch1 (localhost.localdomain [127.0.0.1]) by mail160-ch1 (MessageSwitch) id 1333638479168229_3284; Thu,  5 Apr 2012 15:07:59 +0000 (UTC)
Received: from CH1EHSMHS028.bigfish.com (snatpool3.int.messaging.microsoft.com [10.43.68.225])	by mail160-ch1.bigfish.com (Postfix) with ESMTP id 1EAA34C005B;	Thu,  5 Apr 2012 15:07:59 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS028.bigfish.com (10.43.70.28) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 5 Apr 2012 15:07:58 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.02.0283.004; Thu, 5 Apr 2012 15:07:29 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Vladimir Dzhuvinov / NimbusDS <vladimir@nimbusds.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] JWE and the Initialisation Vector (iv)
Thread-Index: AQHNEXnQAz5+sojiVE+/NzMulflYkZaMWG4w
Date: Thu, 5 Apr 2012 15:07:28 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739436645B05C@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <20120403021130.cc40c4f3d92d2001859047cd8cabb9ab.5dd95571f3.wbe@email07.europe.secureserver.net>
In-Reply-To: <20120403021130.cc40c4f3d92d2001859047cd8cabb9ab.5dd95571f3.wbe@email07.europe.secureserver.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] JWE and the Initialisation Vector (iv)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:08:02 -0000

Yes, the language about "prepended" is in error, and will be removed in the=
 next draft.

Thanks for the comments based upon your implementation work!

				-- Mike

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Vla=
dimir Dzhuvinov / NimbusDS
Sent: Tuesday, April 03, 2012 2:12 AM
To: jose@ietf.org
Subject: [jose] JWE and the Initialisation Vector (iv)

Hi guys,

http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-8=
.2

says "for GCM, the random 64-bit IV is prepended to the ciphertext."

Isn't the JWE "iv" header parameter meant to store the IV bytes?

Vladimir
--
Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com

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



From ve7jtb@ve7jtb.com  Thu Apr  5 08:12:14 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88FB221F871C for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:12:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.498
X-Spam-Level: 
X-Spam-Status: No, score=-3.498 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C4YoJ+7p9f-K for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:12:13 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 8CFF721F8716 for <jose@ietf.org>; Thu,  5 Apr 2012 08:12:13 -0700 (PDT)
Received: by ggmi1 with SMTP id i1so841902ggm.31 for <jose@ietf.org>; Thu, 05 Apr 2012 08:12:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=Jqe95oqx4273FVvrSe7DHlueTowTvDJBOuIW87fDWes=; b=SMvfEi4LJ6bMR+ez7HcVSR5ai8T5nLKZPuAEoJqaRQnGG+hPyKneEZKSPuLh9hWeDe Oq+36XG+6V44zjGM46y3oOg23VKeny9tO7ToWWJAy8G5CcYHzePOVFdrQUWPl53avX2E xMsooLr3DB4zp4i9UgnWRwo+mirOcY6/75uFvJoNJwuEC+uQLpmUgSjuPQWnAgpnA1HR qLMfQX4fsr2G7Daqp1kWKmwNxZw3F6CK9+PUGLR3YIa76EvD4ArZJX6VOEAdwLQ/DLmA 89dVmJPVSkmRtA5UBvNzFjSi/Q0CnscLOmiq6y3rUEs5fZ4erFrzfyGMec3hPaJGTYs4 A3RA==
Received: by 10.236.170.70 with SMTP id o46mr2451836yhl.122.1333638733141; Thu, 05 Apr 2012 08:12:13 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id x10sm16100502yhm.12.2012.04.05.08.12.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 08:12:12 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_CADF6201-46DD-4B81-BF16-754F72153944"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com>
Date: Thu, 5 Apr 2012 12:12:05 -0300
Message-Id: <4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com>
To: Matt Miller <mamille2@cisco.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQl8XHxy4gB299INMOl4Tuc8j2adxfjGCph7HyW960ENG23LXLWO3fWUUp913PGDJPKqEHjf
Cc: Brian Campbell <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:12:14 -0000

--Apple-Mail=_CADF6201-46DD-4B81-BF16-754F72153944
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_60A5F776-08BB-48BB-97B3-485DD8B6A225"


--Apple-Mail=_60A5F776-08BB-48BB-97B3-485DD8B6A225
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 2012-04-05, at 11:50 AM, Matt Miller wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
>=20
> On Apr 5, 2012, at 08:28, John Bradley wrote:
>=20
>> A couple of observations.
>>=20
>> The current proposal provides integrity over the header,  a new AEAD =
alg doesn't do that.
>=20
> The current proposal does not provide this for existing AEAD =
algorithms.=20

True that is an advantage the composite CBC + HMAC has over GCM.

>=20
>> Low level crypto is a challenge.   Re-using standard underlying =
algorithms like HMAC and AES-CBC allow for JS and other libs to call =
standard lower level crypto functions.
>>=20
>=20
> The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256 and =
HMAC-SHA-256); it's not any more low-level than the non-AEAD path =
specified in JWE.

I will have another look at it.
>=20
>> I am not against having another AEAD alg,  but want to help people =
understand the current design choice.
>>=20
>=20
> The benefit is to have a single path through the use of algorithms.  =
It puts the differences into the algorithm implementations, which is =
where they should be.
>=20
There is no AES-CBC option without HMAC.  Perhaps we should net be =
calling it AES-CBC in JWA.

John B.

>> John B.
>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>=20


--Apple-Mail=_60A5F776-08BB-48BB-97B3-485DD8B6A225
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On 2012-04-05, at 11:50 AM, Matt Miller wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: =
SHA1<br><br><br>On Apr 5, 2012, at 08:28, John Bradley =
wrote:<br><br><blockquote type=3D"cite">A couple of =
observations.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">The current =
proposal provides integrity over the header, &nbsp;a new AEAD alg =
doesn't do that.<br></blockquote><br>The current proposal does not =
provide this for existing AEAD algorithms. =
<br></div></blockquote><div><br></div>True that is an advantage the =
composite CBC + HMAC has over GCM.</div><div><br><blockquote =
type=3D"cite"><div><br><blockquote type=3D"cite">Low level crypto is a =
challenge. &nbsp;&nbsp;Re-using standard underlying algorithms like HMAC =
and AES-CBC allow for JS and other libs to call standard lower level =
crypto functions.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><br>The draft I noted uses AES-CBC-128 =
and HMAC-SHA1 (or AES-CBC-256 and HMAC-SHA-256); it's not any more =
low-level than the non-AEAD path specified in =
JWE.<br></div></blockquote><div><br></div>I will have another look at =
it.<br><blockquote type=3D"cite"><div><br><blockquote type=3D"cite">I am =
not against having another AEAD alg, &nbsp;but want to help people =
understand the current design choice.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><br>The benefit is to have a single path =
through the use of algorithms. &nbsp;It puts the differences into the =
algorithm implementations, which is where they should =
be.<br><br></div></blockquote><div>There is no AES-CBC option without =
HMAC. &nbsp;Perhaps we should net be calling it AES-CBC in =
JWA.</div><div><br></div><div>John B.</div><br><blockquote =
type=3D"cite"><div><blockquote type=3D"cite">John =
B.<br></blockquote><blockquote type=3D"cite">On 2012-04-05, at 9:49 AM, =
Matt Miller wrote:<br></blockquote><blockquote type=3D"cite"><font =
class=3D"Apple-style-span" =
color=3D"#650702"><br></font></blockquote></div></blockquote></div><br></b=
ody></html>=

--Apple-Mail=_60A5F776-08BB-48BB-97B3-485DD8B6A225--

--Apple-Mail=_CADF6201-46DD-4B81-BF16-754F72153944
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMCQ0wxIjAgBgNVBAgTGU1ldHJvcG9saXRhbmEgZGUgU2FudGlhZ28xFjAU
BgNVBAcTDUlzbGEgZGUgT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OXDdm5oX1RHO6BIYhzOCXwburddMIGkBgkrBgEEAYI3
EAQxgZYwgZMwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQL
EyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBD
bGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQICHlwwgaYGCyqGSIb3DQEJEAIL
MYGWoIGTMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
ABxRyOtIYFxlMnI7+zcmIHn4bAZbEB/4B+7fLJmEckXhZc/5xtfKDf4KuInRYIl8qvpJxuEjqIEM
MUvFQDGx8S5R7HqlLZ54qLvp/BsSDMUoP21lc4he0W79A9hGEBRgtWKbwQ2RSNe/EWsZhST3Ppz2
bWIrshNxE7Cyfb3cYMXnwCf6+1Q0YpY06aqipzjNEh6ehVf7P5gYl15YCpctZErG0Bq+GxMPSP0e
tckx/ShleiKAQJ7rd44YkECHM7PSaprzx/zQrN8EGFT6X8lHMdD+eX6f/z2NDEiitl4WkBWlSHek
h4V+iuwKHxoBwS76jBh+wosq3pcYe6ulb6aaLNEAAAAAAAA=

--Apple-Mail=_CADF6201-46DD-4B81-BF16-754F72153944--

From juraj.somorovsky@rub.de  Thu Apr  5 08:29:43 2012
Return-Path: <juraj.somorovsky@rub.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4AF721F86D8 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:29:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.049
X-Spam-Level: 
X-Spam-Status: No, score=-5.049 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_34=0.6, J_CHICKENPOX_47=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M05RB1KeN9Sp for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:29:42 -0700 (PDT)
Received: from mx6.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.30]) by ietfa.amsl.com (Postfix) with SMTP id 193C521F86D3 for <jose@ietf.org>; Thu,  5 Apr 2012 08:29:41 -0700 (PDT)
X-Queued: (qmail 8788 invoked by alias); 5 Apr 2012 15:29:41 -0000
X-Queued: (qmail 8775 invoked from network); 5 Apr 2012 15:29:40 -0000
Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx6.rz.ruhr-uni-bochum.de with SMTP; 5 Apr 2012 15:29:40 -0000
X-Queued: (qmail 10128 invoked by uid 281); 5 Apr 2012 15:29:40 -0000
X-Qmailscanner: from 134.147.40.78 (7Cil8M2CiUxYjUvpkaF/yQ==@134.147.40.78) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from <juraj.somorovsky@rub.de>, uid 80) with qmail-scanner-2.01  (sophie: 3.05/3.29/4.75.  Clear:RC:1(134.147.40.78):.  Processed in 0.038314 secs); 05 Apr 2012 15:29:40 -0000
Received: from jontop.nds.ruhr-uni-bochum.de (HELO ?134.147.40.78?) (7Cil8M2CiUxYjUvpkaF/yQ==@134.147.40.78) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-CAMELLIA256-SHA encrypted) SMTP; 5 Apr 2012 15:29:40 -0000
Date: 5 Apr 2012 17:29:39 +0200
Message-ID: <4F7DBA63.3020503@rub.de>
From: "Juraj Somorovsky" <juraj.somorovsky@rub.de>
To: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0
MIME-Version: 1.0
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net>
In-Reply-To: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: jose@ietf.org, Axel.Nennker@telekom.de
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:29:43 -0000

Hi :)

ok, I'll try to explain the Bleichenbacher attack in few sentences...

If you construct your ciphertext using PKCS1, you take your symmetric
key CEK and you padd it with some bytes to achieve a given message
length... it looks like this:
0x00 0x02 ... random bytes (except for 0x00) ... 0x00 CEK

You can encrypt this message using the server's public key.

On the decryptor's side, the server tries to extract CEK. It decrypts
the message using its RSA private key and *checks the message padding
format* (0x00 0x02 ... 0x00 CEK). Afterwards, it takes CEK.

The problem is: if the server responds differently according to the
PKCS1 padding validity, the attacker can learn some bits of the
plaintext. By sending a huge amount of messages (about 1,000,000 or
more...this depends on the server message check and the transmitted
message), he can learn the secured CEK and thus decrypt the whole message.


When looking at both your codes, I see two problems:

case RSA1_5:
	Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");
	cipher.init(Cipher.DECRYPT_MODE, rsaPrivateKey);
// this way, you throw an exception everytime you get invalid PKCS1
message. Your framework says e.g.:
com.nimbusds.jwt.JWEException: Couldn't decrypt: unknown block type
if the decrypted message does not start with 0x00 0x02 or it says
com.nimbusds.jwt.JWEException: Couldn't decrypt: no data in block
if the decrypted message does not contain any 0x00 in the middle
	byte[] secretKeyBytes1 = cipher.doFinal(encryptedKey.decode());
	if (8* secretKeyBytes1.length != keylength) {
// this throws something like
com.nimbusds.jwt.JWEException: Couldn't decrypt: WebToken.decrypt RSA
PKCS1Padding symmetric key length mismatch: 48 != 256
which gives the attacker again the possibility to distinguish between
valid and invalid messages
		throw new Exception("WebToken.decrypt RSA PKCS1Padding symmetric key
length mismatch: " + secretKeyBytes1.length + " != " +  keylength);
	}

	keySpec = new SecretKeySpec(secretKeyBytes1, symmetricAlgorithm);

	break;



Responding with a generalized error message also does not help
completely as the attacker could observe the response time of the
server. Namely, valid PKCS1 messages bring a CEK, which is then used for
data decryption (AES-CBC, AES-GCM...). Invalid PKCS1 messages return a
fault response directly, without data decryption. This offers a nice
timing side-channel. Please note that the attacker can force the server
to process arbitrarily data (also e.g. 1MB), so the attack could become
practical also over the Internet (tested in similar scenario with XML
Encryption :) )


Ok, so additionally to the same error messages, you should also consider
timing and thus regenerate a symmetric key CEK every time, it was
incorrectly decrypted (this way all the invalid PKCS1 ciphertexts will
be processed, CEK generated, and the MAC validation will fail),
something like this:

case RSA1_5:
     // initialize somewhere SecureRandom (e.g. in your JWE constructor)
     // SecureRandom random = SecureRandom.getInstance("SHA1PRNG")
	Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");
	cipher.init(Cipher.DECRYPT_MODE, rsaPrivateKey);
        byte[] secretKeyBytes1 = null;
        try {
        	secretKeyBytes1 = cipher.doFinal(encryptedKey.decode());
        } catch(BadPaddingException e) {
// regenerate key if the PKCS1 padding is incorrect
        	secretKeyBytes1 = new byte[keylength / 8];
                random.nextBytes(secretKeyBytes1);
        }

	if (8* secretKeyBytes1.length != keylength) {
// regenerate key if the length is incorrect
        	secretKeyBytes1 = new byte[keylength / 8];
                random.nextBytes(secretKeyBytes1);
	}

	keySpec = new SecretKeySpec(secretKeyBytes1, symmetricAlgorithm);

	break;


I hope this will thwart the attack...



We have already tried to convince the standard developers to exclude
PKCS1 from the standard:
http://www.mail-archive.com/jose@ietf.org/msg00075.html

...it did not work.


RSA-OAEP is the good choice for JOSE as PKCS1 will cause similar
problems also for other developers.


Regards from Bochum
Juraj

On 04/05/2012 03:03 PM, Vladimir Dzhuvinov / NimbusDS wrote:
> Hallo Berlin, hallo Bochum, hallo Welt! :)
> 
> I just sent an email to a crypto expert at a partner company to ask for
> his opinion is on that. My feeling is that when we collect sufficient
> opinions on that the "truth" will eventually emerge :)
> 
> As mentioned, I don't have a proper crypto background, so during
> refactoring I made sure Axel's code remained just as it was.
> 
> 
> Vladimir
> 
> --
> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
> 
> 
> 
> 
> 
> -------- Original Message --------
> Subject: Re: [jose] JWT + JOSE for Java
> From: <Axel.Nennker@telekom.de>
> Date: Thu, April 05, 2012 1:00 pm
> To: <juraj.somorovsky@rub.de>, <vladimir@nimbusds.com>
> Cc: jose@ietf.org
> 
> 
> Hi Juraj,
> 
> As Vladimir's work is based on my implementation I guess that my
> implementation has room for improvement too.
> https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/json/WebToken.java
> 
> ENC_ALG_RSA_OAEP is better than ENC_ALG_RSA1_5. 
> https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap/json/WebToken.java#116
> 
> Both padding algorithms are supported by my code and this RSA bulletin
> mentions OAEP as one counter measure against the Bleichenbacher attack.
> ftp://ftp.rsasecurity.com/pub/pdfs/bulletn7.pdf
> 
> Does "your" attack work against ENC_ALG_RSA_OAEP too? Additional counter
> measures suggestions are very welcome.
> 
> RSA1_5 is in the proposed standard because it is widely available
> although RSA recommends to use OAEP for decades. 
> I think that RSA-OAEP should be mandatory to implement and RSA1_5
> deprecated.
> 
> Cheers. Greetings from Berlin to Bochum.
> Axel
> 
> 
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Juraj Somorovsky
> Sent: Thursday, April 05, 2012 1:13 AM
> To: vladimir@nimbusds.com
> Cc: jose@ietf.org
> Subject: Re: [jose] JWT + JOSE for Java
> 
> Hi Vladimir,
> 
> I have took a look at your implementation and found out, that your PKCS1
> handling is vulnerable to the Bleichenbacher attack (the adversary could
> be able to issue different ciphertexts, send them to the server, and
> according to its responses he could learn the encrypted CEK)
> 
> I will send you PoCs and instructions how to fix it by tomorrow...or
> just take a look at the document written by Eric Rescorla:
> http://www.ietf.org/rfc/rfc3218.txt
> 
> Regards
> Juraj
> 
> On 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:
>> Today I reached a point in my JWT+JOSE library implementation where I 
>> wouldn't feel ashamed to release it to the public :)
>>
>> https://github.com/NimbusDS/Nimbus-JWT
>>
>> The library is fully documented:
>> http://nimbusds.com/files/jwt/javadoc/index.html
>>
>>
>> The Nimbus-JWT library started a month ago from code borrowed from 
>> Axel Nennker's + Co OpenInfoCard project and at this point covers 
>> fully plain and signed JWTs as well as JSON Web Keys (JWK). The JWE 
>> implementation still requires a bit of work to add HMAC integrity and 
>> cover the remaining elliptic curve and key-wrap encryption algorithms 
>> from the JWA spec. I would be very thankful if somebody could help me 
>> with that as I don't have much experience with cryptography :)
>>
>> For the listing of the supported JWAs:
>> http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/JWA.html
>>
>> Cheers,
>>
>> Vladimir
>> --
>> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
>>
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
> 
> --
> M.Sc. Juraj Somorovsky
> 
> Lehrstuhl fÃ¼r Netz- und Datensicherheit
> Ruhr UniversitÃ¤t Bochum
> -----------------------------------
> UniversitÃ¤tsstr. 150, Geb. ID 2/411
> D-44780 Bochum
> 
> Telefon: +49 (0) 234 / 32-26551
> Fax: +49 (0) 234 / 32-14347
> http://www.nds.rub.de
> _______________________________________________
> 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
> 

-- 
M.Sc. Juraj Somorovsky

Lehrstuhl fÃ¼r Netz- und Datensicherheit
Ruhr UniversitÃ¤t Bochum
-----------------------------------
UniversitÃ¤tsstr. 150, Geb. ID 2/411
D-44780 Bochum

Telefon: +49 (0) 234 / 32-26551
Fax: +49 (0) 234 / 32-14347
http://www.nds.rub.de

From ietf@augustcellars.com  Thu Apr  5 08:30:17 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEFA321F86D5 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:30:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lo8kmY2mCuKJ for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:30:14 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id 2E3CD21F86E5 for <jose@ietf.org>; Thu,  5 Apr 2012 08:30:14 -0700 (PDT)
Received: from Tobias (68-25-130-116.pools.static.spcsdns.net [68.25.130.116]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 1B8C62CA23; Thu,  5 Apr 2012 08:30:01 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'John Bradley'" <ve7jtb@ve7jtb.com>, "'Matt Miller'" <mamille2@cisco.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>
In-Reply-To: <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>
Date: Thu, 5 Apr 2012 08:28:43 -0700
Message-ID: <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKHZrmAco3AbGqXh0I+g1KfPwtE7gGNJkrMAtHy7j4CTGAGGJTiWB+A
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:30:17 -0000

<no hat>

John,

I am at a loss, why do you believe that a new AEAD algorithm would not
protect the headers?

Jim


> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> John Bradley
> Sent: Thursday, April 05, 2012 7:28 AM
> To: Matt Miller
> Cc: Brian Campbell; jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> 
> A couple of observations.
> 
> The current proposal provides integrity over the header,  a new AEAD alg
> doesn't do that.
> Low level crypto is a challenge.   Re-using standard underlying algorithms
like
> HMAC and AES-CBC allow for JS and other libs to call standard lower level
> crypto functions.
> 
> I am not against having another AEAD alg,  but want to help people
> understand the current design choice.
> 
> John B.
> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Another way around the conditional in application-space is to define an
> AEAD algorithm composed of an encryption and hashing function.  This
> seems like a reasonable place to start looking at one: <
> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
> >
> > On Apr 4, 2012, at 17:42, John Bradley wrote:
> >
> >> The use of a single key across two functions is one of things that is
not
> provably without problems.
> >>
> >> I agree that from an implementers point of view one key is simpler.
> >>
> >> There is a related-key attack that using the same key would enable.
This
> can be combined with differential and linear attacks on symmetric key
> cyphers.
> >>
> >> Generally this can be thought of as a bad thing.
> >>
> >> What is certain is that it increases the possible attack surface,  and
if the is
> a problem discovered as we have seen with AES-CBC it is going to be hard
to
> change later.
> >>
> >> We need key derivation anyway for ECDH-ES to produce a key of the
> correct bit length.
> >>
> >> Doing key derivation on CMK is the theoretically proper way to do it.
> >> Making a simplification might bite us in the future.
> >>
> >> I suppose one way to get around the conditional application argument is
> to always use it to produce the CEK even with AEAD algorithms.
> >>
> >> Regards
> >> John B.
> >>
> >> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
> >>
> >>> Hi all,
> >>>
> >>> I was hoping someone could help me (hopefully it's not just me!)
> >>> understand the reasons for the introduction of the key derivation
> >>> stuff* into JWE draft -01?
> >>>
> >>> I understand that it's there to derive the two keys, CEK and CIK,
> >>> from the CMK and that it is to be done when a non-AEAD algorithm is
> >>> used to encrypt the content. But what is the value of deriving the
> >>> two keys as apposed to using the CMK for both encryption and
integrity?
> >>>
> >>> Perhaps naively I assumed that using the CMK for both would be
> >>> sufficient.  It's randomly generated and used only for the one JWE.
> >>> It's not clear to me what benefit is provided by the additional
> >>> complexity of the derivation function as well as its conditional
> >>> application (and the potential interoperability problems that come
> >>> with such complexity). I assume there's some security benefit? But I
> >>> can't see what it is.
> >>>
> >>> Any help would be appreciated.
> >>> Thanks,
> >>> Brian
> >>>
> >>> *
> >>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
> >>> ction-7
> >>> which is referenced by
> >>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
> >>> ction-5 and
> >>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
> >>> ction-6 _______________________________________________
> >>> 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
> >
> >
> > - - m&m
> >
> > Matt Miller - <mamille2@cisco.com>
> > Cisco Systems, Inc.
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> > Comment: GPGTools - http://gpgtools.org
> >
> >
> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
> zQj
> >
> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
> 8kx
> >
> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
> y
> >
> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
> +
> >
> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
> Y
> >
> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
> z/I=
> > =174E
> > -----END PGP SIGNATURE-----



From mamille2@cisco.com  Thu Apr  5 08:41:53 2012
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB07C21F864F for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:41:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8+Z270qNuXyp for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:41:51 -0700 (PDT)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 1382221F85A2 for <jose@ietf.org>; Thu,  5 Apr 2012 08:41:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mamille2@cisco.com; l=2643; q=dns/txt; s=iport; t=1333640511; x=1334850111; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=cLyZSC/VLv9xrbzO3laGE5asGa0Eo0iKFn6/YPF8+9s=; b=TAOveCIKSdQ9OxeAUtqBc4uYiGnh7Q4XFed5GBFcwDQFXhokf/wqYldJ JQOuHOFu1r6dZsaIrPfdijw+7c10u4sbaBkduJOHwQxlVO9u4Bqjs18aU GxhqDEUZpsQcj+zo7//yGqzy2Hr3kSKHe4CB5f7nRtPONoJN5lV0eCXKJ 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EANe8fU+rRDoI/2dsb2JhbABFuG6BB4IJAQEBAwESASc/EAsOCi5XBhMbB4dnBAGbF591j3djBIhZjRKBEY06gWmDBg
X-IronPort-AV: E=Sophos;i="4.75,375,1330905600"; d="scan'208";a="36637005"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-3.cisco.com with ESMTP; 05 Apr 2012 15:41:49 +0000
Received: from dhcp-64-101-72-208.cisco.com (dhcp-64-101-72-208.cisco.com [64.101.72.208]) by mtv-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id q35Ffmbl019619; Thu, 5 Apr 2012 15:41:48 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com>
Date: Thu, 5 Apr 2012 09:41:48 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com> <4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com>
To: John Bradley <ve7jtb@ve7jtb.com>
X-Pgp-Agent: GPGMail 1.3.3
X-Mailer: Apple Mail (2.1084)
Cc: Brian Campbell <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:41:54 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Apr 5, 2012, at 09:12, John Bradley wrote:

>=20
> On 2012-04-05, at 11:50 AM, Matt Miller wrote:
>=20
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>=20
>>=20
>> On Apr 5, 2012, at 08:28, John Bradley wrote:
>>=20
>>> A couple of observations.
>>>=20
>>> The current proposal provides integrity over the header,  a new AEAD =
alg doesn't do that.
>>=20
>> The current proposal does not provide this for existing AEAD =
algorithms.=20
>=20
> True that is an advantage the composite CBC + HMAC has over GCM.
>=20

Maybe we should find a way to correct that.  One possible solution is to =
use the base64url-encoded header as the additional data (possibly =
truncated based on algorithm requirements).

>>=20
>>> Low level crypto is a challenge.   Re-using standard underlying =
algorithms like HMAC and AES-CBC allow for JS and other libs to call =
standard lower level crypto functions.
>>>=20
>>=20
>> The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256 and =
HMAC-SHA-256); it's not any more low-level than the non-AEAD path =
specified in JWE.
>=20
> I will have another look at it.
>>=20
>>> I am not against having another AEAD alg,  but want to help people =
understand the current design choice.
>>>=20
>>=20
>> The benefit is to have a single path through the use of algorithms.  =
It puts the differences into the algorithm implementations, which is =
where they should be.
>>=20
> There is no AES-CBC option without HMAC.  Perhaps we should net be =
calling it AES-CBC in JWA.
>=20

I get there's no AES-CBC sans HMAC, and I completely agree that =
encryption without integrity protection is not worth it.  All I'm =
suggesting is we (or someone) define an AEAD algorithm, say =
"AES-CBC-HMAC-SHA2-CONCAT-KDF" or something, which pulls together the =
non-AEAD path from JWE into its own algorithm.

>>> John B.
>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>=20
>=20


- - m&m

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJPfb09AAoJEJq6Ou0cgrSPFQgIAObHB26bX7zdqcyzdWdMQYpA
H7JmkjMZSLCG1WMPUJWgg9w3+/SbxBkoTFKQC5SLzZrYXTErXD3sfzEXt5U5i/2v
buvnqNd4ELZDsf3kosBmn6Y2h45DPlLVMT1JE2wbQDqfx6PZPdBISGdZYlPAqXWl
cMyLKdVIBYE/4ADa2Rwswnke3dLvv4vkJUzcItAeBA0khLzS25B1Q2JpunOSKMyD
i0SPxEJ9aZHghxmjGQtQIU9DBI7kuvCap8eD9zYj6DPGoAnEKWMr/hoWUjMhB7HH
wEVm6dKbmH7aTVSkl4suUnU2uclurmwCB42xDNPieULQy/2T2/oKU9ERwIm0M4k=3D
=3DdvxJ
-----END PGP SIGNATURE-----

From ve7jtb@ve7jtb.com  Thu Apr  5 08:45:24 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D14A621F8712 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:45:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.524
X-Spam-Level: 
X-Spam-Status: No, score=-3.524 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54SRyCfxwtd3 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:45:24 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id C637121F8716 for <jose@ietf.org>; Thu,  5 Apr 2012 08:45:23 -0700 (PDT)
Received: by yhkk25 with SMTP id k25so865345yhk.31 for <jose@ietf.org>; Thu, 05 Apr 2012 08:45:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=+dSdQMeSrsLuyx9Gea9Dt3ltlVqF7X4pddNOjPTfpyM=; b=S27k5RSJPNoaLa4VZW3+Lm3oP4Gyi3hdw9YhSp+N45lrB47I4+e43hS772qh7ptqUM coc8O84uwLX9ftMOWMC41ZfJF3Un3ksOyEod9JyL8imtSRPyR/EXPjbd1bgov0bv2bMZ uiagTKi82+d9i+ZJucTQfZbAl7PGwGwkyM3vHYRjlBQFoKuSW/1UcHIt7Idk0CTFgZNK ZHbx4PsYAffpXYU3k83bL9xL/y34WpX/9Cliu7dOmJIVaL3gGsB/z6SSkAuF6DRMEDfY mKKarcBpFkImG87KmjWrdTM+iEnPBW4YPXBwzKIgw//rs9t0ygJonRA5T4lOCngZMMwR g0mg==
Received: by 10.236.192.230 with SMTP id i66mr2625959yhn.92.1333640723279; Thu, 05 Apr 2012 08:45:23 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id 34sm7334493anu.6.2012.04.05.08.45.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 08:45:21 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_D03CF060-9CDE-4E62-A30B-FD156D145433"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com>
Date: Thu, 5 Apr 2012 12:45:14 -0300
Message-Id: <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQnOGI0H7LwfBMrniWOfi7FbawkXOmGiZYb8HitKx3g5YKGt1jPIyC/nICP6pHYqZv7M/sGv
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org, 'Matt Miller' <mamille2@cisco.com>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:45:24 -0000

--Apple-Mail=_D03CF060-9CDE-4E62-A30B-FD156D145433
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

In JWE the headers are not encrypted.  =20

GCM provides integrity only over the encrypted content.

In the composite AES-CBC + HMAC the integrity is calculated over both =
the Header and the encrypted content.

The advantage of not using a AEAD algorithm is that the composite can be =
more JOSE aware.

I can't rule out having missed something thats why we review these =
things:)

John B.
On 2012-04-05, at 12:28 PM, Jim Schaad wrote:

> <no hat>
>=20
> John,
>=20
> I am at a loss, why do you believe that a new AEAD algorithm would not
> protect the headers?
>=20
> Jim
>=20
>=20
>> -----Original Message-----
>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of
>> John Bradley
>> Sent: Thursday, April 05, 2012 7:28 AM
>> To: Matt Miller
>> Cc: Brian Campbell; jose@ietf.org
>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>=20
>> A couple of observations.
>>=20
>> The current proposal provides integrity over the header,  a new AEAD =
alg
>> doesn't do that.
>> Low level crypto is a challenge.   Re-using standard underlying =
algorithms
> like
>> HMAC and AES-CBC allow for JS and other libs to call standard lower =
level
>> crypto functions.
>>=20
>> I am not against having another AEAD alg,  but want to help people
>> understand the current design choice.
>>=20
>> John B.
>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>=20
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>=20
>>> Another way around the conditional in application-space is to define =
an
>> AEAD algorithm composed of an encryption and hashing function.  This
>> seems like a reasonable place to start looking at one: <
>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>>>=20
>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>>=20
>>>> The use of a single key across two functions is one of things that =
is
> not
>> provably without problems.
>>>>=20
>>>> I agree that from an implementers point of view one key is simpler.
>>>>=20
>>>> There is a related-key attack that using the same key would enable.
> This
>> can be combined with differential and linear attacks on symmetric key
>> cyphers.
>>>>=20
>>>> Generally this can be thought of as a bad thing.
>>>>=20
>>>> What is certain is that it increases the possible attack surface,  =
and
> if the is
>> a problem discovered as we have seen with AES-CBC it is going to be =
hard
> to
>> change later.
>>>>=20
>>>> We need key derivation anyway for ECDH-ES to produce a key of the
>> correct bit length.
>>>>=20
>>>> Doing key derivation on CMK is the theoretically proper way to do =
it.
>>>> Making a simplification might bite us in the future.
>>>>=20
>>>> I suppose one way to get around the conditional application =
argument is
>> to always use it to produce the CEK even with AEAD algorithms.
>>>>=20
>>>> Regards
>>>> John B.
>>>>=20
>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>>=20
>>>>> Hi all,
>>>>>=20
>>>>> I was hoping someone could help me (hopefully it's not just me!)
>>>>> understand the reasons for the introduction of the key derivation
>>>>> stuff* into JWE draft -01?
>>>>>=20
>>>>> I understand that it's there to derive the two keys, CEK and CIK,
>>>>> from the CMK and that it is to be done when a non-AEAD algorithm =
is
>>>>> used to encrypt the content. But what is the value of deriving the
>>>>> two keys as apposed to using the CMK for both encryption and
> integrity?
>>>>>=20
>>>>> Perhaps naively I assumed that using the CMK for both would be
>>>>> sufficient.  It's randomly generated and used only for the one =
JWE.
>>>>> It's not clear to me what benefit is provided by the additional
>>>>> complexity of the derivation function as well as its conditional
>>>>> application (and the potential interoperability problems that come
>>>>> with such complexity). I assume there's some security benefit? But =
I
>>>>> can't see what it is.
>>>>>=20
>>>>> Any help would be appreciated.
>>>>> Thanks,
>>>>> Brian
>>>>>=20
>>>>> *
>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
>>>>> ction-7
>>>>> which is referenced by
>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
>>>>> ction-5 and
>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
>>>>> ction-6 _______________________________________________
>>>>> 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
>>>=20
>>>=20
>>> - - m&m
>>>=20
>>> Matt Miller - <mamille2@cisco.com>
>>> Cisco Systems, Inc.
>>>=20
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>>> Comment: GPGTools - http://gpgtools.org
>>>=20
>>>=20
>> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
>> zQj
>>>=20
>> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
>> 8kx
>>>=20
>> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
>> y
>>>=20
>> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
>> +
>>>=20
>> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
>> Y
>>>=20
>> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
>> z/I=3D
>>> =3D174E
>>> -----END PGP SIGNATURE-----
>=20
>=20


--Apple-Mail=_D03CF060-9CDE-4E62-A30B-FD156D145433
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
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-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7D4A21F85C3 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:51:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.539
X-Spam-Level: 
X-Spam-Status: No, score=-3.539 tagged_above=-999 required=5 tests=[AWL=0.060,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tesSf5hzNryS for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:51:08 -0700 (PDT)
Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id C9B7121F8712 for <jose@ietf.org>; Thu,  5 Apr 2012 08:51:07 -0700 (PDT)
Received: by vbbez10 with SMTP id ez10so1278173vbb.31 for <jose@ietf.org>; Thu, 05 Apr 2012 08:51:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=mQtKzCOlQuIfWRcoRi3HcOLd/rEay9gA/QzqaB6IZ+o=; b=W7Shg8YOdTNLni77FdxYLQzyJRc0AHt1CBDrcXQY2AQ9JEIk2w7xsgBe89kYF2njCk qhXBKl1no9ZFtbTMp9uyhS0wznxAqZ0YyP0ma/hIt3xeATc6efygsflmm9WJQ3yiIADf g/1irqJYDBuFOyKDF6wg8teq2Ns/eURsoJzmpOzHOQOOZNhPb/6WprKkGRJmJdT4o36K wQ89z31aLbzU9p3beabRp/gTaMOw4D/AFRXpCr3xBrD8hWjYSm4X3Uhye8pw3PYl72JL uceL5yWMTqOppt6hhc9HhRtyv4rsPiItS0I6Jkt08yqS7CERaxQ5lf6fgqcJhiSe91A5 IbvA==
Received: by 10.52.91.225 with SMTP id ch1mr1888780vdb.31.1333641067263; Thu, 05 Apr 2012 08:51:07 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id r5sm4737610vdg.17.2012.04.05.08.51.05 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 08:51:06 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_4D315277-D786-44C6-8BE6-8F8F39DD21E0"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
Date: Thu, 5 Apr 2012 12:51:01 -0300
Message-Id: <DA80E3B2-072E-4ABD-9A22-7E2B7E439892@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com> <4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com> <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
To: Matt Miller <mamille2@cisco.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkNlJksPGGWhCWvsPECP1ih2B+yt0wwYHAUYPuY3yy2oA955yM32t9Z0oMy7w4e+x4kbvFf
Cc: Brian Campbell <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:51:08 -0000

--Apple-Mail=_4D315277-D786-44C6-8BE6-8F8F39DD21E0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

If we can find a way to do integrity for AEAD algorithms, that would be =
great.

I am OK with defining one or more AES-CBC-HMAC alg.

The downside is that allowing flexibility on the HMAC size would cause a =
large list of alg. =20
It is perhaps a flexibility vs implementation complexity argument.=20

I am not super emotionally attached to having them as separate =
parameters.

John B.
On 2012-04-05, at 12:41 PM, Matt Miller wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
>=20
> On Apr 5, 2012, at 09:12, John Bradley wrote:
>=20
>>=20
>> On 2012-04-05, at 11:50 AM, Matt Miller wrote:
>>=20
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>=20
>>>=20
>>> On Apr 5, 2012, at 08:28, John Bradley wrote:
>>>=20
>>>> A couple of observations.
>>>>=20
>>>> The current proposal provides integrity over the header,  a new =
AEAD alg doesn't do that.
>>>=20
>>> The current proposal does not provide this for existing AEAD =
algorithms.=20
>>=20
>> True that is an advantage the composite CBC + HMAC has over GCM.
>>=20
>=20
> Maybe we should find a way to correct that.  One possible solution is =
to use the base64url-encoded header as the additional data (possibly =
truncated based on algorithm requirements).
>=20
>>>=20
>>>> Low level crypto is a challenge.   Re-using standard underlying =
algorithms like HMAC and AES-CBC allow for JS and other libs to call =
standard lower level crypto functions.
>>>>=20
>>>=20
>>> The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256 and =
HMAC-SHA-256); it's not any more low-level than the non-AEAD path =
specified in JWE.
>>=20
>> I will have another look at it.
>>>=20
>>>> I am not against having another AEAD alg,  but want to help people =
understand the current design choice.
>>>>=20
>>>=20
>>> The benefit is to have a single path through the use of algorithms.  =
It puts the differences into the algorithm implementations, which is =
where they should be.
>>>=20
>> There is no AES-CBC option without HMAC.  Perhaps we should net be =
calling it AES-CBC in JWA.
>>=20
>=20
> I get there's no AES-CBC sans HMAC, and I completely agree that =
encryption without integrity protection is not worth it.  All I'm =
suggesting is we (or someone) define an AEAD algorithm, say =
"AES-CBC-HMAC-SHA2-CONCAT-KDF" or something, which pulls together the =
non-AEAD path from JWE into its own algorithm.
>=20
>>>> John B.
>>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>>=20
>>=20
>=20
>=20
> - - m&m
>=20
> Matt Miller - <mamille2@cisco.com>
> Cisco Systems, Inc.
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>=20
> iQEcBAEBAgAGBQJPfb09AAoJEJq6Ou0cgrSPFQgIAObHB26bX7zdqcyzdWdMQYpA
> H7JmkjMZSLCG1WMPUJWgg9w3+/SbxBkoTFKQC5SLzZrYXTErXD3sfzEXt5U5i/2v
> buvnqNd4ELZDsf3kosBmn6Y2h45DPlLVMT1JE2wbQDqfx6PZPdBISGdZYlPAqXWl
> cMyLKdVIBYE/4ADa2Rwswnke3dLvv4vkJUzcItAeBA0khLzS25B1Q2JpunOSKMyD
> i0SPxEJ9aZHghxmjGQtQIU9DBI7kuvCap8eD9zYj6DPGoAnEKWMr/hoWUjMhB7HH
> wEVm6dKbmH7aTVSkl4suUnU2uclurmwCB42xDNPieULQy/2T2/oKU9ERwIm0M4k=3D
> =3DdvxJ
> -----END PGP SIGNATURE-----


--Apple-Mail=_4D315277-D786-44C6-8BE6-8F8F39DD21E0
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: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dU+A4Ii6oQfzfyqxtWno+nN6A6cTUm5/QPnmKeddBLRNleDm
behMwbfGNogxK1329brFCCkUwWILoo5yfQPX+se0WnGyH+JBWfDHULBXlN1Y38/oeC0iPBcUfteX
G9vJHiGUhUhy8ah3lZRGfZOuqgFquHAnQJn6V5gdvwPstVHCJzj9hM/4f+37ZJlr0yVMQc3u4mGy
aMYr0vQdh1Gpd0QK9DDbSZdYwfIK0v/zkwYB6nMALSc265n6Jdi9MqvyCpD5kuCt2syJfigKCXsf
sUPXEx3tbmvraw1Ei8y6EMA/EVRr253+EXDmhOoAAAAAAAA=

--Apple-Mail=_4D315277-D786-44C6-8BE6-8F8F39DD21E0--

From ve7jtb@ve7jtb.com  Thu Apr  5 08:53:47 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B0A821F8709 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:53:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.549
X-Spam-Level: 
X-Spam-Status: No, score=-3.549 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5HA0ifnm4oqY for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 08:53:45 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 2898321F8674 for <jose@ietf.org>; Thu,  5 Apr 2012 08:53:44 -0700 (PDT)
Received: by ggmi1 with SMTP id i1so872084ggm.31 for <jose@ietf.org>; Thu, 05 Apr 2012 08:53:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=Lqtn5Na02+t731ysw2rugGXAo/KPKmnEYurWtce9D0I=; b=BFi8+e3STxY3Zd5DiHwFeMjD119XhPCNMdRHAFkDwzngfnDmYob/T+5JWnQSthihQp XslyhtUIjKrl8jHt1nGcNnMmbSMdfYY/7bsGZOefoqKKK1Y+PFk4qvWLvTWQXPkJE4gU fW/sKYCLuJW7un8U6nJEQacWEFyZYgyGyGlh7kv/j7DGxCg920pqThdFCC3wdo/9ge6w Jl+X6YK6gK+1NXMdsONoF/XHErsM1/iZ0SP8iph2PIgVSbVLMue8PUCwrHcNRpXOaf0i Vd64UyU5wfV8dzuEnc0JasHwkDS11IMfQ4J23cB+JH3MyhXlTVeW0+08IyLVwZPf1XeF 0zXw==
Received: by 10.236.185.4 with SMTP id t4mr2638997yhm.129.1333641224627; Thu, 05 Apr 2012 08:53:44 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id e1sm16478648yhi.9.2012.04.05.08.53.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 08:53:43 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_D13A7D18-19F4-4F08-A6A4-7858E6D41383"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CA+k3eCQF4g9okwduEtZkRKG92a7_8_LfHYNyfW_gko+f0MmBJQ@mail.gmail.com>
Date: Thu, 5 Apr 2012 12:53:36 -0300
Message-Id: <F703348F-618F-4463-9864-2FB798A1F8C6@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <CA+k3eCQF4g9okwduEtZkRKG92a7_8_LfHYNyfW_gko+f0MmBJQ@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQnilERvckpfHhUUoLozwm5fjy5aP4iFEdxxXrzpcXsaU5fTkEPM4GOoceD73Li1CMJKP+t5
Cc: jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 15:53:47 -0000

--Apple-Mail=_D13A7D18-19F4-4F08-A6A4-7858E6D41383
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Yes the KDF for ECDH-ES is baked into the alg, but we did use the same =
KDF to make things easier (or at least not harder)

John B.
On 2012-04-05, at 12:47 PM, Brian Campbell wrote:

> Okay, you had me at "not provably";)  Thanks for the explanation, =
John.
>=20
> And yep - from an implementers point of view, one key is much simpler.
> I'm working on an implementation now and I'll admit that laziness was
> my first reaction to seeing the KDF and having to go find NIST Special
> Publication 800-56A. But that thought was also followed by thinking
> that the application of the KDF looks like a likely place for
> implementation, interpretation and interop problems to show up.  Maybe
> that's not a valid concern but I wanted to ask about it. And asking
> seems to have sparked some additional discussion which can't hurt.
>=20
> And yes,  ECDH-ES does use the KDF but it's somewhat different as it's
> encapsulated in the algorithm rather than part of core JWE.
>=20
> I assume that generating and sending two keys was not considered due
> to the goal of having the JWE compact serialization be as compact as
> possible?
>=20
> I don't know if always using a KDF for the CEK, even with AEAD
> algorithms, simplifies things all that much. Maybe it does. I don't
> know. The conditional based on one aspect of the underlying algorithm
> does feel a touch awkward but I (now) understand the reasons for doing
> it that way.
>=20
> On Wed, Apr 4, 2012 at 5:42 PM, John Bradley <ve7jtb@ve7jtb.com> =
wrote:
>> The use of a single key across two functions is one of things that is =
not provably without problems.
>>=20
>> I agree that from an implementers point of view one key is simpler.
>>=20
>> There is a related-key attack that using the same key would enable.  =
This can be combined with differential and linear attacks on symmetric =
key cyphers.
>>=20
>> Generally this can be thought of as a bad thing.
>>=20
>> What is certain is that it increases the possible attack surface,  =
and if the is a problem discovered as we have seen with AES-CBC it is =
going to be hard to change later.
>>=20
>> We need key derivation anyway for ECDH-ES to produce a key of the =
correct bit length.
>>=20
>> Doing key derivation on CMK is the theoretically proper way to do it.
>> Making a simplification might bite us in the future.
>>=20
>> I suppose one way to get around the conditional application argument =
is to always use it to produce the CEK even with AEAD algorithms.
>>=20
>> Regards
>> John B.
>>=20
>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>=20
>>> Hi all,
>>>=20
>>> I was hoping someone could help me (hopefully it's not just me!)
>>> understand the reasons for the introduction of the key derivation
>>> stuff* into JWE draft -01?
>>>=20
>>> I understand that it's there to derive the two keys, CEK and CIK, =
from
>>> the CMK and that it is to be done when a non-AEAD algorithm is used =
to
>>> encrypt the content. But what is the value of deriving the two keys =
as
>>> apposed to using the CMK for both encryption and integrity?
>>>=20
>>> Perhaps naively I assumed that using the CMK for both would be
>>> sufficient.  It's randomly generated and used only for the one JWE.
>>> It's not clear to me what benefit is provided by the additional
>>> complexity of the derivation function as well as its conditional
>>> application (and the potential interoperability problems that come
>>> with such complexity). I assume there's some security benefit? But I
>>> can't see what it is.
>>>=20
>>> Any help would be appreciated.
>>> Thanks,
>>> Brian
>>>=20
>>> * =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
7
>>> which is referenced by
>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
5
>>> and =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section-=
6
>>> _______________________________________________
>>> jose mailing list
>>> jose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/jose
>>=20


--Apple-Mail=_D13A7D18-19F4-4F08-A6A4-7858E6D41383
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMCQ0wxIjAgBgNVBAgTGU1ldHJvcG9saXRhbmEgZGUgU2FudGlhZ28xFjAU
BgNVBAcTDUlzbGEgZGUgTWFpcG8xFTATBgNVBAMTDEpvaG4gQnJhZGxleTEeMBwGCSqGSIb3DQEJ
ARYPamJyYWRsZXlAbWUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAskrlBI93
rBTLOQGSwIT6co6dAw/rwDPrRXl6/F2oc4KDn+QN6CdFeHo08H846VJS9CDjLKvnK9jbxxs4wYqe
nKdPb3jgzt8oc7b9ZXtWkOgsxgMf6dBZ/IPm4lWBpCbSr3seDGDXEpiE2lTZXno7c25OguR4E6Qa
hcpHABZjeEWK65mMH25gmoRf5MY1k3quu5y+FCYCHE2iwU5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HRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
AHzcPMeOn9yfloDZNT9jiQXf2Abvl06kx5UefBy/onmt+6z+ERE9oaokE6khtOx65+4RF66yoJSb
iwM05FFLj2iM5Y5FNlG/pW7OybDXgu56/OXfD0af1HoqX1Xxc/iirtLamC1/9JaRn7PMiNL0E/zC
S61zmXX6jRUqyn5rkyiO0W5NH8zDwjK0UqoqGdiY+m2rzWeZAoYVe1wY2i5G9pgbpnDvl7LdcM/i
flRH2d2VGPvjh4mmPcplZjaesA3tI1o/5aJdVhsEHhAvFE9z/9D46WZJJJ7YswyLA/NJzVb8zt3P
vGzvwiaxj/oOtPGT1cZ8sV18fDZ4OnX+h28WHPQAAAAAAAA=

--Apple-Mail=_D13A7D18-19F4-4F08-A6A4-7858E6D41383--

From tom@ritter.vg  Thu Apr  5 09:04:36 2012
Return-Path: <tom@ritter.vg>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6841021F872B for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:04:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oaZDbAqn9xNR for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:04:35 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 6365C21F872D for <jose@ietf.org>; Thu,  5 Apr 2012 09:04:35 -0700 (PDT)
Received: by yhkk25 with SMTP id k25so878552yhk.31 for <jose@ietf.org>; Thu, 05 Apr 2012 09:04:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ritter.vg; s=vg; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Zdj1XC56+IMTi2Lpyydml94K4Uiq546MLkaM7PPDh9w=; b=2/QWFhTilbm1kKxR+V00o9BWtV3yNHpPV/OytVMnSu9VZsCRnTtrV7S4g52uMypav9 GCu+9LmJ2UyCBbdjiGdR8/d1ve/P2iBHNVOuQJNZe93slX6pKTeEURR/9eRpKxh90lxH Musesbg61/vp3VQIMeLdxPhBioyvegGSPVrO8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=Zdj1XC56+IMTi2Lpyydml94K4Uiq546MLkaM7PPDh9w=; b=c2TlqcJyYgYV3N9D+YsmREZPhbSCnUoberUdlXZCiJAs03evOL3i5D6/iJ3sbfdA40 B72hVLeD64isjdV6XY6Br1vq5C+YccYp9h1dcWArQHQvSZq4hc+b/sd5JHIxNCV93ohR 6NvYrPz5G9J21FWmlmWCmUQrzSXwgXtA5THq5wwCW9fV7tOhx+X4a1RMoZQLTVEGqRjy nFSINM4QIFHDeEPzLc2E3KM5sg8tpB4gJ+t89rzNJpuR0gpFAuwDg1Wn8nvpM3YmqnSX ah7G8Rrf0qkE+OAHWEvrxC9oXKls9y4wFivSQNs+zRNSRpCPwLJb8IAde1Da5HlfuTgl Wg5A==
Received: by 10.60.0.201 with SMTP id 9mr4520467oeg.59.1333641874906; Thu, 05 Apr 2012 09:04:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.182.5 with HTTP; Thu, 5 Apr 2012 09:04:14 -0700 (PDT)
In-Reply-To: <4F7DBA63.3020503@rub.de>
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de>
From: Tom Ritter <tom@ritter.vg>
Date: Thu, 5 Apr 2012 12:04:14 -0400
Message-ID: <CA+cU71m9qwnELycnr_T2yEBR=F2UiQV3BQtyLmQkLvh8KnPLkw@mail.gmail.com>
To: Juraj Somorovsky <juraj.somorovsky@rub.de>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQlh1As9tPFz1GHZ/p7QMLpDRNXUercbcrr9zGGQN/+0VefBVvI56QDvu4YV8hB7P16H5kzD
Cc: Axel.Nennker@telekom.de, jose@ietf.org, Vladimir Dzhuvinov / NimbusDS <vladimir@nimbusds.com>
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 16:04:36 -0000

On 5 April 2012 11:29, Juraj Somorovsky <juraj.somorovsky@rub.de> wrote:
> RSA-OAEP is the good choice for JOSE as PKCS1 will cause similar
> problems also for other developers.
>
>
> Regards from Bochum
> Juraj


I haven't been following closely, but if it hasn't been already I
should point out there's a very similar attack against RSA-OAEP you
need to take care to avoid: http://ritter.vg/blog-mangers_oracle.html

-tom

From ietf@augustcellars.com  Thu Apr  5 09:06:54 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C07721F85AD for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:06:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qebbU5tb-q+o for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:06:52 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id 1775B21F86B7 for <jose@ietf.org>; Thu,  5 Apr 2012 09:06:52 -0700 (PDT)
Received: from Tobias (68-25-130-116.pools.static.spcsdns.net [68.25.130.116]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 860852CA21; Thu,  5 Apr 2012 09:06:37 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com>
In-Reply-To: <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com>
Date: Thu, 5 Apr 2012 09:05:26 -0700
Message-ID: <061601cd1345$fd1d9d20$f758d760$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKHZrmAco3AbGqXh0I+g1KfPwtE7gGNJkrMAtHy7j4CTGAGGAJ3LV1+AWIsXyiUw5b8cA==
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org, 'Matt Miller' <mamille2@cisco.com>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 16:06:54 -0000

Ok - I see you problem.

Yes, in JWE the headers are not encrypted.
GCM provides integrity over both the encrypted content and the additional
data fields (hence the difference between AD (authenticated Data) and
AEAD(Authenticated Data with Additional Data).

All AEAD algorithms provide for the ability to have data which is not part
of the encrypted data be included in the authenticated data.  In fact AEAD
algorithms can be used as MAC algorithms in many cases by simply having an
empty string for the encrypted data (it depends in part on the internal
construction of the encrypted data stream).  I believe we verified that this
was a true statement for GCM at the last IETF meeting (in a hallway
conversation).

Jim


> -----Original Message-----
> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
> Sent: Thursday, April 05, 2012 8:45 AM
> To: Jim Schaad
> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> 
> In JWE the headers are not encrypted.
> 
> GCM provides integrity only over the encrypted content.
> 
> In the composite AES-CBC + HMAC the integrity is calculated over both the
> Header and the encrypted content.
> 
> The advantage of not using a AEAD algorithm is that the composite can be
> more JOSE aware.
> 
> I can't rule out having missed something thats why we review these
things:)
> 
> John B.
> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
> 
> > <no hat>
> >
> > John,
> >
> > I am at a loss, why do you believe that a new AEAD algorithm would not
> > protect the headers?
> >
> > Jim
> >
> >
> >> -----Original Message-----
> >> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf
> Of
> >> John Bradley
> >> Sent: Thursday, April 05, 2012 7:28 AM
> >> To: Matt Miller
> >> Cc: Brian Campbell; jose@ietf.org
> >> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> >>
> >> A couple of observations.
> >>
> >> The current proposal provides integrity over the header,  a new AEAD
alg
> >> doesn't do that.
> >> Low level crypto is a challenge.   Re-using standard underlying
algorithms
> > like
> >> HMAC and AES-CBC allow for JS and other libs to call standard lower
level
> >> crypto functions.
> >>
> >> I am not against having another AEAD alg,  but want to help people
> >> understand the current design choice.
> >>
> >> John B.
> >> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
> >>
> >>> -----BEGIN PGP SIGNED MESSAGE-----
> >>> Hash: SHA1
> >>>
> >>> Another way around the conditional in application-space is to define
an
> >> AEAD algorithm composed of an encryption and hashing function.  This
> >> seems like a reasonable place to start looking at one: <
> >> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
> >>>
> >>> On Apr 4, 2012, at 17:42, John Bradley wrote:
> >>>
> >>>> The use of a single key across two functions is one of things that is
> > not
> >> provably without problems.
> >>>>
> >>>> I agree that from an implementers point of view one key is simpler.
> >>>>
> >>>> There is a related-key attack that using the same key would enable.
> > This
> >> can be combined with differential and linear attacks on symmetric key
> >> cyphers.
> >>>>
> >>>> Generally this can be thought of as a bad thing.
> >>>>
> >>>> What is certain is that it increases the possible attack surface,
and
> > if the is
> >> a problem discovered as we have seen with AES-CBC it is going to be
hard
> > to
> >> change later.
> >>>>
> >>>> We need key derivation anyway for ECDH-ES to produce a key of the
> >> correct bit length.
> >>>>
> >>>> Doing key derivation on CMK is the theoretically proper way to do it.
> >>>> Making a simplification might bite us in the future.
> >>>>
> >>>> I suppose one way to get around the conditional application argument
> is
> >> to always use it to produce the CEK even with AEAD algorithms.
> >>>>
> >>>> Regards
> >>>> John B.
> >>>>
> >>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I was hoping someone could help me (hopefully it's not just me!)
> >>>>> understand the reasons for the introduction of the key derivation
> >>>>> stuff* into JWE draft -01?
> >>>>>
> >>>>> I understand that it's there to derive the two keys, CEK and CIK,
> >>>>> from the CMK and that it is to be done when a non-AEAD algorithm is
> >>>>> used to encrypt the content. But what is the value of deriving the
> >>>>> two keys as apposed to using the CMK for both encryption and
> > integrity?
> >>>>>
> >>>>> Perhaps naively I assumed that using the CMK for both would be
> >>>>> sufficient.  It's randomly generated and used only for the one JWE.
> >>>>> It's not clear to me what benefit is provided by the additional
> >>>>> complexity of the derivation function as well as its conditional
> >>>>> application (and the potential interoperability problems that come
> >>>>> with such complexity). I assume there's some security benefit? But I
> >>>>> can't see what it is.
> >>>>>
> >>>>> Any help would be appreciated.
> >>>>> Thanks,
> >>>>> Brian
> >>>>>
> >>>>> *
> >>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
> >>>>> ction-7
> >>>>> which is referenced by
> >>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
> >>>>> ction-5 and
> >>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
> >>>>> ction-6 _______________________________________________
> >>>>> 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
> >>>
> >>>
> >>> - - m&m
> >>>
> >>> Matt Miller - <mamille2@cisco.com>
> >>> Cisco Systems, Inc.
> >>>
> >>> -----BEGIN PGP SIGNATURE-----
> >>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> >>> Comment: GPGTools - http://gpgtools.org
> >>>
> >>>
> >>
> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
> >> zQj
> >>>
> >>
> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
> >> 8kx
> >>>
> >>
> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
> >> y
> >>>
> >>
> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
> >> +
> >>>
> >>
> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
> >> Y
> >>>
> >>
> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
> >> z/I=
> >>> =174E
> >>> -----END PGP SIGNATURE-----
> >
> >



From ve7jtb@ve7jtb.com  Thu Apr  5 09:11:10 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30A1921F86D3 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:11:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.556
X-Spam-Level: 
X-Spam-Status: No, score=-3.556 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xbpXj599ej3K for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:11:09 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id 11D0A21F85AD for <jose@ietf.org>; Thu,  5 Apr 2012 09:11:08 -0700 (PDT)
Received: by yenm5 with SMTP id m5so878967yen.31 for <jose@ietf.org>; Thu, 05 Apr 2012 09:11:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=2u2WHqbJEI6jzPEdLCMQ/B48eVkQr1h8LgzLInjtkYo=; b=Jn0WL5yPBIxTUurUNntjrxaakYwuvsY1CuJonU7Lv+UUwJk0QaZSctDPzIHG5hY4f+ BxhVhxg0ibV3ux5KOyTxQeB88JDhUZHydQ8782oPZEDBydVrZBkvp0jYkFqfYNepzIx8 k0B0VhBSRhJX6ZmKnMqzn/bRiRVXb0xe8m1p5zLffBBUi8986GI88uXDqHSjEL/l2AD5 cEORCXU8U1arpYBtUMyHzJsX8kC+/zcnNry42wR10XSdopoHy6UFwbGM3nMdAmTc9iVb 9lBwSDZW0bxsMDdWDCONwV5mK0vaKpPWgsxPrx3PazcnF8Gv0A+4d9GvG4EhbIsYyZ8Y CNpA==
Received: by 10.236.114.169 with SMTP id c29mr2748667yhh.37.1333642268455; Thu, 05 Apr 2012 09:11:08 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id b4sm7432290anb.22.2012.04.05.09.11.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 09:11:07 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_E1063749-382F-470B-A29F-55CCA0C614C3"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <061601cd1345$fd1d9d20$f758d760$@augustcellars.com>
Date: Thu, 5 Apr 2012 13:10:58 -0300
Message-Id: <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com> <061601cd1345$fd1d9d20$f758d760$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQmkrhFxAiwzb7HvIg9QTN/JJmffekgH2vw6p2ZCxMx5OZ6ha8dmEzb2w6tXmTx3E32h13OZ
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org, 'Matt Miller' <mamille2@cisco.com>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 16:11:10 -0000

--Apple-Mail=_E1063749-382F-470B-A29F-55CCA0C614C3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Then we should look at including the header as the additional data for =
GCM.

I will have a look at it, and make a proposal for some text, unless =
someone else is volunteering?

John B.

On 2012-04-05, at 1:05 PM, Jim Schaad wrote:

> Ok - I see you problem.
>=20
> Yes, in JWE the headers are not encrypted.
> GCM provides integrity over both the encrypted content and the =
additional
> data fields (hence the difference between AD (authenticated Data) and
> AEAD(Authenticated Data with Additional Data).
>=20
> All AEAD algorithms provide for the ability to have data which is not =
part
> of the encrypted data be included in the authenticated data.  In fact =
AEAD
> algorithms can be used as MAC algorithms in many cases by simply =
having an
> empty string for the encrypted data (it depends in part on the =
internal
> construction of the encrypted data stream).  I believe we verified =
that this
> was a true statement for GCM at the last IETF meeting (in a hallway
> conversation).
>=20
> Jim
>=20
>=20
>> -----Original Message-----
>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>> Sent: Thursday, April 05, 2012 8:45 AM
>> To: Jim Schaad
>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>=20
>> In JWE the headers are not encrypted.
>>=20
>> GCM provides integrity only over the encrypted content.
>>=20
>> In the composite AES-CBC + HMAC the integrity is calculated over both =
the
>> Header and the encrypted content.
>>=20
>> The advantage of not using a AEAD algorithm is that the composite can =
be
>> more JOSE aware.
>>=20
>> I can't rule out having missed something thats why we review these
> things:)
>>=20
>> John B.
>> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
>>=20
>>> <no hat>
>>>=20
>>> John,
>>>=20
>>> I am at a loss, why do you believe that a new AEAD algorithm would =
not
>>> protect the headers?
>>>=20
>>> Jim
>>>=20
>>>=20
>>>> -----Original Message-----
>>>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On =
Behalf
>> Of
>>>> John Bradley
>>>> Sent: Thursday, April 05, 2012 7:28 AM
>>>> To: Matt Miller
>>>> Cc: Brian Campbell; jose@ietf.org
>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>=20
>>>> A couple of observations.
>>>>=20
>>>> The current proposal provides integrity over the header,  a new =
AEAD
> alg
>>>> doesn't do that.
>>>> Low level crypto is a challenge.   Re-using standard underlying
> algorithms
>>> like
>>>> HMAC and AES-CBC allow for JS and other libs to call standard lower
> level
>>>> crypto functions.
>>>>=20
>>>> I am not against having another AEAD alg,  but want to help people
>>>> understand the current design choice.
>>>>=20
>>>> John B.
>>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>>=20
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>=20
>>>>> Another way around the conditional in application-space is to =
define
> an
>>>> AEAD algorithm composed of an encryption and hashing function.  =
This
>>>> seems like a reasonable place to start looking at one: <
>>>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>>>>>=20
>>>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>>>>=20
>>>>>> The use of a single key across two functions is one of things =
that is
>>> not
>>>> provably without problems.
>>>>>>=20
>>>>>> I agree that from an implementers point of view one key is =
simpler.
>>>>>>=20
>>>>>> There is a related-key attack that using the same key would =
enable.
>>> This
>>>> can be combined with differential and linear attacks on symmetric =
key
>>>> cyphers.
>>>>>>=20
>>>>>> Generally this can be thought of as a bad thing.
>>>>>>=20
>>>>>> What is certain is that it increases the possible attack surface,
> and
>>> if the is
>>>> a problem discovered as we have seen with AES-CBC it is going to be
> hard
>>> to
>>>> change later.
>>>>>>=20
>>>>>> We need key derivation anyway for ECDH-ES to produce a key of the
>>>> correct bit length.
>>>>>>=20
>>>>>> Doing key derivation on CMK is the theoretically proper way to do =
it.
>>>>>> Making a simplification might bite us in the future.
>>>>>>=20
>>>>>> I suppose one way to get around the conditional application =
argument
>> is
>>>> to always use it to produce the CEK even with AEAD algorithms.
>>>>>>=20
>>>>>> Regards
>>>>>> John B.
>>>>>>=20
>>>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>>>>=20
>>>>>>> Hi all,
>>>>>>>=20
>>>>>>> I was hoping someone could help me (hopefully it's not just me!)
>>>>>>> understand the reasons for the introduction of the key =
derivation
>>>>>>> stuff* into JWE draft -01?
>>>>>>>=20
>>>>>>> I understand that it's there to derive the two keys, CEK and =
CIK,
>>>>>>> from the CMK and that it is to be done when a non-AEAD algorithm =
is
>>>>>>> used to encrypt the content. But what is the value of deriving =
the
>>>>>>> two keys as apposed to using the CMK for both encryption and
>>> integrity?
>>>>>>>=20
>>>>>>> Perhaps naively I assumed that using the CMK for both would be
>>>>>>> sufficient.  It's randomly generated and used only for the one =
JWE.
>>>>>>> It's not clear to me what benefit is provided by the additional
>>>>>>> complexity of the derivation function as well as its conditional
>>>>>>> application (and the potential interoperability problems that =
come
>>>>>>> with such complexity). I assume there's some security benefit? =
But I
>>>>>>> can't see what it is.
>>>>>>>=20
>>>>>>> Any help would be appreciated.
>>>>>>> Thanks,
>>>>>>> Brian
>>>>>>>=20
>>>>>>> *
>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
>>>>>>> ction-7
>>>>>>> which is referenced by
>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
>>>>>>> ction-5 and
>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se
>>>>>>> ction-6 _______________________________________________
>>>>>>> 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
>>>>>=20
>>>>>=20
>>>>> - - m&m
>>>>>=20
>>>>> Matt Miller - <mamille2@cisco.com>
>>>>> Cisco Systems, Inc.
>>>>>=20
>>>>> -----BEGIN PGP SIGNATURE-----
>>>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>>>>> Comment: GPGTools - http://gpgtools.org
>>>>>=20
>>>>>=20
>>>>=20
>> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
>>>> zQj
>>>>>=20
>>>>=20
>> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
>>>> 8kx
>>>>>=20
>>>>=20
>> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
>>>> y
>>>>>=20
>>>>=20
>> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
>>>> +
>>>>>=20
>>>>=20
>> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
>>>> Y
>>>>>=20
>>>>=20
>> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
>>>> z/I=3D
>>>>> =3D174E
>>>>> -----END PGP SIGNATURE-----
>>>=20
>>>=20
>=20
>=20


--Apple-Mail=_E1063749-382F-470B-A29F-55CCA0C614C3
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMC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gkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDQw
NTE2MTA1OVowIwYJKoZIhvcNAQkEMRYEFLmsw3Kvhga1JvVjNpNKh1e4hGrYMIGkBgkrBgEEAYI3
EAQxgZYwgZMwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQL
EyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBD
bGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQICHlwwgaYGCyqGSIb3DQEJEAIL
MYGWoIGTMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
ACjJBN0z9Q9reHN8QUMpNgGPAA7tco3JlRCrkWZzej0cqV6UMWvka9+wIbnAJ7lOXRk6Iiwxlu9k
XwqdfCSEoQitDvKFgKZ+r3m+0xaLjjY0pSgg6BTmvPKRRH9WIRJwI0Xwt916M23HiH/XPE+NLvoG
Yb8QHFiaqXSoKSYS/tLQLwb0fZUrpcnb485v3CCL53mWjsEB+PIpB7bwasl4GosqV3S9L1q8pKuo
HWzoaxDmw5yqUhyGPw+7WIqG89gzyuEHpV72K+kr0zsg5PxowTttdcE4+9eJooTYubOUWjVER7gm
ofm2L3xGUCIRFeuRwfIx/mG3D2Ci92hPBvWNRGQAAAAAAAA=

--Apple-Mail=_E1063749-382F-470B-A29F-55CCA0C614C3--

From bcampbell@pingidentity.com  Thu Apr  5 09:17:12 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 224CC21F8686 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:17:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.977
X-Spam-Level: 
X-Spam-Status: No, score=-5.977 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bMXMqezDTi9x for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 09:17:11 -0700 (PDT)
Received: from na3sys009aog111.obsmtp.com (na3sys009aog111.obsmtp.com [74.125.149.205]) by ietfa.amsl.com (Postfix) with ESMTP id F1F2121F865D for <jose@ietf.org>; Thu,  5 Apr 2012 09:17:10 -0700 (PDT)
Received: from mail-vx0-f178.google.com ([209.85.220.178]) (using TLSv1) by na3sys009aob111.postini.com ([74.125.148.12]) with SMTP ID DSNKT33FhtMVN0nbC7mI/EQ7F9Qbed3FV+fT@postini.com; Thu, 05 Apr 2012 09:17:11 PDT
Received: by vcbgb30 with SMTP id gb30so697391vcb.9 for <jose@ietf.org>; Thu, 05 Apr 2012 09:17:09 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=vJdZfNONkwLiM+shIB/Cm9NBPWA+iX8JRLaxbmAqMAs=; b=M9A9rsTfCHNROGUvFS+0ZPh0UGRuUvfqnABdY0yJ7HyNofPKtwnx9ZrZNVQedrGnaD bVp4qVIXz7ewkLHfS218/ijclj3EEsQgrsaL3lMAd8FpjT/dwPvJCdHwLLf/DcLD2ljm Jz2mLvRREng2gXX/QgglWdoX2yRWfymZStLVHu4Hlol3f14UNZZsdYZZlExP3QlJaWGG XQ/Nhf7WLW/uSPydQCMmkPVgPE7eVYA9zgQpOMLslxPv3Ttr42EmvzuFSyPAvxJUt9iU EayLCybf3kyWOP0ctnwGggotLITglywUzlbEpIPzJpIFmclFupcsfsE/HzVDKsNF3pkQ whpw==
Received: by 10.52.91.225 with SMTP id ch1mr1882143vdb.31.1333640883705; Thu, 05 Apr 2012 08:48:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Thu, 5 Apr 2012 08:47:33 -0700 (PDT)
In-Reply-To: <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Thu, 5 Apr 2012 09:47:33 -0600
Message-ID: <CA+k3eCQF4g9okwduEtZkRKG92a7_8_LfHYNyfW_gko+f0MmBJQ@mail.gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlqfKJ/QbcIhMeUkd1dktSocIiSJTBPV7MRdqLQtmBA00NEc0FuxZSxzg00V5E62bCImI+B
Cc: jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 16:17:12 -0000

Okay, you had me at "not provably";)  Thanks for the explanation, John.

And yep - from an implementers point of view, one key is much simpler.
I'm working on an implementation now and I'll admit that laziness was
my first reaction to seeing the KDF and having to go find NIST Special
Publication 800-56A. But that thought was also followed by thinking
that the application of the KDF looks like a likely place for
implementation, interpretation and interop problems to show up.  Maybe
that's not a valid concern but I wanted to ask about it. And asking
seems to have sparked some additional discussion which can't hurt.

And yes,  ECDH-ES does use the KDF but it's somewhat different as it's
encapsulated in the algorithm rather than part of core JWE.

I assume that generating and sending two keys was not considered due
to the goal of having the JWE compact serialization be as compact as
possible?

I don't know if always using a KDF for the CEK, even with AEAD
algorithms, simplifies things all that much. Maybe it does. I don't
know. The conditional based on one aspect of the underlying algorithm
does feel a touch awkward but I (now) understand the reasons for doing
it that way.

On Wed, Apr 4, 2012 at 5:42 PM, John Bradley <ve7jtb@ve7jtb.com> wrote:
> The use of a single key across two functions is one of things that is not=
 provably without problems.
>
> I agree that from an implementers point of view one key is simpler.
>
> There is a related-key attack that using the same key would enable. =A0Th=
is can be combined with differential and linear attacks on symmetric key cy=
phers.
>
> Generally this can be thought of as a bad thing.
>
> What is certain is that it increases the possible attack surface, =A0and =
if the is a problem discovered as we have seen with AES-CBC it is going to =
be hard to change later.
>
> We need key derivation anyway for ECDH-ES to produce a key of the correct=
 bit length.
>
> Doing key derivation on CMK is the theoretically proper way to do it.
> Making a simplification might bite us in the future.
>
> I suppose one way to get around the conditional application argument is t=
o always use it to produce the CEK even with AEAD algorithms.
>
> Regards
> John B.
>
> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>
>> Hi all,
>>
>> I was hoping someone could help me (hopefully it's not just me!)
>> understand the reasons for the introduction of the key derivation
>> stuff* into JWE draft -01?
>>
>> I understand that it's there to derive the two keys, CEK and CIK, from
>> the CMK and that it is to be done when a non-AEAD algorithm is used to
>> encrypt the content. But what is the value of deriving the two keys as
>> apposed to using the CMK for both encryption and integrity?
>>
>> Perhaps naively I assumed that using the CMK for both would be
>> sufficient. =A0It's randomly generated and used only for the one JWE.
>> It's not clear to me what benefit is provided by the additional
>> complexity of the derivation function as well as its conditional
>> application (and the potential interoperability problems that come
>> with such complexity). I assume there's some security benefit? But I
>> can't see what it is.
>>
>> Any help would be appreciated.
>> Thanks,
>> Brian
>>
>> * http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect=
ion-7
>> which is referenced by
>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sectio=
n-5
>> and http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#se=
ction-6
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>

From ietf@augustcellars.com  Thu Apr  5 13:25:28 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C5F0A21F8659 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 13:25:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level: 
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fu6UfTv11MfZ for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 13:25:25 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 4C9AB21F8652 for <jose@ietf.org>; Thu,  5 Apr 2012 13:25:25 -0700 (PDT)
Received: from Tobias (50-54-163-12.evrt.wa.frontiernet.net [50.54.163.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 56D9538EFC; Thu,  5 Apr 2012 13:25:24 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Matt Miller'" <mamille2@cisco.com>, "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com>	<62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>	<4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com>	<4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com> <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
In-Reply-To: <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
Date: Thu, 5 Apr 2012 13:24:32 -0700
Message-ID: <065201cd136a$1ca94990$55fbdcb0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKHZrmAco3AbGqXh0I+g1KfPwtE7gGNJkrMAtHy7j4CTGAGGAIHYJz4Ai1qYyICy+gM6pSqpUCA
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 20:25:28 -0000

<no hat>

+1  to defining new AEAD algorithms that combine the necessary CBC + HMAC
together.

> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Matt Miller
> Sent: Thursday, April 05, 2012 8:42 AM
> To: John Bradley
> Cc: Brian Campbell; jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Apr 5, 2012, at 09:12, John Bradley wrote:
> 
> >
> > On 2012-04-05, at 11:50 AM, Matt Miller wrote:
> >
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >>
> >> On Apr 5, 2012, at 08:28, John Bradley wrote:
> >>
> >>> A couple of observations.
> >>>
> >>> The current proposal provides integrity over the header,  a new AEAD
alg
> doesn't do that.
> >>
> >> The current proposal does not provide this for existing AEAD
algorithms.
> >
> > True that is an advantage the composite CBC + HMAC has over GCM.
> >
> 
> Maybe we should find a way to correct that.  One possible solution is to
use
> the base64url-encoded header as the additional data (possibly truncated
> based on algorithm requirements).
> 
> >>
> >>> Low level crypto is a challenge.   Re-using standard underlying
algorithms
> like HMAC and AES-CBC allow for JS and other libs to call standard lower
level
> crypto functions.
> >>>
> >>
> >> The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256 and
> HMAC-SHA-256); it's not any more low-level than the non-AEAD path
> specified in JWE.
> >
> > I will have another look at it.
> >>
> >>> I am not against having another AEAD alg,  but want to help people
> understand the current design choice.
> >>>
> >>
> >> The benefit is to have a single path through the use of algorithms.  It
puts
> the differences into the algorithm implementations, which is where they
> should be.
> >>
> > There is no AES-CBC option without HMAC.  Perhaps we should net be
> calling it AES-CBC in JWA.
> >
> 
> I get there's no AES-CBC sans HMAC, and I completely agree that encryption
> without integrity protection is not worth it.  All I'm suggesting is we
(or
> someone) define an AEAD algorithm, say "AES-CBC-HMAC-SHA2-CONCAT-
> KDF" or something, which pulls together the non-AEAD path from JWE into
> its own algorithm.
> 
> >>> John B.
> >>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
> >>>
> >
> 
> 
> - - m&m
> 
> Matt Miller - <mamille2@cisco.com>
> Cisco Systems, Inc.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> 
> iQEcBAEBAgAGBQJPfb09AAoJEJq6Ou0cgrSPFQgIAObHB26bX7zdqcyzdWdMQ
> YpA
> H7JmkjMZSLCG1WMPUJWgg9w3+/SbxBkoTFKQC5SLzZrYXTErXD3sfzEXt5U5i/
> 2v
> buvnqNd4ELZDsf3kosBmn6Y2h45DPlLVMT1JE2wbQDqfx6PZPdBISGdZYlPAqX
> Wl
> cMyLKdVIBYE/4ADa2Rwswnke3dLvv4vkJUzcItAeBA0khLzS25B1Q2JpunOSKM
> yD
> i0SPxEJ9aZHghxmjGQtQIU9DBI7kuvCap8eD9zYj6DPGoAnEKWMr/hoWUjMh
> B7HH
> wEVm6dKbmH7aTVSkl4suUnU2uclurmwCB42xDNPieULQy/2T2/oKU9ERwIm0
> M4k=
> =dvxJ
> -----END PGP SIGNATURE-----
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From bcampbell@pingidentity.com  Thu Apr  5 14:06:15 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7FF521F866B for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:06:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.977
X-Spam-Level: 
X-Spam-Status: No, score=-5.977 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MnLQJ-DkVQO9 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:06:14 -0700 (PDT)
Received: from na3sys009aog117.obsmtp.com (na3sys009aog117.obsmtp.com [74.125.149.242]) by ietfa.amsl.com (Postfix) with ESMTP id AD0C321F8686 for <jose@ietf.org>; Thu,  5 Apr 2012 14:06:13 -0700 (PDT)
Received: from mail-yw0-f46.google.com ([209.85.213.46]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKT34JQk4k4B2ZN0fezo2btP3Kw0aqEO27@postini.com; Thu, 05 Apr 2012 14:06:14 PDT
Received: by yhmm54 with SMTP id m54so1007208yhm.19 for <jose@ietf.org>; Thu, 05 Apr 2012 14:06:09 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=jGEkAoOf8cnwjUUMxDNiK7C/Yfgbj73WyKnImDHIHrA=; b=hoSSOG8Ble4SBT/XGqSCpmDWoHok0Koxnv/DNjeW+NJRoVIRkfcuI0nBehdLGH4iPT 2cnSSKEO/sr0oyO3/FqEhJ7faMh2/xLlFKsLgbabUTs23iu85uyNWom02RRdJdlT70gG ecvbX70YbKEc3aIcnrK0uULXBq/x32lZCqMJ0Zf+ngW2pPxppJE9YR9FQtHzJ0MtTSqG IHrN6l2L71q50fZwGe5/SHfbc2fK4RwsLtsAelZYUWB9GUug17O9qtiUupnrR8/86VXR 6ElBj7bqXNHTEKEwnhy9enNKuMR0VoKEiuNXqar2xB0v5lZcVmKTIhOPPdeudSZCrAAP RbYw==
Received: by 10.236.193.68 with SMTP id j44mr4178163yhn.31.1333659969466; Thu, 05 Apr 2012 14:06:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Thu, 5 Apr 2012 14:05:39 -0700 (PDT)
In-Reply-To: <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com> <061601cd1345$fd1d9d20$f758d760$@augustcellars.com> <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Thu, 5 Apr 2012 15:05:39 -0600
Message-ID: <CA+k3eCRiKWuqmKuRLatrevSc+YE9Q+T5tRZUKDQCa9UKSaVtKg@mail.gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmy1IDXbeE4jpH2oekCOG4+KB2mdbXT6UtJNrWY/0CNal0hmotBja8QAqUT6XATFvoIOiue
Cc: Jim Schaad <ietf@augustcellars.com>, jose@ietf.org, Matt Miller <mamille2@cisco.com>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 21:06:16 -0000

Is it worth considering (I'm guessing the answer is no but what the
heck) going the other direction and making the separate integrity
check required regardless of the encryption algorithm?  It would mean,
when using GCM anyway, larger JWEs and also not utilizing the inherent
integrity checks provided by that class of algorithm.  But it would
also mean a cleaner encapsulation of the algorithm from the JWE
perspective and less conditional logic in JWE.

Perhaps that suggestion might be more realistic if the separate
integrity check was required but then also allowing the "none" option
from the list of JWS cryptographic algorithms  to be used for
integrity in addition to the HMAC ones.  And lastly, define some kind
of mapping or requirements between the "enc" algo used and allowed or
required "int" algorithms (i.e. "A256GCM" and "A128GCM" are the only
ones that can be used with "none").   That would provide integrity
protections, simplify the treatment of the various "enc" algorithms in
JWT (no more conditionals on the algorithm), avoid defining composite
algorithm identifiers (like A128CBC-H256), and also allow the AEAD to
use their own integrity protections.

Just some thoughts...

On Thu, Apr 5, 2012 at 10:10 AM, John Bradley <ve7jtb@ve7jtb.com> wrote:
> Then we should look at including the header as the additional data for GC=
M.
>
> I will have a look at it, and make a proposal for some text, unless someo=
ne else is volunteering?
>
> John B.
>
> On 2012-04-05, at 1:05 PM, Jim Schaad wrote:
>
>> Ok - I see you problem.
>>
>> Yes, in JWE the headers are not encrypted.
>> GCM provides integrity over both the encrypted content and the additiona=
l
>> data fields (hence the difference between AD (authenticated Data) and
>> AEAD(Authenticated Data with Additional Data).
>>
>> All AEAD algorithms provide for the ability to have data which is not pa=
rt
>> of the encrypted data be included in the authenticated data. =A0In fact =
AEAD
>> algorithms can be used as MAC algorithms in many cases by simply having =
an
>> empty string for the encrypted data (it depends in part on the internal
>> construction of the encrypted data stream). =A0I believe we verified tha=
t this
>> was a true statement for GCM at the last IETF meeting (in a hallway
>> conversation).
>>
>> Jim
>>
>>
>>> -----Original Message-----
>>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>>> Sent: Thursday, April 05, 2012 8:45 AM
>>> To: Jim Schaad
>>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>>
>>> In JWE the headers are not encrypted.
>>>
>>> GCM provides integrity only over the encrypted content.
>>>
>>> In the composite AES-CBC + HMAC the integrity is calculated over both t=
he
>>> Header and the encrypted content.
>>>
>>> The advantage of not using a AEAD algorithm is that the composite can b=
e
>>> more JOSE aware.
>>>
>>> I can't rule out having missed something thats why we review these
>> things:)
>>>
>>> John B.
>>> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
>>>
>>>> <no hat>
>>>>
>>>> John,
>>>>
>>>> I am at a loss, why do you believe that a new AEAD algorithm would not
>>>> protect the headers?
>>>>
>>>> Jim
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf
>>> Of
>>>>> John Bradley
>>>>> Sent: Thursday, April 05, 2012 7:28 AM
>>>>> To: Matt Miller
>>>>> Cc: Brian Campbell; jose@ietf.org
>>>>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>>>>
>>>>> A couple of observations.
>>>>>
>>>>> The current proposal provides integrity over the header, =A0a new AEA=
D
>> alg
>>>>> doesn't do that.
>>>>> Low level crypto is a challenge. =A0 Re-using standard underlying
>> algorithms
>>>> like
>>>>> HMAC and AES-CBC allow for JS and other libs to call standard lower
>> level
>>>>> crypto functions.
>>>>>
>>>>> I am not against having another AEAD alg, =A0but want to help people
>>>>> understand the current design choice.
>>>>>
>>>>> John B.
>>>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>>>
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>> Another way around the conditional in application-space is to define
>> an
>>>>> AEAD algorithm composed of an encryption and hashing function. =A0Thi=
s
>>>>> seems like a reasonable place to start looking at one: <
>>>>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>>>>>>
>>>>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>>>>>
>>>>>>> The use of a single key across two functions is one of things that =
is
>>>> not
>>>>> provably without problems.
>>>>>>>
>>>>>>> I agree that from an implementers point of view one key is simpler.
>>>>>>>
>>>>>>> There is a related-key attack that using the same key would enable.
>>>> This
>>>>> can be combined with differential and linear attacks on symmetric key
>>>>> cyphers.
>>>>>>>
>>>>>>> Generally this can be thought of as a bad thing.
>>>>>>>
>>>>>>> What is certain is that it increases the possible attack surface,
>> and
>>>> if the is
>>>>> a problem discovered as we have seen with AES-CBC it is going to be
>> hard
>>>> to
>>>>> change later.
>>>>>>>
>>>>>>> We need key derivation anyway for ECDH-ES to produce a key of the
>>>>> correct bit length.
>>>>>>>
>>>>>>> Doing key derivation on CMK is the theoretically proper way to do i=
t.
>>>>>>> Making a simplification might bite us in the future.
>>>>>>>
>>>>>>> I suppose one way to get around the conditional application argumen=
t
>>> is
>>>>> to always use it to produce the CEK even with AEAD algorithms.
>>>>>>>
>>>>>>> Regards
>>>>>>> John B.
>>>>>>>
>>>>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I was hoping someone could help me (hopefully it's not just me!)
>>>>>>>> understand the reasons for the introduction of the key derivation
>>>>>>>> stuff* into JWE draft -01?
>>>>>>>>
>>>>>>>> I understand that it's there to derive the two keys, CEK and CIK,
>>>>>>>> from the CMK and that it is to be done when a non-AEAD algorithm i=
s
>>>>>>>> used to encrypt the content. But what is the value of deriving the
>>>>>>>> two keys as apposed to using the CMK for both encryption and
>>>> integrity?
>>>>>>>>
>>>>>>>> Perhaps naively I assumed that using the CMK for both would be
>>>>>>>> sufficient. =A0It's randomly generated and used only for the one J=
WE.
>>>>>>>> It's not clear to me what benefit is provided by the additional
>>>>>>>> complexity of the derivation function as well as its conditional
>>>>>>>> application (and the potential interoperability problems that come
>>>>>>>> with such complexity). I assume there's some security benefit? But=
 I
>>>>>>>> can't see what it is.
>>>>>>>>
>>>>>>>> Any help would be appreciated.
>>>>>>>> Thanks,
>>>>>>>> Brian
>>>>>>>>
>>>>>>>> *
>>>>>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#=
se
>>>>>>>> ction-7
>>>>>>>> which is referenced by
>>>>>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#=
se
>>>>>>>> ction-5 and
>>>>>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#=
se
>>>>>>>> ction-6 _______________________________________________
>>>>>>>> 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
>>>>>>
>>>>>>
>>>>>> - - m&m
>>>>>>
>>>>>> Matt Miller - <mamille2@cisco.com>
>>>>>> Cisco Systems, Inc.
>>>>>>
>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>>>>>> Comment: GPGTools - http://gpgtools.org
>>>>>>
>>>>>>
>>>>>
>>> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
>>>>> zQj
>>>>>>
>>>>>
>>> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
>>>>> 8kx
>>>>>>
>>>>>
>>> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
>>>>> y
>>>>>>
>>>>>
>>> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
>>>>> +
>>>>>>
>>>>>
>>> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
>>>>> Y
>>>>>>
>>>>>
>>> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
>>>>> z/I=3D
>>>>>> =3D174E
>>>>>> -----END PGP SIGNATURE-----
>>>>
>>>>
>>
>>
>

From ietf@augustcellars.com  Thu Apr  5 14:25:29 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B94A621F8686 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:25:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level: 
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PpEa0vH92nYZ for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:25:28 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id C6F3321F866B for <jose@ietf.org>; Thu,  5 Apr 2012 14:25:28 -0700 (PDT)
Received: from Tobias (173-160-230-153-Washington.hfc.comcastbusiness.net [173.160.230.153]) (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 8E87938F3A; Thu,  5 Apr 2012 14:25:28 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Matt Miller'" <mamille2@cisco.com>, "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com>	<62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com>	<4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com>	<4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com> <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
In-Reply-To: <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com>
Date: Thu, 5 Apr 2012 14:24:35 -0700
Message-ID: <066001cd1372$80957390$81c05ab0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKHZrmAco3AbGqXh0I+g1KfPwtE7gGNJkrMAtHy7j4CTGAGGAIHYJz4Ai1qYyICy+gM6pSqtB4Q
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 21:25:29 -0000

<no hat>

> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Matt Miller
> Sent: Thursday, April 05, 2012 8:42 AM
> To: John Bradley
> Cc: Brian Campbell; jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Apr 5, 2012, at 09:12, John Bradley wrote:
> 
> >
> > On 2012-04-05, at 11:50 AM, Matt Miller wrote:
> >
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >>
> >> On Apr 5, 2012, at 08:28, John Bradley wrote:
> >>
> >>> A couple of observations.
> >>>
> >>> The current proposal provides integrity over the header,  a new AEAD
alg
> doesn't do that.
> >>
> >> The current proposal does not provide this for existing AEAD
algorithms.
> >
> > True that is an advantage the composite CBC + HMAC has over GCM.
> >
> 
> Maybe we should find a way to correct that.  One possible solution is to
use
> the base64url-encoded header as the additional data (possibly truncated
> based on algorithm requirements).
> 
> >>
> >>> Low level crypto is a challenge.   Re-using standard underlying
algorithms
> like HMAC and AES-CBC allow for JS and other libs to call standard lower
level
> crypto functions.
> >>>
> >>
> >> The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256 and
> HMAC-SHA-256); it's not any more low-level than the non-AEAD path
> specified in JWE.
> >
> > I will have another look at it.
> >>
> >>> I am not against having another AEAD alg,  but want to help people
> understand the current design choice.
> >>>
> >>
> >> The benefit is to have a single path through the use of algorithms.  It
puts
> the differences into the algorithm implementations, which is where they
> should be.
> >>
> > There is no AES-CBC option without HMAC.  Perhaps we should net be
> calling it AES-CBC in JWA.
> >
> 
> I get there's no AES-CBC sans HMAC, and I completely agree that encryption
> without integrity protection is not worth it.  All I'm suggesting is we
(or
> someone) define an AEAD algorithm, say "AES-CBC-HMAC-SHA2-CONCAT-
> KDF" or something, which pulls together the non-AEAD path from JWE into
> its own algorithm.

Based on the fact that we are not placing the attributes for a given
algorithm anyplace except at the top level, I think we can probably define
AES-CBC (maybe with an -AEAD tag) as an AEAD encryption algorithm.  The
definition of the algorithm would then include the parameters "iv" and "int"
as parameters of the algorithm.  The int parameter would then define an HMAC
algorithm (or any other MAC algorithm).  It would make a great deal of sense
in this case to limit the number of items that can occur in the int field
for interoperability reasons.  This reduces the number of algorithm names.

Contra-wise (as says Tweedle-Dum) - I have no problems with creating a very
limited number of AEAD algorithm labels that include the MAC algorithm as
part of the name string.  I don't see any reason to go overboard however and
would say that two variations are probably more than is needed at this time.

Jim


> 
> >>> John B.
> >>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
> >>>
> >
> 
> 
> - - m&m
> 
> Matt Miller - <mamille2@cisco.com>
> Cisco Systems, Inc.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> 
> iQEcBAEBAgAGBQJPfb09AAoJEJq6Ou0cgrSPFQgIAObHB26bX7zdqcyzdWdMQ
> YpA
> H7JmkjMZSLCG1WMPUJWgg9w3+/SbxBkoTFKQC5SLzZrYXTErXD3sfzEXt5U5i/
> 2v
> buvnqNd4ELZDsf3kosBmn6Y2h45DPlLVMT1JE2wbQDqfx6PZPdBISGdZYlPAqX
> Wl
> cMyLKdVIBYE/4ADa2Rwswnke3dLvv4vkJUzcItAeBA0khLzS25B1Q2JpunOSKM
> yD
> i0SPxEJ9aZHghxmjGQtQIU9DBI7kuvCap8eD9zYj6DPGoAnEKWMr/hoWUjMh
> B7HH
> wEVm6dKbmH7aTVSkl4suUnU2uclurmwCB42xDNPieULQy/2T2/oKU9ERwIm0
> M4k=
> =dvxJ
> -----END PGP SIGNATURE-----
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From ietf@augustcellars.com  Thu Apr  5 14:26:55 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 189FE21F8629 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:26:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level: 
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kGksWe6C1gkY for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:26:54 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id 91B7821F8610 for <jose@ietf.org>; Thu,  5 Apr 2012 14:26:54 -0700 (PDT)
Received: from Tobias (173-160-230-153-Washington.hfc.comcastbusiness.net [173.160.230.153]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 857502CA22; Thu,  5 Apr 2012 14:26:54 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'John Bradley'" <ve7jtb@ve7jtb.com>, "'Brian Campbell'" <bcampbell@pingidentity.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
In-Reply-To: <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>
Date: Thu, 5 Apr 2012 14:26:01 -0700
Message-ID: <066101cd1372$b3c60130$1b520390$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKHZrmAco3AbGqXh0I+g1KfPwtE7gGNJkrMlQuumSA=
Cc: jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 21:26:55 -0000

Another reason is that the algorithms may use two different key sizes and
thus you need to deal with the expansion/truncation questions.

jim

> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> John Bradley
> Sent: Wednesday, April 04, 2012 4:42 PM
> To: Brian Campbell
> Cc: jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> 
> The use of a single key across two functions is one of things that is not
> provably without problems.
> 
> I agree that from an implementers point of view one key is simpler.
> 
> There is a related-key attack that using the same key would enable.  This
can
> be combined with differential and linear attacks on symmetric key cyphers.
> 
> Generally this can be thought of as a bad thing.
> 
> What is certain is that it increases the possible attack surface,  and if
the is a
> problem discovered as we have seen with AES-CBC it is going to be hard to
> change later.
> 
> We need key derivation anyway for ECDH-ES to produce a key of the correct
> bit length.
> 
> Doing key derivation on CMK is the theoretically proper way to do it.
> Making a simplification might bite us in the future.
> 
> I suppose one way to get around the conditional application argument is to
> always use it to produce the CEK even with AEAD algorithms.
> 
> Regards
> John B.
> 
> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
> 
> > Hi all,
> >
> > I was hoping someone could help me (hopefully it's not just me!)
> > understand the reasons for the introduction of the key derivation
> > stuff* into JWE draft -01?
> >
> > I understand that it's there to derive the two keys, CEK and CIK, from
> > the CMK and that it is to be done when a non-AEAD algorithm is used to
> > encrypt the content. But what is the value of deriving the two keys as
> > apposed to using the CMK for both encryption and integrity?
> >
> > Perhaps naively I assumed that using the CMK for both would be
> > sufficient.  It's randomly generated and used only for the one JWE.
> > It's not clear to me what benefit is provided by the additional
> > complexity of the derivation function as well as its conditional
> > application (and the potential interoperability problems that come
> > with such complexity). I assume there's some security benefit? But I
> > can't see what it is.
> >
> > Any help would be appreciated.
> > Thanks,
> > Brian
> >
> > *
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
> > ion-7
> > which is referenced by
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
> > ion-5 and
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
> > ion-6 _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose



From bcampbell@pingidentity.com  Thu Apr  5 14:57:38 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6216A21F85C2 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:57:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.676
X-Spam-Level: 
X-Spam-Status: No, score=-5.676 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LqD-+DKW94ha for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 14:57:37 -0700 (PDT)
Received: from na3sys009aog103.obsmtp.com (na3sys009aog103.obsmtp.com [74.125.149.71]) by ietfa.amsl.com (Postfix) with ESMTP id 80B1121F85AD for <jose@ietf.org>; Thu,  5 Apr 2012 14:57:36 -0700 (PDT)
Received: from mail-gx0-f171.google.com ([209.85.161.171]) (using TLSv1) by na3sys009aob103.postini.com ([74.125.148.12]) with SMTP ID DSNKT34VT6zWZa+bms08pBzCXmJ6lA7Sk7+H@postini.com; Thu, 05 Apr 2012 14:57:36 PDT
Received: by ggcs5 with SMTP id s5so1218575ggc.2 for <jose@ietf.org>; Thu, 05 Apr 2012 14:57:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=WFZmD6uuTQfsPd6uEHenHWu9wnrigtFwzytYtpvo32s=; b=oYeg5ePItelX8CKhQyUnJ8IJbxZACTTfNnkqvxkZxVKl4JEKsRU9B7t344x+3qww0L 0glRKGCsYP7JfL8WZp+GdX0FqF3ul00Z2WYuee4vcivtOnDfuOmFmNcHiadWZq2obFmp GIY5xi3Z/5pON6pCya1lSRYMa29XRyR7B2WE5/L/QMe7+PQkDIRkmagKc/GKKaxPIMDA sgbwQChJJ585CmBK7Fsdt2cVLhcS2nfFYFUFZc/v9pNoU0smxeuznwZSVfUQ9dKtAJUK aFu6aveHP6eY5i/wBmFTE5i9ZdS0VEhnRX7GHWv8WrTBDbt5nIvtIjqX8GXy9CHRLuSL RDDA==
Received: by 10.236.193.68 with SMTP id j44mr4366153yhn.31.1333663055213; Thu, 05 Apr 2012 14:57:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Thu, 5 Apr 2012 14:57:04 -0700 (PDT)
In-Reply-To: <F252B69E-2E85-4AAE-8851-89FF20DD8D0C@ve7jtb.com>
References: <20120405071758.cc40c4f3d92d2001859047cd8cabb9ab.b5b15f820c.wbe@email07.europe.secureserver.net> <F252B69E-2E85-4AAE-8851-89FF20DD8D0C@ve7jtb.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Thu, 5 Apr 2012 15:57:04 -0600
Message-ID: <CA+k3eCShwYvmzPNAmNexGETL8zo-R03xDyfZnSRUtJuLj2nsEQ@mail.gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary=20cf305b0c64a7f69c04bcf5a03d
X-Gm-Message-State: ALoCoQkQwGH4o+dejdfs7YMDsKecV+sZAAOpyTJV7kND2Rw0IX1p5t2iPWzzhtJKxbKjmno6yIb1
Cc: juraj.somorovsky@rub.de, Axel.Nennker@telekom.de, jose@ietf.org, Vladimir Dzhuvinov / NimbusDS <vladimir@nimbusds.com>
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 21:57:38 -0000

--20cf305b0c64a7f69c04bcf5a03d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

>From a developers perspective I will note that OAEP is required by SAML 2.0
Conformance* (because of XML Encryption**). SAML isn't ubiquitous by any
means but has been implemented on a number of different platforms/languages
which would suggest that OAEP availability is pretty widespread. I know,
for example, that the standard Java JCA has had it for many years.

* =A74.2 of
http://docs.oasis-open.org/security/saml/v2.0/saml-conformance-2.0-os.pdf
** =A75.1 at http://www.w3.org/TR/xmlenc-core/#sec-AlgID



On Thu, Apr 5, 2012 at 8:51 AM, John Bradley <ve7jtb@ve7jtb.com> wrote:

> I have been pro OAEP for a long time.  I think we had OAEP as the default
> in the earlier JSS spec.
>
> The question always comes back to deployability.   PKCS#1_5 is available
> more places.
>
> I am interested in peoples opinions especialy developers and library
> people.
>
> John B.
> On 2012-04-05, at 11:17 AM, Vladimir Dzhuvinov / NimbusDS wrote:
>
> > +1 in favour of deprecating RSA1_5 in favour of OAEP.
> >
> > On Thu, 2012-04-05 at 13:04 +0000, Mike Scott wrote:
> >> Hello Vladimir,
> >>
> >> I would recommend OAEP. As I recall there were some obscure attacks on
> earlier proposals from RSA.
> >>
> >> Mike
> >
> > --
> > Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
> >
> >
> >
> >
> > -------- Original Message --------
> > Subject: Re: [jose] JWT + JOSE for Java
> > From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
> > Date: Thu, April 05, 2012 2:03 pm
> > To: Axel.Nennker@telekom.de, juraj.somorovsky@rub.de
> > Cc: jose@ietf.org
> >
> > Hallo Berlin, hallo Bochum, hallo Welt! :)
> >
> > I just sent an email to a crypto expert at a partner company to ask for
> > his opinion is on that. My feeling is that when we collect sufficient
> > opinions on that the "truth" will eventually emerge :)
> >
> > As mentioned, I don't have a proper crypto background, so during
> > refactoring I made sure Axel's code remained just as it was.
> >
> >
> > Vladimir
> >
> > --
> > Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
> >
> >
> >
> >
> >
> > -------- Original Message --------
> > Subject: Re: [jose] JWT + JOSE for Java
> > From: <Axel.Nennker@telekom.de>
> > Date: Thu, April 05, 2012 1:00 pm
> > To: <juraj.somorovsky@rub.de>, <vladimir@nimbusds.com>
> > Cc: jose@ietf.org
> >
> >
> > Hi Juraj,
> >
> > As Vladimir's work is based on my implementation I guess that my
> > implementation has room for improvement too.
> >
> https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap=
/json/WebToken.java
> >
> > ENC_ALG_RSA_OAEP is better than ENC_ALG_RSA1_5.
> >
> https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap=
/json/WebToken.java#116
> >
> > Both padding algorithms are supported by my code and this RSA bulletin
> > mentions OAEP as one counter measure against the Bleichenbacher attack.
> > ftp://ftp.rsasecurity.com/pub/pdfs/bulletn7.pdf
> >
> > Does "your" attack work against ENC_ALG_RSA_OAEP too? Additional counte=
r
> > measures suggestions are very welcome.
> >
> > RSA1_5 is in the proposed standard because it is widely available
> > although RSA recommends to use OAEP for decades.
> > I think that RSA-OAEP should be mandatory to implement and RSA1_5
> > deprecated.
> >
> > Cheers. Greetings from Berlin to Bochum.
> > Axel
> >
> >
> > -----Original Message-----
> > From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> > Juraj Somorovsky
> > Sent: Thursday, April 05, 2012 1:13 AM
> > To: vladimir@nimbusds.com
> > Cc: jose@ietf.org
> > Subject: Re: [jose] JWT + JOSE for Java
> >
> > Hi Vladimir,
> >
> > I have took a look at your implementation and found out, that your PKCS=
1
> > handling is vulnerable to the Bleichenbacher attack (the adversary coul=
d
> > be able to issue different ciphertexts, send them to the server, and
> > according to its responses he could learn the encrypted CEK)
> >
> > I will send you PoCs and instructions how to fix it by tomorrow...or
> > just take a look at the document written by Eric Rescorla:
> > http://www.ietf.org/rfc/rfc3218.txt
> >
> > Regards
> > Juraj
> >
> > On 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:
> >> Today I reached a point in my JWT+JOSE library implementation where I
> >> wouldn't feel ashamed to release it to the public :)
> >>
> >> https://github.com/NimbusDS/Nimbus-JWT
> >>
> >> The library is fully documented:
> >> http://nimbusds.com/files/jwt/javadoc/index.html
> >>
> >>
> >> The Nimbus-JWT library started a month ago from code borrowed from
> >> Axel Nennker's + Co OpenInfoCard project and at this point covers
> >> fully plain and signed JWTs as well as JSON Web Keys (JWK). The JWE
> >> implementation still requires a bit of work to add HMAC integrity and
> >> cover the remaining elliptic curve and key-wrap encryption algorithms
> >> from the JWA spec. I would be very thankful if somebody could help me
> >> with that as I don't have much experience with cryptography :)
> >>
> >> For the listing of the supported JWAs:
> >> http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/JWA.html
> >>
> >> Cheers,
> >>
> >> Vladimir
> >> --
> >> Vladimir Dzhuvinov : www.NimbusDS.com : vladimir@nimbusds.com
> >>
> >> _______________________________________________
> >> jose mailing list
> >> jose@ietf.org
> >> https://www.ietf.org/mailman/listinfo/jose
> >
> > --
> > M.Sc. Juraj Somorovsky
> >
> > Lehrstuhl f=FCr Netz- und Datensicherheit
> > Ruhr Universit=E4t Bochum
> > -----------------------------------
> > Universit=E4tsstr. 150, Geb. ID 2/411
> > D-44780 Bochum
> >
> > Telefon: +49 (0) 234 / 32-26551
> > Fax: +49 (0) 234 / 32-14347
> > http://www.nds.rub.de
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose
> >
> > _______________________________________________
> > 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
>
>

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

>From a developers perspective I will note that OAEP is required by SAML 2.0=
 Conformance* (because of XML Encryption**). SAML isn&#39;t ubiquitous by a=
ny means but has been implemented on a number of different platforms/langua=
ges which would suggest that OAEP availability is pretty widespread. I know=
, for example, that the standard Java JCA has had it for many years. <br>

<br>* =A74.2 of <a href=3D"http://docs.oasis-open.org/security/saml/v2.0/sa=
ml-conformance-2.0-os.pdf">http://docs.oasis-open.org/security/saml/v2.0/sa=
ml-conformance-2.0-os.pdf</a><br>** =A75.1 at <a href=3D"http://www.w3.org/=
TR/xmlenc-core/#sec-AlgID">http://www.w3.org/TR/xmlenc-core/#sec-AlgID</a><=
br>

<br><br><br><div class=3D"gmail_quote">On Thu, Apr 5, 2012 at 8:51 AM, John=
 Bradley <span dir=3D"ltr">&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com">ve7jtb@=
ve7jtb.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I have been pro OAEP for a long time. =A0I think we had OAEP as the default=
 in the earlier JSS spec.<br>
<br>
The question always comes back to deployability. =A0 PKCS#1_5 is available =
more places.<br>
<br>
I am interested in peoples opinions especialy developers and library people=
.<br>
<br>
John B.<br>
<div class=3D"HOEnZb"><div class=3D"h5">On 2012-04-05, at 11:17 AM, Vladimi=
r Dzhuvinov / NimbusDS wrote:<br>
<br>
&gt; +1 in favour of deprecating RSA1_5 in favour of OAEP.<br>
&gt;<br>
&gt; On Thu, 2012-04-05 at 13:04 +0000, Mike Scott wrote:<br>
&gt;&gt; Hello Vladimir,<br>
&gt;&gt;<br>
&gt;&gt; I would recommend OAEP. As I recall there were some obscure attack=
s on earlier proposals from RSA.<br>
&gt;&gt;<br>
&gt;&gt; Mike<br>
&gt;<br>
&gt; --<br>
&gt; Vladimir Dzhuvinov : <a href=3D"http://www.NimbusDS.com" target=3D"_bl=
ank">www.NimbusDS.com</a> : <a href=3D"mailto:vladimir@nimbusds.com">vladim=
ir@nimbusds.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -------- Original Message --------<br>
&gt; Subject: Re: [jose] JWT + JOSE for Java<br>
&gt; From: &quot;Vladimir Dzhuvinov / NimbusDS&quot; &lt;<a href=3D"mailto:=
vladimir@nimbusds.com">vladimir@nimbusds.com</a>&gt;<br>
&gt; Date: Thu, April 05, 2012 2:03 pm<br>
&gt; To: <a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nennker@telekom.de=
</a>, <a href=3D"mailto:juraj.somorovsky@rub.de">juraj.somorovsky@rub.de</a=
><br>
&gt; Cc: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt;<br>
&gt; Hallo Berlin, hallo Bochum, hallo Welt! :)<br>
&gt;<br>
&gt; I just sent an email to a crypto expert at a partner company to ask fo=
r<br>
&gt; his opinion is on that. My feeling is that when we collect sufficient<=
br>
&gt; opinions on that the &quot;truth&quot; will eventually emerge :)<br>
&gt;<br>
&gt; As mentioned, I don&#39;t have a proper crypto background, so during<b=
r>
&gt; refactoring I made sure Axel&#39;s code remained just as it was.<br>
&gt;<br>
&gt;<br>
&gt; Vladimir<br>
&gt;<br>
&gt; --<br>
&gt; Vladimir Dzhuvinov : <a href=3D"http://www.NimbusDS.com" target=3D"_bl=
ank">www.NimbusDS.com</a> : <a href=3D"mailto:vladimir@nimbusds.com">vladim=
ir@nimbusds.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -------- Original Message --------<br>
&gt; Subject: Re: [jose] JWT + JOSE for Java<br>
&gt; From: &lt;<a href=3D"mailto:Axel.Nennker@telekom.de">Axel.Nennker@tele=
kom.de</a>&gt;<br>
&gt; Date: Thu, April 05, 2012 1:00 pm<br>
&gt; To: &lt;<a href=3D"mailto:juraj.somorovsky@rub.de">juraj.somorovsky@ru=
b.de</a>&gt;, &lt;<a href=3D"mailto:vladimir@nimbusds.com">vladimir@nimbusd=
s.com</a>&gt;<br>
&gt; Cc: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt;<br>
&gt;<br>
&gt; Hi Juraj,<br>
&gt;<br>
&gt; As Vladimir&#39;s work is based on my implementation I guess that my<b=
r>
&gt; implementation has room for improvement too.<br>
&gt; <a href=3D"https://code.google.com/p/openinfocard/source/browse/trunk/=
src/org/xmldap/json/WebToken.java" target=3D"_blank">https://code.google.co=
m/p/openinfocard/source/browse/trunk/src/org/xmldap/json/WebToken.java</a><=
br>


&gt;<br>
&gt; ENC_ALG_RSA_OAEP is better than ENC_ALG_RSA1_5.<br>
&gt; <a href=3D"https://code.google.com/p/openinfocard/source/browse/trunk/=
src/org/xmldap/json/WebToken.java#116" target=3D"_blank">https://code.googl=
e.com/p/openinfocard/source/browse/trunk/src/org/xmldap/json/WebToken.java#=
116</a><br>


&gt;<br>
&gt; Both padding algorithms are supported by my code and this RSA bulletin=
<br>
&gt; mentions OAEP as one counter measure against the Bleichenbacher attack=
.<br>
&gt; <a href=3D"ftp://ftp.rsasecurity.com/pub/pdfs/bulletn7.pdf" target=3D"=
_blank">ftp://ftp.rsasecurity.com/pub/pdfs/bulletn7.pdf</a><br>
&gt;<br>
&gt; Does &quot;your&quot; attack work against ENC_ALG_RSA_OAEP too? Additi=
onal counter<br>
&gt; measures suggestions are very welcome.<br>
&gt;<br>
&gt; RSA1_5 is in the proposed standard because it is widely available<br>
&gt; although RSA recommends to use OAEP for decades.<br>
&gt; I think that RSA-OAEP should be mandatory to implement and RSA1_5<br>
&gt; deprecated.<br>
&gt;<br>
&gt; Cheers. Greetings from Berlin to Bochum.<br>
&gt; Axel<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</=
a> [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</=
a>] On Behalf Of<br>
&gt; Juraj Somorovsky<br>
&gt; Sent: Thursday, April 05, 2012 1:13 AM<br>
&gt; To: <a href=3D"mailto:vladimir@nimbusds.com">vladimir@nimbusds.com</a>=
<br>
&gt; Cc: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; Subject: Re: [jose] JWT + JOSE for Java<br>
&gt;<br>
&gt; Hi Vladimir,<br>
&gt;<br>
&gt; I have took a look at your implementation and found out, that your PKC=
S1<br>
&gt; handling is vulnerable to the Bleichenbacher attack (the adversary cou=
ld<br>
&gt; be able to issue different ciphertexts, send them to the server, and<b=
r>
&gt; according to its responses he could learn the encrypted CEK)<br>
&gt;<br>
&gt; I will send you PoCs and instructions how to fix it by tomorrow...or<b=
r>
&gt; just take a look at the document written by Eric Rescorla:<br>
&gt; <a href=3D"http://www.ietf.org/rfc/rfc3218.txt" target=3D"_blank">http=
://www.ietf.org/rfc/rfc3218.txt</a><br>
&gt;<br>
&gt; Regards<br>
&gt; Juraj<br>
&gt;<br>
&gt; On 04/03/2012 11:24 AM, Vladimir Dzhuvinov / NimbusDS wrote:<br>
&gt;&gt; Today I reached a point in my JWT+JOSE library implementation wher=
e I<br>
&gt;&gt; wouldn&#39;t feel ashamed to release it to the public :)<br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"https://github.com/NimbusDS/Nimbus-JWT" target=3D"_blan=
k">https://github.com/NimbusDS/Nimbus-JWT</a><br>
&gt;&gt;<br>
&gt;&gt; The library is fully documented:<br>
&gt;&gt; <a href=3D"http://nimbusds.com/files/jwt/javadoc/index.html" targe=
t=3D"_blank">http://nimbusds.com/files/jwt/javadoc/index.html</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The Nimbus-JWT library started a month ago from code borrowed from=
<br>
&gt;&gt; Axel Nennker&#39;s + Co OpenInfoCard project and at this point cov=
ers<br>
&gt;&gt; fully plain and signed JWTs as well as JSON Web Keys (JWK). The JW=
E<br>
&gt;&gt; implementation still requires a bit of work to add HMAC integrity =
and<br>
&gt;&gt; cover the remaining elliptic curve and key-wrap encryption algorit=
hms<br>
&gt;&gt; from the JWA spec. I would be very thankful if somebody could help=
 me<br>
&gt;&gt; with that as I don&#39;t have much experience with cryptography :)=
<br>
&gt;&gt;<br>
&gt;&gt; For the listing of the supported JWAs:<br>
&gt;&gt; <a href=3D"http://nimbusds.com/files/jwt/javadoc/com/nimbusds/jwt/=
JWA.html" target=3D"_blank">http://nimbusds.com/files/jwt/javadoc/com/nimbu=
sds/jwt/JWA.html</a><br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt; Vladimir<br>
&gt;&gt; --<br>
&gt;&gt; Vladimir Dzhuvinov : <a href=3D"http://www.NimbusDS.com" target=3D=
"_blank">www.NimbusDS.com</a> : <a href=3D"mailto:vladimir@nimbusds.com">vl=
adimir@nimbusds.com</a><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><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_=
blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; --<br>
&gt; M.Sc. Juraj Somorovsky<br>
&gt;<br>
&gt; Lehrstuhl f=FCr Netz- und Datensicherheit<br>
&gt; Ruhr Universit=E4t Bochum<br>
&gt; -----------------------------------<br>
&gt; Universit=E4tsstr. 150, Geb. ID 2/411<br>
&gt; D-44780 Bochum<br>
&gt;<br>
&gt; Telefon: <a href=3D"tel:%2B49%20%280%29%20234%20%2F%2032-26551" value=
=3D"+492343226551">+49 (0) 234 / 32-26551</a><br>
&gt; Fax: <a href=3D"tel:%2B49%20%280%29%20234%20%2F%2032-14347" value=3D"+=
492343214347">+49 (0) 234 / 32-14347</a><br>
&gt; <a href=3D"http://www.nds.rub.de" target=3D"_blank">http://www.nds.rub=
.de</a><br>
&gt; _______________________________________________<br>
&gt; jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><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; jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><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; jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><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; jose mailing list<br>
&gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><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>
<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>

--20cf305b0c64a7f69c04bcf5a03d--

From Michael.Jones@microsoft.com  Thu Apr  5 15:18:55 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72FAA21F85C0 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 15:18:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level: 
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HZ9iRdwhecbB for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 15:18:54 -0700 (PDT)
Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe005.messaging.microsoft.com [213.199.154.143]) by ietfa.amsl.com (Postfix) with ESMTP id 1F76221F85BD for <jose@ietf.org>; Thu,  5 Apr 2012 15:18:54 -0700 (PDT)
Received: from mail19-db3-R.bigfish.com (10.3.81.230) by DB3EHSOBE005.bigfish.com (10.3.84.25) with Microsoft SMTP Server id 14.1.225.23; Thu, 5 Apr 2012 22:18:53 +0000
Received: from mail19-db3 (localhost [127.0.0.1])	by mail19-db3-R.bigfish.com (Postfix) with ESMTP id 352D720236; Thu,  5 Apr 2012 22:18:53 +0000 (UTC)
X-SpamScore: -46
X-BigFish: VS-46(zz154cP9371I936eK542M1432N98dKzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839h944hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC104.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail19-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail19-db3 (localhost.localdomain [127.0.0.1]) by mail19-db3 (MessageSwitch) id 1333664331895759_14556; Thu,  5 Apr 2012 22:18:51 +0000 (UTC)
Received: from DB3EHSMHS015.bigfish.com (unknown [10.3.81.246])	by mail19-db3.bigfish.com (Postfix) with ESMTP id D7E3530004B; Thu,  5 Apr 2012 22:18:51 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS015.bigfish.com (10.3.87.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 5 Apr 2012 22:18:51 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.02.0283.004; Thu, 5 Apr 2012 22:18:17 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Matt Miller' <mamille2@cisco.com>, 'John Bradley' <ve7jtb@ve7jtb.com>
Thread-Topic: [jose] Understanding the motivation for Key Derivation?
Thread-Index: AQHNErQOZlMb1ahKqUiwv3kEv/baLJaLU7cAgADcGICAABt4AIAABlCAgAAF7ICAAAhOAIAATv4AgAAeUrA=
Date: Thu, 5 Apr 2012 22:18:16 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739436645BD13@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <4837CEA5-CF8F-4B5C-AAE9-77C9BCE11775@cisco.com> <4CD31FEA-9079-4964-A943-1AD6C69BAF92@ve7jtb.com> <1E3DAA3F-8AFC-4194-831F-6F895AD77933@cisco.com> <065201cd136a$1ca94990$55fbdcb0$@augustcellars.com>
In-Reply-To: <065201cd136a$1ca94990$55fbdcb0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.72]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 22:18:55 -0000

As an individual, I'm not against an IETF security working group defining s=
uch algorithms, but it would seem to me that these should be separate RFC(s=
) from JWE, both as they have broader applicability, and because they are n=
ot essential to the JWE functionality.  Once they are approved, they could =
easily be added to the set of supported algorithms in in the JWA spec.  But=
 I worry about coupling the JWE spec to this largely orthogonal encryption =
algorithm work.

				-- Mike

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Jim=
 Schaad
Sent: Thursday, April 05, 2012 1:25 PM
To: 'Matt Miller'; 'John Bradley'
Cc: 'Brian Campbell'; jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?

<no hat>

+1  to defining new AEAD algorithms that combine the necessary CBC +=20
+HMAC
together.

> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf=20
> Of Matt Miller
> Sent: Thursday, April 05, 2012 8:42 AM
> To: John Bradley
> Cc: Brian Campbell; jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
>=20
> On Apr 5, 2012, at 09:12, John Bradley wrote:
>=20
> >
> > On 2012-04-05, at 11:50 AM, Matt Miller wrote:
> >
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >>
> >> On Apr 5, 2012, at 08:28, John Bradley wrote:
> >>
> >>> A couple of observations.
> >>>
> >>> The current proposal provides integrity over the header,  a new=20
> >>> AEAD
alg
> doesn't do that.
> >>
> >> The current proposal does not provide this for existing AEAD
algorithms.
> >
> > True that is an advantage the composite CBC + HMAC has over GCM.
> >
>=20
> Maybe we should find a way to correct that.  One possible solution is=20
> to
use
> the base64url-encoded header as the additional data (possibly=20
> truncated based on algorithm requirements).
>=20
> >>
> >>> Low level crypto is a challenge.   Re-using standard underlying
algorithms
> like HMAC and AES-CBC allow for JS and other libs to call standard=20
> lower
level
> crypto functions.
> >>>
> >>
> >> The draft I noted uses AES-CBC-128 and HMAC-SHA1 (or AES-CBC-256=20
> >> and
> HMAC-SHA-256); it's not any more low-level than the non-AEAD path=20
> specified in JWE.
> >
> > I will have another look at it.
> >>
> >>> I am not against having another AEAD alg,  but want to help people
> understand the current design choice.
> >>>
> >>
> >> The benefit is to have a single path through the use of algorithms. =20
> >> It
puts
> the differences into the algorithm implementations, which is where=20
> they should be.
> >>
> > There is no AES-CBC option without HMAC.  Perhaps we should net be
> calling it AES-CBC in JWA.
> >
>=20
> I get there's no AES-CBC sans HMAC, and I completely agree that=20
> encryption without integrity protection is not worth it.  All I'm=20
> suggesting is we
(or
> someone) define an AEAD algorithm, say "AES-CBC-HMAC-SHA2-CONCAT- KDF"=20
> or something, which pulls together the non-AEAD path from JWE into its=20
> own algorithm.
>=20
> >>> John B.
> >>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
> >>>
> >
>=20
>=20
> - - m&m
>=20
> Matt Miller - <mamille2@cisco.com>
> Cisco Systems, Inc.
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>=20
> iQEcBAEBAgAGBQJPfb09AAoJEJq6Ou0cgrSPFQgIAObHB26bX7zdqcyzdWdMQ
> YpA
> H7JmkjMZSLCG1WMPUJWgg9w3+/SbxBkoTFKQC5SLzZrYXTErXD3sfzEXt5U5i/
> 2v
> buvnqNd4ELZDsf3kosBmn6Y2h45DPlLVMT1JE2wbQDqfx6PZPdBISGdZYlPAqX
> Wl
> cMyLKdVIBYE/4ADa2Rwswnke3dLvv4vkJUzcItAeBA0khLzS25B1Q2JpunOSKM
> yD
> i0SPxEJ9aZHghxmjGQtQIU9DBI7kuvCap8eD9zYj6DPGoAnEKWMr/hoWUjMh
> B7HH
> wEVm6dKbmH7aTVSkl4suUnU2uclurmwCB42xDNPieULQy/2T2/oKU9ERwIm0
> M4k=3D
> =3DdvxJ
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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



From Michael.Jones@microsoft.com  Thu Apr  5 16:56:45 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 69C3A21F85D0 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 16:56:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.498
X-Spam-Level: 
X-Spam-Status: No, score=-3.498 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wddOJ2nY+UGk for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 16:56:44 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe006.messaging.microsoft.com [216.32.181.186]) by ietfa.amsl.com (Postfix) with ESMTP id 2A21621F85CE for <jose@ietf.org>; Thu,  5 Apr 2012 16:56:43 -0700 (PDT)
Received: from mail154-ch1-R.bigfish.com (10.43.68.254) by CH1EHSOBE011.bigfish.com (10.43.70.61) with Microsoft SMTP Server id 14.1.225.23; Thu, 5 Apr 2012 23:56:43 +0000
Received: from mail154-ch1 (localhost [127.0.0.1])	by mail154-ch1-R.bigfish.com (Postfix) with ESMTP id 9C0EF160579	for <jose@ietf.org>; Thu,  5 Apr 2012 23:56:43 +0000 (UTC)
X-SpamScore: -6
X-BigFish: VS-6(zzc85fhzz1202hzz8275bh30d1K8275dh5eeeKz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC106.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail154-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14HUBC106.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail154-ch1 (localhost.localdomain [127.0.0.1]) by mail154-ch1 (MessageSwitch) id 133367020257956_11657; Thu,  5 Apr 2012 23:56:42 +0000 (UTC)
Received: from CH1EHSMHS022.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.244])	by mail154-ch1.bigfish.com (Postfix) with ESMTP id 0C6C9220054	for <jose@ietf.org>; Thu,  5 Apr 2012 23:56:42 +0000 (UTC)
Received: from TK5EX14HUBC106.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS022.bigfish.com (10.43.70.22) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 5 Apr 2012 23:56:41 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.02.0283.004; Thu, 5 Apr 2012 23:56:41 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Open Issue for WG Discussion:  Minimum key size for RSA signature
Thread-Index: Ac0Th75vmoQ0AIB5Twqk9DXuD03g3g==
Date: Thu, 5 Apr 2012 23:56:40 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739436645BFC4@TK5EX14MBXC283.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.72]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739436645BFC4TK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: [jose] Open Issue for WG Discussion: Minimum key size for RSA signature
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 05 Apr 2012 23:56:45 -0000

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

The JWA spec currently says that "A 2048-bit or longer key length MUST be u=
sed with this algorithm" about RSA key sizes.  During the meeting in Paris,=
 Eric Rescorla pointed out that 1024 bit keys are commonly used and ask whe=
ther we wanted to allow them.

The background for the current 2048 bit requirement is that NIST deprecated=
 the use of 1024 bit keys at the end of 2010 and disallowed their use after=
 2013 (see Section 3 of NIST Special Publication 800-131A, Table 2 on p. 5 =
and the discussion that follows on p. 6 - http://csrc.nist.gov/publications=
/nistpubs/800-131A/sp800-131A.pdf).

Given 2013 is right around the corner in standards time, does anyone want t=
o make the case that we need to allow key lengths shorter than 2048 bits in=
 the standard?

                                                                -- Mike


--_000_4E1F6AAD24975D4BA5B16804296739436645BFC4TK5EX14MBXC283r_
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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@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">The JWA spec currently says that &#8220;A 2048-bit o=
r longer key length MUST be used with this algorithm&#8221; about RSA key s=
izes.&nbsp; During the meeting in Paris, Eric Rescorla pointed out that 102=
4 bit keys are commonly used and ask whether we wanted
 to allow them.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The background for the current 2048 bit requirement =
is that NIST deprecated the use of 1024 bit keys at the end of 2010 and dis=
allowed their use after 2013 (see Section 3 of NIST Special Publication 800=
-131A, Table 2 on p. 5 and the discussion
 that follows on p. 6 - <a href=3D"http://csrc.nist.gov/publications/nistpu=
bs/800-131A/sp800-131A.pdf">
http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf</a>).<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Given 2013 is right around the corner in standards t=
ime, does anyone want to make the case that we need to allow key lengths sh=
orter than 2048 bits in the standard?<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;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739436645BFC4TK5EX14MBXC283r_--

From ve7jtb@ve7jtb.com  Thu Apr  5 17:05:54 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37CB721F871A for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 17:05:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.561
X-Spam-Level: 
X-Spam-Status: No, score=-3.561 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uXtP89j4qoNN for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 17:05:53 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by ietfa.amsl.com (Postfix) with ESMTP id F3C7221F866B for <jose@ietf.org>; Thu,  5 Apr 2012 17:05:52 -0700 (PDT)
Received: by ghbg16 with SMTP id g16so1212681ghb.31 for <jose@ietf.org>; Thu, 05 Apr 2012 17:05:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=UjmlRCCiC18GX/GksOu8jcKzxcqUzgSP4V+Ldm2wbXM=; b=PhTmZlqubFPeIHeWKtP0ieBUbOlH4gcI1Ql/BB9I3NgOTfS9DRgmE2QdVcP6OKOJxf kQJb2oj5ZqaN6wIBztofHkOlRtQjK19ZlkdZNjCyu6FLD0p9tMOZ9VeXCASNWKwTmlVE MKy5h0Y1GqnYDKM7NIKWTIutZpnGdC8MbAFubXLbuCqi/WN3GS5MEkU389c+lGlIcn0+ VTpCvM+NESb8Uta3VaJ+vaU/O8PAERFKIvNUxknKtVwZNm+60+YmUzy6h9Rss1HTcBwB 6NzcvzURSn3KbwYuBiDDa4eIvtU5pXbb4YODSwgPByE8HNqQP9ASDWHvEp2nJcp3LC0v kWcQ==
Received: by 10.236.109.66 with SMTP id r42mr4648476yhg.39.1333670752399; Thu, 05 Apr 2012 17:05:52 -0700 (PDT)
Received: from [192.168.1.213] (190-20-28-75.baf.movistar.cl. [190.20.28.75]) by mx.google.com with ESMTPS id d25sm20850441yhe.4.2012.04.05.17.05.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 17:05:50 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_C5C1DEDC-2317-4F8B-82DD-8D7ECB6D9491"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739436645BFC4@TK5EX14MBXC283.redmond.corp.microsoft.com>
Date: Thu, 5 Apr 2012 21:05:39 -0300
Message-Id: <840C9C71-25A7-4460-87AE-A070E5ADA379@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739436645BFC4@TK5EX14MBXC283.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkOXNDdOKPdnpGtSflMs4UA/WRWZTrD509BsDoTRO5ZTconFR9P09hLjKM86QvTrVpBkoME
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Open Issue for WG Discussion: Minimum key size for RSA signature
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 00:05:54 -0000

--Apple-Mail=_C5C1DEDC-2317-4F8B-82DD-8D7ECB6D9491
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_15FB278F-A3FD-4081-BDE4-3BC9E04DE5CA"


--Apple-Mail=_15FB278F-A3FD-4081-BDE4-3BC9E04DE5CA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

1024bit keys are commonly used to verify existing documents.  They are =
also used in older systems and to communicate with older systems.

If you unwind the NIST and FIPS tangle any new systems being deployed =
MUST be capable of using 2048 or greater key sizes for signing.

We are in the lucky position of not having a legacy JOSE infrastructure =
to worry about.  Let's not decide to add algorithms that are already =
deprecated.

John B.
On 2012-04-05, at 8:56 PM, Mike Jones wrote:

> The JWA spec currently says that =93A 2048-bit or longer key length =
MUST be used with this algorithm=94 about RSA key sizes.  During the =
meeting in Paris, Eric Rescorla pointed out that 1024 bit keys are =
commonly used and ask whether we wanted to allow them.
> =20
> The background for the current 2048 bit requirement is that NIST =
deprecated the use of 1024 bit keys at the end of 2010 and disallowed =
their use after 2013 (see Section 3 of NIST Special Publication =
800-131A, Table 2 on p. 5 and the discussion that follows on p. 6 - =
http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf).
> =20
> Given 2013 is right around the corner in standards time, does anyone =
want to make the case that we need to allow key lengths shorter than =
2048 bits in the standard?
> =20
>                                                                 -- =
Mike
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_15FB278F-A3FD-4081-BDE4-3BC9E04DE5CA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://7522/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; ">1024bit keys are commonly used to verify existing =
documents. &nbsp;They are also used in older systems and to communicate =
with older systems.<div><br></div><div>If you unwind the NIST and FIPS =
tangle any new systems being deployed MUST be capable of using 2048 or =
greater key sizes for signing.</div><div><br></div><div>We are in the =
lucky position of not having a legacy JOSE infrastructure to worry =
about. &nbsp;Let's not decide to add algorithms that are already =
deprecated.</div><div><br></div><div>John B.<br><div><div>On 2012-04-05, =
at 8:56 PM, Mike Jones wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">The JWA spec currently says =
that =93A 2048-bit or longer key length MUST be used with this =
algorithm=94 about RSA key sizes.&nbsp; During the meeting in Paris, =
Eric Rescorla pointed out that 1024 bit keys are commonly used and ask =
whether we wanted to allow them.<o:p></o:p></div><div style=3D"margin-top:=
 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">The background for the current 2048 =
bit requirement is that NIST deprecated the use of 1024 bit keys at the =
end of 2010 and disallowed their use after 2013 (see Section 3 of NIST =
Special Publication 800-131A, Table 2 on p. 5 and the discussion that =
follows on p. 6 -<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf=
" style=3D"color: blue; text-decoration: underline; =
">http://csrc.nist.gov/publications/nistpubs/800-131A/sp800-131A.pdf</a>).=
<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">Given 2013 is right =
around the corner in standards time, does anyone want to make the case =
that we need to allow key lengths shorter than 2048 bits in the =
standard?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; -- Mike<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div></div>___________________________________________=
____<br>jose mailing list<br><a href=3D"mailto:jose@ietf.org" =
style=3D"color: blue; text-decoration: underline; =
">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" style=3D"color: =
blue; text-decoration: underline; =
">https://www.ietf.org/mailman/listinfo/jose</a><br></div></span></blockqu=
ote></div><br></div></body></html>=

--Apple-Mail=_15FB278F-A3FD-4081-BDE4-3BC9E04DE5CA--

--Apple-Mail=_C5C1DEDC-2317-4F8B-82DD-8D7ECB6D9491
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1U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4RcZctaU3bq68h1Fl4QH8L93NhoO7hojnbG7EPOTnPk68Glqd3KexJItJ
5DEHFmLXcEA2oVrvalELupHFjakShftIgGSWyKYAAAAAAAA=

--Apple-Mail=_C5C1DEDC-2317-4F8B-82DD-8D7ECB6D9491--

From Axel.Nennker@telekom.de  Thu Apr  5 23:10:24 2012
Return-Path: <Axel.Nennker@telekom.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 064BD11E8085 for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 23:10:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.049
X-Spam-Level: 
X-Spam-Status: No, score=-2.049 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_34=0.6, J_CHICKENPOX_47=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GHNvMPXO93Vn for <jose@ietfa.amsl.com>; Thu,  5 Apr 2012 23:10:22 -0700 (PDT)
Received: from tcmail83.telekom.de (tcmail83.telekom.de [62.225.183.131]) by ietfa.amsl.com (Postfix) with ESMTP id 6F9B811E8081 for <jose@ietf.org>; Thu,  5 Apr 2012 23:10:21 -0700 (PDT)
Received: from he111297.emea1.cds.t-internal.com ([10.125.90.15]) by tcmail81.telekom.de with ESMTP/TLS/AES128-SHA; 06 Apr 2012 08:10:19 +0200
Received: from HE111541.emea1.cds.t-internal.com ([169.254.2.250]) by HE111297.EMEA1.CDS.T-INTERNAL.COM ([fe80::9835:b110:c489:6d64%16]) with mapi; Fri, 6 Apr 2012 08:10:19 +0200
From: <Axel.Nennker@telekom.de>
To: <juraj.somorovsky@rub.de>
Date: Fri, 6 Apr 2012 08:10:15 +0200
Thread-Topic: [jose] JWT + JOSE for Java
Thread-Index: Ac0TQOywoVci1rfxSwCEC1LxOxoDCAAeHKag
Message-ID: <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com>
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de>
In-Reply-To: <4F7DBA63.3020503@rub.de>
Accept-Language: de-DE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 06:10:24 -0000

SSB0aGluayB5b3UgYXJlIGFyZ3Vpbmcgb24gYSBwcm90b2NvbCBsZXZlbCAobGlrZSBTU0wpIGJ1
dCB0aGlzIGlzIG5vdCBob3cgSSB1bmRlcnN0YW5kIEpPU0UuIA0KSlNPTiBFbmNyeXB0aW9uIGFu
ZCBTaWduaW5nIGRlZmluZXMgZm9ybWF0cyBhbmQgc3VnZ2VzdHMgd2hpY2ggYWxnb3JpdGhtcyB0
byB1c2UuDQpXZSBkbyBub3QgZGVmaW5lIHRoaW5ncyBsaWtlICJ5b3Ugc2hvdWxkIGNoYW5nZSB5
b3VyIGtleXMgYWZ0ZXIgbiBvcGVyYXRpb25zIG9yIE4gbWVnYW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aXQNClJ1aHIgVW5p
dmVyc2l0w6R0IEJvY2h1bQ0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NClVu
aXZlcnNpdMOkdHNzdHIuIDE1MCwgR2ViLiBJRCAyLzQxMQ0KRC00NDc4MCBCb2NodW0NCg0KVGVs
ZWZvbjogKzQ5ICgwKSAyMzQgLyAzMi0yNjU1MQ0KRmF4OiArNDkgKDApIDIzNCAvIDMyLTE0MzQ3
DQpodHRwOi8vd3d3Lm5kcy5ydWIuZGUNCg==

From juraj.somorovsky@rub.de  Fri Apr  6 06:34:09 2012
Return-Path: <juraj.somorovsky@rub.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCBD521F84D9 for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 06:34:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.649
X-Spam-Level: 
X-Spam-Status: No, score=-4.649 tagged_above=-999 required=5 tests=[AWL=1.600,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DR3mxBsrJpRP for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 06:34:09 -0700 (PDT)
Received: from mx5.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.33]) by ietfa.amsl.com (Postfix) with SMTP id AC11E21F84D8 for <jose@ietf.org>; Fri,  6 Apr 2012 06:34:08 -0700 (PDT)
X-Queued: (qmail 20583 invoked by alias); 6 Apr 2012 13:34:07 -0000
X-Queued: (qmail 20570 invoked from network); 6 Apr 2012 13:34:07 -0000
Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx5.rz.ruhr-uni-bochum.de with SMTP; 6 Apr 2012 13:34:07 -0000
X-Queued: (qmail 26328 invoked by uid 281); 6 Apr 2012 13:34:06 -0000
X-Qmailscanner: from 178.201.46.200 (7Cil8M2CiUwT9PxZdWAs+A==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from <juraj.somorovsky@rub.de>, uid 80) with qmail-scanner-2.01  (sophie: 3.05/3.29/4.75.  Clear:RC:1(178.201.46.200):.  Processed in 0.03623 secs); 06 Apr 2012 13:34:06 -0000
Received: from ip-178-201-46-200.unitymediagroup.de (HELO ?192.168.0.104?) (7Cil8M2CiUwT9PxZdWAs+A==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-CAMELLIA256-SHA encrypted) SMTP; 6 Apr 2012 13:34:06 -0000
Date: 6 Apr 2012 15:34:05 +0200
Message-ID: <4F7EF0CD.9040109@rub.de>
From: "Juraj Somorovsky" <juraj.somorovsky@rub.de>
To: jose@ietf.org, tom@ritter.vg
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0
MIME-Version: 1.0
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CA+cU71m9qwnELycnr_T2yEBR=F2UiQV3BQtyLmQkLvh8KnPLkw@mail.gmail.com>
In-Reply-To: <CA+cU71m9qwnELycnr_T2yEBR=F2UiQV3BQtyLmQkLvh8KnPLkw@mail.gmail.com>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 13:34:10 -0000

Thanks Tom, I know there is the Manger's attack and I already read your
blog a few months ago ;)

...but considering Bleichenbacher's and Manger's attacks there are a few
differences between PKCS#1.5 and PKCS#2.0 (RSA-OAEP):

Manger's attack on RSA-OAEP is rather theoretical. As you also mention
in your post, the security libraries handle it correctly:
- if there is no 0x00 on the beginning, they simply ignore it and  check
integrity by verifying hash values.
- even if the library would not handle this step correctly, the timing
difference is really small (of course, if not considering the timing
attack in the Manger's paper in Section 4.4) and not measurable over the
Internet.

Bleichenbacher's attack on PKCS#1.5 is practical. This results from
missing integrity check in PKCS#1.5 after ciphertext decryption, which
gives the attacker a possibility to create related plaintexts. The main
point is: if the attacker creates a ciphertext resulting in a valid CEK,
he forces the server to use this CEK and decrypt the payload data
(encrypted e.g. with AES). In comparison to small timing differences in
RSA-OAEP, the timing differences between valid and invalid PKCS#1.5
ciphertexts can be enlarged by sending a greater amount of payload data.

Thus, even if the ciphertext is not valid, when using PKCS#1.5 the
server should generate a new key and decrypt the payload in order not to
reveal a timing side-channel. This must be explicitly handled by the
application developer and cannot be handled in the security library.

In comparison to PKCS#1.5, RSA-OAEP can be used directly...the
application developer does not have to care about any countermeasures in
his application. If the developer relies on a good security library
(OpenSSL, BouncyCastle...), his application will not reveal any
side-channels with RSA-OAEP.

Regards
Juraj

On 04/05/2012 06:04 PM, Tom Ritter wrote:
> On 5 April 2012 11:29, Juraj Somorovsky <juraj.somorovsky@rub.de> wrote:
>> RSA-OAEP is the good choice for JOSE as PKCS1 will cause similar
>> problems also for other developers.
>>
>>
>> Regards from Bochum
>> Juraj
> 
> 
> I haven't been following closely, but if it hasn't been already I
> should point out there's a very similar attack against RSA-OAEP you
> need to take care to avoid: http://ritter.vg/blog-mangers_oracle.html
> 
> -tom
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose

-- 
M.Sc. Juraj Somorovsky

Lehrstuhl für Netz- und Datensicherheit
Ruhr Universität Bochum
-----------------------------------
Universitätsstr. 150, Geb. ID 2/411
D-44780 Bochum

Telefon: +49 (0) 234 / 32-26551
Fax: +49 (0) 234 / 32-14347
http://www.nds.rub.de

From cantor.2@osu.edu  Fri Apr  6 06:48:45 2012
Return-Path: <cantor.2@osu.edu>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1352121F852D for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 06:48:45 -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=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fsc91u8-Coj6 for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 06:48:44 -0700 (PDT)
Received: from defang22.it.ohio-state.edu (defang22.it.ohio-state.edu [128.146.216.225]) by ietfa.amsl.com (Postfix) with ESMTP id 4348B21F852C for <jose@ietf.org>; Fri,  6 Apr 2012 06:48:44 -0700 (PDT)
Received: from CIO-KRC-HT01.osuad.osu.edu (cio-krc-ht01.osuad.osu.edu [164.107.81.37]) by defang22.it.ohio-state.edu (8.13.1/8.13.1) with ESMTP id q36DmcD8014063; Fri, 6 Apr 2012 09:48:42 -0400
Received: from CIO-KRC-D1MBX01.osuad.osu.edu ([fe80::450b:35e6:80f4:f3e0]) by CIO-KRC-HT01.osuad.osu.edu ([fe80::6d8f:7dea:5691:1620%12]) with mapi id 14.01.0355.002; Fri, 6 Apr 2012 09:48:31 -0400
From: "Cantor, Scott" <cantor.2@osu.edu>
To: "Axel.Nennker@telekom.de" <Axel.Nennker@telekom.de>, "juraj.somorovsky@rub.de" <juraj.somorovsky@rub.de>
Thread-Topic: [jose] JWT + JOSE for Java
Thread-Index: Ac0TQOywoVci1rfxSwCEC1LxOxoDCAAeHKagABBnA2A=
Date: Fri, 6 Apr 2012 13:48:31 +0000
Message-ID: <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu>
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com>
In-Reply-To: <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [164.107.160.193]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CanIt-Geo: ip=164.107.81.37; country=US; region=OH; city=Wooster; postalcode=44691; latitude=40.8077; longitude=-81.9730; metrocode=510; areacode=330; http://maps.google.com/maps?q=40.8077,-81.9730&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.225
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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: F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NzaW9u
IHRoYXQgSSBmb2xsb3dlZCBpbiB0aGUgTlNTIGRpc2N1c3Npb24NCj4gZ3JvdXAgeWVhcnMgYWdv
LiAiU2hvdWxkIHdlIGdpdmUgZGV2ZWxvcGVycyBjcnlwdG9ncmFwaGljIGJ1aWxkaW5nIGJsb2Nr
cw0KPiB0aGF0IGNvdWxkIGJlIHVzZWQgd3JvbmciLiBUaGVuIE5TUyBkZWNpZGVkICBub3QgdG8g
ZG8gaXQgYnV0IEkgdGhpbmsgdGhhdA0KPiB3YXMgd3JvbmcuDQoNCk5TUyBpcyBhIGNyeXB0byBs
aWJyYXJ5IChtZWFuaW5nIGl0IGFjdHVhbGx5IGltcGxlbWVudHMgUEtDUzEuNSkuIFRoYXQncyBh
IGRpZmZlcmVudCBsYXllci4NCg0KPiBJIHRoaW5rIHRoYXQgdGhlIHByb3RvY29scyB0aGF0IHVz
ZSB0aGUgSk9TRSBmb3JtYXRzL2FsZ3MgbGlrZSBvcGVuaWQgY29ubmVjdA0KPiAoaHR0cHM6Ly9v
cGVuaWQubmV0L2Nvbm5lY3QvKSBoYXZlIHRoZSBkdXR5IHRvIHVzZSB0aGVtIGNvcnJlY3RseS4N
Cg0KVGhleSBkbywgYnV0IHRoYXQgZG9lc24ndCBhYnNvbHZlIGxpYnJhcmllcyBvZiB0aGUgcmVz
cG9uc2liaWxpdHkgb2YgYmVpbmcgaW1wbGVtZW50ZWQgY29ycmVjdGx5IGFsc28uIE90aGVyd2lz
ZSwgYmUgcHJlcGFyZWQgZm9yIG1vc3Qgb2YgdGhlIHByb3RvY29sIGltcGxlbWVudGF0aW9ucyB1
c2luZyB5b3VyIGNvZGUgdG8gZ2V0IGl0IHdyb25nLg0KDQotLSBTY290dA0KDQo=

From tom@ritter.vg  Fri Apr  6 06:52:13 2012
Return-Path: <tom@ritter.vg>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A566D21F8542 for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 06:52:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oSF6AqjfxZ8q for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 06:52:13 -0700 (PDT)
Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by ietfa.amsl.com (Postfix) with ESMTP id DD70721F8541 for <jose@ietf.org>; Fri,  6 Apr 2012 06:52:12 -0700 (PDT)
Received: by obbtb4 with SMTP id tb4so3563399obb.31 for <jose@ietf.org>; Fri, 06 Apr 2012 06:52:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ritter.vg; s=vg; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=kOWVhDgn9gRd4wNZrWWzltdTp7mOCkX7Evb+vavhago=; b=RKkdlBkRyu+AfSm84/gf7dG6DRc2fL6wsHSE9qNdV1R4VqvK/EFycAQHuE9/P0WTgB vJEoqRjLh3ZC2Xe/Tc8+6cchgCz7GbslRCcsbmmXkOvIWFmMaBjhoBP8+RXXzmnIU1x+ XaUmTdxdLjvLV84pO97UkyucW/F4gk1KC7Ys0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=kOWVhDgn9gRd4wNZrWWzltdTp7mOCkX7Evb+vavhago=; b=GP+5ymXhg6OWESul4cqotsjTCnh5NDGpTjrFcS6Ilg3eR76zbwREhlDTTJZx9Li4j7 gk/PLEVtUUfpfdsKDuKdaSAuu215NdQbEe3fP4kNWVeAd9pS4IOHjHOFy6G87B9zIXcE wveeMxEGB9PjB0UEbIm7CUhHwbyPV39wjlwWEVwfB9PR17+ryYN2nvQWqsWfkfqja3Pq MKSvtCh4ABD0Z2oUxeyN8ZFJkgWaUkMlOKN86bJ6LjHSJUAD4K8QrmWY5OgkXDQitbFf GK03g0uWHYfpUBUPJ9IV+8GqLsVq8qz6dJvK0Ymke/6dfeMtKmcnsMxwX8NNV+y35O3v FlFw==
Received: by 10.60.9.232 with SMTP id d8mr9048148oeb.66.1333720332518; Fri, 06 Apr 2012 06:52:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.182.5 with HTTP; Fri, 6 Apr 2012 06:51:52 -0700 (PDT)
In-Reply-To: <4F7EF0CD.9040109@rub.de>
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CA+cU71m9qwnELycnr_T2yEBR=F2UiQV3BQtyLmQkLvh8KnPLkw@mail.gmail.com> <4F7EF0CD.9040109@rub.de>
From: Tom Ritter <tom@ritter.vg>
Date: Fri, 6 Apr 2012 09:51:52 -0400
Message-ID: <CA+cU71kJAU_Z_1+Tc1mZf+LtE8XvmW+nDRDBAAUP1nF-gkkchg@mail.gmail.com>
To: Juraj Somorovsky <juraj.somorovsky@rub.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlFVF7jB9HL8zTIrM4jfsD9j6pamjELDVNmxjBc5rMBjyX0rlTtUJ+a4VNcQmtcYAtC5n28
Cc: jose@ietf.org
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 13:52:13 -0000

There's two different opinions here:

On 6 April 2012 02:10,  <Axel.Nennker@telekom.de> wrote:
> We do not define things like "you should change your keys after n operati=
ons or N megabytes of plaintext processed (or when a BadPadding Exception i=
s thrown). I think that my code should throw all exceptions in all their gl=
ory details and that e.g. the application server "above" me should then dec=
ide which action to take: like "Give a standard error message" to the sende=
r of the bad message and wait a random amount of time before sending error =
messages. But this is not the task of this code.
> https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmldap=
/json/WebToken.java
>
> My understanding of the level that we are describing here is "below" prot=
ocols.
> Although I give it to you that the security considerations section should=
 recommend usage of the formats and algorithms defined here and discourage =
certain uses.
>
> I fear that we end up in a discussion that I followed in the NSS discussi=
on group years ago. "Should we give developers cryptographic building block=
s that could be used wrong". Then NSS decided =A0not to do it but I think t=
hat was wrong.


On 6 April 2012 09:34, Juraj Somorovsky <juraj.somorovsky@rub.de> wrote:
> In comparison to PKCS#1.5, RSA-OAEP can be used directly...the
> application developer does not have to care about any countermeasures in
> his application. If the developer relies on a good security library
> (OpenSSL, BouncyCastle...), his application will not reveal any
> side-channels with RSA-OAEP.

Axel says "It's the developer's job to use my code correctly", Juraj
says "if the library is good, I don't need to do anything extra".

There's good arguments for both approaches.  I mentioned the OAEP
attack because I hadn't seen it mentioned before, and I would rather
look a fool and tell something everyone knows versus lose the
opportunity to fix a bug in dozens or hundreds of applications before
they're written.

The templating engines, the database libraries, and the cryptographic
libraries that make it _hard_ for a user to introduce vulnerabilities
they don't understand, are preferable to ones that don't.  Check out
the near-end of [0], where Pascal Junod compares crypto libraries and
what attacks they protect against: timing, cache, fault, oracle, and
leakage.  Protecting against power leakage attacks is way overboard -
but protecting against timing attacks is pretty much the minimum
standard these days.

I *don't* understand JOSE, I don't know where this code fits in.  I
don't know the appropriate level to defend against developer
omissions.  It's almost certainly too high-level to make an API that
_requires_ a developer to pass in a MAC along with the ciphertext -
even though protecting ciphertext with a MAC is pretty much an "Always
Do This!" these days with all of the adaptive-ciphertext attacks we've
been seeing.[1]  I do think putting in non-branching code for timing
defense in the decryption routine is appropriate.  And if it were _me_
were defining an API, I would make the cipher constructor or
decryption function take an optional parameter that determined whether
verbose or identical errors are thrown, and the default would be
identical.

Until developing becomes like bridge-building, and people have to take
a test to see if they can do it safely - I think it's very important
for anyone who's writing code that will be called by others to make it
'safe by default' and not rely on intelligence or thoroughness of the
calling developer.

-tom

[0] http://crypto.junod.info/hashdays10_talk.pdf
[1] CBC Padding Oracle, OAEP, Bleichenbacher, and more

From ve7jtb@ve7jtb.com  Fri Apr  6 07:05:23 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AEC621F858A for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 07:05:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.569
X-Spam-Level: 
X-Spam-Status: No, score=-3.569 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QLmFB7IG+p4l for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 07:05:22 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by ietfa.amsl.com (Postfix) with ESMTP id 4813321F8587 for <jose@ietf.org>; Fri,  6 Apr 2012 07:05:22 -0700 (PDT)
Received: by ghbg16 with SMTP id g16so1444686ghb.31 for <jose@ietf.org>; Fri, 06 Apr 2012 07:05:21 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=89dr64DJLM3mGQGrOxFzD+TqGaE8caAWZsvPFhitt+U=; b=GsHJQvrJyJc7mX3t8c08coqn96hc9djQ7b9q1rlu+EQgnKftlfL+H4kvHpYrhgiTFO R6ru7GPXHfz/5Orp0aNYDrP0+lsD5XD9d8uKs6JfC2SmdpGh4iIt1cJWdfrGPqV666vH mvSeM+ardv8zJwLo2D1bXLfEJAkFkyi89GZD+Vo6RmJUl+Ga41WwPoraf8slXEqTX41i 41q0A1ZBoUtDc/n8FGfyXcAL2oiZbOREdm8MTV0MDHHVdgWo5M1D0UGP9h5WnMXW+5vA RcJ2rkcLlsv9tr+mnxEnUuEDVILQOCb3rSEpiAvZXFBV1VDpy9v2PL+YUOEC4Frxcu0Z MO2Q==
Received: by 10.236.155.6 with SMTP id i6mr7026687yhk.87.1333721121826; Fri, 06 Apr 2012 07:05:21 -0700 (PDT)
Received: from [192.168.1.213] (190-20-46-139.baf.movistar.cl. [190.20.46.139]) by mx.google.com with ESMTPS id v26sm28270727yhk.1.2012.04.06.07.05.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Apr 2012 07:05:20 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_CCE22E4A-A339-4B2E-8542-CDEC0FF4A82C"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu>
Date: Fri, 6 Apr 2012 11:05:12 -0300
Message-Id: <2EFB0A5A-D2CA-4CE8-92F0-57BC9741F5DC@ve7jtb.com>
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com> <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu>
To: "Cantor, Scott" <cantor.2@osu.edu>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQnNTBld2EcSayHvyJKLSJ9m5NV0Tr5F09Hptxe8V0XyGB0g7RqcwDA734S0832oWRI4GaSq
Cc: "jose@ietf.org" <jose@ietf.org>, "Axel.Nennker@telekom.de" <Axel.Nennker@telekom.de>, "juraj.somorovsky@rub.de" <juraj.somorovsky@rub.de>
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 14:05:23 -0000

--Apple-Mail=_CCE22E4A-A339-4B2E-8542-CDEC0FF4A82C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I largely agree with Scott,

The security considerations for people implementing JOSE libraries are =
going to be important.

The upper level protocols like Connect are not going to cover all the =
possible side channel attacks against a library.
Yes messages should be available to the upper level application so that =
it can decide what to report on the wire.

However every effort to protect from side channel and other attacks need =
to be taken by the crypto libraries themselves.

If there are algorithm choices we could make like only supporting PKCS#2 =
OAEP in the JOSE spec to reduce the potential implementation issues.

That is probably the level we need to have the discussion  at right now.

John B.
On 2012-04-06, at 10:48 AM, Cantor, Scott wrote:

>> We do not define things like "you should change your keys after n =
operations
>> or N megabytes of plaintext processed (or when a BadPadding Exception =
is
>> thrown). I think that my code should throw all exceptions in all =
their glory
>> details and that e.g. the application server "above" me should then =
decide
>> which action to take: like "Give a standard error message" to the =
sender of
>> the bad message and wait a random amount of time before sending error
>> messages. But this is not the task of this code.
>=20
> Yes, it is. If you want to use PKCS#1.5, then you need to make that =
usable safely without extra precautions by your caller. If we were =
talking about the actual implementation of PKCS1.5, then you might be =
right, but you're not implementing that, you're using it to encrypt =
objects you're trying to abstract in a library. That makes it your job =
to make encryption a "safe" operation for somebody using that =
abstraction, if you can.
>=20
> In the case of this attack, detailed error information can be put in =
logs, and doesn't need to be exposed to callers, and the generation of a =
random key easily defeats the timing attack.
>=20
> There are harder problems that are virtually impossible to solve that =
way (the CBC attack). This one is easy and entirely appropriate to fix =
below any protocol.
>=20
>> My understanding of the level that we are describing here is "below"
>> protocols.
>=20
> And the encryption here is also below the protocol. If it weren't, =
that would be a different matter.
>=20
>> I fear that we end up in a discussion that I followed in the NSS =
discussion
>> group years ago. "Should we give developers cryptographic building =
blocks
>> that could be used wrong". Then NSS decided  not to do it but I think =
that
>> was wrong.
>=20
> NSS is a crypto library (meaning it actually implements PKCS1.5). =
That's a different layer.
>=20
>> I think that the protocols that use the JOSE formats/algs like openid =
connect
>> (https://openid.net/connect/) have the duty to use them correctly.
>=20
> They do, but that doesn't absolve libraries of the responsibility of =
being implemented correctly also. Otherwise, be prepared for most of the =
protocol implementations using your code to get it wrong.
>=20
> -- Scott
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_CCE22E4A-A339-4B2E-8542-CDEC0FF4A82C
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGS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fVInQ2rfx3lvyptx4dWawCfvRsBoF8
gJ2jYBcpjZjYfnIg+yO08nIJv5XoD6OQxwlTqXzlgW3rrJjrcaCgji+e4nUqv1uGR1QS0ozPaQae
NFIwoE/hNzQs/a5ou69S9gEtUs9zQIfLbNT/pZOxPLWFl7mmpluyQvIhwgu/OZaZRcYIOHwmu10Y
budBqtEoVUTtgz07Xbi8cTgex05H22Mc/LoWzfsAAAAAAAA=

--Apple-Mail=_CCE22E4A-A339-4B2E-8542-CDEC0FF4A82C--

From cantor.2@osu.edu  Fri Apr  6 07:14:31 2012
Return-Path: <cantor.2@osu.edu>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE6C821F858E for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 07:14:31 -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=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oz1rYuT6NiQq for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 07:14:31 -0700 (PDT)
Received: from defang23.it.ohio-state.edu (defang23.it.ohio-state.edu [128.146.216.226]) by ietfa.amsl.com (Postfix) with ESMTP id 4080921F8557 for <jose@ietf.org>; Fri,  6 Apr 2012 07:14:31 -0700 (PDT)
Received: from CIO-TNC-HT06.osuad.osu.edu (cio-tnc-ht06.osuad.osu.edu [164.107.81.171]) by defang23.it.ohio-state.edu (8.13.1/8.13.1) with ESMTP id q36EEFKY013185; Fri, 6 Apr 2012 10:14:30 -0400
Received: from CIO-KRC-D1MBX01.osuad.osu.edu ([fe80::450b:35e6:80f4:f3e0]) by CIO-TNC-HT06.osuad.osu.edu ([fe80::3d16:84bd:8d88:7cfd%12]) with mapi id 14.01.0355.002; Fri, 6 Apr 2012 10:14:19 -0400
From: "Cantor, Scott" <cantor.2@osu.edu>
To: John Bradley <ve7jtb@ve7jtb.com>
Thread-Topic: [jose] JWT + JOSE for Java
Thread-Index: Ac0TQOywoVci1rfxSwCEC1LxOxoDCAAeHKagABBnA2AACTUFAAAILrkQ
Date: Fri, 6 Apr 2012 14:14:18 +0000
Message-ID: <BA63CEAE152A7742B854C678D94913832633B9C9@CIO-KRC-D1MBX01.osuad.osu.edu>
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com> <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu> <2EFB0A5A-D2CA-4CE8-92F0-57BC9741F5DC@ve7jtb.com>
In-Reply-To: <2EFB0A5A-D2CA-4CE8-92F0-57BC9741F5DC@ve7jtb.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [164.107.160.193]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=2.16.840.1.101.3.4.2.3; boundary="----=_NextPart_000_0008_01CD13DE.06523250"
MIME-Version: 1.0
X-CanIt-Geo: ip=164.107.81.171; country=US; region=OH; city=Wooster; postalcode=44691; latitude=40.8077; longitude=-81.9730; metrocode=510; areacode=330; http://maps.google.com/maps?q=40.8077,-81.9730&z=6
X-CanItPRO-Stream: outbound
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.146.216.226
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 14:14:32 -0000

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

> If there are algorithm choices we could make like only supporting PKCS#2
> OAEP in the JOSE spec to reduce the potential implementation issues.
> 
> That is probably the level we need to have the discussion  at right now.

I would agree, and I would also question the need to include PKCS1.5 in this
work. Every algorithm that's duplicative is just more work, let alone when
they introduce risk.

-- Scott


------=_NextPart_000_0008_01CD13DE.06523250
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCFR4w
ggY0MIIEHKADAgECAgEeMA0GCSqGSIb3DQEBBQUAMH0xCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5n
MSkwJwYDVQQDEyBTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNzEwMjQyMTAx
NTVaFw0xNzEwMjQyMTAxNTVaMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRk
LjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMv
U3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggE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yeSBJbnRlcm1l
ZGlhdGUgQ2xpZW50IENBAgMDUukwgacGCyqGSIb3DQEJEAILMYGXoIGUMIGMMQswCQYDVQQGEwJJ
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlm
aWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVk
aWF0ZSBDbGllbnQgQ0ECAwNS6TCBqwYJKoZIhvcNAQkPMYGdMIGaMAsGCWCGSAFlAwQBFjALBglg
hkgBZQMEASowCgYIKoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMC
BzANBggqhkiG9w0DAgIBQDANBggqhkiG9w0DAgIBKDALBglghkgBZQMEAgMwCwYJYIZIAWUDBAIC
MAsGCWCGSAFlAwQCATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASCAQBg+LgDAZnr+7g9OLfdNqw+
qdGoDmrutAXNY9G2ToxZidvDHAmerw0hSZ4p+Clp2Eek3lJpFtuv3zKnP3shTNcEcxd0M15U/EMZ
ANy8Zp4V/xyAo7cDeqQTlMgsBbWnwsLnypIqR8rP1wmvgXq7K1KKQIGTMQa3QtR8pGRyhtV5u4GG
U2seolkQ6ukF4gOvGmWMNihn7qsR6cBtgUzUXkhIdHqfwjup0NtEFzPwqaR+L6JWoDq/W3TukFLC
BW23zvsyMPwbxmXNlNLHh76J7Bl3nZldEGRSbMvm9z5oPF+gogvKTt0sAKa4bxk73RLP2bzbUNU7
kKI9whuSPDeq/uO6AAAAAAAA

------=_NextPart_000_0008_01CD13DE.06523250--

From juraj.somorovsky@rub.de  Fri Apr  6 11:53:50 2012
Return-Path: <juraj.somorovsky@rub.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DEA7421F85AA for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 11:53:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.449
X-Spam-Level: 
X-Spam-Status: No, score=-5.449 tagged_above=-999 required=5 tests=[AWL=0.800,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W-akyFzBWn4r for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 11:53:49 -0700 (PDT)
Received: from mx6.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.30]) by ietfa.amsl.com (Postfix) with SMTP id 4110521F85A0 for <jose@ietf.org>; Fri,  6 Apr 2012 11:53:46 -0700 (PDT)
X-Queued: (qmail 6244 invoked by alias); 6 Apr 2012 18:53:46 -0000
X-Queued: (qmail 6230 invoked from network); 6 Apr 2012 18:53:46 -0000
Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx6.rz.ruhr-uni-bochum.de with SMTP; 6 Apr 2012 18:53:46 -0000
X-Queued: (qmail 18418 invoked by uid 281); 6 Apr 2012 18:53:45 -0000
X-Qmailscanner: from 178.201.46.200 (7Cil8M2CiUzBN8b9y3+x5Q==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from <juraj.somorovsky@rub.de>, uid 80) with qmail-scanner-2.01  (sophie: 3.05/3.29/4.75.  Clear:RC:1(178.201.46.200):.  Processed in 0.034925 secs); 06 Apr 2012 18:53:45 -0000
Received: from ip-178-201-46-200.unitymediagroup.de (HELO ?192.168.0.104?) (7Cil8M2CiUzBN8b9y3+x5Q==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-CAMELLIA256-SHA encrypted) SMTP; 6 Apr 2012 18:53:45 -0000
Date: 6 Apr 2012 20:53:42 +0200
Message-ID: <4F7F3BB6.8030509@rub.de>
From: "Juraj Somorovsky" <juraj.somorovsky@rub.de>
To: "Cantor, Scott" <cantor.2@osu.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0
MIME-Version: 1.0
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com> <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu>
In-Reply-To: <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: "jose@ietf.org" <jose@ietf.org>, "Axel.Nennker@telekom.de" <Axel.Nennker@telekom.de>
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 18:53:50 -0000

On 04/06/2012 03:48 PM, Cantor, Scott wrote:
>> We do not define things like "you should change your keys after n operations
>> > or N megabytes of plaintext processed (or when a BadPadding Exception is
>> > thrown). I think that my code should throw all exceptions in all their glory
>> > details and that e.g. the application server "above" me should then decide
>> > which action to take: like "Give a standard error message" to the sender of
>> > the bad message and wait a random amount of time before sending error
>> > messages. But this is not the task of this code.
> Yes, it is. If you want to use PKCS#1.5, then you need to make that usable safely without extra precautions by your caller. If we were talking about the actual implementation of PKCS1.5, then you might be right, but you're not implementing that, you're using it to encrypt objects you're trying to abstract in a library. That makes it your job to make encryption a "safe" operation for somebody using that abstraction, if you can.
> 
> In the case of this attack, detailed error information can be put in logs, and doesn't need to be exposed to callers, and the generation of a random key easily defeats the timing attack.
> 
> There are harder problems that are virtually impossible to solve that way (the CBC attack). This one is easy and entirely appropriate to fix below any protocol.
> 
I fully agree with Scott, I want to add only two remarks:

1) timing and random amount of time: each security researcher interested
in side-channels would tell you that handling timing side-channels with
a random amount of time is generally a bad idea.

Moreover, what should be the random amount of time for decryption of
100KB of data? What about decryption of 1MB of data? Should each
developer test his server performance before deploying the library?
...thus, random key regeneration is needed.

2) Exceptions: as Scott already mentioned, the exceptions can be checked
in the server logs. The developer does not have to get three different
exception types with concrete errors since he needs to tell the
application user only: "during the decryption process something went wrong".
If you give the developer these three exceptions, he will most probably
forward them to the user (which causes direct application of the
Bleichenbacher's attack)

JBossWS or Axis2 Web Services Frameworks e.g. return to the service
client only "Security processing failed" or "Decryption processing
failed" error messages when the request is invalid. If the user needs to
get more information, he needs to check the server logs.

Regards
Juraj
-- 
M.Sc. Juraj Somorovsky

Lehrstuhl fÃ¼r Netz- und Datensicherheit
Ruhr UniversitÃ¤t Bochum
-----------------------------------
UniversitÃ¤tsstr. 150, Geb. ID 2/411
D-44780 Bochum

Telefon: +49 (0) 234 / 32-26551
Fax: +49 (0) 234 / 32-14347
http://www.nds.rub.de

From juraj.somorovsky@rub.de  Fri Apr  6 12:02:27 2012
Return-Path: <juraj.somorovsky@rub.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F301711E8098 for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 12:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.716
X-Spam-Level: 
X-Spam-Status: No, score=-5.716 tagged_above=-999 required=5 tests=[AWL=0.533,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GzutwZ0Xte4p for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 12:02:26 -0700 (PDT)
Received: from mx5.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.33]) by ietfa.amsl.com (Postfix) with SMTP id D069521F855B for <jose@ietf.org>; Fri,  6 Apr 2012 12:02:25 -0700 (PDT)
X-Queued: (qmail 21938 invoked by alias); 6 Apr 2012 19:02:21 -0000
X-Queued: (qmail 21925 invoked from network); 6 Apr 2012 19:02:21 -0000
Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx5.rz.ruhr-uni-bochum.de with SMTP; 6 Apr 2012 19:02:21 -0000
X-Queued: (qmail 25534 invoked by uid 281); 6 Apr 2012 19:02:21 -0000
X-Qmailscanner: from 178.201.46.200 (7Cil8M2CiUwIdnfJvORU+g==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from <juraj.somorovsky@rub.de>, uid 80) with qmail-scanner-2.01  (sophie: 3.05/3.29/4.75.  Clear:RC:1(178.201.46.200):.  Processed in 0.034514 secs); 06 Apr 2012 19:02:21 -0000
Received: from ip-178-201-46-200.unitymediagroup.de (HELO ?192.168.0.104?) (7Cil8M2CiUwIdnfJvORU+g==@178.201.46.200) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-CAMELLIA256-SHA encrypted) SMTP; 6 Apr 2012 19:02:20 -0000
Date: 6 Apr 2012 21:02:20 +0200
Message-ID: <4F7F3DBC.4080905@rub.de>
From: "Juraj Somorovsky" <juraj.somorovsky@rub.de>
To: jose@ietf.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0
MIME-Version: 1.0
References: <20120405060358.cc40c4f3d92d2001859047cd8cabb9ab.9b9e518b81.wbe@email07.europe.secureserver.net> <4F7DBA63.3020503@rub.de> <CE8995AB5D178F44A2154F5C9A97CAF4024FFDFDB361@HE111541.emea1.cds.t-internal.com> <BA63CEAE152A7742B854C678D94913832633B94C@CIO-KRC-D1MBX01.osuad.osu.edu> <2EFB0A5A-D2CA-4CE8-92F0-57BC9741F5DC@ve7jtb.com> <BA63CEAE152A7742B854C678D94913832633B9C9@CIO-KRC-D1MBX01.osuad.osu.edu>
In-Reply-To: <BA63CEAE152A7742B854C678D94913832633B9C9@CIO-KRC-D1MBX01.osuad.osu.edu>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Subject: Re: [jose] JWT + JOSE for Java
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 19:02:27 -0000

On 04/06/2012 04:14 PM, Cantor, Scott wrote:
>> If there are algorithm choices we could make like only supporting PKCS#2
>> OAEP in the JOSE spec to reduce the potential implementation issues.
>>
>> That is probably the level we need to have the discussion  at right now.
> 
> I would agree, and I would also question the need to include PKCS1.5 in this
> work. Every algorithm that's duplicative is just more work, let alone when
> they introduce risk.
> 
> -- Scott
Agreed, removing PKCS1.5 and supporting only PKCS2.0 is the good way to
go. It will be much more easier for the library developers not to take
care about the attacks resulting from the PKCS1.5 standard.

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

-- 
M.Sc. Juraj Somorovsky

Lehrstuhl für Netz- und Datensicherheit
Ruhr Universität Bochum
-----------------------------------
Universitätsstr. 150, Geb. ID 2/411
D-44780 Bochum

Telefon: +49 (0) 234 / 32-26551
Fax: +49 (0) 234 / 32-14347
http://www.nds.rub.de

From Michael.Jones@microsoft.com  Fri Apr  6 14:05:26 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 081BC11E8098 for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 14:05:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.523
X-Spam-Level: 
X-Spam-Status: No, score=-3.523 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JL0sHcKK7Kw0 for <jose@ietfa.amsl.com>; Fri,  6 Apr 2012 14:05:24 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe005.messaging.microsoft.com [216.32.181.185]) by ietfa.amsl.com (Postfix) with ESMTP id 9DFE721F8516 for <jose@ietf.org>; Fri,  6 Apr 2012 14:05:24 -0700 (PDT)
Received: from mail180-ch1-R.bigfish.com (10.43.68.235) by CH1EHSOBE012.bigfish.com (10.43.70.62) with Microsoft SMTP Server id 14.1.225.23; Fri, 6 Apr 2012 21:05:24 +0000
Received: from mail180-ch1 (localhost [127.0.0.1])	by mail180-ch1-R.bigfish.com (Postfix) with ESMTP id 1F08D2A0246	for <jose@ietf.org>; Fri,  6 Apr 2012 21:05:24 +0000 (UTC)
X-SpamScore: -20
X-BigFish: VS-20(zzc85fhzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC101.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail180-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail180-ch1 (localhost.localdomain [127.0.0.1]) by mail180-ch1 (MessageSwitch) id 1333746322997073_8954; Fri,  6 Apr 2012 21:05:22 +0000 (UTC)
Received: from CH1EHSMHS003.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.238])	by mail180-ch1.bigfish.com (Postfix) with ESMTP id E5F6714004E	for <jose@ietf.org>; Fri,  6 Apr 2012 21:05:22 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS003.bigfish.com (10.43.70.3) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 6 Apr 2012 21:05:22 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.02.0283.004; Fri, 6 Apr 2012 21:05:21 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Open Issue for WG Discussion:  Whether to move JWK algorithm family definitions to JWA spec (editorial)
Thread-Index: Ac0UOPPLd4xE93YWQ0SPm6yk+Ezhmw==
Date: Fri, 6 Apr 2012 21:05:20 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739436645DE9A@TK5EX14MBXC283.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.74]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739436645DE9ATK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 06 Apr 2012 21:05:26 -0000

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

The JSON Web Key (JWK) spec currently contains the algorithm family definit=
ions and parameter specifications for the RSA and Elliptic Curve algorithm =
families.  An editorial open issue is whether to leave these in the JWK spe=
c or move them to the JWA spec.

The argument for leaving them in the JWK spec is that removing the definiti=
ons of "EC" and "RSA" and the family-specific parameter definitions ("crv",=
 "x", "y", "mod", "exp") would leave very little normative text in the JWK =
spec itself.  It seemed like doing this would reduce the readability of the=
 JWK spec, and so was not done in -01.

The argument for moving them is that all the algorithm-specific definitions=
 would then be in the JWA spec and good examples of RSA and EC keys could r=
emain in the JWK spec.

References to the pertinent specs are:
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01

Feedback?

                                                                -- Mike


--_000_4E1F6AAD24975D4BA5B16804296739436645DE9ATK5EX14MBXC283r_
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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">The JSON Web Key (JWK) spec currently contains the a=
lgorithm family definitions and parameter specifications for the RSA and El=
liptic Curve algorithm families.&nbsp; An editorial open issue is whether t=
o leave these in the JWK spec or move them
 to the JWA spec.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The argument for leaving them in the JWK spec is tha=
t removing the definitions of &#8220;EC&#8221; and &#8220;RSA&#8221; and th=
e family-specific parameter definitions (&quot;crv&quot;, &quot;x&quot;, &q=
uot;y&quot;, &quot;mod&quot;, &quot;exp&quot;) would leave very little norm=
ative text in the JWK spec itself.
 &nbsp;It seemed like doing this would reduce the readability of the JWK sp=
ec, and so was not done in -01.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The argument for moving them is that all the algorit=
hm-specific definitions would then be in the JWA spec and good examples of =
RSA and EC keys could remain in the JWK spec.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">References to the pertinent specs are:<o:p></o:p></p=
>
<p class=3D"MsoNormal"><a href=3D"http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-key-01">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-=
01</a><o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-algorithms-01">http://tools.ietf.org/html/draft-ietf-jose-json-w=
eb-algorithms-01</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Feedback?<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;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739436645DE9ATK5EX14MBXC283r_--

From ietf@augustcellars.com  Sat Apr  7 07:26:25 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DB4221F8552 for <jose@ietfa.amsl.com>; Sat,  7 Apr 2012 07:26:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yEKwdEb7Pas5 for <jose@ietfa.amsl.com>; Sat,  7 Apr 2012 07:26:23 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id C35B121F8551 for <jose@ietf.org>; Sat,  7 Apr 2012 07:26:23 -0700 (PDT)
Received: from Tobias (50-39-221-206.bvtn.or.frontiernet.net [50.39.221.206]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 45B332CA0C; Sat,  7 Apr 2012 07:26:23 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>
References: <4E1F6AAD24975D4BA5B16804296739436645DE9A@TK5EX14MBXC283.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739436645DE9A@TK5EX14MBXC283.redmond.corp.microsoft.com>
Date: Sat, 7 Apr 2012 07:25:30 -0700
Message-ID: <001f01cd14ca$49a853d0$dcf8fb70$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01CD148F.9D4B9EB0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQI+quRoy5Y2UsIs2yap/w0lQezfcpWsPqJg
Content-Language: en-us
Subject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 07 Apr 2012 14:26:25 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0020_01CD148F.9D4B9EB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Please explain why you believe the readability of the document would be
reduced.  There would still be the ability to have examples that referenced
the algorithm draft.

 

Jim

 

 

From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Mike
Jones
Sent: Friday, April 06, 2012 2:05 PM
To: jose@ietf.org
Subject: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm
family definitions to JWA spec (editorial)

 

The JSON Web Key (JWK) spec currently contains the algorithm family
definitions and parameter specifications for the RSA and Elliptic Curve
algorithm families.  An editorial open issue is whether to leave these in
the JWK spec or move them to the JWA spec.

 

The argument for leaving them in the JWK spec is that removing the
definitions of "EC" and "RSA" and the family-specific parameter definitions
("crv", "x", "y", "mod", "exp") would leave very little normative text in
the JWK spec itself.  It seemed like doing this would reduce the readability
of the JWK spec, and so was not done in -01.

 

The argument for moving them is that all the algorithm-specific definitions
would then be in the JWA spec and good examples of RSA and EC keys could
remain in the JWK spec.

 

References to the pertinent specs are:

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

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

 

Feedback?

 

                                                                -- Mike

 


------=_NextPart_000_0020_01CD148F.9D4B9EB0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>Please explain why you believe the readability =
of the document would be reduced.&nbsp; There would still be the ability =
to have examples that referenced the algorithm =
draft.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'>Jim<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] <b>On Behalf Of =
</b>Mike Jones<br><b>Sent:</b> Friday, April 06, 2012 2:05 =
PM<br><b>To:</b> jose@ietf.org<br><b>Subject:</b> [jose] Open Issue for =
WG Discussion: Whether to move JWK algorithm family definitions to JWA =
spec (editorial)<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The JSON Web =
Key (JWK) spec currently contains the algorithm family definitions and =
parameter specifications for the RSA and Elliptic Curve algorithm =
families.&nbsp; An editorial open issue is whether to leave these in the =
JWK spec or move them to the JWA spec.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The argument =
for leaving them in the JWK spec is that removing the definitions of =
&#8220;EC&#8221; and &#8220;RSA&#8221; and the family-specific parameter =
definitions (&quot;crv&quot;, &quot;x&quot;, &quot;y&quot;, =
&quot;mod&quot;, &quot;exp&quot;) would leave very little normative text =
in the JWK spec itself. &nbsp;It seemed like doing this would reduce the =
readability of the JWK spec, and so was not done in =
-01.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>The argument for moving them is that all the =
algorithm-specific definitions would then be in the JWA spec and good =
examples of RSA and EC keys could remain in the JWK =
spec.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>References to the pertinent specs =
are:<o:p></o:p></p><p class=3DMsoNormal><a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01">http:=
//tools.ietf.org/html/draft-ietf-jose-json-web-key-01</a><o:p></o:p></p><=
p class=3DMsoNormal><a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01=
">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01</a><o=
:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Feedback?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_0020_01CD148F.9D4B9EB0--


From ve7jtb@ve7jtb.com  Sat Apr  7 07:46:27 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0003921F8566 for <jose@ietfa.amsl.com>; Sat,  7 Apr 2012 07:46:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.571
X-Spam-Level: 
X-Spam-Status: No, score=-3.571 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T79vUUfFbVdm for <jose@ietfa.amsl.com>; Sat,  7 Apr 2012 07:46:26 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by ietfa.amsl.com (Postfix) with ESMTP id D771B21F8565 for <jose@ietf.org>; Sat,  7 Apr 2012 07:46:25 -0700 (PDT)
Received: by ghbg16 with SMTP id g16so1670901ghb.31 for <jose@ietf.org>; Sat, 07 Apr 2012 07:46:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=qEC1z1veyOtriWBRg7n/fcTlWTBV4GU5caSuEuGKXmE=; b=gcKc5o41dtMQWFmHD6xlvE+VNGtQrh5pal1WTiLahMFcy45m/z5XaIA0x4pl2UjGnA K1NQHfLWsgC9dNXKbXEDR7T7Y70sC2TOREWswDNRsF+hdgpR1SVcU1idqLseeXvVl3av UAMmvJgWZsycAv1H4LTaMUoK6vWz9oKaszWOtM5pbUE54LpyxOPfUUv9IW+x/z1E0mRV t4CG74beVuT3KwTmirncUzv5EWlRxEX9qpu90Gus41WThcE/pot1mXi5A11E70r7gPQT k1ES0sW2AYNrXTztkoCLN3F/6F2BqY51pC1Iz/bDs4PBOa6NzJkmNexh5WikcLI8iG2o FPMQ==
Received: by 10.236.161.232 with SMTP id w68mr1196772yhk.56.1333809985112; Sat, 07 Apr 2012 07:46:25 -0700 (PDT)
Received: from [192.168.1.213] (190-20-30-181.baf.movistar.cl. [190.20.30.181]) by mx.google.com with ESMTPS id e45sm41395000yhk.2.2012.04.07.07.46.21 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 Apr 2012 07:46:23 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_D01F053E-650D-43B6-B44F-6827A4A190C3"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <001f01cd14ca$49a853d0$dcf8fb70$@augustcellars.com>
Date: Sat, 7 Apr 2012 11:45:47 -0300
Message-Id: <DD10932A-38DC-46E3-AC6B-86C1FE6C3A96@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739436645DE9A@TK5EX14MBXC283.redmond.corp.microsoft.com> <001f01cd14ca$49a853d0$dcf8fb70$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkZM0MUVaObyZ9WM14HMbHv2mkGWrP755GMKCUW/O9jQ1xnL8y4YYtyz919jQ1QSq7P9sOJ
Cc: 'Mike Jones' <Michael.Jones@microsoft.com>, jose@ietf.org
Subject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 07 Apr 2012 14:46:27 -0000

--Apple-Mail=_D01F053E-650D-43B6-B44F-6827A4A190C3
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_39234A5A-E686-49EB-94FE-1BC18C02B91F"


--Apple-Mail=_39234A5A-E686-49EB-94FE-1BC18C02B91F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

It is mostly a style question I think.

Given that the elements can be directly embedded in JWE,  as well as =
being represented externally in a JWK,  I think JWA is probably the =
correct place for them as it makes it easier to add new crypto algs.

The solution for JWK is good examples I think.

I suppose the downside is an extra level of indirection through the =
specs for developers.

I don't feel strongly one way or the other, just have a slight =
preference for JWA. (My track record on document structure is slightly =
suspect though)

John B.
On 2012-04-07, at 11:25 AM, Jim Schaad wrote:

> Please explain why you believe the readability of the document would =
be reduced.  There would still be the ability to have examples that =
referenced the algorithm draft.
> =20
> Jim
> =20
> =20
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of Mike Jones
> Sent: Friday, April 06, 2012 2:05 PM
> To: jose@ietf.org
> Subject: [jose] Open Issue for WG Discussion: Whether to move JWK =
algorithm family definitions to JWA spec (editorial)
> =20
> The JSON Web Key (JWK) spec currently contains the algorithm family =
definitions and parameter specifications for the RSA and Elliptic Curve =
algorithm families.  An editorial open issue is whether to leave these =
in the JWK spec or move them to the JWA spec.
> =20
> The argument for leaving them in the JWK spec is that removing the =
definitions of =93EC=94 and =93RSA=94 and the family-specific parameter =
definitions ("crv", "x", "y", "mod", "exp") would leave very little =
normative text in the JWK spec itself.  It seemed like doing this would =
reduce the readability of the JWK spec, and so was not done in -01.
> =20
> The argument for moving them is that all the algorithm-specific =
definitions would then be in the JWA spec and good examples of RSA and =
EC keys could remain in the JWK spec.
> =20
> References to the pertinent specs are:
> http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01
> =20
> Feedback?
> =20
>                                                                 -- =
Mike
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_39234A5A-E686-49EB-94FE-1BC18C02B91F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://8385/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; ">It is mostly a style question I =
think.<div><br></div><div>Given that the elements can be directly =
embedded in JWE, &nbsp;as well as being represented externally in a JWK, =
&nbsp;I think JWA is probably the correct place for them as it makes it =
easier to add new crypto algs.</div><div><br></div><div>The solution for =
JWK is good examples I think.</div><div><br></div><div>I suppose the =
downside is an extra level of indirection through the specs for =
developers.</div><div><br></div><div>I don't feel strongly one way or =
the other, just have a slight preference for JWA. (My track record on =
document structure is slightly suspect =
though)</div><div><br></div><div>John B.</div><div><div><div>On =
2012-04-07, at 11:25 AM, Jim Schaad wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Please explain why you believe the readability of the =
document would be reduced.&nbsp; There would still be the ability to =
have examples that referenced the algorithm =
draft.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Jim<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"border-top-style: =
none; border-right-style: none; border-bottom-style: none; border-width: =
initial; border-color: initial; border-left-style: solid; =
border-left-color: blue; border-left-width: 1.5pt; padding-top: 0in; =
padding-right: 0in; padding-bottom: 0in; padding-left: 4pt; "><div><div =
style=3D"border-right-style: none; border-bottom-style: none; =
border-left-style: none; border-width: initial; border-color: initial; =
border-top-style: solid; border-top-color: rgb(181, 196, 223); =
border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; =
padding-bottom: 0in; padding-left: 0in; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-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><a =
href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a> =
[mailto:jose-bounces@ietf.org]<span =
class=3D"Apple-converted-space">&nbsp;</span><b>On Behalf Of<span =
class=3D"Apple-converted-space">&nbsp;</span></b>Mike =
Jones<br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Friday, April 06, 2012 2:05 =
PM<br><b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>[jose] Open Issue for WG =
Discussion: Whether to move JWK algorithm family definitions to JWA spec =
(editorial)<o:p></o:p></span></div></div></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">The JSON Web Key (JWK) spec =
currently contains the algorithm family definitions and parameter =
specifications for the RSA and Elliptic Curve algorithm families.&nbsp; =
An editorial open issue is whether to leave these in the JWK spec or =
move them to the JWA spec.<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">The argument for leaving them in the =
JWK spec is that removing the definitions of =93EC=94 and =93RSA=94 and =
the family-specific parameter definitions ("crv", "x", "y", "mod", =
"exp") would leave very little normative text in the JWK spec itself. =
&nbsp;It seemed like doing this would reduce the readability of the JWK =
spec, and so was not done in -01.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">The argument for moving them =
is that all the algorithm-specific definitions would then be in the JWA =
spec and good examples of RSA and EC keys could remain in the JWK =
spec.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">References to the =
pertinent specs are:<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01" =
style=3D"color: blue; text-decoration: underline; =
">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01</a><o:p></o:p=
></div><div style=3D"margin-top: 0in; margin-right: 0in; margin-left: =
0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01"=
 style=3D"color: blue; text-decoration: underline; =
">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01</a><o:=
p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">Feedback?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; -- Mike<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div></div></div>_____________________________________=
__________<br>jose mailing list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>https://www.ietf.org/ma=
ilman/listinfo/jose</div></span></blockquote></div><br></div></body></html=
>=

--Apple-Mail=_39234A5A-E686-49EB-94FE-1BC18C02B91F--

--Apple-Mail=_D01F053E-650D-43B6-B44F-6827A4A190C3
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqG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k
7/6GFUMpeCv5fX93kT6f11shcu09o8SWvrhEp2sLTkPI00hSaQcR+UhxdnRzpI5WjtHKyf91BPX/
dqbdGhNbY99fSClFnF8iy8n9zwqCJttAJnzo6nmYB5vZAOwACftpkZpwo6DkEq6xPBb0/VJ4gjPR
WW/D3xIz9lSuvdzZuUCRr9T054VFg/scfbcQckxjxUpG5Ocv3xfM7JnxqxUe32VJemoEbqpMuEyT
ryisg1bjhzbXRwzg0kHCNQ46sBKz8+wDQTaGoBkAAAAAAAA=

--Apple-Mail=_D01F053E-650D-43B6-B44F-6827A4A190C3--

From Michael.Jones@microsoft.com  Mon Apr  9 08:46:49 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D966821F86C9 for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 08:46:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.038
X-Spam-Level: 
X-Spam-Status: No, score=-5.038 tagged_above=-999 required=5 tests=[AWL=1.560,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmMRP8M1NLzu for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 08:46:47 -0700 (PDT)
Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) by ietfa.amsl.com (Postfix) with ESMTP id 8E00D21F86CB for <jose@ietf.org>; Mon,  9 Apr 2012 08:46:47 -0700 (PDT)
Received: from mail104-tx2-R.bigfish.com (10.9.14.248) by TX2EHSOBE006.bigfish.com (10.9.40.26) with Microsoft SMTP Server id 14.1.225.23; Mon, 9 Apr 2012 15:46:46 +0000
Received: from mail104-tx2 (localhost [127.0.0.1])	by mail104-tx2-R.bigfish.com (Postfix) with ESMTP id D69A23003E7; Mon,  9 Apr 2012 15:46:46 +0000 (UTC)
X-SpamScore: -27
X-BigFish: VS-27(zz9371I936eKc85fh98dKzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC103.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail104-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail104-tx2 (localhost.localdomain [127.0.0.1]) by mail104-tx2 (MessageSwitch) id 1333986404182559_2771; Mon,  9 Apr 2012 15:46:44 +0000 (UTC)
Received: from TX2EHSMHS043.bigfish.com (unknown [10.9.14.244])	by mail104-tx2.bigfish.com (Postfix) with ESMTP id 1C49B180137; Mon,  9 Apr 2012 15:46:44 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS043.bigfish.com (10.9.99.143) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 9 Apr 2012 15:46:42 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.02.0283.004; Mon, 9 Apr 2012 15:46:41 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: John Bradley <ve7jtb@ve7jtb.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
Thread-Index: AQHNFMprBXeoX0J2x0ei69tE1/e6NZaPcKeAgAM009A=
Date: Mon, 9 Apr 2012 15:46:41 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739436645F5EB@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739436645DE9A@TK5EX14MBXC283.redmond.corp.microsoft.com> <001f01cd14ca$49a853d0$dcf8fb70$@augustcellars.com> <DD10932A-38DC-46E3-AC6B-86C1FE6C3A96@ve7jtb.com>
In-Reply-To: <DD10932A-38DC-46E3-AC6B-86C1FE6C3A96@ve7jtb.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_4E1F6AAD24975D4BA5B16804296739436645F5EBTK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 09 Apr 2012 15:46:50 -0000

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

The readability would be somewhat reduced by having to refer to the second =
document.  That being said, I believe this could be mitigated by the use of=
 examples.  Since opinion (of the two participants in the discussion to dat=
e) seems to favor moving the algorithm family definitions to JWA, I'll plan=
 on doing that unless others speak up taking the counter position.

                                                            -- Mike

From: John Bradley [mailto:ve7jtb@ve7jtb.com]
Sent: Saturday, April 07, 2012 7:46 AM
To: Jim Schaad
Cc: Mike Jones; jose@ietf.org
Subject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK algor=
ithm family definitions to JWA spec (editorial)

It is mostly a style question I think.

Given that the elements can be directly embedded in JWE,  as well as being =
represented externally in a JWK,  I think JWA is probably the correct place=
 for them as it makes it easier to add new crypto algs.

The solution for JWK is good examples I think.

I suppose the downside is an extra level of indirection through the specs f=
or developers.

I don't feel strongly one way or the other, just have a slight preference f=
or JWA. (My track record on document structure is slightly suspect though)

John B.
On 2012-04-07, at 11:25 AM, Jim Schaad wrote:


Please explain why you believe the readability of the document would be red=
uced.  There would still be the ability to have examples that referenced th=
e algorithm draft.

Jim


From: jose-bounces@ietf.org<mailto:jose-bounces@ietf.org> [mailto:jose-boun=
ces@ietf.org]<mailto:[mailto:jose-bounces@ietf.org]> On Behalf Of Mike Jone=
s
Sent: Friday, April 06, 2012 2:05 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm=
 family definitions to JWA spec (editorial)

The JSON Web Key (JWK) spec currently contains the algorithm family definit=
ions and parameter specifications for the RSA and Elliptic Curve algorithm =
families.  An editorial open issue is whether to leave these in the JWK spe=
c or move them to the JWA spec.

The argument for leaving them in the JWK spec is that removing the definiti=
ons of "EC" and "RSA" and the family-specific parameter definitions ("crv",=
 "x", "y", "mod", "exp") would leave very little normative text in the JWK =
spec itself.  It seemed like doing this would reduce the readability of the=
 JWK spec, and so was not done in -01.

The argument for moving them is that all the algorithm-specific definitions=
 would then be in the JWA spec and good examples of RSA and EC keys could r=
emain in the JWK spec.

References to the pertinent specs are:
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01

Feedback?

                                                                -- Mike

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


--_000_4E1F6AAD24975D4BA5B16804296739436645F5EBTK5EX14MBXC283r_
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)">
<base href=3D"x-msg://8385/"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{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]-->
</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">The readability would be =
somewhat reduced by having to refer to the second document.&nbsp; That bein=
g said, I believe this could be mitigated by the use of examples.&nbsp;
 Since opinion (of the two participants in the discussion to date) seems to=
 favor moving the algorithm family definitions to JWA, I&#8217;ll plan on d=
oing that unless others speak up taking the counter position.<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> John Bra=
dley [mailto:ve7jtb@ve7jtb.com]
<br>
<b>Sent:</b> Saturday, April 07, 2012 7:46 AM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> Mike Jones; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] Open Issue for WG Discussion: Whether to move JW=
K algorithm family definitions to JWA spec (editorial)<o:p></o:p></span></p=
>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It is mostly a style question I think.<o:p></o:p></p=
>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Given that the elements can be directly embedded in =
JWE, &nbsp;as well as being represented externally in a JWK, &nbsp;I think =
JWA is probably the correct place for them as it makes it easier to add new=
 crypto algs.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The solution for JWK is good examples I think.<o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I suppose the downside is an extra level of indirect=
ion through the specs for developers.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I don't feel strongly one way or the other, just hav=
e a slight preference for JWA. (My track record on document structure is sl=
ightly suspect though)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">John B.<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal">On 2012-04-07, at 11:25 AM, Jim Schaad wrote:<o:p></=
o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Please explain why you be=
lieve the readability of the document would be reduced.&nbsp; There would s=
till be the ability to have examples that referenced the algorithm
 draft.</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quo=
t;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Jim</span><span style=3D"=
font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o=
:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt;border-width:initial;border-color:initial">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span class=3D"apple-=
converted-space"><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&q=
uot;,&quot;sans-serif&quot;">&nbsp;</span></span><span style=3D"font-size:1=
0.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><a href=3D"mai=
lto:jose-bounces@ietf.org">jose-bounces@ietf.org</a>
<a href=3D"mailto:[mailto:jose-bounces@ietf.org]">[mailto:jose-bounces@ietf=
.org]</a><span class=3D"apple-converted-space">&nbsp;</span><b>On Behalf Of=
<span class=3D"apple-converted-space">&nbsp;</span></b>Mike Jones<br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Friday, Apri=
l 06, 2012 2:05 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] Op=
en Issue for WG Discussion: Whether to move JWK algorithm family definition=
s to JWA spec (editorial)</span><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">The JSON Web Key (JWK) spec currently c=
ontains the algorithm family definitions and parameter specifications for t=
he RSA and Elliptic Curve algorithm families.&nbsp; An editorial
 open issue is whether to leave these in the JWK spec or move them to the J=
WA spec.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">The argument for leaving them in the JW=
K spec is that removing the definitions of &#8220;EC&#8221; and &#8220;RSA&=
#8221; and the family-specific parameter definitions (&quot;crv&quot;, &quo=
t;x&quot;, &quot;y&quot;, &quot;mod&quot;, &quot;exp&quot;)
 would leave very little normative text in the JWK spec itself. &nbsp;It se=
emed like doing this would reduce the readability of the JWK spec, and so w=
as not done in -01.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">The argument for moving them is that al=
l the algorithm-specific definitions would then be in the JWA spec and good=
 examples of RSA and EC keys could remain in the JWK spec.<o:p></o:p></span=
></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">References to the pertinent specs are:<=
o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;"><a href=3D"http://tools.ietf.org/html/d=
raft-ietf-jose-json-web-key-01">http://tools.ietf.org/html/draft-ietf-jose-=
json-web-key-01</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;"><a href=3D"http://tools.ietf.org/html/d=
raft-ietf-jose-json-web-algorithms-01">http://tools.ietf.org/html/draft-iet=
f-jose-json-web-algorithms-01</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Feedback?<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">_____________________________________=
__________<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><o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739436645F5EBTK5EX14MBXC283r_--

From Michael.Jones@microsoft.com  Mon Apr  9 09:25:49 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3237D21F8778 for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 09:25:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.798
X-Spam-Level: 
X-Spam-Status: No, score=-3.798 tagged_above=-999 required=5 tests=[AWL=-0.200, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A2Dn8GPSXKmN for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 09:25:47 -0700 (PDT)
Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe003.messaging.microsoft.com [213.199.154.141]) by ietfa.amsl.com (Postfix) with ESMTP id D29F221F8738 for <jose@ietf.org>; Mon,  9 Apr 2012 09:25:46 -0700 (PDT)
Received: from mail103-db3-R.bigfish.com (10.3.81.230) by DB3EHSOBE004.bigfish.com (10.3.84.24) with Microsoft SMTP Server id 14.1.225.23; Mon, 9 Apr 2012 16:25:45 +0000
Received: from mail103-db3 (localhost [127.0.0.1])	by mail103-db3-R.bigfish.com (Postfix) with ESMTP id 70FCD3C073E	for <jose@ietf.org>; Mon,  9 Apr 2012 16:25:45 +0000 (UTC)
X-SpamScore: -21
X-BigFish: VS-21(zzc85fh4015Izz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC102.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail103-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail103-db3 (localhost.localdomain [127.0.0.1]) by mail103-db3 (MessageSwitch) id 1333988743330732_20585; Mon,  9 Apr 2012 16:25:43 +0000 (UTC)
Received: from DB3EHSMHS015.bigfish.com (unknown [10.3.81.246])	by mail103-db3.bigfish.com (Postfix) with ESMTP id 42A3E2C004A	for <jose@ietf.org>; Mon,  9 Apr 2012 16:25:43 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS015.bigfish.com (10.3.87.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 9 Apr 2012 16:25:41 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.02.0283.004; Mon, 9 Apr 2012 16:25:39 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Open Issue for WG Discussion:  Disposition of JSON Serialization Functionality
Thread-Index: Ac0WbWXHYX/Vund+T9CNkkvP3fJCBQ==
Date: Mon, 9 Apr 2012 16:25:38 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739436645F6F6@TK5EX14MBXC283.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.36]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739436645F6F6TK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: [jose] Open Issue for WG Discussion: Disposition of JSON Serialization Functionality
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 09 Apr 2012 16:25:49 -0000

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

You'll recall that I created JSON Serialization drafts in response to WG in=
put that use the same cryptographic operations as JWS and JWE, but that ser=
ialize the results into a JSON objects, rather than base64url encoded value=
s separated by periods.  These representations also enable multiple signatu=
res/HMACs to be used and content to be encrypted to multiple recipients.  T=
he current versions of these drafts are:

*        http://tools.ietf.org/html/draft-jones-json-web-signature-json-ser=
ialization-01

*        http://tools.ietf.org/html/draft-jones-json-web-encryption-json-se=
rialization-01

It was decided in Paris that the disposition of this functionality should b=
e discussed by the WG on the list.  I think the questions we need to decide=
 are:

1.  Is the working group interested in pursuing this functionality?  (Evide=
nce to date is that the answer to this question is "yes".)

2.  If the answer to (1) is "yes", would the working group like to have thi=
s functionality be in working group documents at this time (rather than bei=
ng described in individual submissions, as at present)?

3.  If the answer to (2) is "yes", should working group -00 versions of the=
 JSON Serialization documents be created or should this functionality be fo=
lded into the existing JWS and JWE specs?

Arguments for keeping this functionality separate for now are:
  - Different level of maturity:  I'm aware of over a dozen implementations=
 of JWS a few of JWE, but I know of no implementations of JWS-JS or JWE-JS.=
  There's an argument that we should keep this new functionality separate u=
ntil we have "rough consensus and running code".
  - Document simplicity for the Compact Serialization use case.  Not descri=
bing a second serialization in the JWS and JWE documents makes the document=
s somewhat easier to read if all the implementer needs is the Compact Seria=
lization.

Arguments for merging it in now are:
  - Fewer documents needed to provide comprehensive treatment of the materi=
al.

Opinions from the Working Group?

                                                            Thanks,
                                                            -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	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:1811945904;
	mso-list-type:hybrid;
	mso-list-template-ids:1442207202 67698689 67698691 67698693 67698689 67698=
691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
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">You&#8217;ll recall that I created JSON Serializatio=
n drafts in response to WG input that use the same cryptographic operations=
 as JWS and JWE, but that serialize the results into a JSON objects, rather=
 than base64url encoded values separated
 by periods.&nbsp; These representations also enable multiple signatures/HM=
ACs to be used and content to be encrypted to multiple recipients.&nbsp; Th=
e current versions of these drafts are:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
jones-json-web-signature-json-serialization-01">http://tools.ietf.org/html/=
draft-jones-json-web-signature-json-serialization-01</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
jones-json-web-encryption-json-serialization-01">http://tools.ietf.org/html=
/draft-jones-json-web-encryption-json-serialization-01</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It was decided in Paris that the disposition of this=
 functionality should be discussed by the WG on the list.&nbsp; I think the=
 questions we need to decide are:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">1.&nbsp; Is the working group interested in pursuing=
 this functionality?&nbsp; (Evidence to date is that the answer to this que=
stion is &#8220;yes&#8221;.)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2.&nbsp; If the answer to (1) is &#8220;yes&#8221;, =
would the working group like to have this functionality be in working group=
 documents at this time (rather than being described in individual submissi=
ons, as at present)?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">3.&nbsp; If the answer to (2) is &#8220;yes&#8221;, =
should working group -00 versions of the JSON Serialization documents be cr=
eated or should this functionality be folded into the existing JWS and JWE =
specs?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Arguments for keeping this functionality separate fo=
r now are:<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; - Different level of maturity:&nbsp; I&#8217;=
m aware of over a dozen implementations of JWS a few of JWE, but I know of =
no implementations of JWS-JS or JWE-JS.&nbsp; There&#8217;s an argument tha=
t we should keep this new functionality separate until we have
 &#8220;rough consensus and running code&#8221;.<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; - Document simplicity for the Compact Seriali=
zation use case.&nbsp; Not describing a second serialization in the JWS and=
 JWE documents makes the documents somewhat easier to read if all the imple=
menter needs is the Compact Serialization.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Arguments for merging it in now are:<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; - Fewer documents needed to provide comprehen=
sive treatment of the material.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Opinions from the Working Group?<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; Thanks,<o:p></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>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739436645F6F6TK5EX14MBXC283r_--

From ve7jtb@ve7jtb.com  Mon Apr  9 09:41:57 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0262C21F8581 for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 09:41:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.573
X-Spam-Level: 
X-Spam-Status: No, score=-3.573 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cMzzSLCW8EXC for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 09:41:56 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0AFDF21F8575 for <jose@ietf.org>; Mon,  9 Apr 2012 09:41:55 -0700 (PDT)
Received: by yhkk25 with SMTP id k25so2133284yhk.31 for <jose@ietf.org>; Mon, 09 Apr 2012 09:41:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=86UnOt++Gb1qI2rPr4udkHzwEkvlx8+oQVuF7GG+aQA=; b=Lb6Xo14bKVFdCy6m3mh6BMncXssayQk5c8+MuQPcxlC1JJQQxuFhOLpGKNcje3stcP Jat/LT9br08S7eTNMymXCnGjHLZYPfD2czysv00P3r0v0hWJ1ejhPbm9RDNwjkqdTiFy 02Fvfefo7hUxcssJsYe2j7uMnMsKl8FSwRkm8jhsR9rHtcgHkVI4tkcaTP59jHxfb00i 5WVR9UKaSr9WOaYtnmFEoQJQeFrPriIYogNgK6iVGJ5vS61mpBU9Fady7Kw6Y6CKV4li 76ZwSJJUR40pI6SXz50fjzEIDbxGWLOVfBfNiU1EQ4/11+HjOeSqQySeItOKGXTyeINO 9hQw==
Received: by 10.236.82.134 with SMTP id o6mr6783233yhe.51.1333989715449; Mon, 09 Apr 2012 09:41:55 -0700 (PDT)
Received: from [192.168.1.213] (190-20-49-231.baf.movistar.cl. [190.20.49.231]) by mx.google.com with ESMTPS id g49sm67706755yhk.20.2012.04.09.09.41.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Apr 2012 09:41:53 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_BD689EC4-10CE-4175-A7E2-A3B64C8A0E2A"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739436645F6F6@TK5EX14MBXC283.redmond.corp.microsoft.com>
Date: Mon, 9 Apr 2012 13:41:20 -0300
Message-Id: <0A1F4C01-6F1C-409A-ABCC-A0F09729B45B@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739436645F6F6@TK5EX14MBXC283.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQlneBCKIvR2o8drWPa5Rnvfl/wGsdMdr9EqRPgeMcbS45LfWVwFpimANDrrEEHQ97N0i86q
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Open Issue for WG Discussion: Disposition of JSON Serialization Functionality
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 09 Apr 2012 16:41:57 -0000

--Apple-Mail=_BD689EC4-10CE-4175-A7E2-A3B64C8A0E2A
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_089C1EE1-DD5C-4E9D-9214-F152DFB83994"


--Apple-Mail=_089C1EE1-DD5C-4E9D-9214-F152DFB83994
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Inline
On 2012-04-09, at 1:25 PM, Mike Jones wrote:

> You=92ll recall that I created JSON Serialization drafts in response =
to WG input that use the same cryptographic operations as JWS and JWE, =
but that serialize the results into a JSON objects, rather than =
base64url encoded values separated by periods.  These representations =
also enable multiple signatures/HMACs to be used and content to be =
encrypted to multiple recipients.  The current versions of these drafts =
are:
> =B7        =
http://tools.ietf.org/html/draft-jones-json-web-signature-json-serializati=
on-01
> =B7        =
http://tools.ietf.org/html/draft-jones-json-web-encryption-json-serializat=
ion-01
> =20
> It was decided in Paris that the disposition of this functionality =
should be discussed by the WG on the list.  I think the questions we =
need to decide are:
> =20
> 1.  Is the working group interested in pursuing this functionality?  =
(Evidence to date is that the answer to this question is =93yes=94.)
> =20
Yes
> 2.  If the answer to (1) is =93yes=94, would the working group like to =
have this functionality be in working group documents at this time =
(rather than being described in individual submissions, as at present)?

Yes
> =20
> 3.  If the answer to (2) is =93yes=94, should working group -00 =
versions of the JSON Serialization documents be created or should this =
functionality be folded into the existing JWS and JWE specs?
> =20

Create WG documents separate from the  JWS and JWE and consider merging =
them later after some more maturity.

John B.
> Arguments for keeping this functionality separate for now are:
>   - Different level of maturity:  I=92m aware of over a dozen =
implementations of JWS a few of JWE, but I know of no implementations of =
JWS-JS or JWE-JS.  There=92s an argument that we should keep this new =
functionality separate until we have =93rough consensus and running =
code=94.
>   - Document simplicity for the Compact Serialization use case.  Not =
describing a second serialization in the JWS and JWE documents makes the =
documents somewhat easier to read if all the implementer needs is the =
Compact Serialization.
> =20
> Arguments for merging it in now are:
>   - Fewer documents needed to provide comprehensive treatment of the =
material.
> =20
> Opinions from the Working Group?
> =20
>                                                             Thanks,
>                                                             -- Mike
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_089C1EE1-DD5C-4E9D-9214-F152DFB83994
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://8686/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; ">Inline<br><div><div>On 2012-04-09, at 1:25 PM, Mike =
Jones wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">You=92ll recall that I created =
JSON Serialization drafts in response to WG input that use the same =
cryptographic operations as JWS and JWE, but that serialize the results =
into a JSON objects, rather than base64url encoded values separated by =
periods.&nbsp; These representations also enable multiple =
signatures/HMACs to be used and content to be encrypted to multiple =
recipients.&nbsp; The current versions of these drafts =
are:<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; text-indent: -0.25in; "><span =
style=3D"font-family: Symbol; "><span>=B7<span style=3D"font: normal =
normal normal 7pt/normal 'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><a =
href=3D"http://tools.ietf.org/html/draft-jones-json-web-signature-json-ser=
ialization-01" style=3D"color: blue; text-decoration: underline; =
">http://tools.ietf.org/html/draft-jones-json-web-signature-json-serializa=
tion-01</a><o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; text-indent: -0.25in; "><span =
style=3D"font-family: Symbol; "><span>=B7<span style=3D"font: normal =
normal normal 7pt/normal 'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><a =
href=3D"http://tools.ietf.org/html/draft-jones-json-web-encryption-json-se=
rialization-01" style=3D"color: blue; text-decoration: underline; =
">http://tools.ietf.org/html/draft-jones-json-web-encryption-json-serializ=
ation-01</a><o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">It was decided in Paris that the disposition of this =
functionality should be discussed by the WG on the list.&nbsp; I think =
the questions we need to decide are:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">1.&nbsp; Is the working group =
interested in pursuing this functionality?&nbsp; (Evidence to date is =
that the answer to this question is =93yes=94.)<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; =
"><o:p>&nbsp;</o:p></div></div></div></span></blockquote>Yes<br><blockquot=
e type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse:=
 separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">2.&nbsp; If the answer to (1) =
is =93yes=94, would the working group like to have this functionality be =
in working group documents at this time (rather than being described in =
individual submissions, as at =
present)?</div></div></div></span></blockquote><div><br></div>Yes<br><bloc=
kquote type=3D"cite"><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">3.&nbsp; If the answer to (2) =
is =93yes=94, should working group -00 versions of the JSON =
Serialization documents be created or should this functionality be =
folded into the existing JWS and JWE specs?<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; =
"><o:p>&nbsp;</o:p></div></div></div></span></blockquote><div><br></div>Cr=
eate WG documents separate from the &nbsp;JWS and JWE and consider =
merging them later after some more =
maturity.</div><div><br></div><div>John B.<br><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">Arguments for keeping this =
functionality separate for now are:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">&nbsp; - Different level of maturity:&nbsp; I=92m aware of =
over a dozen implementations of JWS a few of JWE, but I know of no =
implementations of JWS-JS or JWE-JS.&nbsp; There=92s an argument that we =
should keep this new functionality separate until we have =93rough =
consensus and running code=94.<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp; - Document =
simplicity for the Compact Serialization use case.&nbsp; Not describing =
a second serialization in the JWS and JWE documents makes the documents =
somewhat easier to read if all the implementer needs is the Compact =
Serialization.<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">Arguments for merging it in now are:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">&nbsp; - Fewer documents needed to provide comprehensive =
treatment of the material.<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">Opinions from the Working =
Group?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Thanks,<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div></div>___________________________________________=
____<br>jose mailing list<br><a href=3D"mailto:jose@ietf.org" =
style=3D"color: blue; text-decoration: underline; =
">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" style=3D"color: =
blue; text-decoration: underline; =
">https://www.ietf.org/mailman/listinfo/jose</a><br></div></span></blockqu=
ote></div><br></body></html>=

--Apple-Mail=_089C1EE1-DD5C-4E9D-9214-F152DFB83994--

--Apple-Mail=_BD689EC4-10CE-4175-A7E2-A3B64C8A0E2A
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMCQ0wxIjAgBgNVBAgTGU1ldHJvcG9saXRhbmEgZGUgU2FudGlhZ28xFjAU
BgNVBAcTDUlzbGEgZGUgTWFpcG8xFTATBgNVBAMTDEpvaG4gQnJhZGxleTEeMBwGCSqGSIb3DQEJ
ARYPamJyYWRsZXlAbWUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAskrlBI93
rBTLOQGSwIT6co6dAw/rwDPrRXl6/F2oc4KDn+QN6CdFeHo08H846VJS9CDjLKvnK9jbxxs4wYqe
nKdPb3jgzt8oc7b9ZXtWkOgsxgMf6dBZ/IPm4lWBpCbSr3seDGDXEpiE2lTZXno7c25OguR4E6Qa
hcpHABZjeEWK65mMH25gmoRf5MY1k3quu5y+FCYCHE2iwU5jzq+mI3HmG59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UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
AEWUeatjjc0CLWQTJqAiFD/Kxb7btP5NGzECByWL7Hr+n5WgK3rlHtlPQQMzCfP9XPU24ELyUAxk
bBMYb1obk3xf3RWsMYc/77glvU42jmqVDy07nqTy4AmsaZhw9YsntFE0GejRWe7PsVEHokBqeF7k
sDNfq087ufMqV6tCJY2Pd92Fa2+Qjq4YbWMcSG2L4r4GDBLNzIDUYpZKWeboipH2Y8MI/j6QZ8JM
XeuQSvm4FoKME+7JlpmgeLWtheWw6ld8D6BcTp6b+qNQgWZ+VHGUd7VQAhR3epoIFxhn4J3VMVcT
+P7j/mfZUqk10EdnGwQWA/oP0MSlYl5BitOQMDcAAAAAAAA=

--Apple-Mail=_BD689EC4-10CE-4175-A7E2-A3B64C8A0E2A--

From rbarnes@bbn.com  Mon Apr  9 18:17:11 2012
Return-Path: <rbarnes@bbn.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C90B21F87F4 for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 18:17:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sgu-IMiowmNK for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 18:17:10 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by ietfa.amsl.com (Postfix) with ESMTP id B0EA821F87F1 for <jose@ietf.org>; Mon,  9 Apr 2012 18:17:10 -0700 (PDT)
Received: from [128.89.255.196] (port=54345) by smtp.bbn.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1SHPhT-000951-Vf for jose@ietf.org; Mon, 09 Apr 2012 21:16:52 -0400
From: "Richard L. Barnes" <rbarnes@bbn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 9 Apr 2012 21:17:42 -0400
References: <20120410011554.8603.20808.idtracker@ietfa.amsl.com>
To: jose@ietf.org
Message-Id: <8148046D-E3AE-4646-977E-6C6C887C2CCC@bbn.com>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Subject: [jose] Fwd: New Version Notification for draft-barnes-jose-use-cases-00.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 01:17:11 -0000

Dear WG,

Here's a first version of the proposed use cases document.  Comments =
welcome!

--Richard



Begin forwarded message:

> From: internet-drafts@ietf.org
> Subject: New Version Notification for =
draft-barnes-jose-use-cases-00.txt
> Date: April 9, 2012 9:15:54 PM EDT
> To: rbarnes@bbn.com
>=20
> A new version of I-D, draft-barnes-jose-use-cases-00.txt has been =
successfully submitted by Richard Barnes and posted to the IETF =
repository.
>=20
> Filename:	 draft-barnes-jose-use-cases
> Revision:	 00
> Title:		 Use Cases and Requirements for JSON Object =
Signing and Encryption (JOSE)
> Creation date:	 2012-04-06
> WG ID:		 Individual Submission
> Number of pages: 13
>=20
> Abstract:
>   Many Internet applications have a need for object-based security
>   mechanisms in addition to security mechanisms at the network layer =
or
>   transport layer.  In the past, the Cryptographic Message Syntax has
>   provided a binary secure object format based on ASN.1.  Over time,
>   the use of binary object encodings such as ASN.1 has been overtaken
>   by text-based encodings, for example JavaScript Object Notation.
>   This document defines a set of use cases and requirements for a
>   secure object format encoded using JavaScript Object Notation, drawn
>   from a variety of application security mechanisms currently in
>   development.
>=20
>=20
>=20
>=20
> The IETF Secretariat


From vladimir@nimbusds.com  Mon Apr  9 22:56:47 2012
Return-Path: <vladimir@nimbusds.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3DF5C21F84F8 for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 22:56:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level: 
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=0.150,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ehRKjJ6BpxBA for <jose@ietfa.amsl.com>; Mon,  9 Apr 2012 22:56:46 -0700 (PDT)
Received: from n1plwbeout07-02.prod.ams1.secureserver.net (n1plsmtp07-02-02.prod.ams1.secureserver.net [188.121.52.107]) by ietfa.amsl.com (Postfix) with SMTP id DBA5B21F84F5 for <jose@ietf.org>; Mon,  9 Apr 2012 22:56:45 -0700 (PDT)
Received: (qmail 3724 invoked from network); 10 Apr 2012 05:56:44 -0000
Received: from unknown (HELO localhost) (188.121.52.245) by n1plwbeout07-02.prod.ams1.secureserver.net with SMTP; 10 Apr 2012 05:56:39 -0000
Received: (qmail 3446 invoked by uid 99); 10 Apr 2012 05:56:39 -0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: 95.43.57.246
User-Agent: Workspace Webmail 5.6.15
Message-Id: <20120409225638.cc40c4f3d92d2001859047cd8cabb9ab.4c1ea7ac92.wbe@email07.europe.secureserver.net>
From: "Vladimir Dzhuvinov / NimbusDS" <vladimir@nimbusds.com>
To: "Mike Jones" <Michael.Jones@microsoft.com>, "John Bradley" <ve7jtb@ve7jtb.com>, "Jim Schaad" <ietf@augustcellars.com>
Date: Mon, 09 Apr 2012 22:56:38 -0700
Mime-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 05:56:47 -0000

Hi Mike, hi guys,=0A=0A+1 for moving the algorithm definitions to the JWA s=
pec.=0A=0AMy reasoning goes as follows:=0A=0A1. The JWK spec is about prese=
ntation and format (JSON), =0A   JWA is about the algorithms.=0A=0A2. The a=
lgorithms is perhaps the most likely thing to change=0A   in future (say 5 =
or 10 years) and if that happens ideally=0A   only the JWA spec would have =
to be updated.=0A=0A=0ANon-normative examples in the JWK is indeed an effec=
tive way to=0Aillustrate the spec without entangling it with algorithm=0Aim=
plementations. =0A=0A=0AVladimir=0A=0A--=0AVladimir Dzhuvinov : www.NimbusD=
S.com : vladimir@nimbusds.com=0A=0A=0A=0A=0A-------- Original Message -----=
---=0ASubject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK=
=0Aalgorithm family definitions to JWA spec (editorial)=0AFrom: Mike Jones =
<Michael.Jones@microsoft.com>=0ADate: Mon, April 09, 2012 4:46 pm=0ATo: Joh=
n Bradley <ve7jtb@ve7jtb.com>, Jim Schaad=0A<ietf@augustcellars.com>=0ACc: =
"jose@ietf.org" <jose@ietf.org>=0A=0A  The readability would be somewhat re=
duced by having to refer to the=0Asecond document.  That being said, I beli=
eve this could be mitigated by=0Athe use of examples.  Since opinion (of th=
e two participants in the=0Adiscussion to date) seems to favor moving the a=
lgorithm family=0Adefinitions to JWA, I=E2=80=99ll plan on doing that unles=
s others speak up=0Ataking the counter position.=0A  =0A                   =
                                          -- Mike=0A  =0A   From: John Brad=
ley [mailto:ve7jtb@ve7jtb.com] =0A Sent: Saturday, April 07, 2012 7:46 AM=
=0A To: Jim Schaad=0A Cc: Mike Jones; jose@ietf.org=0A Subject: Re: [jose] =
Open Issue for WG Discussion: Whether to move JWK=0Aalgorithm family defini=
tions to JWA spec (editorial)=0A =0A=0A =0A It is mostly a style question I=
 think.=0A   =0A =0AGiven that the elements can be directly embedded in JWE=
,  as well as=0Abeing represented externally in a JWK,  I think JWA is prob=
ably the=0Acorrect place for them as it makes it easier to add new crypto a=
lgs.=0A =0A =0A =0AThe solution for JWK is good examples I think.=0A =0A =
=0A =0AI suppose the downside is an extra level of indirection through the=
=0Aspecs for developers.=0A =0A =0A =0AI don't feel strongly one way or the=
 other, just have a slight=0Apreference for JWA. (My track record on docume=
nt structure is slightly=0Asuspect though)=0A =0A =0A =0AJohn B.=0A =0AOn 2=
012-04-07, at 11:25 AM, Jim Schaad wrote:=0A =0A=0A =0A =0A   Please explai=
n why you believe the readability of the document would=0Abe reduced.  Ther=
e would still be the ability to have examples that=0Areferenced the algorit=
hm draft.=0A =0A =0A =0AJim=0A =0A =0A =0A =0A =0AFrom: jose-bounces@ietf.o=
rg [mailto:jose-bounces@ietf.org] On Behalf Of=0AMike Jones=0A Sent: Friday=
, April 06, 2012 2:05 PM=0A To: jose@ietf.org=0A Subject: [jose] Open Issue=
 for WG Discussion: Whether to move JWK=0Aalgorithm family definitions to J=
WA spec (editorial)=0A =0A=0A=0A =0A =0AThe JSON Web Key (JWK) spec current=
ly contains the algorithm family=0Adefinitions and parameter specifications=
 for the RSA and Elliptic Curve=0Aalgorithm families.  An editorial open is=
sue is whether to leave these=0Ain the JWK spec or move them to the JWA spe=
c.=0A =0A =0A =0AThe argument for leaving them in the JWK spec is that remo=
ving the=0Adefinitions of =E2=80=9CEC=E2=80=9D and =E2=80=9CRSA=E2=80=9D an=
d the family-specific parameter=0Adefinitions ("crv", "x", "y", "mod", "exp=
") would leave very little=0Anormative text in the JWK spec itself.  It see=
med like doing this would=0Areduce the readability of the JWK spec, and so =
was not done in -01.=0A =0A =0A =0AThe argument for moving them is that all=
 the algorithm-specific=0Adefinitions would then be in the JWA spec and goo=
d examples of RSA and=0AEC keys could remain in the JWK spec.=0A =0A =0A =
=0AReferences to the pertinent specs are:=0A =0Ahttp://tools.ietf.org/html/=
draft-ietf-jose-json-web-key-01=0A =0Ahttp://tools.ietf.org/html/draft-ietf=
-jose-json-web-algorithms-01=0A =0A =0A =0AFeedback?=0A =0A =0A =0A        =
                                                        -- Mike=0A =0A =0A =
=0A=0A_______________________________________________=0A jose mailing list=
=0A jose@ietf.org=0A https://www.ietf.org/mailman/listinfo/jose=0A =0A=0A =
=0A =0A=0A_______________________________________________=0Ajose mailing li=
st=0Ajose@ietf.org=0Ahttps://www.ietf.org/mailman/listinfo/jose=0A

From rbarnes@bbn.com  Tue Apr 10 06:13:25 2012
Return-Path: <rbarnes@bbn.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEA5921F862B for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 06:13:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2oMmRvn+u6ix for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 06:13:24 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by ietfa.amsl.com (Postfix) with ESMTP id A1ACC21F8604 for <jose@ietf.org>; Tue, 10 Apr 2012 06:13:24 -0700 (PDT)
Received: from [128.89.253.10] (port=55029) by smtp.bbn.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1SHasd-000Fx9-3w for jose@ietf.org; Tue, 10 Apr 2012 09:13:07 -0400
From: Richard L. Barnes <rbarnes@bbn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 10 Apr 2012 09:13:58 -0400
Message-Id: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com>
To: jose@ietf.org
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Subject: [jose] JW* length constraints?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 13:13:25 -0000

Hey all,

One of the requirements noted in the use cases document is that in some =
cases, JOSE objects will need to be encoded for transmission in URIs, so =
they need to be short.  This requirement, as I recall, was based on the =
idea that JOSE would be used to construct tokens for use in OAuth.=20

However, I just read through the OAuth spec, and there doesn't seem to =
be any point where tokens are passed in URIs.  (NB: At least *access* =
tokens, which is what I understood to be the problem.)  When they're =
issued to the client, they're passed in an HTTP entity body, and when =
they're used by the client, they're passed in an Authorization header.

So is there really a length constraint here?

--Richard=

From stpeter@stpeter.im  Tue Apr 10 08:07:04 2012
Return-Path: <stpeter@stpeter.im>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A84D311E80FA for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:07:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.51
X-Spam-Level: 
X-Spam-Status: No, score=-102.51 tagged_above=-999 required=5 tests=[AWL=0.089, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sd9gSB7q5AH1 for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:07:04 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id 130AC11E80F4 for <jose@ietf.org>; Tue, 10 Apr 2012 08:07:04 -0700 (PDT)
Received: from dhcp-64-101-72-216.cisco.com (unknown [64.101.72.216]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 505B140058 for <jose@ietf.org>; Tue, 10 Apr 2012 09:20:51 -0600 (MDT)
Message-ID: <4F84471A.6050401@stpeter.im>
Date: Tue, 10 Apr 2012 08:43:38 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
References: <4F8356FE.7040208@w3.org>
In-Reply-To: <4F8356FE.7040208@w3.org>
X-Enigmail-Version: 1.4
OpenPGP: url=https://stpeter.im/stpeter.asc
X-Forwarded-Message-Id: <4F8356FE.7040208@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [jose] Fwd: W3C launches Web Cryptography Working Group
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 15:07:04 -0000

FYI

-------- Original Message --------
Subject: W3C launches Web Cryptography Working Group
Resent-Date: Mon, 09 Apr 2012 21:38:16 +0000
Resent-From: public-identity@w3.org
Date: Mon, 09 Apr 2012 23:39:10 +0200
From: Harry Halpin <hhalpin@w3.org>
To: public-identity@w3.org <public-identity@w3.org>

Everyone - thanks for all the feedback and work since the Workshop,
we're finally launching:

   W3C launched today a new Web Cryptography Working Group, whose
   mission is to define an API that lets developers implement
   secure application protocols on the level of Web applications,
   including message confidentiality and authentication services,
   by exposing trusted cryptographic primitives from the browser.
   Web application developers will no longer have to create their
   own or use untrusted third-party libraries for cryptographic
   primitives. This will improve security on the Web. Some of the
   chartered use cases for this API include:

   http://www.w3.org/2012/webcrypto/
   http://www.w3.org/2011/11/webcryptography-charter
     * The ability to select credentials and sign statements can
       be necessary to perform high-value transactions such as
       those involved in finance, corporate security, and
       identity-related claims about personal data.
     * The provisioning and use of keys within Web applications
       can be used for scenarios such as increasing the security
       of user authentication and determining whether a particular
       device is authenticated for particular services.
     * The ability to check source integrity before executing
       Javascript code previously stored in local storage.

   Learn more about the Security Activity.

   http://www.w3.org/Security/Activity



From bcampbell@pingidentity.com  Tue Apr 10 08:17:48 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 20C7311E80DE for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:17:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.926
X-Spam-Level: 
X-Spam-Status: No, score=-5.926 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BJbmfnUPFGMf for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:17:47 -0700 (PDT)
Received: from na3sys009aog102.obsmtp.com (na3sys009aog102.obsmtp.com [74.125.149.69]) by ietfa.amsl.com (Postfix) with ESMTP id 3A53711E80D9 for <jose@ietf.org>; Tue, 10 Apr 2012 08:17:47 -0700 (PDT)
Received: from mail-vx0-f179.google.com ([209.85.220.179]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKT4RPGk0Uq6YKPEFvrVFVbFb5Jg3Y6YFO@postini.com; Tue, 10 Apr 2012 08:17:47 PDT
Received: by vcbf11 with SMTP id f11so2588234vcb.10 for <jose@ietf.org>; Tue, 10 Apr 2012 08:17:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=0EOG++GaW31DTeeesH3L0rmSiDbiAu3PiVFYRb/eVkU=; b=fJ5MLHyt2zhpkCHmNskuptpI6eHPJe6W5EQ0ypDG8+6FJHiC/P//4DqXmJbYUzD+iU huF81cOZbXQSmYIzC+7Wgc9swlcH8zNwEdAKkzK6UdnwxEch9qHt/oHDDSXJY1mHH8UC 20jQwBL1fCrlcgc0FMHzp0FWOUZKQc1g4m/m9qPKqNtEkvYY378a+cwvme0syM77FuB5 7z3YmPgCax69PHwAjaCLhnDk1/8fVT5WJ0F5LC5r1wXdoGGS8JEBvZgVRzsZrQWRTtmO 6ODxMOgtbLNhowRisSPMEFbNOhb4MKoh+BocStShTqh5N6QWHOYi55w6FgYCB3vlw4As uTBA==
Received: by 10.52.95.238 with SMTP id dn14mr4807013vdb.14.1334071065898; Tue, 10 Apr 2012 08:17:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Tue, 10 Apr 2012 08:17:15 -0700 (PDT)
In-Reply-To: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com>
References: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 10 Apr 2012 09:17:15 -0600
Message-ID: <CA+k3eCQf8-UAkysDtyvAMQmcb0oPHSLX8J6aU8J4+SkuedMB0Q@mail.gmail.com>
To: "Richard L. Barnes" <rbarnes@bbn.com>
Content-Type: multipart/alternative; boundary=20cf307cff94fcf08c04bd549fdf
X-Gm-Message-State: ALoCoQkVB/2ojA55ErB9HN+bAcpMrvnmPG3zhp4JFTlPQgIcXTraYLwddWaUHZ4ER+OWPY/pXPTr
Cc: jose@ietf.org
Subject: Re: [jose] JW* length constraints?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 15:17:48 -0000

--20cf307cff94fcf08c04bd549fdf
Content-Type: text/plain; charset=ISO-8859-1

In practice there are often limitations on the size of HTTP headers so
length is still a consideration in that respect.

There are a couple different flows in OAuth and access tokens can be passed
in URIs when using the so called implicit grant - see the example in
http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-4.2.2 where the
access token is passes in the fragment

OpenID Connect, which builds on OAuth, also has some constructs similar to
the implicit grant where tokens (access and another type called the id
token which is a JW*) are passed in the fragment of the URI.

So I do think the length constraints are still valid.

On Tue, Apr 10, 2012 at 7:13 AM, Richard L. Barnes <rbarnes@bbn.com> wrote:

> Hey all,
>
> One of the requirements noted in the use cases document is that in some
> cases, JOSE objects will need to be encoded for transmission in URIs, so
> they need to be short.  This requirement, as I recall, was based on the
> idea that JOSE would be used to construct tokens for use in OAuth.
>
> However, I just read through the OAuth spec, and there doesn't seem to be
> any point where tokens are passed in URIs.  (NB: At least *access* tokens,
> which is what I understood to be the problem.)  When they're issued to the
> client, they're passed in an HTTP entity body, and when they're used by the
> client, they're passed in an Authorization header.
>
> So is there really a length constraint here?
>
> --Richard
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

In practice there are often limitations on the size of HTTP headers so leng=
th is still a consideration in that respect. <br><br>There are a couple dif=
ferent flows in OAuth and access tokens can be passed in URIs when using th=
e so called implicit grant - see the example in <a href=3D"http://tools.iet=
f.org/html/draft-ietf-oauth-v2-25#section-4.2.2">http://tools.ietf.org/html=
/draft-ietf-oauth-v2-25#section-4.2.2</a> where the access token is passes =
in the fragment <br>

<br>OpenID Connect, which builds on OAuth, also has some constructs similar=
 to the implicit grant where tokens (access and another type called the id =
token which is a JW*) are passed in the fragment of the URI.<br><br>So I do=
 think the length constraints are still valid.<br>

<br><div class=3D"gmail_quote">On Tue, Apr 10, 2012 at 7:13 AM, Richard L. =
Barnes <span dir=3D"ltr">&lt;<a href=3D"mailto:rbarnes@bbn.com">rbarnes@bbn=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hey all,<br>
<br>
One of the requirements noted in the use cases document is that in some cas=
es, JOSE objects will need to be encoded for transmission in URIs, so they =
need to be short. =A0This requirement, as I recall, was based on the idea t=
hat JOSE would be used to construct tokens for use in OAuth.<br>


<br>
However, I just read through the OAuth spec, and there doesn&#39;t seem to =
be any point where tokens are passed in URIs. =A0(NB: At least *access* tok=
ens, which is what I understood to be the problem.) =A0When they&#39;re iss=
ued to the client, they&#39;re passed in an HTTP entity body, and when they=
&#39;re used by the client, they&#39;re passed in an Authorization header.<=
br>


<br>
So is there really a length constraint here?<br>
<br>
--Richard<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>
</blockquote></div><br>

--20cf307cff94fcf08c04bd549fdf--

From Michael.Jones@microsoft.com  Tue Apr 10 08:23:45 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96A5B11E80EA for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:23:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.77
X-Spam-Level: 
X-Spam-Status: No, score=-3.77 tagged_above=-999 required=5 tests=[AWL=-0.172,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JKXr5vhrpHDr for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:23:44 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe002.messaging.microsoft.com [216.32.181.182]) by ietfa.amsl.com (Postfix) with ESMTP id 8845B11E80CD for <jose@ietf.org>; Tue, 10 Apr 2012 08:23:44 -0700 (PDT)
Received: from mail166-ch1-R.bigfish.com (10.43.68.238) by CH1EHSOBE010.bigfish.com (10.43.70.60) with Microsoft SMTP Server id 14.1.225.23; Tue, 10 Apr 2012 15:23:43 +0000
Received: from mail166-ch1 (localhost [127.0.0.1])	by mail166-ch1-R.bigfish.com (Postfix) with ESMTP id 849B936028D; Tue, 10 Apr 2012 15:23:43 +0000 (UTC)
X-SpamScore: -25
X-BigFish: VS-25(zz9371Ic85fh98dK14ffIzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC104.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail166-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail166-ch1 (localhost.localdomain [127.0.0.1]) by mail166-ch1 (MessageSwitch) id 1334071422221491_12258; Tue, 10 Apr 2012 15:23:42 +0000 (UTC)
Received: from CH1EHSMHS024.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.253])	by mail166-ch1.bigfish.com (Postfix) with ESMTP id 2819A2601AB;	Tue, 10 Apr 2012 15:23:42 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS024.bigfish.com (10.43.70.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 10 Apr 2012 15:23:41 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.02.0283.004; Tue, 10 Apr 2012 15:23:38 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Brian Campbell <bcampbell@pingidentity.com>, "Richard L. Barnes" <rbarnes@bbn.com>
Thread-Topic: [jose] JW* length constraints?
Thread-Index: AQHNFxu6VEVgq7NijkaNkjbRe9LGvpaUK82AgAAAYLA=
Date: Tue, 10 Apr 2012 15:23:38 +0000
Message-ID: <4E1F6AAD24975D4BA5B1680429673943664610CF@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com> <CA+k3eCQf8-UAkysDtyvAMQmcb0oPHSLX8J6aU8J4+SkuedMB0Q@mail.gmail.com>
In-Reply-To: <CA+k3eCQf8-UAkysDtyvAMQmcb0oPHSLX8J6aU8J4+SkuedMB0Q@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.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B1680429673943664610CFTK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JW* length constraints?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 15:23:45 -0000

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

And sometimes tokens are passed as query parameters, per Section 3 of http:=
//developers.facebook.com/docs/authentication/canvas/ and per http://tools.=
ietf.org/html/draft-ietf-oauth-v2-bearer-18#section-2.3.

                                                            -- Mike

From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Bri=
an Campbell
Sent: Tuesday, April 10, 2012 8:17 AM
To: Richard L. Barnes
Cc: jose@ietf.org
Subject: Re: [jose] JW* length constraints?

In practice there are often limitations on the size of HTTP headers so leng=
th is still a consideration in that respect.

There are a couple different flows in OAuth and access tokens can be passed=
 in URIs when using the so called implicit grant - see the example in http:=
//tools.ietf.org/html/draft-ietf-oauth-v2-25#section-4.2.2 where the access=
 token is passes in the fragment

OpenID Connect, which builds on OAuth, also has some constructs similar to =
the implicit grant where tokens (access and another type called the id toke=
n which is a JW*) are passed in the fragment of the URI.

So I do think the length constraints are still valid.
On Tue, Apr 10, 2012 at 7:13 AM, Richard L. Barnes <rbarnes@bbn.com<mailto:=
rbarnes@bbn.com>> wrote:
Hey all,

One of the requirements noted in the use cases document is that in some cas=
es, JOSE objects will need to be encoded for transmission in URIs, so they =
need to be short.  This requirement, as I recall, was based on the idea tha=
t JOSE would be used to construct tokens for use in OAuth.

However, I just read through the OAuth spec, and there doesn't seem to be a=
ny point where tokens are passed in URIs.  (NB: At least *access* tokens, w=
hich is what I understood to be the problem.)  When they're issued to the c=
lient, they're passed in an HTTP entity body, and when they're used by the =
client, they're passed in an Authorization header.

So is there really a length constraint here?

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


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">And sometimes tokens are =
passed as query parameters, per Section 3 of
<a href=3D"http://developers.facebook.com/docs/authentication/canvas/">http=
://developers.facebook.com/docs/authentication/canvas/</a> and per
<a href=3D"http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-18#section=
-2.3">http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-18#section-2.3<=
/a>.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose-bou=
nces@ietf.org [mailto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Brian Campbell<br>
<b>Sent:</b> Tuesday, April 10, 2012 8:17 AM<br>
<b>To:</b> Richard L. Barnes<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] JW* length constraints?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">In practice there are=
 often limitations on the size of HTTP headers so length is still a conside=
ration in that respect.
<br>
<br>
There are a couple different flows in OAuth and access tokens can be passed=
 in URIs when using the so called implicit grant - see the example in
<a href=3D"http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-4.2.2"=
>http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-4.2.2</a> where =
the access token is passes in the fragment
<br>
<br>
OpenID Connect, which builds on OAuth, also has some constructs similar to =
the implicit grant where tokens (access and another type called the id toke=
n which is a JW*) are passed in the fragment of the URI.<br>
<br>
So I do think the length constraints are still valid.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">On Tue, Apr 10, 2012 at 7:13 AM, Richard L. Barnes &=
lt;<a href=3D"mailto:rbarnes@bbn.com">rbarnes@bbn.com</a>&gt; wrote:<o:p></=
o:p></p>
<p class=3D"MsoNormal">Hey all,<br>
<br>
One of the requirements noted in the use cases document is that in some cas=
es, JOSE objects will need to be encoded for transmission in URIs, so they =
need to be short. &nbsp;This requirement, as I recall, was based on the ide=
a that JOSE would be used to construct
 tokens for use in OAuth.<br>
<br>
However, I just read through the OAuth spec, and there doesn't seem to be a=
ny point where tokens are passed in URIs. &nbsp;(NB: At least *access* toke=
ns, which is what I understood to be the problem.) &nbsp;When they're issue=
d to the client, they're passed in an HTTP
 entity body, and when they're used by the client, they're passed in an Aut=
horization header.<br>
<br>
So is there really a length constraint here?<br>
<br>
--Richard<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B1680429673943664610CFTK5EX14MBXC283r_--

From ve7jtb@ve7jtb.com  Tue Apr 10 08:33:09 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1ECF011E80FC for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:33:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.576
X-Spam-Level: 
X-Spam-Status: No, score=-3.576 tagged_above=-999 required=5 tests=[AWL=0.023,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G3oFOIsFV+hL for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 08:33:08 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by ietfa.amsl.com (Postfix) with ESMTP id 74F6F11E80D9 for <jose@ietf.org>; Tue, 10 Apr 2012 08:33:08 -0700 (PDT)
Received: by ghbg16 with SMTP id g16so2694887ghb.31 for <jose@ietf.org>; Tue, 10 Apr 2012 08:33:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=KVyXahDEa5MGw36QWcdRaqbElDlde8RWEv3rcBZLjNE=; b=flah+Rgw1YvceCjLV/inET9CYXGyU8WLpJ2EbSxDFWqlVyj5R/1K2yvVe32FBCc3R1 Kgahdfdj+/dXKTWYJZzn/Ek16XuxydYXbX5w4zGsNwY6zK7PKPNHLw3dIyzPdkoJ49R4 E/4MpEzhdjV1D/VtpmmugjA0GhnBAs6W1hjECLMjIKMqyYH6UCG37td8I/Qf3cUYaGNc 9+u2NNLjBji4fKnbuaqNFkbVTOW2zP5cemQ7IBRFWPDmmPw/Q/AlRxBszLQ5l9Dw/qKC BqXuGZH+M/9QWAxBsw2ntA0fLzYZAynsW390adYo/c1u9Wdkh+KVT0RvigAQSIExobXa 5CJQ==
Received: by 10.101.180.1 with SMTP id h1mr3055024anp.71.1334071985158; Tue, 10 Apr 2012 08:33:05 -0700 (PDT)
Received: from [192.168.1.213] (190-20-7-64.baf.movistar.cl. [190.20.7.64]) by mx.google.com with ESMTPS id j24sm32544894ann.18.2012.04.10.08.33.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Apr 2012 08:33:03 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_3E3F9492-CDC7-4425-85FF-CB1918563666"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com>
Date: Tue, 10 Apr 2012 12:32:55 -0300
Message-Id: <64F0EF52-EBC9-4FB8-95D7-57B85488FB2D@ve7jtb.com>
References: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com>
To: Richard L. Barnes <rbarnes@bbn.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQlRIZ5UBDdlM0aZu7vDM79l4OZUjr0xX/zbwAfxKjfoi8CRty12Hb9/TOzK7Kd3ze+9OBPk
Cc: jose@ietf.org
Subject: Re: [jose] JW* length constraints?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 15:33:09 -0000

--Apple-Mail=_3E3F9492-CDC7-4425-85FF-CB1918563666
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

In the implicit flow they are passed in the URI fragment from the =
Authorization server to the client.

Agreed mostly they are passed to RS as headers.  Though there also =
limits to header size in many environments.

John B.
On 2012-04-10, at 10:13 AM, Richard L. Barnes wrote:

> Hey all,
>=20
> One of the requirements noted in the use cases document is that in =
some cases, JOSE objects will need to be encoded for transmission in =
URIs, so they need to be short.  This requirement, as I recall, was =
based on the idea that JOSE would be used to construct tokens for use in =
OAuth.=20
>=20
> However, I just read through the OAuth spec, and there doesn't seem to =
be any point where tokens are passed in URIs.  (NB: At least *access* =
tokens, which is what I understood to be the problem.)  When they're =
issued to the client, they're passed in an HTTP entity body, and when =
they're used by the client, they're passed in an Authorization header.
>=20
> So is there really a length constraint here?
>=20
> --Richard
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_3E3F9492-CDC7-4425-85FF-CB1918563666
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0Y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/9oaX0dIM/C3ik+yrZvWf1itXUI0iwHx1j
PtwukKXUSbP7uab+D7mFOaEmQF5VqiHlz5tdScAAAAAAAAA=

--Apple-Mail=_3E3F9492-CDC7-4425-85FF-CB1918563666--

From rbarnes@bbn.com  Tue Apr 10 14:54:55 2012
Return-Path: <rbarnes@bbn.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 672ED11E80D2 for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 14:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eG4exZhdg21j for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 14:54:55 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by ietfa.amsl.com (Postfix) with ESMTP id D802511E80B5 for <jose@ietf.org>; Tue, 10 Apr 2012 14:54:54 -0700 (PDT)
Received: from [128.89.255.242] (port=55872) by smtp.bbn.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1SHj1I-0006hp-IF; Tue, 10 Apr 2012 17:54:36 -0400
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: "Richard L. Barnes" <rbarnes@bbn.com>
In-Reply-To: <64F0EF52-EBC9-4FB8-95D7-57B85488FB2D@ve7jtb.com>
Date: Tue, 10 Apr 2012 17:55:28 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <FEA47BCE-3C48-4502-B45E-7D11A98EC3CD@bbn.com>
References: <527EC464-7A5E-4165-BEE6-7FFD6AA301D3@bbn.com> <64F0EF52-EBC9-4FB8-95D7-57B85488FB2D@ve7jtb.com>
To: John Bradley <ve7jtb@ve7jtb.com>
X-Mailer: Apple Mail (2.1257)
Cc: jose@ietf.org
Subject: Re: [jose] JW* length constraints?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 21:54:55 -0000

Thanks all.  Understand better now.
--Richard


On Apr 10, 2012, at 11:32 AM, John Bradley wrote:

> In the implicit flow they are passed in the URI fragment from the =
Authorization server to the client.
>=20
> Agreed mostly they are passed to RS as headers.  Though there also =
limits to header size in many environments.
>=20
> John B.
> On 2012-04-10, at 10:13 AM, Richard L. Barnes wrote:
>=20
>> Hey all,
>>=20
>> One of the requirements noted in the use cases document is that in =
some cases, JOSE objects will need to be encoded for transmission in =
URIs, so they need to be short.  This requirement, as I recall, was =
based on the idea that JOSE would be used to construct tokens for use in =
OAuth.=20
>>=20
>> However, I just read through the OAuth spec, and there doesn't seem =
to be any point where tokens are passed in URIs.  (NB: At least *access* =
tokens, which is what I understood to be the problem.)  When they're =
issued to the client, they're passed in an HTTP entity body, and when =
they're used by the client, they're passed in an Authorization header.
>>=20
>> So is there really a length constraint here?
>>=20
>> --Richard
>> _______________________________________________
>> 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 bcampbell@pingidentity.com  Tue Apr 10 16:06:23 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 444BB11E8081 for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 16:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.933
X-Spam-Level: 
X-Spam-Status: No, score=-5.933 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qvKilyOI2dF6 for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 16:06:22 -0700 (PDT)
Received: from na3sys009aog124.obsmtp.com (na3sys009aog124.obsmtp.com [74.125.149.151]) by ietfa.amsl.com (Postfix) with ESMTP id 9A11E21F85A8 for <jose@ietf.org>; Tue, 10 Apr 2012 16:06:21 -0700 (PDT)
Received: from mail-vb0-f54.google.com ([209.85.212.54]) (using TLSv1) by na3sys009aob124.postini.com ([74.125.148.12]) with SMTP ID DSNKT4S87JLzo3rG4SNC/+49FQbx68r2GoMu@postini.com; Tue, 10 Apr 2012 16:06:21 PDT
Received: by vbmv11 with SMTP id v11so333815vbm.13 for <jose@ietf.org>; Tue, 10 Apr 2012 16:06:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=OvvmyxkHZWdpAjGFAytD2xS2FyemEt3K7Ohb+E+IH3I=; b=j9uio9xxwMvjT0rDtCHIyHoOGK4UylwNgkpjnpfDfsHJtV64qPy/sqnK5WPhGm+Czz G7jSXG3ekUS3ZTlnE2be5mOqD7hatdc8c/IWp5RxJhm1iDNpw11Lc8bBE5AbgCXQiuCD EYVwUhHjjuXB3JR4cuxJo9hZF0WkWq+9dMSJ88v+MW/QRhlxPcNhUoVmgdBrKep0rTbY Du7fTDAtVSXlEsSsIuV7nMq2yfxjiGnncrZ6JyrwBhjMZMGO1/dVQwCqmInfuDQrnF8N UnJ+9Ss3Yl/0kW6/41QPnIK804+3F3oYNf1FjRKkq8QCGGYrTQJ9HvZwtuYSjUUisBXV jbfA==
Received: by 10.220.116.7 with SMTP id k7mr6738110vcq.13.1334099179319; Tue, 10 Apr 2012 16:06:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Tue, 10 Apr 2012 16:05:49 -0700 (PDT)
In-Reply-To: <066101cd1372$b3c60130$1b520390$@augustcellars.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <066101cd1372$b3c60130$1b520390$@augustcellars.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 10 Apr 2012 17:05:49 -0600
Message-ID: <CA+k3eCSG2d7W-ST2eb0FiPFDFpZG85LMissbDsY0k5ouHsPPcw@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Content-Type: multipart/alternative; boundary=f46d0438942badb32f04bd5b2ba9
X-Gm-Message-State: ALoCoQkwA0cDb5zxXzIrFoIoQXwFOcn1y2Ip2jXrdgnV63G4ON8t4Y6SSPFhhxaPiSxrKtxL7oUE
Cc: John Bradley <ve7jtb@ve7jtb.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 23:06:23 -0000

--f46d0438942badb32f04bd5b2ba9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

That's a good point that I hadn't considered. But it leads me to another
question. What key size(s) should be used for generated the Content
Integrity Key? I ask because HMAC can take keys of arbitrary length.

I did little reading of RFC 2104 "HMAC: Keyed-Hashing for Message
Authentication"* and it seems to suggest that an optimal key length would
be equal to the hash output length. But for the sake of interoperability,
it seems like JWE/JWA should be very specific about key lengths for derived
keys for each integrity algorithm (if this is already in the, I couldn't
find it, so please excuse me and point me to the text).

* =A73 of http://tools.ietf.org/html/rfc2104

On Thu, Apr 5, 2012 at 3:26 PM, Jim Schaad <ietf@augustcellars.com> wrote:

> Another reason is that the algorithms may use two different key sizes and
> thus you need to deal with the expansion/truncation questions.
>
> jim
>
> > -----Original Message-----
> > From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> > John Bradley
> > Sent: Wednesday, April 04, 2012 4:42 PM
> > To: Brian Campbell
> > Cc: jose@ietf.org
> > Subject: Re: [jose] Understanding the motivation for Key Derivation?
> >
> > The use of a single key across two functions is one of things that is n=
ot
> > provably without problems.
> >
> > I agree that from an implementers point of view one key is simpler.
> >
> > There is a related-key attack that using the same key would enable.  Th=
is
> can
> > be combined with differential and linear attacks on symmetric key
> cyphers.
> >
> > Generally this can be thought of as a bad thing.
> >
> > What is certain is that it increases the possible attack surface,  and =
if
> the is a
> > problem discovered as we have seen with AES-CBC it is going to be hard =
to
> > change later.
> >
> > We need key derivation anyway for ECDH-ES to produce a key of the corre=
ct
> > bit length.
> >
> > Doing key derivation on CMK is the theoretically proper way to do it.
> > Making a simplification might bite us in the future.
> >
> > I suppose one way to get around the conditional application argument is
> to
> > always use it to produce the CEK even with AEAD algorithms.
> >
> > Regards
> > John B.
> >
> > On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
> >
> > > Hi all,
> > >
> > > I was hoping someone could help me (hopefully it's not just me!)
> > > understand the reasons for the introduction of the key derivation
> > > stuff* into JWE draft -01?
> > >
> > > I understand that it's there to derive the two keys, CEK and CIK, fro=
m
> > > the CMK and that it is to be done when a non-AEAD algorithm is used t=
o
> > > encrypt the content. But what is the value of deriving the two keys a=
s
> > > apposed to using the CMK for both encryption and integrity?
> > >
> > > Perhaps naively I assumed that using the CMK for both would be
> > > sufficient.  It's randomly generated and used only for the one JWE.
> > > It's not clear to me what benefit is provided by the additional
> > > complexity of the derivation function as well as its conditional
> > > application (and the potential interoperability problems that come
> > > with such complexity). I assume there's some security benefit? But I
> > > can't see what it is.
> > >
> > > Any help would be appreciated.
> > > Thanks,
> > > Brian
> > >
> > > *
> > > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sec=
t
> > > ion-7
> > > which is referenced by
> > > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sec=
t
> > > ion-5 and
> > > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sec=
t
> > > ion-6 _______________________________________________
> > > jose mailing list
> > > jose@ietf.org
> > > https://www.ietf.org/mailman/listinfo/jose
>
>
>

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

That&#39;s a good point that I hadn&#39;t considered. But it leads me to an=
other question. What key size(s) should be used for generated the Content I=
ntegrity Key? I ask because HMAC can take keys of arbitrary length. <br>

<br>I did little reading of RFC 2104 &quot;HMAC: Keyed-Hashing for Message =
Authentication&quot;* and it seems to suggest that an optimal key length wo=
uld be equal to the hash output length. But for the sake of interoperabilit=
y, it seems like JWE/JWA should be very specific about key lengths for deri=
ved keys for each integrity algorithm (if this is already in the, I couldn&=
#39;t find it, so please excuse me and point me to the text).=A0 <br>

<br>* =A73 of <a href=3D"http://tools.ietf.org/html/rfc2104">http://tools.i=
etf.org/html/rfc2104</a><br><br><div class=3D"gmail_quote">On Thu, Apr 5, 2=
012 at 3:26 PM, Jim Schaad <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf@aug=
ustcellars.com" target=3D"_blank">ietf@augustcellars.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">Another reason is that the algorithms may us=
e two different key sizes and<br>
thus you need to deal with the expansion/truncation questions.<br>
<div><br>
jim<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-=
bounces@ietf.org</a> [mailto:<a href=3D"mailto:jose-bounces@ietf.org" targe=
t=3D"_blank">jose-bounces@ietf.org</a>] On Behalf Of<br>
&gt; John Bradley<br>
</div><div>&gt; Sent: Wednesday, April 04, 2012 4:42 PM<br>
&gt; To: Brian Campbell<br>
&gt; Cc: <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</=
a><br>
&gt; Subject: Re: [jose] Understanding the motivation for Key Derivation?<b=
r>
&gt;<br>
</div><div><div>&gt; The use of a single key across two functions is one of=
 things that is not<br>
&gt; provably without problems.<br>
&gt;<br>
&gt; I agree that from an implementers point of view one key is simpler.<br=
>
&gt;<br>
&gt; There is a related-key attack that using the same key would enable. =
=A0This<br>
can<br>
&gt; be combined with differential and linear attacks on symmetric key cyph=
ers.<br>
&gt;<br>
&gt; Generally this can be thought of as a bad thing.<br>
&gt;<br>
&gt; What is certain is that it increases the possible attack surface, =A0a=
nd if<br>
the is a<br>
&gt; problem discovered as we have seen with AES-CBC it is going to be hard=
 to<br>
&gt; change later.<br>
&gt;<br>
&gt; We need key derivation anyway for ECDH-ES to produce a key of the corr=
ect<br>
&gt; bit length.<br>
&gt;<br>
&gt; Doing key derivation on CMK is the theoretically proper way to do it.<=
br>
&gt; Making a simplification might bite us in the future.<br>
&gt;<br>
&gt; I suppose one way to get around the conditional application argument i=
s to<br>
&gt; always use it to produce the CEK even with AEAD algorithms.<br>
&gt;<br>
&gt; Regards<br>
&gt; John B.<br>
&gt;<br>
&gt; On 2012-04-04, at 7:40 PM, Brian Campbell wrote:<br>
&gt;<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I was hoping someone could help me (hopefully it&#39;s not just m=
e!)<br>
&gt; &gt; understand the reasons for the introduction of the key derivation=
<br>
&gt; &gt; stuff* into JWE draft -01?<br>
&gt; &gt;<br>
&gt; &gt; I understand that it&#39;s there to derive the two keys, CEK and =
CIK, from<br>
&gt; &gt; the CMK and that it is to be done when a non-AEAD algorithm is us=
ed to<br>
&gt; &gt; encrypt the content. But what is the value of deriving the two ke=
ys as<br>
&gt; &gt; apposed to using the CMK for both encryption and integrity?<br>
&gt; &gt;<br>
&gt; &gt; Perhaps naively I assumed that using the CMK for both would be<br=
>
&gt; &gt; sufficient. =A0It&#39;s randomly generated and used only for the =
one JWE.<br>
&gt; &gt; It&#39;s not clear to me what benefit is provided by the addition=
al<br>
&gt; &gt; complexity of the derivation function as well as its conditional<=
br>
&gt; &gt; application (and the potential interoperability problems that com=
e<br>
&gt; &gt; with such complexity). I assume there&#39;s some security benefit=
? But I<br>
&gt; &gt; can&#39;t see what it is.<br>
&gt; &gt;<br>
&gt; &gt; Any help would be appreciated.<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Brian<br>
&gt; &gt;<br>
&gt; &gt; *<br>
&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-en=
cryption-01#sect" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-j=
ose-json-web-encryption-01#sect</a><br>
&gt; &gt; ion-7<br>
&gt; &gt; which is referenced by<br>
&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-en=
cryption-01#sect" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-j=
ose-json-web-encryption-01#sect</a><br>
&gt; &gt; ion-5 and<br>
&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-en=
cryption-01#sect" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-j=
ose-json-web-encryption-01#sect</a><br>
</div></div>&gt; &gt; ion-6 _______________________________________________=
<br>
<div><div>&gt; &gt; jose mailing list<br>
&gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org<=
/a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
<br>
<br>
</div></div></blockquote></div><br>

--f46d0438942badb32f04bd5b2ba9--

From Michael.Jones@microsoft.com  Tue Apr 10 16:15:51 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2017A11E8081 for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 16:15:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.748
X-Spam-Level: 
X-Spam-Status: No, score=-3.748 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id veANRsRHLne7 for <jose@ietfa.amsl.com>; Tue, 10 Apr 2012 16:15:50 -0700 (PDT)
Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe006.messaging.microsoft.com [213.199.154.144]) by ietfa.amsl.com (Postfix) with ESMTP id 3F46821F8598 for <jose@ietf.org>; Tue, 10 Apr 2012 16:15:48 -0700 (PDT)
Received: from mail48-db3-R.bigfish.com (10.3.81.252) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.23; Tue, 10 Apr 2012 23:15:47 +0000
Received: from mail48-db3 (localhost [127.0.0.1])	by mail48-db3-R.bigfish.com (Postfix) with ESMTP id 1B28860141; Tue, 10 Apr 2012 23:15:47 +0000 (UTC)
X-SpamScore: -45
X-BigFish: VS-45(zz9371I936eK542Mc85dh1432N98dK4015I148cM14ffIzz1202hzz1033IL8275bh8275dhz2fh793h2a8h668h839hd25h34h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC107.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail48-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14HUBC107.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail48-db3 (localhost.localdomain [127.0.0.1]) by mail48-db3 (MessageSwitch) id 1334099745156728_24006; Tue, 10 Apr 2012 23:15:45 +0000 (UTC)
Received: from DB3EHSMHS015.bigfish.com (unknown [10.3.81.241])	by mail48-db3.bigfish.com (Postfix) with ESMTP id 1D121801F9; Tue, 10 Apr 2012 23:15:45 +0000 (UTC)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS015.bigfish.com (10.3.87.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 10 Apr 2012 23:15:43 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.02.0283.004; Tue, 10 Apr 2012 23:15:14 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Brian Campbell <bcampbell@pingidentity.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Understanding the motivation for Key Derivation?
Thread-Index: AQHNErQOZlMb1ahKqUiwv3kEv/baLJaLU7cAgAFsRoCAB/eKgIAAAfFQ
Date: Tue, 10 Apr 2012 23:15:14 +0000
Message-ID: <4E1F6AAD24975D4BA5B1680429673943664621C2@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <066101cd1372$b3c60130$1b520390$@augustcellars.com> <CA+k3eCSG2d7W-ST2eb0FiPFDFpZG85LMissbDsY0k5ouHsPPcw@mail.gmail.com>
In-Reply-To: <CA+k3eCSG2d7W-ST2eb0FiPFDFpZG85LMissbDsY0k5ouHsPPcw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.78]
Content-Type: multipart/mixed; boundary="_004_4E1F6AAD24975D4BA5B1680429673943664621C2TK5EX14MBXC283r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 10 Apr 2012 23:15:51 -0000

--_004_4E1F6AAD24975D4BA5B1680429673943664621C2TK5EX14MBXC283r_
Content-Type: multipart/alternative;
	boundary="_000_4E1F6AAD24975D4BA5B1680429673943664621C2TK5EX14MBXC283r_"

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

Eric Rescorla recommended that key sizes equal to the hash output sizes be =
used in his presentation in Paris (attached).

Thanks for pointing out that the spec needs to nail this down!

                                                                -- Mike

From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Bri=
an Campbell
Sent: Tuesday, April 10, 2012 4:06 PM
To: Jim Schaad
Cc: John Bradley; jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?

That's a good point that I hadn't considered. But it leads me to another qu=
estion. What key size(s) should be used for generated the Content Integrity=
 Key? I ask because HMAC can take keys of arbitrary length.

I did little reading of RFC 2104 "HMAC: Keyed-Hashing for Message Authentic=
ation"* and it seems to suggest that an optimal key length would be equal t=
o the hash output length. But for the sake of interoperability, it seems li=
ke JWE/JWA should be very specific about key lengths for derived keys for e=
ach integrity algorithm (if this is already in the, I couldn't find it, so =
please excuse me and point me to the text).

* =A73 of http://tools.ietf.org/html/rfc2104
On Thu, Apr 5, 2012 at 3:26 PM, Jim Schaad <ietf@augustcellars.com<mailto:i=
etf@augustcellars.com>> wrote:
Another reason is that the algorithms may use two different key sizes and
thus you need to deal with the expansion/truncation questions.

jim

> -----Original Message-----
> From: jose-bounces@ietf.org<mailto:jose-bounces@ietf.org> [mailto:jose-bo=
unces@ietf.org<mailto:jose-bounces@ietf.org>] On Behalf Of
> John Bradley
> Sent: Wednesday, April 04, 2012 4:42 PM
> To: Brian Campbell
> Cc: jose@ietf.org<mailto:jose@ietf.org>
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>
> The use of a single key across two functions is one of things that is not
> provably without problems.
>
> I agree that from an implementers point of view one key is simpler.
>
> There is a related-key attack that using the same key would enable.  This
can
> be combined with differential and linear attacks on symmetric key cyphers=
.
>
> Generally this can be thought of as a bad thing.
>
> What is certain is that it increases the possible attack surface,  and if
the is a
> problem discovered as we have seen with AES-CBC it is going to be hard to
> change later.
>
> We need key derivation anyway for ECDH-ES to produce a key of the correct
> bit length.
>
> Doing key derivation on CMK is the theoretically proper way to do it.
> Making a simplification might bite us in the future.
>
> I suppose one way to get around the conditional application argument is t=
o
> always use it to produce the CEK even with AEAD algorithms.
>
> Regards
> John B.
>
> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>
> > Hi all,
> >
> > I was hoping someone could help me (hopefully it's not just me!)
> > understand the reasons for the introduction of the key derivation
> > stuff* into JWE draft -01?
> >
> > I understand that it's there to derive the two keys, CEK and CIK, from
> > the CMK and that it is to be done when a non-AEAD algorithm is used to
> > encrypt the content. But what is the value of deriving the two keys as
> > apposed to using the CMK for both encryption and integrity?
> >
> > Perhaps naively I assumed that using the CMK for both would be
> > sufficient.  It's randomly generated and used only for the one JWE.
> > It's not clear to me what benefit is provided by the additional
> > complexity of the derivation function as well as its conditional
> > application (and the potential interoperability problems that come
> > with such complexity). I assume there's some security benefit? But I
> > can't see what it is.
> >
> > Any help would be appreciated.
> > Thanks,
> > Brian
> >
> > *
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
> > ion-7
> > which is referenced by
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
> > ion-5 and
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
> > ion-6 _______________________________________________
> > jose mailing list
> > jose@ietf.org<mailto:jose@ietf.org>
> > https://www.ietf.org/mailman/listinfo/jose



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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#002060;}
.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:#002060">Eric Rescorla recommended=
 that key sizes equal to the hash output sizes be used in his presentation =
in Paris (attached).<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:#002060"><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:#002060">Thanks for pointing out t=
hat the spec needs to nail this down!<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:#002060"><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:#002060">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#002060"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose-bou=
nces@ietf.org [mailto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Brian Campbell<br>
<b>Sent:</b> Tuesday, April 10, 2012 4:06 PM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> John Bradley; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] Understanding the motivation for Key Derivation?=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">That's a good point t=
hat I hadn't considered. But it leads me to another question. What key size=
(s) should be used for generated the Content Integrity Key? I ask because H=
MAC can take keys of arbitrary length.
<br>
<br>
I did little reading of RFC 2104 &quot;HMAC: Keyed-Hashing for Message Auth=
entication&quot;* and it seems to suggest that an optimal key length would =
be equal to the hash output length. But for the sake of interoperability, i=
t seems like JWE/JWA should be very specific
 about key lengths for derived keys for each integrity algorithm (if this i=
s already in the, I couldn't find it, so please excuse me and point me to t=
he text).&nbsp;
<br>
<br>
* =A73 of <a href=3D"http://tools.ietf.org/html/rfc2104">http://tools.ietf.=
org/html/rfc2104</a><o:p></o:p></p>
<div>
<p class=3D"MsoNormal">On Thu, Apr 5, 2012 at 3:26 PM, Jim Schaad &lt;<a hr=
ef=3D"mailto:ietf@augustcellars.com" target=3D"_blank">ietf@augustcellars.c=
om</a>&gt; wrote:<o:p></o:p></p>
<p class=3D"MsoNormal">Another reason is that the algorithms may use two di=
fferent key sizes and<br>
thus you need to deal with the expansion/truncation questions.<o:p></o:p></=
p>
<div>
<p class=3D"MsoNormal"><br>
jim<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-=
bounces@ietf.org</a> [mailto:<a href=3D"mailto:jose-bounces@ietf.org" targe=
t=3D"_blank">jose-bounces@ietf.org</a>] On Behalf Of<br>
&gt; John Bradley<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&gt; Sent: Wednesday, April 04, 2012 4:42 PM<br>
&gt; To: Brian Campbell<br>
&gt; Cc: <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</=
a><br>
&gt; Subject: Re: [jose] Understanding the motivation for Key Derivation?<b=
r>
&gt;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">&gt; The use of a single key across two functions is=
 one of things that is not<br>
&gt; provably without problems.<br>
&gt;<br>
&gt; I agree that from an implementers point of view one key is simpler.<br=
>
&gt;<br>
&gt; There is a related-key attack that using the same key would enable. &n=
bsp;This<br>
can<br>
&gt; be combined with differential and linear attacks on symmetric key cyph=
ers.<br>
&gt;<br>
&gt; Generally this can be thought of as a bad thing.<br>
&gt;<br>
&gt; What is certain is that it increases the possible attack surface, &nbs=
p;and if<br>
the is a<br>
&gt; problem discovered as we have seen with AES-CBC it is going to be hard=
 to<br>
&gt; change later.<br>
&gt;<br>
&gt; We need key derivation anyway for ECDH-ES to produce a key of the corr=
ect<br>
&gt; bit length.<br>
&gt;<br>
&gt; Doing key derivation on CMK is the theoretically proper way to do it.<=
br>
&gt; Making a simplification might bite us in the future.<br>
&gt;<br>
&gt; I suppose one way to get around the conditional application argument i=
s to<br>
&gt; always use it to produce the CEK even with AEAD algorithms.<br>
&gt;<br>
&gt; Regards<br>
&gt; John B.<br>
&gt;<br>
&gt; On 2012-04-04, at 7:40 PM, Brian Campbell wrote:<br>
&gt;<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I was hoping someone could help me (hopefully it's not just me!)<=
br>
&gt; &gt; understand the reasons for the introduction of the key derivation=
<br>
&gt; &gt; stuff* into JWE draft -01?<br>
&gt; &gt;<br>
&gt; &gt; I understand that it's there to derive the two keys, CEK and CIK,=
 from<br>
&gt; &gt; the CMK and that it is to be done when a non-AEAD algorithm is us=
ed to<br>
&gt; &gt; encrypt the content. But what is the value of deriving the two ke=
ys as<br>
&gt; &gt; apposed to using the CMK for both encryption and integrity?<br>
&gt; &gt;<br>
&gt; &gt; Perhaps naively I assumed that using the CMK for both would be<br=
>
&gt; &gt; sufficient. &nbsp;It's randomly generated and used only for the o=
ne JWE.<br>
&gt; &gt; It's not clear to me what benefit is provided by the additional<b=
r>
&gt; &gt; complexity of the derivation function as well as its conditional<=
br>
&gt; &gt; application (and the potential interoperability problems that com=
e<br>
&gt; &gt; with such complexity). I assume there's some security benefit? Bu=
t I<br>
&gt; &gt; can't see what it is.<br>
&gt; &gt;<br>
&gt; &gt; Any help would be appreciated.<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Brian<br>
&gt; &gt;<br>
&gt; &gt; *<br>
&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-en=
cryption-01#sect" target=3D"_blank">
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect</a><=
br>
&gt; &gt; ion-7<br>
&gt; &gt; which is referenced by<br>
&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-en=
cryption-01#sect" target=3D"_blank">
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect</a><=
br>
&gt; &gt; ion-5 and<br>
&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-en=
cryption-01#sect" target=3D"_blank">
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect</a><=
o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal">&gt; &gt; ion-6 ____________________________________=
___________<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&gt; &gt; jose mailin=
g list<br>
&gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org<=
/a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
<br>
<o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B1680429673943664621C2TK5EX14MBXC283r_--

--_004_4E1F6AAD24975D4BA5B1680429673943664621C2TK5EX14MBXC283r_
Content-Type: application/pdf; name="jose-crypto.pdf"
Content-Description: jose-crypto.pdf
Content-Disposition: attachment; filename="jose-crypto.pdf"; size=90758;
	creation-date="Mon, 02 Apr 2012 21:32:22 GMT";
	modification-date="Mon, 26 Mar 2012 18:50:08 GMT"
Content-Transfer-Encoding: base64

JVBERi0xLjUKJdDUxdg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entity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 212F121F8565 for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 08:19:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.939
X-Spam-Level: 
X-Spam-Status: No, score=-5.939 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 585a0V+U26Mg for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 08:19:29 -0700 (PDT)
Received: from na3sys009aog115.obsmtp.com (na3sys009aog115.obsmtp.com [74.125.149.238]) by ietfa.amsl.com (Postfix) with ESMTP id 6171B21F855F for <jose@ietf.org>; Wed, 11 Apr 2012 08:19:28 -0700 (PDT)
Received: from mail-vx0-f179.google.com ([209.85.220.179]) (using TLSv1) by na3sys009aob115.postini.com ([74.125.148.12]) with SMTP ID DSNKT4Wg/yOnrUN4pxIVMUtyE5PbcNkPk0+w@postini.com; Wed, 11 Apr 2012 08:19:28 PDT
Received: by vcbf11 with SMTP id f11so692318vcb.10 for <jose@ietf.org>; Wed, 11 Apr 2012 08:19:27 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=4dbhZUKYPAUka97dAGHhXuV739O3HEZkH3xJrSF4wEY=; b=iEp9j37lCew5pECBH2b9ZqKDxgfHKkr4AlugH2UEjngsasTLoxpnYMwtcW5ov62uN1 npV2l8P0Os71oN1TjMbAOS0jFF/Dk/OQExSiK66r3eegtfJFgbFBS/f6pXfjKJJNXNvF S3NO2623ueg9zcaHfydbfTSy3ZuGZs0fz7zO5Cu9dNFmUu1yqwg6b6B2GriYExmTiX4K dKGA6/kWsfsvnCc+Pmar8ytH/T2bPVjRBVPrt9YHZfjrnZTJFdfHb9jcLgeYV6d/XatC GQjv9kf60cbamFz3MzizFC39NSROEPx2uEErjymzMYhNBpcfgpefDJaXHi4C3LYac7hJ BgQA==
Received: by 10.220.116.7 with SMTP id k7mr7968064vcq.13.1334157566942; Wed, 11 Apr 2012 08:19:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.36.47 with HTTP; Wed, 11 Apr 2012 08:18:56 -0700 (PDT)
In-Reply-To: <4E1F6AAD24975D4BA5B1680429673943664621C2@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <066101cd1372$b3c60130$1b520390$@augustcellars.com> <CA+k3eCSG2d7W-ST2eb0FiPFDFpZG85LMissbDsY0k5ouHsPPcw@mail.gmail.com> <4E1F6AAD24975D4BA5B1680429673943664621C2@TK5EX14MBXC283.redmond.corp.microsoft.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Wed, 11 Apr 2012 09:18:56 -0600
Message-ID: <CA+k3eCTFr091z3rO7hTVe0x94kWh-qb+NhFT6QuLjVC3-xWeEw@mail.gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlmJ/gXHO+mdsftBXYA0OPlWcMqtIoo+LNPFJUg2iJJi49cQzKpLd/mGLWqw6d1kl6CjdDR
Cc: John Bradley <ve7jtb@ve7jtb.com>, Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 15:19:30 -0000

Thanks Mike, I guess I should have stayed for the week in Paris, eh?

Just to be totally clear - and it probably already is so this will be
redundant but what the heck - that presentation talks about minimum
key length recommendations. Which is useful in general and also as
input into this discussion.  But JWE (or JWA - I'm not sure) needs to
define the *exact* key lengths as input into the KDF for the various
HMAC integrity algorithms. Key sizes equal to the hash output sizes
makes sense but it just needs to be made explicit.

Thanks,
B

On Tue, Apr 10, 2012 at 5:15 PM, Mike Jones <Michael.Jones@microsoft.com> w=
rote:
> Eric Rescorla recommended that key sizes equal to the hash output sizes b=
e
> used in his presentation in Paris (attached).
>
>
>
> Thanks for pointing out that the spec needs to nail this down!
>
>
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike
>
>
>
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Brian Campbell
> Sent: Tuesday, April 10, 2012 4:06 PM
> To: Jim Schaad
> Cc: John Bradley; jose@ietf.org
>
>
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>
>
>
> That's a good point that I hadn't considered. But it leads me to another
> question. What key size(s) should be used for generated the Content
> Integrity Key? I ask because HMAC can take keys of arbitrary length.
>
> I did little reading of RFC 2104 "HMAC: Keyed-Hashing for Message
> Authentication"* and it seems to suggest that an optimal key length would=
 be
> equal to the hash output length. But for the sake of interoperability, it
> seems like JWE/JWA should be very specific about key lengths for derived
> keys for each integrity algorithm (if this is already in the, I couldn't
> find it, so please excuse me and point me to the text).
>
> * =A73 of http://tools.ietf.org/html/rfc2104
>
> On Thu, Apr 5, 2012 at 3:26 PM, Jim Schaad <ietf@augustcellars.com> wrote=
:
>
> Another reason is that the algorithms may use two different key sizes and
> thus you need to deal with the expansion/truncation questions.
>
>
> jim
>
>> -----Original Message-----
>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
>> John Bradley
>
>> Sent: Wednesday, April 04, 2012 4:42 PM
>> To: Brian Campbell
>> Cc: jose@ietf.org
>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>
>
>> The use of a single key across two functions is one of things that is no=
t
>> provably without problems.
>>
>> I agree that from an implementers point of view one key is simpler.
>>
>> There is a related-key attack that using the same key would enable. =A0T=
his
> can
>> be combined with differential and linear attacks on symmetric key cypher=
s.
>>
>> Generally this can be thought of as a bad thing.
>>
>> What is certain is that it increases the possible attack surface, =A0and=
 if
> the is a
>> problem discovered as we have seen with AES-CBC it is going to be hard t=
o
>> change later.
>>
>> We need key derivation anyway for ECDH-ES to produce a key of the correc=
t
>> bit length.
>>
>> Doing key derivation on CMK is the theoretically proper way to do it.
>> Making a simplification might bite us in the future.
>>
>> I suppose one way to get around the conditional application argument is =
to
>> always use it to produce the CEK even with AEAD algorithms.
>>
>> Regards
>> John B.
>>
>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>
>> > Hi all,
>> >
>> > I was hoping someone could help me (hopefully it's not just me!)
>> > understand the reasons for the introduction of the key derivation
>> > stuff* into JWE draft -01?
>> >
>> > I understand that it's there to derive the two keys, CEK and CIK, from
>> > the CMK and that it is to be done when a non-AEAD algorithm is used to
>> > encrypt the content. But what is the value of deriving the two keys as
>> > apposed to using the CMK for both encryption and integrity?
>> >
>> > Perhaps naively I assumed that using the CMK for both would be
>> > sufficient. =A0It's randomly generated and used only for the one JWE.
>> > It's not clear to me what benefit is provided by the additional
>> > complexity of the derivation function as well as its conditional
>> > application (and the potential interoperability problems that come
>> > with such complexity). I assume there's some security benefit? But I
>> > can't see what it is.
>> >
>> > Any help would be appreciated.
>> > Thanks,
>> > Brian
>> >
>> > *
>> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
>> > ion-7
>> > which is referenced by
>> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
>> > ion-5 and
>> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#sect
>
>> > ion-6 _______________________________________________
>
>> > jose mailing list
>> > jose@ietf.org
>> > https://www.ietf.org/mailman/listinfo/jose
>
>

From Michael.Jones@microsoft.com  Wed Apr 11 08:26:25 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD31421F84DA for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 08:26:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.219
X-Spam-Level: 
X-Spam-Status: No, score=-5.219 tagged_above=-999 required=5 tests=[AWL=1.380,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iQ1tOjftiMLz for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 08:26:24 -0700 (PDT)
Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) by ietfa.amsl.com (Postfix) with ESMTP id E44D921F847F for <jose@ietf.org>; Wed, 11 Apr 2012 08:26:22 -0700 (PDT)
Received: from mail152-tx2-R.bigfish.com (10.9.14.253) by TX2EHSOBE003.bigfish.com (10.9.40.23) with Microsoft SMTP Server id 14.1.225.23; Wed, 11 Apr 2012 15:26:22 +0000
Received: from mail152-tx2 (localhost [127.0.0.1])	by mail152-tx2-R.bigfish.com (Postfix) with ESMTP id 622F72A01B1; Wed, 11 Apr 2012 15:26:22 +0000 (UTC)
X-SpamScore: -45
X-BigFish: VS-45(zz9371I936eK542M1432N98dK4015I148cM14ffIzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC103.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail152-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail152-tx2 (localhost.localdomain [127.0.0.1]) by mail152-tx2 (MessageSwitch) id 133415798057592_23989; Wed, 11 Apr 2012 15:26:20 +0000 (UTC)
Received: from TX2EHSMHS036.bigfish.com (unknown [10.9.14.251])	by mail152-tx2.bigfish.com (Postfix) with ESMTP id 03B5D3A0056; Wed, 11 Apr 2012 15:26:20 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS036.bigfish.com (10.9.99.136) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 11 Apr 2012 15:26:17 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.13]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.02.0283.004; Wed, 11 Apr 2012 15:26:15 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [jose] Understanding the motivation for Key Derivation?
Thread-Index: AQHNErQOZlMb1ahKqUiwv3kEv/baLJaLU7cAgAFsRoCAB/eKgIAAAfFQgAEN8gCAAAH/4A==
Date: Wed, 11 Apr 2012 15:26:14 +0000
Message-ID: <4E1F6AAD24975D4BA5B168042967394366462FEC@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com> <49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com> <066101cd1372$b3c60130$1b520390$@augustcellars.com> <CA+k3eCSG2d7W-ST2eb0FiPFDFpZG85LMissbDsY0k5ouHsPPcw@mail.gmail.com> <4E1F6AAD24975D4BA5B1680429673943664621C2@TK5EX14MBXC283.redmond.corp.microsoft.com> <CA+k3eCTFr091z3rO7hTVe0x94kWh-qb+NhFT6QuLjVC3-xWeEw@mail.gmail.com>
In-Reply-To: <CA+k3eCTFr091z3rO7hTVe0x94kWh-qb+NhFT6QuLjVC3-xWeEw@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="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: John Bradley <ve7jtb@ve7jtb.com>, Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 15:26:25 -0000

Agreed

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Bri=
an Campbell
Sent: Wednesday, April 11, 2012 8:19 AM
To: Mike Jones
Cc: John Bradley; Jim Schaad; jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?

Thanks Mike, I guess I should have stayed for the week in Paris, eh?

Just to be totally clear - and it probably already is so this will be redun=
dant but what the heck - that presentation talks about minimum key length r=
ecommendations. Which is useful in general and also as input into this disc=
ussion.  But JWE (or JWA - I'm not sure) needs to define the *exact* key le=
ngths as input into the KDF for the various HMAC integrity algorithms. Key =
sizes equal to the hash output sizes makes sense but it just needs to be ma=
de explicit.

Thanks,
B

On Tue, Apr 10, 2012 at 5:15 PM, Mike Jones <Michael.Jones@microsoft.com> w=
rote:
> Eric Rescorla recommended that key sizes equal to the hash output=20
> sizes be used in his presentation in Paris (attached).
>
>
>
> Thanks for pointing out that the spec needs to nail this down!
>
>
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --=20
> Mike
>
>
>
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf=20
> Of Brian Campbell
> Sent: Tuesday, April 10, 2012 4:06 PM
> To: Jim Schaad
> Cc: John Bradley; jose@ietf.org
>
>
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>
>
>
> That's a good point that I hadn't considered. But it leads me to=20
> another question. What key size(s) should be used for generated the=20
> Content Integrity Key? I ask because HMAC can take keys of arbitrary leng=
th.
>
> I did little reading of RFC 2104 "HMAC: Keyed-Hashing for Message
> Authentication"* and it seems to suggest that an optimal key length=20
> would be equal to the hash output length. But for the sake of=20
> interoperability, it seems like JWE/JWA should be very specific about=20
> key lengths for derived keys for each integrity algorithm (if this is=20
> already in the, I couldn't find it, so please excuse me and point me to t=
he text).
>
> * =A73 of http://tools.ietf.org/html/rfc2104
>
> On Thu, Apr 5, 2012 at 3:26 PM, Jim Schaad <ietf@augustcellars.com> wrote=
:
>
> Another reason is that the algorithms may use two different key sizes=20
> and thus you need to deal with the expansion/truncation questions.
>
>
> jim
>
>> -----Original Message-----
>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf=20
>> Of John Bradley
>
>> Sent: Wednesday, April 04, 2012 4:42 PM
>> To: Brian Campbell
>> Cc: jose@ietf.org
>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>
>
>> The use of a single key across two functions is one of things that is=20
>> not provably without problems.
>>
>> I agree that from an implementers point of view one key is simpler.
>>
>> There is a related-key attack that using the same key would enable. =A0
>> This
> can
>> be combined with differential and linear attacks on symmetric key cypher=
s.
>>
>> Generally this can be thought of as a bad thing.
>>
>> What is certain is that it increases the possible attack surface, =A0
>> and if
> the is a
>> problem discovered as we have seen with AES-CBC it is going to be=20
>> hard to change later.
>>
>> We need key derivation anyway for ECDH-ES to produce a key of the=20
>> correct bit length.
>>
>> Doing key derivation on CMK is the theoretically proper way to do it.
>> Making a simplification might bite us in the future.
>>
>> I suppose one way to get around the conditional application argument=20
>> is to always use it to produce the CEK even with AEAD algorithms.
>>
>> Regards
>> John B.
>>
>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>
>> > Hi all,
>> >
>> > I was hoping someone could help me (hopefully it's not just me!)=20
>> > understand the reasons for the introduction of the key derivation
>> > stuff* into JWE draft -01?
>> >
>> > I understand that it's there to derive the two keys, CEK and CIK,=20
>> > from the CMK and that it is to be done when a non-AEAD algorithm is=20
>> > used to encrypt the content. But what is the value of deriving the=20
>> > two keys as apposed to using the CMK for both encryption and integrity=
?
>> >
>> > Perhaps naively I assumed that using the CMK for both would be=20
>> > sufficient. =A0It's randomly generated and used only for the one JWE.
>> > It's not clear to me what benefit is provided by the additional=20
>> > complexity of the derivation function as well as its conditional=20
>> > application (and the potential interoperability problems that come=20
>> > with such complexity). I assume there's some security benefit? But=20
>> > I can't see what it is.
>> >
>> > Any help would be appreciated.
>> > Thanks,
>> > Brian
>> >
>> > *
>> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#s
>> > ect
>> > ion-7
>> > which is referenced by
>> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#s
>> > ect
>> > ion-5 and
>> > http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#s
>> > ect
>
>> > ion-6 _______________________________________________
>
>> > 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



From ietf@augustcellars.com  Wed Apr 11 09:11:40 2012
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F49621F844E for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:11:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aO3D01Fa2IoI for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:11:38 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 2D71D21F853F for <jose@ietf.org>; Wed, 11 Apr 2012 09:11:38 -0700 (PDT)
Received: from Tobias (unknown [50.34.251.66]) (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 495132CA4B; Wed, 11 Apr 2012 09:11:37 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com> <061601cd1345$fd1d9d20$f758d760$@augustcellars.com> <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com>
In-Reply-To: <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com>
Date: Wed, 11 Apr 2012 09:10:22 -0700
Message-ID: <01c001cd17fd$a67606d0$f3621470$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQKHZrmAco3AbGqXh0I+g1KfPwtE7gGNJkrMAtHy7j4CTGAGGAJ3LV1+AWIsXygChPtv4AG/s34ilKrgonA=
Content-Language: en-us
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org, 'Matt Miller' <mamille2@cisco.com>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 16:11:40 -0000

<no hat>

John, 

 I would be nice if you did this.  Personally I would like to see the text
move back to the -00 version as the base to start from.   I would be nice if
the description was strictly in terms of how AEAD algorithms are processed.
For the S/MIME work, we would still use the term CEK for the key fed into an
AEAD algorithm even if the algorithm later produced two different keys for
use in the encryption and authentication processing.  The details of that
would be purely internal to the algorithm description.

As a part of this I think it would be more reasonable to move the details of
how to do the CBC/HMAC algorithm to the algorithms document rather than
putting in this document so that this document is simpler and clearer.

Jim


> -----Original Message-----
> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
> Sent: Thursday, April 05, 2012 9:11 AM
> To: Jim Schaad
> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> 
> Then we should look at including the header as the additional data for
GCM.
> 
> I will have a look at it, and make a proposal for some text, unless
someone
> else is volunteering?
> 
> John B.
> 
> On 2012-04-05, at 1:05 PM, Jim Schaad wrote:
> 
> > Ok - I see you problem.
> >
> > Yes, in JWE the headers are not encrypted.
> > GCM provides integrity over both the encrypted content and the
additional
> > data fields (hence the difference between AD (authenticated Data) and
> > AEAD(Authenticated Data with Additional Data).
> >
> > All AEAD algorithms provide for the ability to have data which is not
part
> > of the encrypted data be included in the authenticated data.  In fact
AEAD
> > algorithms can be used as MAC algorithms in many cases by simply having
> an
> > empty string for the encrypted data (it depends in part on the internal
> > construction of the encrypted data stream).  I believe we verified that
this
> > was a true statement for GCM at the last IETF meeting (in a hallway
> > conversation).
> >
> > Jim
> >
> >
> >> -----Original Message-----
> >> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
> >> Sent: Thursday, April 05, 2012 8:45 AM
> >> To: Jim Schaad
> >> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
> >> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> >>
> >> In JWE the headers are not encrypted.
> >>
> >> GCM provides integrity only over the encrypted content.
> >>
> >> In the composite AES-CBC + HMAC the integrity is calculated over both
> the
> >> Header and the encrypted content.
> >>
> >> The advantage of not using a AEAD algorithm is that the composite can
be
> >> more JOSE aware.
> >>
> >> I can't rule out having missed something thats why we review these
> > things:)
> >>
> >> John B.
> >> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
> >>
> >>> <no hat>
> >>>
> >>> John,
> >>>
> >>> I am at a loss, why do you believe that a new AEAD algorithm would not
> >>> protect the headers?
> >>>
> >>> Jim
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On
> Behalf
> >> Of
> >>>> John Bradley
> >>>> Sent: Thursday, April 05, 2012 7:28 AM
> >>>> To: Matt Miller
> >>>> Cc: Brian Campbell; jose@ietf.org
> >>>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
> >>>>
> >>>> A couple of observations.
> >>>>
> >>>> The current proposal provides integrity over the header,  a new AEAD
> > alg
> >>>> doesn't do that.
> >>>> Low level crypto is a challenge.   Re-using standard underlying
> > algorithms
> >>> like
> >>>> HMAC and AES-CBC allow for JS and other libs to call standard lower
> > level
> >>>> crypto functions.
> >>>>
> >>>> I am not against having another AEAD alg,  but want to help people
> >>>> understand the current design choice.
> >>>>
> >>>> John B.
> >>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
> >>>>
> >>>>> -----BEGIN PGP SIGNED MESSAGE-----
> >>>>> Hash: SHA1
> >>>>>
> >>>>> Another way around the conditional in application-space is to define
> > an
> >>>> AEAD algorithm composed of an encryption and hashing function.  This
> >>>> seems like a reasonable place to start looking at one: <
> >>>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
> >>>>>
> >>>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
> >>>>>
> >>>>>> The use of a single key across two functions is one of things that
is
> >>> not
> >>>> provably without problems.
> >>>>>>
> >>>>>> I agree that from an implementers point of view one key is simpler.
> >>>>>>
> >>>>>> There is a related-key attack that using the same key would enable.
> >>> This
> >>>> can be combined with differential and linear attacks on symmetric key
> >>>> cyphers.
> >>>>>>
> >>>>>> Generally this can be thought of as a bad thing.
> >>>>>>
> >>>>>> What is certain is that it increases the possible attack surface,
> > and
> >>> if the is
> >>>> a problem discovered as we have seen with AES-CBC it is going to be
> > hard
> >>> to
> >>>> change later.
> >>>>>>
> >>>>>> We need key derivation anyway for ECDH-ES to produce a key of the
> >>>> correct bit length.
> >>>>>>
> >>>>>> Doing key derivation on CMK is the theoretically proper way to do
it.
> >>>>>> Making a simplification might bite us in the future.
> >>>>>>
> >>>>>> I suppose one way to get around the conditional application
> argument
> >> is
> >>>> to always use it to produce the CEK even with AEAD algorithms.
> >>>>>>
> >>>>>> Regards
> >>>>>> John B.
> >>>>>>
> >>>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
> >>>>>>
> >>>>>>> Hi all,
> >>>>>>>
> >>>>>>> I was hoping someone could help me (hopefully it's not just me!)
> >>>>>>> understand the reasons for the introduction of the key derivation
> >>>>>>> stuff* into JWE draft -01?
> >>>>>>>
> >>>>>>> I understand that it's there to derive the two keys, CEK and CIK,
> >>>>>>> from the CMK and that it is to be done when a non-AEAD algorithm
> is
> >>>>>>> used to encrypt the content. But what is the value of deriving the
> >>>>>>> two keys as apposed to using the CMK for both encryption and
> >>> integrity?
> >>>>>>>
> >>>>>>> Perhaps naively I assumed that using the CMK for both would be
> >>>>>>> sufficient.  It's randomly generated and used only for the one
JWE.
> >>>>>>> It's not clear to me what benefit is provided by the additional
> >>>>>>> complexity of the derivation function as well as its conditional
> >>>>>>> application (and the potential interoperability problems that come
> >>>>>>> with such complexity). I assume there's some security benefit? But
> I
> >>>>>>> can't see what it is.
> >>>>>>>
> >>>>>>> Any help would be appreciated.
> >>>>>>> Thanks,
> >>>>>>> Brian
> >>>>>>>
> >>>>>>> *
> >>>>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
> 01#se
> >>>>>>> ction-7
> >>>>>>> which is referenced by
> >>>>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
> 01#se
> >>>>>>> ction-5 and
> >>>>>>> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
> 01#se
> >>>>>>> ction-6
> _______________________________________________
> >>>>>>> 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
> >>>>>
> >>>>>
> >>>>> - - m&m
> >>>>>
> >>>>> Matt Miller - <mamille2@cisco.com>
> >>>>> Cisco Systems, Inc.
> >>>>>
> >>>>> -----BEGIN PGP SIGNATURE-----
> >>>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> >>>>> Comment: GPGTools - http://gpgtools.org
> >>>>>
> >>>>>
> >>>>
> >>
> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
> >>>> zQj
> >>>>>
> >>>>
> >>
> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
> >>>> 8kx
> >>>>>
> >>>>
> >>
> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
> >>>> y
> >>>>>
> >>>>
> >>
> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
> >>>> +
> >>>>>
> >>>>
> >>
> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
> >>>> Y
> >>>>>
> >>>>
> >>
> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
> >>>> z/I=
> >>>>> =174E
> >>>>> -----END PGP SIGNATURE-----
> >>>
> >>>
> >
> >



From ve7jtb@ve7jtb.com  Wed Apr 11 09:28:57 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 420DA21F8595 for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:28:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AzX0GU5Xw-T8 for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:28:56 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id D919721F8547 for <jose@ietf.org>; Wed, 11 Apr 2012 09:28:55 -0700 (PDT)
Received: by ggmi1 with SMTP id i1so640073ggm.31 for <jose@ietf.org>; Wed, 11 Apr 2012 09:28:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=X4cR1cKP3JzAZnmlbElRidrXLkWEbkfUbgpt9HA0afQ=; b=YyZZqUV1a29ULXGMcuG4PcYmXcbcC53NDqKe2DgcRVuo+8DAvgUO1IWANCpqGMo51o SfgHpgoSX4BklXyH+pL0ANywexph5QYuaukm69MNcMgXvljqpOKXmXYOrSzcULmDBzWc gS1c7i7pGknkDetSnpp5Qn4QG9XdfMeBUNDiTSXgvISZlIzzwTFlI7GX8Iheng706MQg k8tXcJ/2h5DTWVO/2tE47CutGiwNcC00/yYbyrl6CWQWRWBdxM69eu8ebTcNx5IhQdRg VnVVtGfHL3hxEux4nYKlSn0Igs/lcrR7NH9l71Nr0si+7yZRusui/u3hbmVjz+VX/XvM Z+/w==
Received: by 10.236.168.6 with SMTP id j6mr13519130yhl.115.1334161735269; Wed, 11 Apr 2012 09:28:55 -0700 (PDT)
Received: from [172.20.10.4] ([201.220.233.202]) by mx.google.com with ESMTPS id g49sm12021396yhk.20.2012.04.11.09.28.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Apr 2012 09:28:51 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_FF55D4CC-1BC3-47E1-A6AD-5DDA3250B155"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <01c001cd17fd$a67606d0$f3621470$@augustcellars.com>
Date: Wed, 11 Apr 2012 13:29:13 -0300
Message-Id: <63AD1F34-D6D0-4E7D-B059-41FD1D14F35D@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com> <061601cd1345$fd1d9d20$f758d760$@augustcellars.com> <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com> <01c001cd17fd$a67606d0$f3621470$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkM3kYyxya2UDs8bkSarPBChDMU9pnq7AiazXpbHlzbYZfRFpI9Eo+7nRcwAR9kOKdNZQwc
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org, 'Matt Miller' <mamille2@cisco.com>
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 16:28:57 -0000

--Apple-Mail=_FF55D4CC-1BC3-47E1-A6AD-5DDA3250B155
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Yes making both AEAD and our composite HMAC process the envelope in the =
same way so that as much as possible they look the same is a good idea.

I am just off to Munich for EIC.  I will try to get to it next week when =
Mike and I are at EIC.

John B.

On 2012-04-11, at 1:10 PM, Jim Schaad wrote:

> <no hat>
>=20
> John,=20
>=20
> I would be nice if you did this.  Personally I would like to see the =
text
> move back to the -00 version as the base to start from.   I would be =
nice if
> the description was strictly in terms of how AEAD algorithms are =
processed.
> For the S/MIME work, we would still use the term CEK for the key fed =
into an
> AEAD algorithm even if the algorithm later produced two different keys =
for
> use in the encryption and authentication processing.  The details of =
that
> would be purely internal to the algorithm description.
>=20
> As a part of this I think it would be more reasonable to move the =
details of
> how to do the CBC/HMAC algorithm to the algorithms document rather =
than
> putting in this document so that this document is simpler and clearer.
>=20
> Jim
>=20
>=20
>> -----Original Message-----
>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>> Sent: Thursday, April 05, 2012 9:11 AM
>> To: Jim Schaad
>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>=20
>> Then we should look at including the header as the additional data =
for
> GCM.
>>=20
>> I will have a look at it, and make a proposal for some text, unless
> someone
>> else is volunteering?
>>=20
>> John B.
>>=20
>> On 2012-04-05, at 1:05 PM, Jim Schaad wrote:
>>=20
>>> Ok - I see you problem.
>>>=20
>>> Yes, in JWE the headers are not encrypted.
>>> GCM provides integrity over both the encrypted content and the
> additional
>>> data fields (hence the difference between AD (authenticated Data) =
and
>>> AEAD(Authenticated Data with Additional Data).
>>>=20
>>> All AEAD algorithms provide for the ability to have data which is =
not
> part
>>> of the encrypted data be included in the authenticated data.  In =
fact
> AEAD
>>> algorithms can be used as MAC algorithms in many cases by simply =
having
>> an
>>> empty string for the encrypted data (it depends in part on the =
internal
>>> construction of the encrypted data stream).  I believe we verified =
that
> this
>>> was a true statement for GCM at the last IETF meeting (in a hallway
>>> conversation).
>>>=20
>>> Jim
>>>=20
>>>=20
>>>> -----Original Message-----
>>>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>>>> Sent: Thursday, April 05, 2012 8:45 AM
>>>> To: Jim Schaad
>>>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>=20
>>>> In JWE the headers are not encrypted.
>>>>=20
>>>> GCM provides integrity only over the encrypted content.
>>>>=20
>>>> In the composite AES-CBC + HMAC the integrity is calculated over =
both
>> the
>>>> Header and the encrypted content.
>>>>=20
>>>> The advantage of not using a AEAD algorithm is that the composite =
can
> be
>>>> more JOSE aware.
>>>>=20
>>>> I can't rule out having missed something thats why we review these
>>> things:)
>>>>=20
>>>> John B.
>>>> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
>>>>=20
>>>>> <no hat>
>>>>>=20
>>>>> John,
>>>>>=20
>>>>> I am at a loss, why do you believe that a new AEAD algorithm would =
not
>>>>> protect the headers?
>>>>>=20
>>>>> Jim
>>>>>=20
>>>>>=20
>>>>>> -----Original Message-----
>>>>>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On
>> Behalf
>>>> Of
>>>>>> John Bradley
>>>>>> Sent: Thursday, April 05, 2012 7:28 AM
>>>>>> To: Matt Miller
>>>>>> Cc: Brian Campbell; jose@ietf.org
>>>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>>>=20
>>>>>> A couple of observations.
>>>>>>=20
>>>>>> The current proposal provides integrity over the header,  a new =
AEAD
>>> alg
>>>>>> doesn't do that.
>>>>>> Low level crypto is a challenge.   Re-using standard underlying
>>> algorithms
>>>>> like
>>>>>> HMAC and AES-CBC allow for JS and other libs to call standard =
lower
>>> level
>>>>>> crypto functions.
>>>>>>=20
>>>>>> I am not against having another AEAD alg,  but want to help =
people
>>>>>> understand the current design choice.
>>>>>>=20
>>>>>> John B.
>>>>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>>>>=20
>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>> Hash: SHA1
>>>>>>>=20
>>>>>>> Another way around the conditional in application-space is to =
define
>>> an
>>>>>> AEAD algorithm composed of an encryption and hashing function.  =
This
>>>>>> seems like a reasonable place to start looking at one: <
>>>>>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>>>>>>>=20
>>>>>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>>>>>>=20
>>>>>>>> The use of a single key across two functions is one of things =
that
> is
>>>>> not
>>>>>> provably without problems.
>>>>>>>>=20
>>>>>>>> I agree that from an implementers point of view one key is =
simpler.
>>>>>>>>=20
>>>>>>>> There is a related-key attack that using the same key would =
enable.
>>>>> This
>>>>>> can be combined with differential and linear attacks on symmetric =
key
>>>>>> cyphers.
>>>>>>>>=20
>>>>>>>> Generally this can be thought of as a bad thing.
>>>>>>>>=20
>>>>>>>> What is certain is that it increases the possible attack =
surface,
>>> and
>>>>> if the is
>>>>>> a problem discovered as we have seen with AES-CBC it is going to =
be
>>> hard
>>>>> to
>>>>>> change later.
>>>>>>>>=20
>>>>>>>> We need key derivation anyway for ECDH-ES to produce a key of =
the
>>>>>> correct bit length.
>>>>>>>>=20
>>>>>>>> Doing key derivation on CMK is the theoretically proper way to =
do
> it.
>>>>>>>> Making a simplification might bite us in the future.
>>>>>>>>=20
>>>>>>>> I suppose one way to get around the conditional application
>> argument
>>>> is
>>>>>> to always use it to produce the CEK even with AEAD algorithms.
>>>>>>>>=20
>>>>>>>> Regards
>>>>>>>> John B.
>>>>>>>>=20
>>>>>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>>>>>>=20
>>>>>>>>> Hi all,
>>>>>>>>>=20
>>>>>>>>> I was hoping someone could help me (hopefully it's not just =
me!)
>>>>>>>>> understand the reasons for the introduction of the key =
derivation
>>>>>>>>> stuff* into JWE draft -01?
>>>>>>>>>=20
>>>>>>>>> I understand that it's there to derive the two keys, CEK and =
CIK,
>>>>>>>>> from the CMK and that it is to be done when a non-AEAD =
algorithm
>> is
>>>>>>>>> used to encrypt the content. But what is the value of deriving =
the
>>>>>>>>> two keys as apposed to using the CMK for both encryption and
>>>>> integrity?
>>>>>>>>>=20
>>>>>>>>> Perhaps naively I assumed that using the CMK for both would be
>>>>>>>>> sufficient.  It's randomly generated and used only for the one
> JWE.
>>>>>>>>> It's not clear to me what benefit is provided by the =
additional
>>>>>>>>> complexity of the derivation function as well as its =
conditional
>>>>>>>>> application (and the potential interoperability problems that =
come
>>>>>>>>> with such complexity). I assume there's some security benefit? =
But
>> I
>>>>>>>>> can't see what it is.
>>>>>>>>>=20
>>>>>>>>> Any help would be appreciated.
>>>>>>>>> Thanks,
>>>>>>>>> Brian
>>>>>>>>>=20
>>>>>>>>> *
>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>> 01#se
>>>>>>>>> ction-7
>>>>>>>>> which is referenced by
>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>> 01#se
>>>>>>>>> ction-5 and
>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>> 01#se
>>>>>>>>> ction-6
>> _______________________________________________
>>>>>>>>> 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
>>>>>>>=20
>>>>>>>=20
>>>>>>> - - m&m
>>>>>>>=20
>>>>>>> Matt Miller - <mamille2@cisco.com>
>>>>>>> Cisco Systems, Inc.
>>>>>>>=20
>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>>>>>>> Comment: GPGTools - http://gpgtools.org
>>>>>>>=20
>>>>>>>=20
>>>>>>=20
>>>>=20
>> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
>>>>>> zQj
>>>>>>>=20
>>>>>>=20
>>>>=20
>> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
>>>>>> 8kx
>>>>>>>=20
>>>>>>=20
>>>>=20
>> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
>>>>>> y
>>>>>>>=20
>>>>>>=20
>>>>=20
>> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
>>>>>> +
>>>>>>>=20
>>>>>>=20
>>>>=20
>> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
>>>>>> Y
>>>>>>>=20
>>>>>>=20
>>>>=20
>> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
>>>>>> z/I=3D
>>>>>>> =3D174E
>>>>>>> -----END PGP SIGNATURE-----
>>>>>=20
>>>>>=20
>>>=20
>>>=20
>=20
>=20


--Apple-Mail=_FF55D4CC-1BC3-47E1-A6AD-5DDA3250B155
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMCQ0wxIjAgBgNVBAgTGU1ldHJvcG9saXRhbmEgZGUgU2FudGlhZ28xFjAU
BgNVBAcTDUlzbGEgZGUgTWFpcG8xFTATBgNVBAMTDEpvaG4gQnJhZGxleTEeMBwGCSqGSIb3DQEJ
ARYPamJyYWRsZXlAbWUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAskrlBI93
rBTLOQGSwIT6co6dAw/rwDPrRXl6/F2oc4KDn+QN6CdFeHo08H846VJS9CDjLKvnK9jbxxs4wYqe
nKdPb3jgzt8oc7b9ZXtWkOgsxgMf6dBZ/IPm4lWBpCbSr3seDGDXEpiE2lTZXno7c25OguR4E6Qa
hcpHABZjeEWK65mMH25gmoRf5MY1k3quu5y+FCYCHE2iwU5jzq+mI3HmG59+UMFLx1fjV+zTslRw
26cQDC/u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Q2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
AJSIq6UuqTzyV/4ldLGuX9h8fNKLfxPz3Y5Cpry1qopDEFVuRftluej0uoYyTuFaEgetr0vLz2ZR
Lwpo+8cl68dzAucJuxS9LkRKFZe/if0scypI4Ei0Y0svgjBhoWfZ/gf/Z16EsaTvkoZApw6IneQV
RBGLo2ekc5Hb0ufb6XgQchgy+gg7pmxg2kcpO+BEVemCtZHv/RJpjWg+RCbiXDPdUHfF+GlOqRUw
U+fpzO8jQfh5Uk/Pzk+oF9LAwl4W+9Qmtef30AC9AdkGg1qXDB8lKYkWH58wlJCvILzz7xJU3zNN
m47fUJ7dgu0BKIlqs+tgDa5mDoIq/LqazCVbh5AAAAAAAAA=

--Apple-Mail=_FF55D4CC-1BC3-47E1-A6AD-5DDA3250B155--

From mamille2@cisco.com  Wed Apr 11 09:31:24 2012
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E75421F8595 for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:31:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.47
X-Spam-Level: 
X-Spam-Status: No, score=-10.47 tagged_above=-999 required=5 tests=[AWL=0.129,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tsmHuld2uVDS for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:31:23 -0700 (PDT)
Received: from mtv-iport-1.cisco.com (mtv-iport-1.cisco.com [173.36.130.12]) by ietfa.amsl.com (Postfix) with ESMTP id 83E3A21F858E for <jose@ietf.org>; Wed, 11 Apr 2012 09:31:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mamille2@cisco.com; l=13721; q=dns/txt; s=iport; t=1334161883; x=1335371483; h=subject:mime-version:from:in-reply-to:date:cc:message-id: references:to:content-transfer-encoding; bh=08Uv4KKXkP36dNbt9FPn8ORvwJbgyxu1+JH1oDsA2TQ=; b=mJ3vMVkEcJRBRY8OdvovIjkivpffi7CdTnuyKtvvzvema9BQrpi357Jn aw05/uJ5XSIqqFDFpBYl/Su8MABZVb2phDVsOBHc02qJgTJHBKqZHrOY+ iF26XvD4nklzbE/bi48fsY0lAGmPVA6x4keAlcCmmjE2vrlJly3Qf3ntl 8=;
X-Files: smime.p7s, PGP.sig : 2214, 535
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAFWxhU+rRDoJ/2dsb2JhbABEuU6BB4IJAQEBBAEBAQ8BWwsMBAsOAwQBAQEnBwIlHwkIBhMih2sBC5pqoCSQY2MEiFqGEocAgRGNPIFpgwY
X-IronPort-AV: E=Sophos;i="4.75,406,1330905600";  d="sig'?p7s'?scan'208";a="36937596"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-1.cisco.com with ESMTP; 11 Apr 2012 16:31:23 +0000
Received: from dhcp-64-101-72-210.cisco.com (dhcp-64-101-72-210.cisco.com [64.101.72.210]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id q3BGVM9Q018535; Wed, 11 Apr 2012 16:31:22 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-72--627602004"
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <01c001cd17fd$a67606d0$f3621470$@augustcellars.com>
Date: Wed, 11 Apr 2012 10:31:23 -0600
Message-Id: <032E5880-9B76-4693-A337-7C0F50CEBAD0@cisco.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com> <061601cd1345$fd1d9d20$f758d760$@augustcellars.com> <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com> <01c001cd17fd$a67606d0$f3621470$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
Content-Transfer-Encoding: 7bit
X-Pgp-Agent: GPGMail 1.3.3
X-Mailer: Apple Mail (2.1084)
Cc: 'John Bradley' <ve7jtb@ve7jtb.com>, 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 16:31:24 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-72--627602004
Content-Type: multipart/signed; boundary=Apple-Mail-71--627602011; protocol="application/pkcs7-signature"; micalg=sha1


--Apple-Mail-71--627602011
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I was planning to start writing up a composite CBC/HMAC algorithm, based =
partly on the work done by David McGrew.  Is there still interest in =
this?


On Apr 11, 2012, at 10:10, Jim Schaad wrote:

> <no hat>
>=20
> John,=20
>=20
> I would be nice if you did this.  Personally I would like to see the =
text
> move back to the -00 version as the base to start from.   I would be =
nice if
> the description was strictly in terms of how AEAD algorithms are =
processed.
> For the S/MIME work, we would still use the term CEK for the key fed =
into an
> AEAD algorithm even if the algorithm later produced two different keys =
for
> use in the encryption and authentication processing.  The details of =
that
> would be purely internal to the algorithm description.
>=20
> As a part of this I think it would be more reasonable to move the =
details of
> how to do the CBC/HMAC algorithm to the algorithms document rather =
than
> putting in this document so that this document is simpler and clearer.
>=20
> Jim
>=20
>=20
>> -----Original Message-----
>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>> Sent: Thursday, April 05, 2012 9:11 AM
>> To: Jim Schaad
>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>=20
>> Then we should look at including the header as the additional data =
for
> GCM.
>>=20
>> I will have a look at it, and make a proposal for some text, unless
> someone
>> else is volunteering?
>>=20
>> John B.
>>=20
>> On 2012-04-05, at 1:05 PM, Jim Schaad wrote:
>>=20
>>> Ok - I see you problem.
>>>=20
>>> Yes, in JWE the headers are not encrypted.
>>> GCM provides integrity over both the encrypted content and the
> additional
>>> data fields (hence the difference between AD (authenticated Data) =
and
>>> AEAD(Authenticated Data with Additional Data).
>>>=20
>>> All AEAD algorithms provide for the ability to have data which is =
not
> part
>>> of the encrypted data be included in the authenticated data.  In =
fact
> AEAD
>>> algorithms can be used as MAC algorithms in many cases by simply =
having
>> an
>>> empty string for the encrypted data (it depends in part on the =
internal
>>> construction of the encrypted data stream).  I believe we verified =
that
> this
>>> was a true statement for GCM at the last IETF meeting (in a hallway
>>> conversation).
>>>=20
>>> Jim
>>>=20
>>>=20
>>>> -----Original Message-----
>>>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>>>> Sent: Thursday, April 05, 2012 8:45 AM
>>>> To: Jim Schaad
>>>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>=20
>>>> In JWE the headers are not encrypted.
>>>>=20
>>>> GCM provides integrity only over the encrypted content.
>>>>=20
>>>> In the composite AES-CBC + HMAC the integrity is calculated over =
both
>> the
>>>> Header and the encrypted content.
>>>>=20
>>>> The advantage of not using a AEAD algorithm is that the composite =
can
> be
>>>> more JOSE aware.
>>>>=20
>>>> I can't rule out having missed something thats why we review these
>>> things:)
>>>>=20
>>>> John B.
>>>> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
>>>>=20
>>>>> <no hat>
>>>>>=20
>>>>> John,
>>>>>=20
>>>>> I am at a loss, why do you believe that a new AEAD algorithm would =
not
>>>>> protect the headers?
>>>>>=20
>>>>> Jim
>>>>>=20
>>>>>=20
>>>>>> -----Original Message-----
>>>>>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On
>> Behalf
>>>> Of
>>>>>> John Bradley
>>>>>> Sent: Thursday, April 05, 2012 7:28 AM
>>>>>> To: Matt Miller
>>>>>> Cc: Brian Campbell; jose@ietf.org
>>>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>>>=20
>>>>>> A couple of observations.
>>>>>>=20
>>>>>> The current proposal provides integrity over the header,  a new =
AEAD
>>> alg
>>>>>> doesn't do that.
>>>>>> Low level crypto is a challenge.   Re-using standard underlying
>>> algorithms
>>>>> like
>>>>>> HMAC and AES-CBC allow for JS and other libs to call standard =
lower
>>> level
>>>>>> crypto functions.
>>>>>>=20
>>>>>> I am not against having another AEAD alg,  but want to help =
people
>>>>>> understand the current design choice.
>>>>>>=20
>>>>>> John B.
>>>>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>>>>=20
>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>> Hash: SHA1
>>>>>>>=20
>>>>>>> Another way around the conditional in application-space is to =
define
>>> an
>>>>>> AEAD algorithm composed of an encryption and hashing function.  =
This
>>>>>> seems like a reasonable place to start looking at one: <
>>>>>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 >.
>>>>>>>=20
>>>>>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>>>>>>=20
>>>>>>>> The use of a single key across two functions is one of things =
that
> is
>>>>> not
>>>>>> provably without problems.
>>>>>>>>=20
>>>>>>>> I agree that from an implementers point of view one key is =
simpler.
>>>>>>>>=20
>>>>>>>> There is a related-key attack that using the same key would =
enable.
>>>>> This
>>>>>> can be combined with differential and linear attacks on symmetric =
key
>>>>>> cyphers.
>>>>>>>>=20
>>>>>>>> Generally this can be thought of as a bad thing.
>>>>>>>>=20
>>>>>>>> What is certain is that it increases the possible attack =
surface,
>>> and
>>>>> if the is
>>>>>> a problem discovered as we have seen with AES-CBC it is going to =
be
>>> hard
>>>>> to
>>>>>> change later.
>>>>>>>>=20
>>>>>>>> We need key derivation anyway for ECDH-ES to produce a key of =
the
>>>>>> correct bit length.
>>>>>>>>=20
>>>>>>>> Doing key derivation on CMK is the theoretically proper way to =
do
> it.
>>>>>>>> Making a simplification might bite us in the future.
>>>>>>>>=20
>>>>>>>> I suppose one way to get around the conditional application
>> argument
>>>> is
>>>>>> to always use it to produce the CEK even with AEAD algorithms.
>>>>>>>>=20
>>>>>>>> Regards
>>>>>>>> John B.
>>>>>>>>=20
>>>>>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>>>>>>=20
>>>>>>>>> Hi all,
>>>>>>>>>=20
>>>>>>>>> I was hoping someone could help me (hopefully it's not just =
me!)
>>>>>>>>> understand the reasons for the introduction of the key =
derivation
>>>>>>>>> stuff* into JWE draft -01?
>>>>>>>>>=20
>>>>>>>>> I understand that it's there to derive the two keys, CEK and =
CIK,
>>>>>>>>> from the CMK and that it is to be done when a non-AEAD =
algorithm
>> is
>>>>>>>>> used to encrypt the content. But what is the value of deriving =
the
>>>>>>>>> two keys as apposed to using the CMK for both encryption and
>>>>> integrity?
>>>>>>>>>=20
>>>>>>>>> Perhaps naively I assumed that using the CMK for both would be
>>>>>>>>> sufficient.  It's randomly generated and used only for the one
> JWE.
>>>>>>>>> It's not clear to me what benefit is provided by the =
additional
>>>>>>>>> complexity of the derivation function as well as its =
conditional
>>>>>>>>> application (and the potential interoperability problems that =
come
>>>>>>>>> with such complexity). I assume there's some security benefit? =
But
>> I
>>>>>>>>> can't see what it is.
>>>>>>>>>=20
>>>>>>>>> Any help would be appreciated.
>>>>>>>>> Thanks,
>>>>>>>>> Brian
>>>>>>>>>=20
>>>>>>>>> *
>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>> 01#se
>>>>>>>>> ction-7
>>>>>>>>> which is referenced by
>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>> 01#se
>>>>>>>>> ction-5 and
>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>> 01#se
>>>>>>>>> ction-6
>> _______________________________________________
>>>>>>>>> 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
>>>>>>>=20
>>>>>>>=20
>>>>>>> - - m&m
>>>>>>>=20
>>>>>>> Matt Miller - <mamille2@cisco.com>
>>>>>>> Cisco Systems, Inc.
>>>>>>>=20
>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>>>>>>> Comment: GPGTools - http://gpgtools.org
>>>>>>>=20
>>>>>>>=20
>>>>>>=20
>>>>=20
>> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
>>>>>> zQj
>>>>>>>=20
>>>>>>=20
>>>>=20
>> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
>>>>>> 8kx
>>>>>>>=20
>>>>>>=20
>>>>=20
>> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
>>>>>> y
>>>>>>>=20
>>>>>>=20
>>>>=20
>> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
>>>>>> +
>>>>>>>=20
>>>>>>=20
>>>>=20
>> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
>>>>>> Y
>>>>>>>=20
>>>>>>=20
>>>>=20
>> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
>>>>>> z/I=3D
>>>>>>> =3D174E
>>>>>>> -----END PGP SIGNATURE-----
>>>>>=20
>>>>>=20
>>>=20
>>>=20
>=20
>=20


- m&m

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


--Apple-Mail-71--627602011
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFNTCCBTEw
ggMZoAMCAQICAwmYMjANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQL
ExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3Jp
dHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xMDEyMTQxNzQ3MTlaFw0x
MjEyMTMxNzQ3MTlaMDwxFzAVBgNVBAMTDk1hdHRoZXcgTWlsbGVyMSEwHwYJKoZIhvcNAQkB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VQQDExlDQSBDZXJ0IFNpZ25p
bmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcCAwmYMjANBgkq
hkiG9w0BAQEFAASCAQA4uQwKsxd/hT6CbadAG1OAMMw35/i6rqQgCL1+9LMDJKDYfLf2kXZZ+DrS
sky3nUL7ldJfOpSYIcBusfsZdb6yk2/p/QbNh4hH5AY20HJ5N2MgpwvXyny/1RRWteinWPyj0/ZQ
q1IpItR045nW3TPWbz6ilpySGupdAmt/V0YxS9CuqVnrxQPEidsI4vEcE3mSKpJjjc2i8LXsCr15
RRX46JDuWxQAehJTeiYIfnkDUEcSKoz6xC6ic5vAGiAalc3nhpQCejNejidLOq4zCjRc3ujnJ6dR
sO2Oegjrtl5DocWM+HT+wqteMQmpN3FmLY23ZMM1JOT0zYqCuZuTaIHfAAAAAAAA

--Apple-Mail-71--627602011--

--Apple-Mail-72--627602004
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJPhbHbAAoJEJq6Ou0cgrSPMIgH/1mwUkL+/44C5Ah0T0NbNTwP
VrBILYYznJQVfmeLlE1H4J6taILtCdzg6ad1nzmwDKRJMxCyyNsZyEodWNvZr6JM
r66/yoCivsxdKLMidYV7QUfxv4P/0ns0GrAcU/KdtgLD1qhGGp1m0tDj9q6XiCDr
Xjg47adGRT92yhlZ0SUVqpgANAZnhBA/Seird9uVanxEwNAGDgs4yNkBfAWtGKj9
tURIUK6194byB1OzSDyxzY+NxFRc3rVZVbpo2K27Q5bqO9LIHTdiydXF/YT9dAMs
jg2A9IRDXijfprJyethiyFuK8VOQInnj+jz1xTuvcyHIJKWdgl8J9lyvBctCJ14=
=7kIB
-----END PGP SIGNATURE-----

--Apple-Mail-72--627602004--

From ve7jtb@ve7jtb.com  Wed Apr 11 09:43:35 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AEB611E80A3 for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:43:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lbqXUjsueP9O for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 09:43:34 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 5558211E8089 for <jose@ietf.org>; Wed, 11 Apr 2012 09:43:34 -0700 (PDT)
Received: by ggmi1 with SMTP id i1so652863ggm.31 for <jose@ietf.org>; Wed, 11 Apr 2012 09:43:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=Gx6ylFYjUhj1zqvMImWGQqwoP9vxYHQw/8hFbORvz9Q=; b=oCH5VIbVHUJlGPTt6i6Nx38yBq2pRrrp6YvfdRtuw1gA2pJFTSGqslRT+4eiFbhCHD kw5qhGvndX2qNcGjlCbYPzKBRnsUoGRqiNmu1n/UnCuWBBQo/MbA+d3PFTucGeDRDwlU oBlqiZ9VX8bgoR+FlzQkPshYoAg8RP552OD80hbMxECY+IIKSwFMOvSJl3Hz6JOvNT08 tI9E4RxpvbMEHjhPHz9aedg2mDeijhkeXieKhXUTagxy20wtV8R4cdI90kjB5HFavotm NunItSLqUfip3rUS27qB/7Uu4rM21SrgCT7TELEvPAIHZg5pV6hj9jNeLs05XrgNJIiY L9xA==
Received: by 10.236.154.2 with SMTP id g2mr13523986yhk.103.1334162613853; Wed, 11 Apr 2012 09:43:33 -0700 (PDT)
Received: from [172.20.10.4] ([201.220.233.202]) by mx.google.com with ESMTPS id v26sm12217775yhk.1.2012.04.11.09.43.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Apr 2012 09:43:32 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_55A2CD78-FC53-48D5-9200-5E7186571956"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <032E5880-9B76-4693-A337-7C0F50CEBAD0@cisco.com>
Date: Wed, 11 Apr 2012 13:43:53 -0300
Message-Id: <813B5464-08BC-4C3A-B4BD-A42D821B133D@ve7jtb.com>
References: <CA+k3eCRU9juJT67htpPfB0pBva0NZ1QY9FKrYHMyoqsR3NQRrg@mail.gmail.com>	<49C79A1D-B97E-428B-BAD3-52F5868550EA@ve7jtb.com>	<9A484F01-FB44-4E15-82BC-6C9525BB2214@cisco.com> <62BA4C02-ACE8-4B00-8A64-FB0649D39582@ve7jtb.com> <05f801cd1340$df3b42d0$9db1c870$@augustcellars.com> <74E726C7-2B52-4A8D-BAD2-501C54A4DFA6@ve7jtb.com> <061601cd1345$fd1d9d20$f758d760$@augustcellars.com> <8D4D2A64-53FE-4DD3-BF9D-3347FE116E18@ve7jtb.com> <01c001cd17fd$a67606d0$f3621470$@augustcellars.com> <032E5880-9B76-4693-A337-7C0F50CEBAD0@cisco.com>
To: Matt Miller <mamille2@cisco.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQmXz13XgMEOuC+zEg0OLD9uh5ngXtdAHb/Y0msMkFTOInrpc/BVs5u8j+goiWwiRwlVfRyt
Cc: Jim Schaad <ietf@augustcellars.com>, 'Brian Campbell' <bcampbell@pingidentity.com>, jose@ietf.org
Subject: Re: [jose] Understanding the motivation for Key Derivation?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 16:43:35 -0000

--Apple-Mail=_55A2CD78-FC53-48D5-9200-5E7186571956
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

We have the mandatory HMAC for non AEAD now. =20

While it is possible to do it as an algorithm it requires munging the =
HMAC and the CMK together in some way.

There is no reason not to improve on the current RFC for AES128+SHA1 as =
that is quite specific.=20

I think it remains to be seen if that is preferable to allowing the =
integrity and symmetric encryption to be defined separately at the JOSE =
layer.

John B.
On 2012-04-11, at 1:31 PM, Matt Miller wrote:

> I was planning to start writing up a composite CBC/HMAC algorithm, =
based partly on the work done by David McGrew.  Is there still interest =
in this?
>=20
>=20
> On Apr 11, 2012, at 10:10, Jim Schaad wrote:
>=20
>> <no hat>
>>=20
>> John,=20
>>=20
>> I would be nice if you did this.  Personally I would like to see the =
text
>> move back to the -00 version as the base to start from.   I would be =
nice if
>> the description was strictly in terms of how AEAD algorithms are =
processed.
>> For the S/MIME work, we would still use the term CEK for the key fed =
into an
>> AEAD algorithm even if the algorithm later produced two different =
keys for
>> use in the encryption and authentication processing.  The details of =
that
>> would be purely internal to the algorithm description.
>>=20
>> As a part of this I think it would be more reasonable to move the =
details of
>> how to do the CBC/HMAC algorithm to the algorithms document rather =
than
>> putting in this document so that this document is simpler and =
clearer.
>>=20
>> Jim
>>=20
>>=20
>>> -----Original Message-----
>>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>>> Sent: Thursday, April 05, 2012 9:11 AM
>>> To: Jim Schaad
>>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>>> Subject: Re: [jose] Understanding the motivation for Key Derivation?
>>>=20
>>> Then we should look at including the header as the additional data =
for
>> GCM.
>>>=20
>>> I will have a look at it, and make a proposal for some text, unless
>> someone
>>> else is volunteering?
>>>=20
>>> John B.
>>>=20
>>> On 2012-04-05, at 1:05 PM, Jim Schaad wrote:
>>>=20
>>>> Ok - I see you problem.
>>>>=20
>>>> Yes, in JWE the headers are not encrypted.
>>>> GCM provides integrity over both the encrypted content and the
>> additional
>>>> data fields (hence the difference between AD (authenticated Data) =
and
>>>> AEAD(Authenticated Data with Additional Data).
>>>>=20
>>>> All AEAD algorithms provide for the ability to have data which is =
not
>> part
>>>> of the encrypted data be included in the authenticated data.  In =
fact
>> AEAD
>>>> algorithms can be used as MAC algorithms in many cases by simply =
having
>>> an
>>>> empty string for the encrypted data (it depends in part on the =
internal
>>>> construction of the encrypted data stream).  I believe we verified =
that
>> this
>>>> was a true statement for GCM at the last IETF meeting (in a hallway
>>>> conversation).
>>>>=20
>>>> Jim
>>>>=20
>>>>=20
>>>>> -----Original Message-----
>>>>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>>>>> Sent: Thursday, April 05, 2012 8:45 AM
>>>>> To: Jim Schaad
>>>>> Cc: 'Matt Miller'; 'Brian Campbell'; jose@ietf.org
>>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>>=20
>>>>> In JWE the headers are not encrypted.
>>>>>=20
>>>>> GCM provides integrity only over the encrypted content.
>>>>>=20
>>>>> In the composite AES-CBC + HMAC the integrity is calculated over =
both
>>> the
>>>>> Header and the encrypted content.
>>>>>=20
>>>>> The advantage of not using a AEAD algorithm is that the composite =
can
>> be
>>>>> more JOSE aware.
>>>>>=20
>>>>> I can't rule out having missed something thats why we review these
>>>> things:)
>>>>>=20
>>>>> John B.
>>>>> On 2012-04-05, at 12:28 PM, Jim Schaad wrote:
>>>>>=20
>>>>>> <no hat>
>>>>>>=20
>>>>>> John,
>>>>>>=20
>>>>>> I am at a loss, why do you believe that a new AEAD algorithm =
would not
>>>>>> protect the headers?
>>>>>>=20
>>>>>> Jim
>>>>>>=20
>>>>>>=20
>>>>>>> -----Original Message-----
>>>>>>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On
>>> Behalf
>>>>> Of
>>>>>>> John Bradley
>>>>>>> Sent: Thursday, April 05, 2012 7:28 AM
>>>>>>> To: Matt Miller
>>>>>>> Cc: Brian Campbell; jose@ietf.org
>>>>>>> Subject: Re: [jose] Understanding the motivation for Key =
Derivation?
>>>>>>>=20
>>>>>>> A couple of observations.
>>>>>>>=20
>>>>>>> The current proposal provides integrity over the header,  a new =
AEAD
>>>> alg
>>>>>>> doesn't do that.
>>>>>>> Low level crypto is a challenge.   Re-using standard underlying
>>>> algorithms
>>>>>> like
>>>>>>> HMAC and AES-CBC allow for JS and other libs to call standard =
lower
>>>> level
>>>>>>> crypto functions.
>>>>>>>=20
>>>>>>> I am not against having another AEAD alg,  but want to help =
people
>>>>>>> understand the current design choice.
>>>>>>>=20
>>>>>>> John B.
>>>>>>> On 2012-04-05, at 9:49 AM, Matt Miller wrote:
>>>>>>>=20
>>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>>> Hash: SHA1
>>>>>>>>=20
>>>>>>>> Another way around the conditional in application-space is to =
define
>>>> an
>>>>>>> AEAD algorithm composed of an encryption and hashing function.  =
This
>>>>>>> seems like a reasonable place to start looking at one: <
>>>>>>> http://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha1 =
>.
>>>>>>>>=20
>>>>>>>> On Apr 4, 2012, at 17:42, John Bradley wrote:
>>>>>>>>=20
>>>>>>>>> The use of a single key across two functions is one of things =
that
>> is
>>>>>> not
>>>>>>> provably without problems.
>>>>>>>>>=20
>>>>>>>>> I agree that from an implementers point of view one key is =
simpler.
>>>>>>>>>=20
>>>>>>>>> There is a related-key attack that using the same key would =
enable.
>>>>>> This
>>>>>>> can be combined with differential and linear attacks on =
symmetric key
>>>>>>> cyphers.
>>>>>>>>>=20
>>>>>>>>> Generally this can be thought of as a bad thing.
>>>>>>>>>=20
>>>>>>>>> What is certain is that it increases the possible attack =
surface,
>>>> and
>>>>>> if the is
>>>>>>> a problem discovered as we have seen with AES-CBC it is going to =
be
>>>> hard
>>>>>> to
>>>>>>> change later.
>>>>>>>>>=20
>>>>>>>>> We need key derivation anyway for ECDH-ES to produce a key of =
the
>>>>>>> correct bit length.
>>>>>>>>>=20
>>>>>>>>> Doing key derivation on CMK is the theoretically proper way to =
do
>> it.
>>>>>>>>> Making a simplification might bite us in the future.
>>>>>>>>>=20
>>>>>>>>> I suppose one way to get around the conditional application
>>> argument
>>>>> is
>>>>>>> to always use it to produce the CEK even with AEAD algorithms.
>>>>>>>>>=20
>>>>>>>>> Regards
>>>>>>>>> John B.
>>>>>>>>>=20
>>>>>>>>> On 2012-04-04, at 7:40 PM, Brian Campbell wrote:
>>>>>>>>>=20
>>>>>>>>>> Hi all,
>>>>>>>>>>=20
>>>>>>>>>> I was hoping someone could help me (hopefully it's not just =
me!)
>>>>>>>>>> understand the reasons for the introduction of the key =
derivation
>>>>>>>>>> stuff* into JWE draft -01?
>>>>>>>>>>=20
>>>>>>>>>> I understand that it's there to derive the two keys, CEK and =
CIK,
>>>>>>>>>> from the CMK and that it is to be done when a non-AEAD =
algorithm
>>> is
>>>>>>>>>> used to encrypt the content. But what is the value of =
deriving the
>>>>>>>>>> two keys as apposed to using the CMK for both encryption and
>>>>>> integrity?
>>>>>>>>>>=20
>>>>>>>>>> Perhaps naively I assumed that using the CMK for both would =
be
>>>>>>>>>> sufficient.  It's randomly generated and used only for the =
one
>> JWE.
>>>>>>>>>> It's not clear to me what benefit is provided by the =
additional
>>>>>>>>>> complexity of the derivation function as well as its =
conditional
>>>>>>>>>> application (and the potential interoperability problems that =
come
>>>>>>>>>> with such complexity). I assume there's some security =
benefit? But
>>> I
>>>>>>>>>> can't see what it is.
>>>>>>>>>>=20
>>>>>>>>>> Any help would be appreciated.
>>>>>>>>>> Thanks,
>>>>>>>>>> Brian
>>>>>>>>>>=20
>>>>>>>>>> *
>>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>>> 01#se
>>>>>>>>>> ction-7
>>>>>>>>>> which is referenced by
>>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>>> 01#se
>>>>>>>>>> ction-5 and
>>>>>>>>>> =
http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-
>>> 01#se
>>>>>>>>>> ction-6
>>> _______________________________________________
>>>>>>>>>> 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
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> - - m&m
>>>>>>>>=20
>>>>>>>> Matt Miller - <mamille2@cisco.com>
>>>>>>>> Cisco Systems, Inc.
>>>>>>>>=20
>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>>>>>>>> Comment: GPGTools - http://gpgtools.org
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>=20
>>>>>=20
>>> iQEcBAEBAgAGBQJPfZT4AAoJEJq6Ou0cgrSP00UIAMxGZw0K50RJPD4JWRvVq
>>>>>>> zQj
>>>>>>>>=20
>>>>>>>=20
>>>>>=20
>>> YFYN5dpM4qG+SLll53BesKPNqSF79L5M5yp9gLW7lVTBdDGd5+k7uU+qn7rDR
>>>>>>> 8kx
>>>>>>>>=20
>>>>>>>=20
>>>>>=20
>>> c4m46Wvffbevl6KRFg+vbBA3JZz/S41/mc6Vd3hZ9ib4+1Na66Vzpqp6qOnVDvL
>>>>>>> y
>>>>>>>>=20
>>>>>>>=20
>>>>>=20
>>> LgMqohVeXACHsxVL8BpXqDz336slFBS4gP67cI9Yail0ZUNsZAm+NcoNhnbqLlb
>>>>>>> +
>>>>>>>>=20
>>>>>>>=20
>>>>>=20
>>> ottj9ZpLP8gnYaCus0sM2fshgWapcc4ZN6QbA9F105zEdrNwCDX5ht68Zkma7fb
>>>>>>> Y
>>>>>>>>=20
>>>>>>>=20
>>>>>=20
>>> LgFBqvqB2PtRu7SV2QGbNmaG1BGRZ9V3mKXZL/ssryLaOSVrCB5GdNHprlDG
>>>>>>> z/I=3D
>>>>>>>> =3D174E
>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>=20
>>>>>>=20
>>>>=20
>>>>=20
>>=20
>>=20
>=20
>=20
> - m&m
>=20
> Matt Miller - <mamille2@cisco.com>
> Cisco Systems, Inc.
>=20


--Apple-Mail=_55A2CD78-FC53-48D5-9200-5E7186571956
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzd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original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68C6911E80D0 for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 13:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.562
X-Spam-Level: 
X-Spam-Status: No, score=-3.562 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24Lio09QInwO for <jose@ietfa.amsl.com>; Wed, 11 Apr 2012 13:07:59 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 755D111E80CC for <jose@ietf.org>; Wed, 11 Apr 2012 13:07:59 -0700 (PDT)
Received: from Tobias (unknown [50.34.251.66]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 351E438EA5; Wed, 11 Apr 2012 13:07:59 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "Mike Jones" <Michael.Jones@microsoft.com>
Date: Wed, 11 Apr 2012 13:06:52 -0700
Message-ID: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac0YFumdEsd+H7NuSBmmwJ3ugtJ7Yw==
Content-Language: en-us
Cc: jose@ietf.org
Subject: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Apr 2012 20:08:02 -0000

<no hat>

I am starting to come out of the normal sickness period following an IETF
meeting. So I am looking at the smallest document first.

I am going to skip section 4.2.1 & 4.2.2 as they appear to be heading for a
different document.

Abstract:

1.  Are JWK items restricted to just asymmetric algorithms?  Can/Should one
be able to transport symmetric keys via  web key structure?

2.  There was a request at one point to allow for encoding of private keys.
What if any response does the working group have to this request?

Introduction:

3.  The introduction text appears to be incorrect.  While the jku field
refers to a JWK Web Key, the epk field holds a JWK Key Object.

4.  I find the terminology to be very difficult to understand.  A JSON Web
Key (JWK)  is a set of one or more keys while a JWK Key Object is a single
key.  The fact that these are all dealing with the same string JWK is part
of the confusion as is the fact that the JWK is singular in name, but plural
in content.

5.  I would like to see the "non-goals" of this document to be pulled out
into a new paragraph and expanded into a number of different non-goals of
this document.  This includes certified keys - that is any form of binding
of keys to names that has been attested to.  

Terminology:

6.  I am not sure that the definition of the JWK Container Object is useful.
Is this really a separate object from the JSON Web Key object?

Overview:

7.  This section starts "It is sometimes useful.."  There are a lot of
things that are sometimes useful but we don't standardize a lot of them.  I
think that this text would be better started as:  "A large number of
operations, such as digital signature validation, require the public key in
order to be successful.  In many cases the public key is provided in an
X.509 certificate, however there are cases where it is more convenient to
provide the public key in a different format.  Examples of this include
.....  This document defines ..."  Actually I think that this text might be
even better placed in the introduction. And section 3.1 be promoted to
become section 3. And the current section 3 be omitted.

JWK Format:

8.  Does a JWK consist of a JWK Container object - or is it identical to a
JWK Container object?

JWK Container Object Format:

9.  Why is the member name jwk - it would seem that this should be the name
of the member that holds the entire object not that of the array of key
objects.  I would think that "keys" would be a better name for this member.

10.  The last sentence in this section again conflates a container object
and a JWK.

11.  Should the text that is in the signature and encryption dealing with
adding fields (urls vs simple names) be included in this section as well?

12.  Should there be an IANA registry for the member names of a container
object.

JWK Key Object Format:

13.  Should there be an IANA registry for the contents of the alg string?

14.  Should there be an IANA registry for the members of a Key Object?

15.  What is the function of the value of use?  Is there supposed to be a
requirement on items that use a key that the "use" value be of specific
values?    Do these values need to be registered?

16.  I don't understand the sentence "The "kid" value MAY correspond to a
JWS "kid" value." - First this seems to make no sense to have a protocol
requirement statement on it.  Secondly if the value does not correspond to a
JWS kid value, what in the world would it possibly correspond to, how could
would it be used for choosing among keys if it did not have such a
correspondence?

17.  Should the "kid" be present if there are multiple keys of the same
usage and algorithm?

18.  Should the text dealing with adding members be present (copied from
JWS)?  Is it just the key and not the entire key set that is to be ignored?

Open Issues:

19.  I think that a section on adding key families would be reasonable.

Security Considerations:

20.  The key is no more trustworthy that the method that is came to you.

21.  This structure is not intended to replace X.509 certificates.

Jim




From bcampbell@pingidentity.com  Thu Apr 12 11:34:00 2012
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E36C221F85C4 for <jose@ietfa.amsl.com>; Thu, 12 Apr 2012 11:34:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.943
X-Spam-Level: 
X-Spam-Status: No, score=-5.943 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t0aby05B7pv7 for <jose@ietfa.amsl.com>; Thu, 12 Apr 2012 11:34:00 -0700 (PDT)
Received: from na3sys009aog107.obsmtp.com (na3sys009aog107.obsmtp.com [74.125.149.197]) by ietfa.amsl.com (Postfix) with ESMTP id ED7FE21F85B6 for <jose@ietf.org>; Thu, 12 Apr 2012 11:33:59 -0700 (PDT)
Received: from mail-gy0-f175.google.com ([209.85.160.175]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKT4cgFyT/7gmL9XoKcx509ys79MDUKSWR@postini.com; Thu, 12 Apr 2012 11:34:00 PDT
Received: by ghbz2 with SMTP id z2so1371449ghb.20 for <jose@ietf.org>; Thu, 12 Apr 2012 11:33:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding:x-gm-message-state; bh=R6PUxyWRPI+XQxDF6kKRFHv5LFr2NJIb2M2gQoByJTE=; b=csOYX4q5rR82ZjPmbIRJuOQMRf5WwadgopqY2siEIvaZYy8BUrtEFstyBGu2krkgue PLN1XZDs64ssryIE3I9tMMn3lhUB/d5AEg+PPcOC6UQ2ONToc9yRnE2IwbHdDh5JDwqU 8/zWLDQ+silo8nVkpDeh14ekaMd2g/mZhTyaQeP5yHPy4mgfJHeRAKQdwkCab9HIr3QE quliXlWLkxra9Crepy0ZMhg96Q5IyGvyXasPhZPTok2k9Rd3fYwYNckYeIKu7dM4EuJ+ DFNkEW/2pexMBw0b1VkPgm+QN/nTpFtvTxq5cGIWexrr2OMCdKvJcifNALGJTwt3p6KK nAyw==
Received: by 10.50.45.167 with SMTP id o7mr4110935igm.22.1334255638688; Thu, 12 Apr 2012 11:33:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.42.175.73 with HTTP; Thu, 12 Apr 2012 11:33:28 -0700 (PDT)
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Thu, 12 Apr 2012 12:33:28 -0600
Message-ID: <CA+k3eCSsf-T1+Q1+aiF7L52--jdU8qTQZa923jAEDqthvL61cA@mail.gmail.com>
To: jose@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnNZt+0Kvn1YE4JAXSZpHaknoMS/GWWLEsSoj9PYSr5EPaqaK94uH+Htcl3V+IP8YoWgpoq
Subject: [jose] WTKDF?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 12 Apr 2012 18:34:01 -0000

Hi all,

I'm trying to do an implementation of the Concatenation Key Derivation
Function from =A75.8.1 of NIST SP800-56A for JWE but I'm honestly having
some trouble making sense out of some of the language in the NIST
document.

On page 47 of NIST SP800-56A it says, "The subfields SuppPrivInfo and
SuppPubInfo (when allowed by the application) shall be formed by the
concatenation of an application-specific, fixed-length sequence of
substrings of additional information that may be used in key
derivation upon mutual agreement of parties U and V. Each substring
representing a separate unit of information shall be of the form
Datalen || Data, where Data is a variable-length string of zero or
more (eight-bit) bytes and Datalen is a fixed-length, big-endian
counter that indicates the length (in bytes) of Data."

=A77 of JWE-01* says "the SuppPubInfo parameter is the Label [Integrity
or Encryption], and the remaining OtherInfo parameters are the empty
bit string."

So the label is one such sub-string and is concatenated with the key
and the counter and hashed as part of the KDF algorithm. I'm a bit
confused about (among other things) what the byte sequence should be
for the label.  Using the CIK as an example, the ASCII byte
representation of "Integrity" is

[73, 110, 116, 101, 103, 114, 105, 116, 121]

but does the text from NIST page 47 say that the label bytes should be
the following sequence where the Datalen, as a four byte fixed-length
big-endian counter, is prepended to the byte sequence above?

[0, 0, 0, 9, 73, 110, 116, 101, 103, 114, 105, 116, 121]

Or is it something else? Can anyone set me straight here?

Anyone else working on or have an implementation of this? Or know
about existing implementations that could be used as a reference to
test results?

Thanks,
Brian

* http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-01#section=
-7

On a side note, it looks like =A77 got a little mangled in the HTML version=
:
http://tools.ietf.org/id/draft-ietf-jose-json-web-encryption-01.html#rfc.se=
ction.7

From sakimura@gmail.com  Thu Apr 12 12:44:33 2012
Return-Path: <sakimura@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E857F21F86E1 for <jose@ietfa.amsl.com>; Thu, 12 Apr 2012 12:44:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DFkgh8RldrdM for <jose@ietfa.amsl.com>; Thu, 12 Apr 2012 12:44:33 -0700 (PDT)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id C80FA21F86D9 for <jose@ietf.org>; Thu, 12 Apr 2012 12:44:32 -0700 (PDT)
Received: by bkuw5 with SMTP id w5so2318205bku.31 for <jose@ietf.org>; Thu, 12 Apr 2012 12:44:31 -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=SS3aU+pHszdJT/4lJeREtnB+8JXwCvgZ5tAyJlnqO+E=; b=Ys8z7Nzmdw4UN/1ALygEDhtWZ2391aTnqxCQQ1UtNldoaGp86fZjodRU+DQEDndSh2 eOIxrMtHikONRo/Co6AKuT1kVepj3bYHWt8EWU1Fr6f6jno0b5tC00nJaf85xdwbV70U wVqFkn8vBADILN6msEHW45S9wdw9kbVUit7jlS7Fj6oaH3od7oXp9Is+4P4pIBlvMPHK zDe9lu7bdFxgXpWfr5OeQMWBP8AmPKIcdxB5ZwvO6U78R0oKey2LnHO8pDlqs/vv5QPW /q1rvDCD1aotVcjzDyekCncGynxeWcYNhGjQXOjx10CSJj08AnFzqPc6qhLFK/c1ypUn 7AmQ==
MIME-Version: 1.0
Received: by 10.205.132.141 with SMTP id hu13mr1149260bkc.87.1334259871772; Thu, 12 Apr 2012 12:44:31 -0700 (PDT)
Received: by 10.204.152.215 with HTTP; Thu, 12 Apr 2012 12:44:31 -0700 (PDT)
In-Reply-To: <0A1F4C01-6F1C-409A-ABCC-A0F09729B45B@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739436645F6F6@TK5EX14MBXC283.redmond.corp.microsoft.com> <0A1F4C01-6F1C-409A-ABCC-A0F09729B45B@ve7jtb.com>
Date: Fri, 13 Apr 2012 04:44:31 +0900
Message-ID: <CABzCy2D69gEVnoNc-Mo+qrBcZ=Jh158BPj2nkGkX5x2uamLJGQ@mail.gmail.com>
From: Nat Sakimura <sakimura@gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: Mike Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Open Issue for WG Discussion: Disposition of JSON Serialization Functionality
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 12 Apr 2012 19:44:34 -0000

On Tue, Apr 10, 2012 at 1:41 AM, John Bradley <ve7jtb@ve7jtb.com> wrote:
> Inline
> On 2012-04-09, at 1:25 PM, Mike Jones wrote:
>
> You=92ll recall that I created JSON Serialization drafts in response to W=
G
> input that use the same cryptographic operations as JWS and JWE, but that
> serialize the results into a JSON objects, rather than base64url encoded
> values separated by periods.=A0 These representations also enable multipl=
e
> signatures/HMACs to be used and content to be encrypted to multiple
> recipients.=A0 The current versions of these drafts are:
> =B7=A0=A0=A0=A0=A0=A0=A0=A0http://tools.ietf.org/html/draft-jones-json-we=
b-signature-json-serialization-01
> =B7=A0=A0=A0=A0=A0=A0=A0=A0http://tools.ietf.org/html/draft-jones-json-we=
b-encryption-json-serialization-01
>
> It was decided in Paris that the disposition of this functionality should=
 be
> discussed by the WG on the list.=A0 I think the questions we need to deci=
de
> are:
>
> 1.=A0 Is the working group interested in pursuing this functionality?
> (Evidence to date is that the answer to this question is =93yes=94.)
>
>
> Yes

Yes.

>
> 2.=A0 If the answer to (1) is =93yes=94, would the working group like to =
have this
> functionality be in working group documents at this time (rather than bei=
ng
> described in individual submissions, as at present)?
>
>
> Yes

Yes.

>
>
> 3.=A0 If the answer to (2) is =93yes=94, should working group -00 version=
s of the
> JSON Serialization documents be created or should this functionality be
> folded into the existing JWS and JWE specs?
>
>
>
> Create WG documents separate from the =A0JWS and JWE and consider merging=
 them
> later after some more maturity.

+1

>
> John B.
>
> Arguments for keeping this functionality separate for now are:
> =A0 - Different level of maturity:=A0 I=92m aware of over a dozen impleme=
ntations
> of JWS a few of JWE, but I know of no implementations of JWS-JS or JWE-JS=
.
> There=92s an argument that we should keep this new functionality separate
> until we have =93rough consensus and running code=94.
> =A0 - Document simplicity for the Compact Serialization use case.=A0 Not
> describing a second serialization in the JWS and JWE documents makes the
> documents somewhat easier to read if all the implementer needs is the
> Compact Serialization.
>
> Arguments for merging it in now are:
> =A0 - Fewer documents needed to provide comprehensive treatment of the
> material.
>
> Opinions from the Working Group?
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Thanks,
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>



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

From jlaurens@cisco.com  Wed Apr 18 07:07:01 2012
Return-Path: <jlaurens@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C86F421F85AF for <jose@ietfa.amsl.com>; Wed, 18 Apr 2012 07:07:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cSOb3Tlc1XRJ for <jose@ietfa.amsl.com>; Wed, 18 Apr 2012 07:06:57 -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 371C421F85A1 for <jose@ietf.org>; Wed, 18 Apr 2012 07:06:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=jlaurens@cisco.com; l=21417; q=dns/txt; s=iport; t=1334758017; x=1335967617; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=KtBbijQR8yb/XolJdVa48/0Q2lZvLl5l8GzMnJ3qqNw=; b=b0BZgoTYBDMYMkyeY1D5G4SiYkZTTy1dG4bOkm3bonfCid7wfvX5bnXd iABZGpORWqaKBnrXxT/sUQC2zKf/DjNMS1gVEIlrki0gyW/iw7l6nlCuI U74PbuDvtFvou0OarEQjJ4ajhh5xhVlSTGJWFqU+AxyQYNbOBN8J2oPse U=;
X-Files: smime.p7s : 4391
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQFAAnKjk+tJV2c/2dsb2JhbABEgkalbgGJCYEHggkBAQEDAQEBAQ8BWwsFCwIBCA44AiULJQEBBA4FDhSHaAULmkSgKJAFYwSOboEjhV6BEY1AgWmCZw
X-IronPort-AV: E=Sophos;i="4.75,441,1330905600";  d="p7s'?scan'208,217";a="75724814"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-5.cisco.com with ESMTP; 18 Apr 2012 14:06:56 +0000
Received: from xht-rcd-x01-p.cisco.com (xht-rcd-x01-p.cisco.com [173.37.178.212]) by rcdn-core-5.cisco.com (8.14.3/8.14.3) with ESMTP id q3IE6uaZ031213;  Wed, 18 Apr 2012 14:06:56 GMT
Received: from xmb-rcd-x01-p.cisco.com ([169.254.3.120]) by xht-rcd-x01-p.cisco.com ([173.37.178.212]) with mapi id 14.02.0283.003; Wed, 18 Apr 2012 07:06:56 -0700
From: "Jeremy Laurenson (jlaurens)" <jlaurens@cisco.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Thread-Topic: [jose] Open Issue for WG Discussion: Disposition of JSON Serialization Functionality
Thread-Index: Ac0WbWXHYX/Vund+T9CNkkvP3fJCBQHOclKA
Date: Wed, 18 Apr 2012 14:06:56 +0000
Message-ID: <C19A7CA2-E20C-48B5-8CD8-42A14ABF4883@cisco.com>
References: <4E1F6AAD24975D4BA5B16804296739436645F6F6@TK5EX14MBXC283.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739436645F6F6@TK5EX14MBXC283.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [173.37.178.200]
x-tm-as-product-ver: SMEX-10.0.0.4211-6.800.1017-18846.006
x-tm-as-result: No--34.841100-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/signed; boundary="Apple-Mail=_B271B52B-BF68-4073-8CF8-DE45B96BE5B6"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Open Issue for WG Discussion: Disposition of JSON Serialization Functionality
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 18 Apr 2012 14:07:01 -0000

--Apple-Mail=_B271B52B-BF68-4073-8CF8-DE45B96BE5B6
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_635A1F9A-6EBA-418A-AB56-950710E536F9"


--Apple-Mail=_635A1F9A-6EBA-418A-AB56-950710E536F9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Apr 9, 2012, at 12:25 PM, Mike Jones wrote:

> You=92ll recall that I created JSON Serialization drafts in response =
to WG input that use the same cryptographic operations as JWS and JWE, =
but that serialize the results into a JSON objects, rather than =
base64url encoded values separated by periods.  These representations =
also enable multiple signatures/HMACs to be used and content to be =
encrypted to multiple recipients.  The current versions of these drafts =
are:
> =B7        =
http://tools.ietf.org/html/draft-jones-json-web-signature-json-serializati=
on-01
> =B7        =
http://tools.ietf.org/html/draft-jones-json-web-encryption-json-serializat=
ion-01
> =20
> It was decided in Paris that the disposition of this functionality =
should be discussed by the WG on the list.  I think the questions we =
need to decide are:
> =20
> 1.  Is the working group interested in pursuing this functionality?  =
(Evidence to date is that the answer to this question is =93yes=94.)
> =20
Yes

> 2.  If the answer to (1) is =93yes=94, would the working group like to =
have this functionality be in working group documents at this time =
(rather than being described in individual submissions, as at present)?
Yes

> =20
> 3.  If the answer to (2) is =93yes=94, should working group -00 =
versions of the JSON Serialization documents be created or should this =
functionality be folded into the existing JWS and JWE specs?
> =20
> Arguments for keeping this functionality separate for now are:
>   - Different level of maturity:  I=92m aware of over a dozen =
implementations of JWS a few of JWE, but I know of no implementations of =
JWS-JS or JWE-JS.  There=92s an argument that we should keep this new =
functionality separate until we have =93rough consensus and running =
code=94.
>   - Document simplicity for the Compact Serialization use case.  Not =
describing a second serialization in the JWS and JWE documents makes the =
documents somewhat easier to read if all the implementer needs is the =
Compact Serialization.
> =20
> Arguments for merging it in now are:
>   - Fewer documents needed to provide comprehensive treatment of the =
material.

Keep them separate - Id like to see fewer documents, but no need for =
mass extermination ;-)

> =20
> Opinions from the Working Group?
> =20
>                                                             Thanks,
>                                                             -- Mike
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_635A1F9A-6EBA-418A-AB56-950710E536F9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://90/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><br><div><div>On Apr 9, 2012, at 12:25 PM, Mike =
Jones wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">You=92ll recall that I created =
JSON Serialization drafts in response to WG input that use the same =
cryptographic operations as JWS and JWE, but that serialize the results =
into a JSON objects, rather than base64url encoded values separated by =
periods.&nbsp; These representations also enable multiple =
signatures/HMACs to be used and content to be encrypted to multiple =
recipients.&nbsp; The current versions of these drafts =
are:<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; text-indent: -0.25in; "><span =
style=3D"font-family: Symbol; "><span>=B7<span style=3D"font: normal =
normal normal 7pt/normal 'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><a =
href=3D"http://tools.ietf.org/html/draft-jones-json-web-signature-json-ser=
ialization-01" style=3D"color: blue; text-decoration: underline; =
">http://tools.ietf.org/html/draft-jones-json-web-signature-json-serializa=
tion-01</a><o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; text-indent: -0.25in; "><span =
style=3D"font-family: Symbol; "><span>=B7<span style=3D"font: normal =
normal normal 7pt/normal 'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><a =
href=3D"http://tools.ietf.org/html/draft-jones-json-web-encryption-json-se=
rialization-01" style=3D"color: blue; text-decoration: underline; =
">http://tools.ietf.org/html/draft-jones-json-web-encryption-json-serializ=
ation-01</a><o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">It was decided in Paris that the disposition of this =
functionality should be discussed by the WG on the list.&nbsp; I think =
the questions we need to decide are:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">1.&nbsp; Is the working group =
interested in pursuing this functionality?&nbsp; (Evidence to date is =
that the answer to this question is =93yes=94.)<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; =
"><o:p>&nbsp;</o:p></div></div></div></span></blockquote>Yes</div><div><br=
><blockquote type=3D"cite"><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">2.&nbsp; If the answer to (1) =
is =93yes=94, would the working group like to have this functionality be =
in working group documents at this time (rather than being described in =
individual submissions, as at present)?<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; =
"></div></div></div></span></blockquote>Yes</div><div><br><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">3.&nbsp; If the answer to (2) is =93yes=94, should working =
group -00 versions of the JSON Serialization documents be created or =
should this functionality be folded into the existing JWS and JWE =
specs?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">Arguments for =
keeping this functionality separate for now are:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">&nbsp; - Different level of maturity:&nbsp; I=92m aware of =
over a dozen implementations of JWS a few of JWE, but I know of no =
implementations of JWS-JS or JWE-JS.&nbsp; There=92s an argument that we =
should keep this new functionality separate until we have =93rough =
consensus and running code=94.<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp; - Document =
simplicity for the Compact Serialization use case.&nbsp; Not describing =
a second serialization in the JWS and JWE documents makes the documents =
somewhat easier to read if all the implementer needs is the Compact =
Serialization.<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">Arguments for merging it in now are:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">&nbsp; - Fewer documents needed to provide comprehensive =
treatment of the material.<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"></div></div></div></span></blockquote><div><br></div>Keep them =
separate - Id like to see fewer documents, but no need for mass =
extermination ;-)</div><div><br><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">Opinions from the Working Group?<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Thanks,<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div></div>___________________________________________=
____<br>jose mailing list<br><a href=3D"mailto:jose@ietf.org" =
style=3D"color: blue; text-decoration: underline; =
">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" style=3D"color: =
blue; text-decoration: underline; =
">https://www.ietf.org/mailman/listinfo/jose</a><br></div></span></blockqu=
ote></div><br></body></html>=

--Apple-Mail=_635A1F9A-6EBA-418A-AB56-950710E536F9--

--Apple-Mail=_B271B52B-BF68-4073-8CF8-DE45B96BE5B6
Content-Disposition: attachment; filename="smime.p7s"
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMXjCCBWgw
ggRQoAMCAQICECgWBP3UCyYfYrwz7fsZ0gAwDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y
azE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEg
KGMpMDkxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24g
Q2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMzAeFw0xMTEwMTcwMDAwMDBaFw0x
MjEwMTYyMzU5NTlaMIIBFTEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT
aWduIFRydXN0IE5ldHdvcmsxRjBEBgNVBAsTPXd3dy52ZXJpc2lnbi5jb20vcmVwb3NpdG9yeS9S
UEEgSW5jb3JwLiBieSBSZWYuLExJQUIuTFREKGMpOTgxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZh
bGlkYXRlZDEzMDEGA1UECxMqRGlnaXRhbCBJRCBDbGFzcyAxIC0gTmV0c2NhcGUgRnVsbCBTZXJ2
aWNlMRkwFwYDVQQDFBBKZXJlbXkgTGF1cmVuc29uMSEwHwYJKoZIhvcNAQkBFhJqbGF1cmVuc0Bj
aXNjby5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDX11PB1yOpkoMfWbIPWEQG
TQMZxCG2Gsk4sLgnQDMUKlnqfm/rDJi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w0BCRACCzGB9aCB8jCB3TELMAkG
A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz
dCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24u
Y29tL3JwYSAoYykwOTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5W
ZXJpU2lnbiBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEczAhAoFgT91AsmH2K8
M+37GdIAMA0GCSqGSIb3DQEBAQUABIIBADH2PcaPRYZU/XMnZ8iTnSwxg+DbcmkJxbxbq8+t5T26
VLQPXYrZdEhCYLcToQHe5l2NcdaC/WRWOErixEAHtXV+MzvsWrzn1cPUNkDQ6g+k7iLTBycLHHSo
AEF42bLvkMuXghFjAuga6pUcpDlhSotQusizSDwu29LC7lVSWMplvu4cbcjCglF1YA0wfpoA2HTg
Cr5Hxx0uOUNOk+I5XdbNcXrCE6QerOqgn0OhmDK2NecGrK9sQl6MQSFqcUcvtLoPLG70/4eDZ1gS
JpwKGyT7EovtPRQfWJ2RCcd0N0LQFL63Www1FmcNYTKcrCAVmGGB2gZHjWJfvLjN06J/kW4AAAAA
AAA=

--Apple-Mail=_B271B52B-BF68-4073-8CF8-DE45B96BE5B6--

From Michael.Jones@microsoft.com  Wed Apr 25 19:39:30 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C94121F8775 for <jose@ietfa.amsl.com>; Wed, 25 Apr 2012 19:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.921
X-Spam-Level: 
X-Spam-Status: No, score=-3.921 tagged_above=-999 required=5 tests=[AWL=-0.323, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JGul9GIefpVF for <jose@ietfa.amsl.com>; Wed, 25 Apr 2012 19:39:28 -0700 (PDT)
Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe005.messaging.microsoft.com [213.199.154.208]) by ietfa.amsl.com (Postfix) with ESMTP id 3130921F86FF for <jose@ietf.org>; Wed, 25 Apr 2012 19:39:28 -0700 (PDT)
Received: from mail89-am1-R.bigfish.com (10.3.201.239) by AM1EHSOBE001.bigfish.com (10.3.204.21) with Microsoft SMTP Server id 14.1.225.23; Thu, 26 Apr 2012 02:39:26 +0000
Received: from mail89-am1 (localhost [127.0.0.1])	by mail89-am1-R.bigfish.com (Postfix) with ESMTP id 608D6C02CF; Thu, 26 Apr 2012 02:39:26 +0000 (UTC)
X-SpamScore: -21
X-BigFish: VS-21(zz9371Ic85fhzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC104.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail89-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail89-am1 (localhost.localdomain [127.0.0.1]) by mail89-am1 (MessageSwitch) id 1335407964154751_18954; Thu, 26 Apr 2012 02:39:24 +0000 (UTC)
Received: from AM1EHSMHS017.bigfish.com (unknown [10.3.201.235])	by mail89-am1.bigfish.com (Postfix) with ESMTP id 20FB2340236; Thu, 26 Apr 2012 02:39:24 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS017.bigfish.com (10.3.207.155) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 26 Apr 2012 02:39:23 +0000
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.73]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.02.0298.005; Thu, 26 Apr 2012 02:39:21 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
Thread-Index: AQHNFMprBXeoX0J2x0ei69tE1/e6NZasgU3Q
Date: Thu, 26 Apr 2012 02:39:20 +0000
Message-ID: <4E1F6AAD24975D4BA5B168042967394366499C9A@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739436645DE9A@TK5EX14MBXC283.redmond.corp.microsoft.com> <001f01cd14ca$49a853d0$dcf8fb70$@augustcellars.com>
In-Reply-To: <001f01cd14ca$49a853d0$dcf8fb70$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B168042967394366499C9ATK5EX14MBXC284r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm family definitions to JWA spec (editorial)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 26 Apr 2012 02:39:30 -0000

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

Having gone over this in detail while working on producing the next version=
s of the docs, I now believe that the readability will be fine.  I'm moving=
 the JWK algorithm-specific definitions to the JWA doc, while leaving suffi=
cient examples in the JWK spec to help implementer's "get it" at first glan=
ce.

                                                            -- Mike

From: Jim Schaad [mailto:ietf@augustcellars.com]
Sent: Saturday, April 07, 2012 7:26 AM
To: Mike Jones; jose@ietf.org
Subject: RE: [jose] Open Issue for WG Discussion: Whether to move JWK algor=
ithm family definitions to JWA spec (editorial)

Please explain why you believe the readability of the document would be red=
uced.  There would still be the ability to have examples that referenced th=
e algorithm draft.

Jim


From: jose-bounces@ietf.org<mailto:jose-bounces@ietf.org> [mailto:jose-boun=
ces@ietf.org]<mailto:[mailto:jose-bounces@ietf.org]> On Behalf Of Mike Jone=
s
Sent: Friday, April 06, 2012 2:05 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] Open Issue for WG Discussion: Whether to move JWK algorithm=
 family definitions to JWA spec (editorial)

The JSON Web Key (JWK) spec currently contains the algorithm family definit=
ions and parameter specifications for the RSA and Elliptic Curve algorithm =
families.  An editorial open issue is whether to leave these in the JWK spe=
c or move them to the JWA spec.

The argument for leaving them in the JWK spec is that removing the definiti=
ons of "EC" and "RSA" and the family-specific parameter definitions ("crv",=
 "x", "y", "mod", "exp") would leave very little normative text in the JWK =
spec itself.  It seemed like doing this would reduce the readability of the=
 JWK spec, and so was not done in -01.

The argument for moving them is that all the algorithm-specific definitions=
 would then be in the JWA spec and good examples of RSA and EC keys could r=
emain in the JWK spec.

References to the pertinent specs are:
http://tools.ietf.org/html/draft-ietf-jose-json-web-key-01
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-01

Feedback?

                                                                -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle19
	{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]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Having gone over this =
in detail while working on producing the next versions of the docs, I now b=
elieve that the readability will be fine.&nbsp; I&#8217;m moving the JWK al=
gorithm-specific definitions to the JWA doc, while
 leaving sufficient examples in the JWK spec to help implementer&#8217;s &#=
8220;get it&#8221; at first glance.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jim Scha=
ad [mailto:ietf@augustcellars.com]
<br>
<b>Sent:</b> Saturday, April 07, 2012 7:26 AM<br>
<b>To:</b> Mike Jones; jose@ietf.org<br>
<b>Subject:</b> RE: [jose] Open Issue for WG Discussion: Whether to move JW=
K algorithm family definitions to JWA spec (editorial)<o:p></o:p></span></p=
>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Please explain why you=
 believe the readability of the document would be reduced.&nbsp; There woul=
d still be the ability to have examples that referenced the algorithm draft=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Jim<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a> <a href=
=3D"mailto:[mailto:jose-bounces@ietf.org]">
[mailto:jose-bounces@ietf.org]</a> <b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Friday, April 06, 2012 2:05 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] Open Issue for WG Discussion: Whether to move JWK al=
gorithm family definitions to JWA spec (editorial)<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The JSON Web Key (JWK) spec currently contains the a=
lgorithm family definitions and parameter specifications for the RSA and El=
liptic Curve algorithm families.&nbsp; An editorial open issue is whether t=
o leave these in the JWK spec or move them
 to the JWA spec.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The argument for leaving them in the JWK spec is tha=
t removing the definitions of &#8220;EC&#8221; and &#8220;RSA&#8221; and th=
e family-specific parameter definitions (&quot;crv&quot;, &quot;x&quot;, &q=
uot;y&quot;, &quot;mod&quot;, &quot;exp&quot;) would leave very little norm=
ative text in the JWK spec itself.
 &nbsp;It seemed like doing this would reduce the readability of the JWK sp=
ec, and so was not done in -01.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The argument for moving them is that all the algorit=
hm-specific definitions would then be in the JWA spec and good examples of =
RSA and EC keys could remain in the JWK spec.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">References to the pertinent specs are:<o:p></o:p></p=
>
<p class=3D"MsoNormal"><a href=3D"http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-key-01">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-=
01</a><o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-algorithms-01">http://tools.ietf.org/html/draft-ietf-jose-json-w=
eb-algorithms-01</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Feedback?<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;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B168042967394366499C9ATK5EX14MBXC284r_--

From Michael.Jones@microsoft.com  Wed Apr 25 21:22:44 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E373321F8898 for <jose@ietfa.amsl.com>; Wed, 25 Apr 2012 21:22:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.913
X-Spam-Level: 
X-Spam-Status: No, score=-3.913 tagged_above=-999 required=5 tests=[AWL=-0.315, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e9WyHwiW5OJK for <jose@ietfa.amsl.com>; Wed, 25 Apr 2012 21:22:40 -0700 (PDT)
Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe005.messaging.microsoft.com [213.199.154.208]) by ietfa.amsl.com (Postfix) with ESMTP id 24FD721F8897 for <jose@ietf.org>; Wed, 25 Apr 2012 21:22:39 -0700 (PDT)
Received: from mail86-am1-R.bigfish.com (10.3.201.227) by AM1EHSOBE005.bigfish.com (10.3.204.25) with Microsoft SMTP Server id 14.1.225.23; Thu, 26 Apr 2012 04:22:37 +0000
Received: from mail86-am1 (localhost [127.0.0.1])	by mail86-am1-R.bigfish.com (Postfix) with ESMTP id 91659400052; Thu, 26 Apr 2012 04:22:37 +0000 (UTC)
X-SpamScore: -33
X-BigFish: VS-33(zz9371Ic85fh542M1418I111aI1447Mzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC103.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail86-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Michael.Jones@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail86-am1 (localhost.localdomain [127.0.0.1]) by mail86-am1 (MessageSwitch) id 1335414155142878_7138; Thu, 26 Apr 2012 04:22:35 +0000 (UTC)
Received: from AM1EHSMHS016.bigfish.com (unknown [10.3.201.243])	by mail86-am1.bigfish.com (Postfix) with ESMTP id 1E38A220094; Thu, 26 Apr 2012 04:22:35 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS016.bigfish.com (10.3.207.154) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 26 Apr 2012 04:22:35 +0000
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.73]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.02.0298.005; Thu, 26 Apr 2012 04:21:58 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Comments on draft-ietf-jose-json-web-key-01
Thread-Index: Ac0YFumdEsd+H7NuSBmmwJ3ugtJ7YwLQf9Tw
Date: Thu, 26 Apr 2012 04:21:57 +0000
Message-ID: <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com>
In-Reply-To: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B168042967394366499F0BTK5EX14MBXC284r_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 26 Apr 2012 04:22:45 -0000

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

Thanks for the detailed comments, as always, Jim.  Replies inline...


-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Jim=
 Schaad
Sent: Wednesday, April 11, 2012 1:07 PM
To: Mike Jones
Cc: jose@ietf.org
Subject: [jose] Comments on draft-ietf-jose-json-web-key-01



<no hat>



I am starting to come out of the normal sickness period following an IETF m=
eeting.

I got sick after Paris too.  Hope you're feeling better now!


So I am looking at the smallest document first.

This is a good one to start with, as it has probably been reviewed less tha=
n the others.  (Maybe read JWA next, by the same logic.)


I am going to skip section 4.2.1 & 4.2.2 as they appear to be heading for a=
 different document.

Agreed


Abstract:



1.  Are JWK items restricted to just asymmetric algorithms?  Can/Should one=
 be able to transport symmetric keys via  web key structure?

Yes.  During our scoping discussions for the work, I believe there was cons=
ensus to restrict the JSON key representation spec to representing public k=
eys only.  This is reflected in our charter as:
3) A Standards Track document specifying how to encode public keys as JSON-=
structured objects.


2.  There was a request at one point to allow for encoding of private keys.

What if any response does the working group have to this request?

I believe this would require rechartering.


Introduction:



3.  The introduction text appears to be incorrect.  While the jku field ref=
ers to a JWK Web Key, the epk field holds a JWK Key Object.

You're right - I will tighten this description.


4.  I find the terminology to be very difficult to understand.  A JSON Web =
Key (JWK)  is a set of one or more keys while a JWK Key Object is a single =
key.  The fact that these are all dealing with the same string JWK is part =
of the confusion as is the fact that the JWK is singular in name, but plura=
l in content.

Yes, a JWK represents a set of keys and a JWK Key Object represents a singl=
e key.  I'll think about how to make the terminology more intuitive.


5.  I would like to see the "non-goals" of this document to be pulled out i=
nto a new paragraph and expanded into a number of different non-goals of th=
is document.  This includes certified keys - that is any form of binding of=
 keys to names that has been attested to.

Good idea.  The set of non-goals should probably include representing priva=
te keys, representing symmetric keys, representing certified keys, and repl=
acing X.509 certificates.


Terminology:



6.  I am not sure that the definition of the JWK Container Object is useful=
.

Is this really a separate object from the JSON Web Key object?

Given there's a 1:1 mapping, it's probably not.  I'll work on simplifying/c=
oalescing.


Overview:



7.  This section starts "It is sometimes useful.."  There are a lot of thin=
gs that are sometimes useful but we don't standardize a lot of them.  I thi=
nk that this text would be better started as:  "A large number of operation=
s, such as digital signature validation, require the public key in order to=
 be successful.  In many cases the public key is provided in an

X.509 certificate, however there are cases where it is more convenient to p=
rovide the public key in a different format.  Examples of this include ....=
.  This document defines ..."  Actually I think that this text might be eve=
n better placed in the introduction. And section 3.1 be promoted to become =
section 3. And the current section 3 be omitted.

Agreed.  I'd independently reached the same conclusion.


JWK Format:



8.  Does a JWK consist of a JWK Container object - or is it identical to a =
JWK Container object?

(See 6)


JWK Container Object Format:



9.  Why is the member name jwk - it would seem that this should be the name=
 of the member that holds the entire object not that of the array of key ob=
jects.  I would think that "keys" would be a better name for this member.

I agree.  WORKING GROUP:  How do you feel about this possible name change?


10.  The last sentence in this section again conflates a container object a=
nd a JWK.

(See 6)


11.  Should the text that is in the signature and encryption dealing with a=
dding fields (urls vs simple names) be included in this section as well?

Are you thinking of the text about the three classes of names:  reserved, p=
rivate, and public?  With the possibility of a registry?  What do people in=
 the working group think?  I think the chances of this object being extende=
d are small, especially since we only define one member.  But then, it's in=
credibly hard to predict how a standard will be used, if successful.  I'd b=
e more prone to think that extension made sense if the spec defined more th=
an one member.


12.  Should there be an IANA registry for the member names of a container o=
bject.

Per 11, I don't think so.  I think this case is better handled by the stand=
ard JSON "you can add fields if you understand them" logic.


JWK Key Object Format:



13.  Should there be an IANA registry for the contents of the alg string?

In the JWA spec, yes.


14.  Should there be an IANA registry for the members of a Key Object?

In the JWA spec, yes.


15.  What is the function of the value of use?  Is there supposed to be a r=
equirement on items that use a key that the "use" value be of specific

values?    Do these values need to be registered?

Part of the function of this field is to match keys with the correct usages=
.  For instance, I believe that it's a potential security problem to use th=
e same Elliptic Curve key for both signing and encryption.  One might have =
two keys, one with use "sig" and one with use "enc" to specify which key (o=
r keys) are to be used for which purposes.

Unless the experts in this group want to bring to our attention public key =
usages other than signing and encryption that may also need to be defined i=
n the future, I think what we have is sufficient.  If this is a more open-e=
nded set (looking at the X.509 key usage description may tell us), we may w=
ant to consider a more robust treatment.


16.  I don't understand the sentence "The "kid" value MAY correspond to a J=
WS "kid" value." - First this seems to make no sense to have a protocol req=
uirement statement on it.  Secondly if the value does not correspond to a J=
WS kid value, what in the world would it possibly correspond to, how could =
would it be used for choosing among keys if it did not have such a correspo=
ndence?

I can tighten this to say that when used with JWS and JWE, the JWS and JWE =
"kid" are intended to be used to match JWK "kid" values for key selection. =
 (When used in contexts other than with JWS and JWE, the "kid" values could=
 be matched against something else entirely.)


17.  Should the "kid" be present if there are multiple keys of the same usa=
ge and algorithm?

I think this would be up to the particular usage profiles.  We could maybe =
so far as to make this RECOMMENDED for some use cases but I wouldn't go for=
 REQUIRED.  For instance, in some cases, including key roll-over, it may be=
 perfectly fine to just try all the keys without having identifiers for any=
 of them.


18.  Should the text dealing with adding members be present (copied from JW=
S)?  Is it just the key and not the entire key set that is to be ignored?

Again, are you thinking the reserved/private/public treatment?  With a regi=
stry?  Or maybe just a registry?  I didn't find "ignore" in the draft, so I=
'm not sure what the second sentence in your remarks is referring to.


Open Issues:



19.  I think that a section on adding key families would be reasonable.

Yes, probably in JWA.


Security Considerations:



20.  The key is no more trustworthy that the method that is came to you.

Will add.


21.  This structure is not intended to replace X.509 certificates.

I'm thinking this belongs in the non-goals section.


Jim

                                                            Thanks again,
                                                            -- Mike



--_000_4E1F6AAD24975D4BA5B168042967394366499F0BTK5EX14MBXC284r_
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;}
/* 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";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","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"color:#1F497D">Thanks for the detaile=
d comments, as always, Jim.&nbsp; Replies inline&#8230;<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText">-----Original Message-----<br>
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Jim=
 Schaad<br>
Sent: Wednesday, April 11, 2012 1:07 PM<br>
To: Mike Jones<br>
Cc: jose@ietf.org<br>
Subject: [jose] Comments on draft-ietf-jose-json-web-key-01</p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">&lt;no hat&gt;<o:p></o=
:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">I am starting to come =
out of the normal sickness period following an IETF meeting.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I got sick after Paris=
 too.&nbsp; Hope you&#8217;re feeling better now!<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">So I am looking at the=
 smallest document first.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">This is a good one to =
start with, as it has probably been reviewed less than the others.&nbsp; (M=
aybe read JWA next, by the same logic.)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">I am going to skip sec=
tion 4.2.1 &amp; 4.2.2 as they appear to be heading for a different documen=
t.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Agreed<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Abstract:<o:p></o:p></=
p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">1. &nbsp;Are JWK items=
 restricted to just asymmetric algorithms?&nbsp; Can/Should one be able to =
transport symmetric keys via&nbsp; web key structure?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Yes.&nbsp; During our =
scoping discussions for the work, I believe there was consensus to restrict=
 the JSON key representation spec to representing public keys only.&nbsp; T=
his is reflected in our charter as:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">3) A Standards Track document specifying =
how to encode public keys as JSON-structured objects.</span><span style=3D"=
color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">2.&nbsp; There was a r=
equest at one point to allow for encoding of private keys.<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">What if any response d=
oes the working group have to this request?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I believe this would r=
equire rechartering.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Introduction:<o:p></o:=
p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">3.&nbsp; The introduct=
ion text appears to be incorrect.&nbsp; While the jku field refers to a JWK=
 Web Key, the epk field holds a JWK Key Object.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You&#8217;re right - I=
 will tighten this description.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">4.&nbsp; I find the te=
rminology to be very difficult to understand.&nbsp; A JSON Web Key (JWK)&nb=
sp; is a set of one or more keys while a JWK Key Object is a single key.&nb=
sp; The fact that these are all dealing with the same string
 JWK is part of the confusion as is the fact that the JWK is singular in na=
me, but plural in content.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Yes, a JWK represents =
a set of keys and a JWK Key Object represents a single key.&nbsp; I&#8217;l=
l think about how to make the terminology more intuitive.<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">5.&nbsp; I would like =
to see the &quot;non-goals&quot; of this document to be pulled out into a n=
ew paragraph and expanded into a number of different non-goals of this docu=
ment.&nbsp; This includes certified keys - that is any form
 of binding of keys to names that has been attested to.&nbsp; <o:p></o:p></=
p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Good idea.&nbsp; The s=
et of non-goals should probably include representing private keys, represen=
ting symmetric keys, representing certified keys, and replacing X.509 certi=
ficates.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Terminology:<o:p></o:p=
></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">6.&nbsp; I am not sure=
 that the definition of the JWK Container Object is useful.<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Is this really a separ=
ate object from the JSON Web Key object?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Given there&#8217;s a =
1:1 mapping, it&#8217;s probably not.&nbsp; I&#8217;ll work on simplifying/=
coalescing.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Overview:<o:p></o:p></=
p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">7.&nbsp; This section =
starts &quot;It is sometimes useful..&quot;&nbsp; There are a lot of things=
 that are sometimes useful but we don't standardize a lot of them.&nbsp; I =
think that this text would be better started as:&nbsp; &quot;A large number
 of operations, such as digital signature validation, require the public ke=
y in order to be successful.&nbsp; In many cases the public key is provided=
 in an<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">X.509 certificate, how=
ever there are cases where it is more convenient to provide the public key =
in a different format.&nbsp; Examples of this include .....&nbsp; This docu=
ment defines ...&quot;&nbsp; Actually I think that this
 text might be even better placed in the introduction. And section 3.1 be p=
romoted to become section 3. And the current section 3 be omitted.<o:p></o:=
p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Agreed.&nbsp; I&#8217;=
d independently reached the same conclusion.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">JWK Format:<o:p></o:p>=
</p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">8.&nbsp; Does a JWK co=
nsist of a JWK Container object - or is it identical to a JWK Container obj=
ect?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(See 6)<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">JWK Container Object F=
ormat:<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">9.&nbsp; Why is the me=
mber name jwk - it would seem that this should be the name of the member th=
at holds the entire object not that of the array of key objects.&nbsp; I wo=
uld think that &quot;keys&quot; would be a better name for
 this member.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I agree.&nbsp; WORKING=
 GROUP:&nbsp; How do you feel about this possible name change?<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">10.&nbsp; The last sen=
tence in this section again conflates a container object and a JWK.<o:p></o=
:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">(See 6)<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">11.&nbsp; Should the t=
ext that is in the signature and encryption dealing with adding fields (url=
s vs simple names) be included in this section as well?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Are you thinking of th=
e text about the three classes of names:&nbsp; reserved, private, and publi=
c?&nbsp; With the possibility of a registry?&nbsp; What do people in the wo=
rking group think?&nbsp; I think the chances of this object
 being extended are small, especially since we only define one member.&nbsp=
; But then, it&#8217;s incredibly hard to predict how a standard will be us=
ed, if successful.&nbsp; I&#8217;d be more prone to think that extension ma=
de sense if the spec defined more than one member.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">12.&nbsp; Should there=
 be an IANA registry for the member names of a container object.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Per 11, I don&#8217;t =
think so.&nbsp; I think this case is better handled by the standard JSON &#=
8220;you can add fields if you understand them&#8221; logic.<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">JWK Key Object Format:=
<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">13.&nbsp; Should there=
 be an IANA registry for the contents of the alg string?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">In the JWA spec, yes.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">14.&nbsp; Should there=
 be an IANA registry for the members of a Key Object?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">In the JWA spec, yes.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">15.&nbsp; What is the =
function of the value of use?&nbsp; Is there supposed to be a requirement o=
n items that use a key that the &quot;use&quot; value be of specific<o:p></=
o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">values?&nbsp;&nbsp;&nb=
sp; Do these values need to be registered?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Part of the function o=
f this field is to match keys with the correct usages.&nbsp; For instance, =
I believe that it&#8217;s a potential security problem to use the same Elli=
ptic Curve key for both signing and encryption.&nbsp;
 One might have two keys, one with use &#8220;sig&#8221; and one with use &=
#8220;enc&#8221; to specify which key (or keys) are to be used for which pu=
rposes.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Unless the experts in =
this group want to bring to our attention public key usages other than sign=
ing and encryption that may also need to be defined in the future, I think =
what we have is sufficient.&nbsp; If this
 is a more open-ended set (looking at the X.509 key usage description may t=
ell us), we may want to consider a more robust treatment.<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">16.&nbsp; I don't unde=
rstand the sentence &quot;The &quot;kid&quot; value MAY correspond to a JWS=
 &quot;kid&quot; value.&quot; - First this seems to make no sense to have a=
 protocol requirement statement on it.&nbsp; Secondly if the value does not
 correspond to a JWS kid value, what in the world would it possibly corresp=
ond to, how could would it be used for choosing among keys if it did not ha=
ve such a correspondence?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I can tighten this to =
say that when used with JWS and JWE, the JWS and JWE &#8220;kid&#8221; are =
intended to be used to match JWK &#8220;kid&#8221; values for key selection=
.&nbsp; (When used in contexts other than with JWS and JWE, the &#8220;kid&=
#8221;
 values could be matched against something else entirely.)<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">17.&nbsp; Should the &=
quot;kid&quot; be present if there are multiple keys of the same usage and =
algorithm?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I think this would be =
up to the particular usage profiles.&nbsp; We could maybe so far as to make=
 this RECOMMENDED for some use cases but I wouldn&#8217;t go for REQUIRED.&=
nbsp; For instance, in some cases, including key roll-over,
 it may be perfectly fine to just try all the keys without having identifie=
rs for any of them.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">18.&nbsp; Should the t=
ext dealing with adding members be present (copied from JWS)?&nbsp; Is it j=
ust the key and not the entire key set that is to be ignored?<o:p></o:p></p=
>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Again, are you thinkin=
g the reserved/private/public treatment? &nbsp;With a registry? &nbsp;Or ma=
ybe just a registry?&nbsp; I didn&#8217;t find &#8220;ignore&#8221; in the =
draft, so I&#8217;m not sure what the second sentence in your remarks is re=
ferring
 to.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Open Issues:<o:p></o:p=
></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">19.&nbsp; I think that=
 a section on adding key families would be reasonable.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Yes, probably in JWA.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Security Consideration=
s:<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">20.&nbsp; The key is n=
o more trustworthy that the method that is came to you.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Will add.<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">21.&nbsp; This structu=
re is not intended to replace X.509 certificates.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I&#8217;m thinking thi=
s belongs in the non-goals section.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Jim<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks again,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B168042967394366499F0BTK5EX14MBXC284r_--

From mike.scott@certivox.com  Thu Apr 26 01:14:25 2012
Return-Path: <mike.scott@certivox.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 13D9F21F8704 for <jose@ietfa.amsl.com>; Thu, 26 Apr 2012 01:14:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jC7ssWLT8k-6 for <jose@ietfa.amsl.com>; Thu, 26 Apr 2012 01:14:24 -0700 (PDT)
Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe003.messaging.microsoft.com [213.199.154.141]) by ietfa.amsl.com (Postfix) with ESMTP id C8C6A21F86AB for <jose@ietf.org>; Thu, 26 Apr 2012 01:14:23 -0700 (PDT)
Received: from mail40-db3-R.bigfish.com (10.3.81.244) by DB3EHSOBE004.bigfish.com (10.3.84.24) with Microsoft SMTP Server id 14.1.225.23; Thu, 26 Apr 2012 08:14:22 +0000
Received: from mail40-db3 (localhost [127.0.0.1])	by mail40-db3-R.bigfish.com (Postfix) with ESMTP id C419B3E027D; Thu, 26 Apr 2012 08:14:21 +0000 (UTC)
X-SpamScore: 0
X-BigFish: PS0(zzzz1202hzzz2fh2a8h668h839h946hd25h)
X-Forefront-Antispam-Report: CIP:157.56.248.133; KIP:(null); UIP:(null); IPV:NLI; H:AMXPRD0310HT003.eurprd03.prod.outlook.com; RD:none; EFVD:NLI
Received-SPF: pass (mail40-db3: domain of certivox.com designates 157.56.248.133 as permitted sender) client-ip=157.56.248.133; envelope-from=mike.scott@certivox.com; helo=AMXPRD0310HT003.eurprd03.prod.outlook.com ; .outlook.com ; 
Received: from mail40-db3 (localhost.localdomain [127.0.0.1]) by mail40-db3 (MessageSwitch) id 1335428060620847_19353; Thu, 26 Apr 2012 08:14:20 +0000 (UTC)
Received: from DB3EHSMHS011.bigfish.com (unknown [10.3.81.236])	by mail40-db3.bigfish.com (Postfix) with ESMTP id 9181522004F; Thu, 26 Apr 2012 08:14:20 +0000 (UTC)
Received: from AMXPRD0310HT003.eurprd03.prod.outlook.com (157.56.248.133) by DB3EHSMHS011.bigfish.com (10.3.87.111) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 26 Apr 2012 08:14:20 +0000
Received: from AMXPRD0310MB353.eurprd03.prod.outlook.com ([169.254.3.38]) by AMXPRD0310HT003.eurprd03.prod.outlook.com ([10.255.55.38]) with mapi id 14.16.0143.004; Thu, 26 Apr 2012 08:14:20 +0000
From: Mike Scott <mike.scott@certivox.com>
To: Mike Jones <Michael.Jones@microsoft.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Comments on draft-ietf-jose-json-web-key-01
Thread-Index: Ac0YFumdEsd+H7NuSBmmwJ3ugtJ7YwLQf9TwAAqtf/4=
Date: Thu, 26 Apr 2012 08:14:20 +0000
Message-ID: <0C8F9A45306BD9499EAD612A10CFF8940E9E0D23@AMXPRD0310MB353.eurprd03.prod.outlook.com>
References: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com>, <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
Accept-Language: en-IE, en-US
Content-Language: en-IE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [46.7.209.233]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: certivox.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 26 Apr 2012 08:14:25 -0000

Hello List,


Mike Jones said

"Part of the function of this field is to match keys with the correct usage=
s.  For instance, I believe that it=92s a potential security problem to use=
 the same Elliptic Curve key for both signing and encryption..."

Anyone got a reference for that? I did note some chatter on the Internet po=
inting out that different algorithms are needed for encryption and signatur=
e (ECIES and ECDSA), but not different keys. Assuming of course the same cu=
rve is being used for both. I did a quick check in Hankerson et al. "Guide =
to Elliptic Curve Cryptography", and there is no mention of it there..

If true, it needs to be propagated...

If false, it needs to be quashed..


Mike Scott
Certivox=20



From ve7jtb@ve7jtb.com  Thu Apr 26 07:27:24 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F38221F8731 for <jose@ietfa.amsl.com>; Thu, 26 Apr 2012 07:27:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.514
X-Spam-Level: 
X-Spam-Status: No, score=-3.514 tagged_above=-999 required=5 tests=[AWL=0.084,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C2a7jzfNP3Hl for <jose@ietfa.amsl.com>; Thu, 26 Apr 2012 07:27:23 -0700 (PDT)
Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by ietfa.amsl.com (Postfix) with ESMTP id EF59A21F8714 for <jose@ietf.org>; Thu, 26 Apr 2012 07:27:22 -0700 (PDT)
Received: by qcsq13 with SMTP id q13so839305qcs.31 for <jose@ietf.org>; Thu, 26 Apr 2012 07:27:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=K/Dg8Rgt3sgOlLdxUx2iyh8dTTeINlushAtGuH0jVpc=; b=btyKPBbpFlb8luI3V0mk5xUB5FMTDU9LIAkrXsRnX5/x41euPvUPYBdbBzMXHOt3f9 ZPVSxa7a5UlXCOnxL0OgmPbMhUKgB6DoBcljha5O9g/VVJ0EJiblW6qSF4/vGoiKf22T sK3VlkhfntEr9fbOTgO3LQA2lRT3PsLSKgfWPkP7fNg0p1ioaondGiVgx1b+GIaqyUEp 6L5hlc4nJ5H6XwAVZXwzjHw4QapQ0dpKHUUJIPXTwb2mB/3HkGcyoc6Gr38jIhBTN0MY qw4wwQ5KJuace1VFFXAGg5R4q6dHr879UNuaosanPFb7J6ctbuNvIJejo3I8WyjxgZW3 LXNw==
Received: by 10.224.185.8 with SMTP id cm8mr5505291qab.72.1335450442448; Thu, 26 Apr 2012 07:27:22 -0700 (PDT)
Received: from [192.168.1.213] (190-20-34-220.baf.movistar.cl. [190.20.34.220]) by mx.google.com with ESMTPS id z3sm5349278qao.9.2012.04.26.07.27.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 07:27:20 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_159CC889-D3E7-4C88-A50C-B530B9C1D3CE"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <0C8F9A45306BD9499EAD612A10CFF8940E9E0D23@AMXPRD0310MB353.eurprd03.prod.outlook.com>
Date: Thu, 26 Apr 2012 11:27:11 -0300
Message-Id: <2C3A1C83-E891-4CAC-B8EC-0A3A4008770C@ve7jtb.com>
References: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com>, <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com> <0C8F9A45306BD9499EAD612A10CFF8940E9E0D23@AMXPRD0310MB353.eurprd03.prod.outlook.com>
To: Mike Scott <mike.scott@certivox.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQn354BOlrlXEbfAI73lLq86twMp1VfKwd+nt5S8k2v/X3xYmPy6E35Adzg7O2Jev31dKb43
Cc: Mike Jones <Michael.Jones@microsoft.com>, Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 26 Apr 2012 14:27:24 -0000

--Apple-Mail=_159CC889-D3E7-4C88-A50C-B530B9C1D3CE
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_22F7F701-A550-4A09-A969-AD5021359F11"


--Apple-Mail=_22F7F701-A550-4A09-A969-AD5021359F11
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

http://www.math.uwaterloo.ca/~ajmeneze/publications/static.pdf

I need to dig up other references.  Using the same keys in different =
protocols is generally a bad idea.
Principle 2 of Anderson and Needham=92s robustness principles for public =
key protocols [3] advises:

If possible avoid using the same key for two different purposes (such as =
signing and decryption)...

Section 13.5.1 of the Handbook of Applied Cryptography [17] states:

The principle of key separation is that keys for different purposes =
should be crypto- graphically separated.=20

For RSA you are always encrypting even for a signature, so key reuse is =
less of an issue.

=46rom http://www.rfc-editor.org/rfc/rfc5008.txt

As specified in RFC 3279 [PKIX1ALG], ECDSA and Elliptic Curve
   Diffie-Hellman (ECDH) use the same algorithm identifier for subject
   public keys in certificates, and it is repeated here:

      id-ecPublicKey  OBJECT IDENTIFIER  ::=3D  { iso(1) member-body(2)
          us(840) ansi-x9-62(10045) keyType(2) 1 }

   This object identifier is used in public key certificates for both
   ECDSA signature keys and ECDH encryption keys.  The intended
   application for the key may be indicated in the key usage field (see
   RFC 3280 [PKIX1]).  The use of separate keys for signature and
   encryption purposes is RECOMMENDED; however, the use of a single key
   for both signature and encryption purposes is not forbidden.

While I don't know of a specific related key attack between ECDH-ES and =
ECDSA it is RECOMENDED not to use the same static key for both.

Will the world immediately end, probably not.

John B.


On 2012-04-26, at 5:14 AM, Mike Scott wrote:

>=20
> Hello List,
>=20
>=20
> Mike Jones said
>=20
> "Part of the function of this field is to match keys with the correct =
usages.  For instance, I believe that it=92s a potential security =
problem to use the same Elliptic Curve key for both signing and =
encryption..."
>=20
> Anyone got a reference for that? I did note some chatter on the =
Internet pointing out that different algorithms are needed for =
encryption and signature (ECIES and ECDSA), but not different keys. =
Assuming of course the same curve is being used for both. I did a quick =
check in Hankerson et al. "Guide to Elliptic Curve Cryptography", and =
there is no mention of it there..
>=20
> If true, it needs to be propagated...
>=20
> If false, it needs to be quashed..
>=20
>=20
> Mike Scott
> Certivox=20
>=20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_22F7F701-A550-4A09-A969-AD5021359F11
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div><a =
href=3D"http://www.math.uwaterloo.ca/~ajmeneze/publications/static.pdf">ht=
tp://www.math.uwaterloo.ca/~ajmeneze/publications/static.pdf</a></div><div=
><br></div><div>I need to dig up other references. &nbsp;Using the same =
keys in different protocols is generally a bad idea.</div><div>
	=09
=09
=09
		<div class=3D"column"><p><span style=3D"font-size: =
11.000000pt; font-family: 'CMR10'">Principle 2 of Anderson and Needham=92s=
 robustness principles for
public key protocols [3] advises:
</span></p><p><span style=3D"font-size: 11.000000pt; font-family: =
'CMR10'">If possible avoid using the same key for two different purposes =
(such as signing and
decryption)...
</span></p><p><span style=3D"font-size: 11.000000pt; font-family: =
'CMR10'">Section 13.5.1 of the Handbook of Applied Cryptography [17] =
states:
</span></p><p><span style=3D"font-size: 11.000000pt; font-family: =
'CMR10'">The principle of </span><span style=3D"font-size: 11.000000pt; =
font-family: 'CMTI10'">key separation </span><span style=3D"font-size: =
11.000000pt; font-family: 'CMR10'">is that keys for different purposes =
should be crypto-
graphically separated.&nbsp;</span></p><div>For RSA you are always =
encrypting even for a signature, so key reuse is less of an =
issue.</div><div><br></div><div>From&nbsp;<a =
href=3D"http://www.rfc-editor.org/rfc/rfc5008.txt">http://www.rfc-editor.o=
rg/rfc/rfc5008.txt</a></div><div><br></div><div><span =
class=3D"Apple-style-span" style=3D"font-family: Times; "><pre =
style=3D"word-wrap: break-word; white-space: pre-wrap; ">As specified in =
RFC 3279 [PKIX1ALG], ECDSA and Elliptic Curve
   Diffie-Hellman (ECDH) use the same algorithm identifier for subject
   public keys in certificates, and it is repeated here:

      id-ecPublicKey  OBJECT IDENTIFIER  ::=3D  { iso(1) member-body(2)
          us(840) ansi-x9-62(10045) keyType(2) 1 }

   This object identifier is used in public key certificates for both
   ECDSA signature keys and ECDH encryption keys.  The intended
   application for the key may be indicated in the key usage field (see
   RFC 3280 [PKIX1]).  The use of separate keys for signature and
   encryption purposes is RECOMMENDED; however, the use of a single key
   for both signature and encryption purposes is not =
forbidden.</pre></span><div><br></div></div><div>While I don't know of a =
specific related key attack between ECDH-ES and ECDSA it is RECOMENDED =
not to use the same static key for both.</div><div><br></div><div>Will =
the world immediately end, probably not.</div><div><br></div><div>John =
B.</div><div><br></div><div><br></div>
		</div></div><div><div><div>On 2012-04-26, at 5:14 AM, =
Mike Scott wrote:</div><br class=3D"Apple-interchange-newline"><blockquote=
 type=3D"cite"><div><br>Hello List,<br><br><br>Mike Jones =
said<br><br>"Part of the function of this field is to match keys with =
the correct usages. &nbsp;For instance, I believe that it=92s a =
potential security problem to use the same Elliptic Curve key for both =
signing and encryption..."<br><br>Anyone got a reference for that? I did =
note some chatter on the Internet pointing out that different algorithms =
are needed for encryption and signature (ECIES and ECDSA), but not =
different keys. Assuming of course the same curve is being used for =
both. I did a quick check in Hankerson et al. "Guide to Elliptic Curve =
Cryptography", and there is no mention of it there..<br><br>If true, it =
needs to be propagated...<br><br>If false, it needs to be =
quashed..<br><br><br>Mike Scott<br>Certivox =
<br><br><br>_______________________________________________<br>jose =
mailing list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>https://www.ietf.org/ma=
ilman/listinfo/jose<br></div></blockquote></div><br></div></body></html>=

--Apple-Mail=_22F7F701-A550-4A09-A969-AD5021359F11--

--Apple-Mail=_159CC889-D3E7-4C88-A50C-B530B9C1D3CE
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4WhcNMTQwMzE5MTEwNzMyWjCBmzEZMBcGA1UEDRMQR3JUTTZMUzdYMzU3
NzhzOTELMAkGA1UEBhMCQ0wxIjAgBgNVBAgTGU1ldHJvcG9saXRhbmEgZGUgU2FudGlhZ28xFjAU
BgNVBAcTDUlzb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QkEMRYEFGpUrHvPZMttbZcZtdKZoLnfWquOMIGkBgkrBgEEAYI3
EAQxgZYwgZMwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQL
EyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBD
bGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQICHlwwgaYGCyqGSIb3DQEJEAIL
MYGWoIGTMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAh5cMA0GCSqGSIb3DQEBAQUABIIB
AIBFv5OCTbLJ5UvvC1r5g1DbR+aBhnBCO6LOdCQ3Lb3DeFcCrnzu3maekJGUwdqwoFjXJuOCjM12
owYwZ+iqX6T/KEieWgU1n2qAfggELfTIDvs2q3uvIVlxjUCqqxl5JEiJrGCZy63H8y2HQ5jp28rE
85qBEVSMBbVAJylHJbhjYvVY1htfLLYbMSrNZjmzGokaST12KK/XB8fseeJezuudBjVy+uuU1b+T
okX8Ie5rgCdBwhJ0iwaszchXvISeghvBnLZerFYRtJIeBUrUq+zXxe6WER6CMR2SDH1kNgrvxb3u
MBLt39AljFzLAgzsEQ1Rzajz2rVotAiSNv9fENMAAAAAAAA=

--Apple-Mail=_159CC889-D3E7-4C88-A50C-B530B9C1D3CE--

From matthewdgreen@gmail.com  Thu Apr 26 12:09:41 2012
Return-Path: <matthewdgreen@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A28F621E8160 for <jose@ietfa.amsl.com>; Thu, 26 Apr 2012 12:09:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pxp7F+n9-tJ6 for <jose@ietfa.amsl.com>; Thu, 26 Apr 2012 12:09:40 -0700 (PDT)
Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by ietfa.amsl.com (Postfix) with ESMTP id 5B22D21E817D for <jose@ietf.org>; Thu, 26 Apr 2012 12:09:40 -0700 (PDT)
Received: by qcsq13 with SMTP id q13so1053877qcs.31 for <jose@ietf.org>; Thu, 26 Apr 2012 12:09:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=L6ppqSqP4o898Qfs4eSSs0Wtw2jmNUXjYLH7pgl4YLI=; b=GZYHD32+Sk5TUu8p2mJWRxcPavjSLOU2zRR6LQ7XiYVzHu4X6SnvSP9HBxu16yDgme 53oKbAQFQHKnDtJ+V+VFMSb3Yb6Hr6I3lHB5G/J9BgtpJfuvmtR5jQ0Sx89sjL7tukxU 3+zt9edGu7tkTGrxmYBjLKGEDZyFmSNFaB7e8mXi8QjpOnVmmLhsyAzeb0ugG5O/PCqp So+FZTeixovbxXLqbIsPFlfC7UyQD1EYg4A/vxBVepOcCNroIt7NrE50G+ux7Ht1tsaz SCcFyLoQzKvXABbW6ZrTUEzphYBlnk/O7L6Z+IW0P8Ks8JHlZdD7onfqQkGdwbC11rNw RU+A==
Received: by 10.229.69.17 with SMTP id x17mr1795894qci.137.1335467379892; Thu, 26 Apr 2012 12:09:39 -0700 (PDT)
Received: from [192.168.15.2] (c-76-21-153-251.hsd1.md.comcast.net. [76.21.153.251]) by mx.google.com with ESMTPS id cp17sm6524285qab.5.2012.04.26.12.09.38 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Apr 2012 12:09:39 -0700 (PDT)
From: Matthew Green <matthewdgreen@gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 26 Apr 2012 15:09:37 -0400
Message-Id: <7394014B-9374-4504-BB3F-199B803DA47D@gmail.com>
To: jose@ietf.org
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 26 Apr 2012 19:09:41 -0000

Is there any good reason to share a single key across signing and =
encryption? There seem to be many instances where one key gets attacked =
(e.g., due to implementation errors), and sharing the key means that =
both algorithms are now compromised. See e.g., Degabriele's timing =
attack on EMV from CT-RSA 2012. They used the same key for signature and =
encryption.

J.P. Degabriele, A. Lehmann, K.G. Paterson, N.P. Smart and M. Strefler, =
On the Joint Security of Encryption and Signature in EMV. In O. =
Dunkelmann (ed.), CT-RSA 2012, Lecture Notes in Computer Science Vol. =
7178, pp. 116-135, Springer, 2012. Full version.

But I think Mike (Scott) is asking whether there's a formal reason to =
use different fields/keys. I would ask Mike: is there a security proof =
stating that it's /ok/ to share keys between the schemes used here? I'll =
bet we could contrive some schemes where it's /not/ ok :)

Matt

> As specified in RFC 3279 [PKIX1ALG], ECDSA and Elliptic Curve
>    Diffie-Hellman (ECDH) use the same algorithm identifier for subject
>    public keys in certificates, and it is repeated here:
>=20
>       id-ecPublicKey  OBJECT IDENTIFIER  ::=3D  { iso(1) =
member-body(2)
>           us(840) ansi-x9-62(10045) keyType(2) 1 }
>=20
>    This object identifier is used in public key certificates for both
>    ECDSA signature keys and ECDH encryption keys.  The intended
>    application for the key may be indicated in the key usage field =
(see
>    RFC 3280 [PKIX1]).  The use of separate keys for signature and
>    encryption purposes is RECOMMENDED; however, the use of a single =
key
>    for both signature and encryption purposes is not forbidden.
>=20
>=20
> While I don't know of a specific related key attack between ECDH-ES =
and ECDSA it is RECOMENDED not to use the same static key for both.
>=20
> Will the world immediately end, probably not.

From ve7jtb@ve7jtb.com  Sat Apr 28 13:23:31 2012
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2498A21F8666 for <jose@ietfa.amsl.com>; Sat, 28 Apr 2012 13:23:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.517
X-Spam-Level: 
X-Spam-Status: No, score=-3.517 tagged_above=-999 required=5 tests=[AWL=0.081,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X2Kjnhktp+53 for <jose@ietfa.amsl.com>; Sat, 28 Apr 2012 13:23:29 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by ietfa.amsl.com (Postfix) with ESMTP id 3104721F8664 for <jose@ietf.org>; Sat, 28 Apr 2012 13:23:29 -0700 (PDT)
Received: by ghbg16 with SMTP id g16so1083990ghb.31 for <jose@ietf.org>; Sat, 28 Apr 2012 13:23:28 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=Z4yDCapGukJIdCD/VjbzMEGsEuVUVapI+Jp354LRVZw=; b=dXWYD3qwHEktkbEJ1CUzXAQociUYIY+9t17iy6q+qF5laq5wQG3DNnV6XREWD8wD+u 0Pe4Uj5MiY4RxUS5ZGYH4ABpkX5tIYqegqTF4wtLrUJuxA+2o6TGi8fR59Gba5RrFjeu D4GBa07BRrv23s2yqxu6klkzY/lIGbhXM4bTrYwYA29PNEm2zeXlBDJFIZQy1RNL5cvZ eA4GUTPbxyxoRdmK+U16wZWhmAYQhRFE55HkfD/UDck2JouqWxuxgxqWNrLiWwklrd+9 9WK5M/MspsEiduq9AesxKVorsvWIP4fAuBsgVGKPe+f9AynyBgzQMMwgsGCrGeF3LT5X 1PjA==
Received: by 10.236.109.198 with SMTP id s46mr16768270yhg.43.1335644608609; Sat, 28 Apr 2012 13:23:28 -0700 (PDT)
Received: from [192.168.1.213] (190-20-34-122.baf.movistar.cl. [190.20.34.122]) by mx.google.com with ESMTPS id e1sm48479403yhi.9.2012.04.28.13.23.24 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Apr 2012 13:23:26 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/signed; boundary="Apple-Mail=_5329B6CF-CDF9-4FCA-A67D-697F1F610B68"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
Date: Sat, 28 Apr 2012 17:22:52 -0300
Message-Id: <23467A10-BFB1-4C2A-9310-57F03E77593C@ve7jtb.com>
References: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com> <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQmNqx4ePew73sp4IOw9zpxO3nD5XQQVQ2JcEkApOqYs4f11Td5PCeWkbMISWKeWNbJ9WXgi
Cc: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 28 Apr 2012 20:23:31 -0000

--Apple-Mail=_5329B6CF-CDF9-4FCA-A67D-697F1F610B68
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_AA612FE7-70DC-4FEC-8141-F5AB1E1E31F5"


--Apple-Mail=_AA612FE7-70DC-4FEC-8141-F5AB1E1E31F5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Point 9:

I agree "keys" probably makes more sense than "JWK". =20

John B. =20
On 2012-04-26, at 1:21 AM, Mike Jones wrote:

> Thanks for the detailed comments, as always, Jim.  Replies inline=85
> =20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of Jim Schaad
> Sent: Wednesday, April 11, 2012 1:07 PM
> To: Mike Jones
> Cc: jose@ietf.org
> Subject: [jose] Comments on draft-ietf-jose-json-web-key-01
> =20
> <no hat>
> =20
> I am starting to come out of the normal sickness period following an =
IETF meeting.
> =20
> I got sick after Paris too.  Hope you=92re feeling better now!
> =20
> So I am looking at the smallest document first.
> =20
> This is a good one to start with, as it has probably been reviewed =
less than the others.  (Maybe read JWA next, by the same logic.)
> =20
> I am going to skip section 4.2.1 & 4.2.2 as they appear to be heading =
for a different document.
> =20
> Agreed
> =20
> Abstract:
> =20
> 1.  Are JWK items restricted to just asymmetric algorithms?  =
Can/Should one be able to transport symmetric keys via  web key =
structure?
> =20
> Yes.  During our scoping discussions for the work, I believe there was =
consensus to restrict the JSON key representation spec to representing =
public keys only.  This is reflected in our charter as:
> 3) A Standards Track document specifying how to encode public keys as =
JSON-structured objects.
> =20
> 2.  There was a request at one point to allow for encoding of private =
keys.
> What if any response does the working group have to this request?
> =20
> I believe this would require rechartering.
> =20
> Introduction:
> =20
> 3.  The introduction text appears to be incorrect.  While the jku =
field refers to a JWK Web Key, the epk field holds a JWK Key Object.
> =20
> You=92re right - I will tighten this description.
> =20
> 4.  I find the terminology to be very difficult to understand.  A JSON =
Web Key (JWK)  is a set of one or more keys while a JWK Key Object is a =
single key.  The fact that these are all dealing with the same string =
JWK is part of the confusion as is the fact that the JWK is singular in =
name, but plural in content.
> =20
> Yes, a JWK represents a set of keys and a JWK Key Object represents a =
single key.  I=92ll think about how to make the terminology more =
intuitive.
> =20
> 5.  I would like to see the "non-goals" of this document to be pulled =
out into a new paragraph and expanded into a number of different =
non-goals of this document.  This includes certified keys - that is any =
form of binding of keys to names that has been attested to.=20
> =20
> Good idea.  The set of non-goals should probably include representing =
private keys, representing symmetric keys, representing certified keys, =
and replacing X.509 certificates.
> =20
> Terminology:
> =20
> 6.  I am not sure that the definition of the JWK Container Object is =
useful.
> Is this really a separate object from the JSON Web Key object?
> =20
> Given there=92s a 1:1 mapping, it=92s probably not.  I=92ll work on =
simplifying/coalescing.
> =20
> Overview:
> =20
> 7.  This section starts "It is sometimes useful.."  There are a lot of =
things that are sometimes useful but we don't standardize a lot of them. =
 I think that this text would be better started as:  "A large number of =
operations, such as digital signature validation, require the public key =
in order to be successful.  In many cases the public key is provided in =
an
> X.509 certificate, however there are cases where it is more convenient =
to provide the public key in a different format.  Examples of this =
include .....  This document defines ..."  Actually I think that this =
text might be even better placed in the introduction. And section 3.1 be =
promoted to become section 3. And the current section 3 be omitted.
> =20
> Agreed.  I=92d independently reached the same conclusion.
> =20
> JWK Format:
> =20
> 8.  Does a JWK consist of a JWK Container object - or is it identical =
to a JWK Container object?
> =20
> (See 6)
> =20
> JWK Container Object Format:
> =20
> 9.  Why is the member name jwk - it would seem that this should be the =
name of the member that holds the entire object not that of the array of =
key objects.  I would think that "keys" would be a better name for this =
member.
> =20
> I agree.  WORKING GROUP:  How do you feel about this possible name =
change?
> =20
> 10.  The last sentence in this section again conflates a container =
object and a JWK.
> =20
> (See 6)
> =20
> 11.  Should the text that is in the signature and encryption dealing =
with adding fields (urls vs simple names) be included in this section as =
well?
> =20
> Are you thinking of the text about the three classes of names:  =
reserved, private, and public?  With the possibility of a registry?  =
What do people in the working group think?  I think the chances of this =
object being extended are small, especially since we only define one =
member.  But then, it=92s incredibly hard to predict how a standard will =
be used, if successful.  I=92d be more prone to think that extension =
made sense if the spec defined more than one member.
> =20
> 12.  Should there be an IANA registry for the member names of a =
container object.
> =20
> Per 11, I don=92t think so.  I think this case is better handled by =
the standard JSON =93you can add fields if you understand them=94 logic.
> =20
> JWK Key Object Format:
> =20
> 13.  Should there be an IANA registry for the contents of the alg =
string?
> =20
> In the JWA spec, yes.
> =20
> 14.  Should there be an IANA registry for the members of a Key Object?
> =20
> In the JWA spec, yes.
> =20
> 15.  What is the function of the value of use?  Is there supposed to =
be a requirement on items that use a key that the "use" value be of =
specific
> values?    Do these values need to be registered?
> =20
> Part of the function of this field is to match keys with the correct =
usages.  For instance, I believe that it=92s a potential security =
problem to use the same Elliptic Curve key for both signing and =
encryption.  One might have two keys, one with use =93sig=94 and one =
with use =93enc=94 to specify which key (or keys) are to be used for =
which purposes.
> =20
> Unless the experts in this group want to bring to our attention public =
key usages other than signing and encryption that may also need to be =
defined in the future, I think what we have is sufficient.  If this is a =
more open-ended set (looking at the X.509 key usage description may tell =
us), we may want to consider a more robust treatment.
> =20
> 16.  I don't understand the sentence "The "kid" value MAY correspond =
to a JWS "kid" value." - First this seems to make no sense to have a =
protocol requirement statement on it.  Secondly if the value does not =
correspond to a JWS kid value, what in the world would it possibly =
correspond to, how could would it be used for choosing among keys if it =
did not have such a correspondence?
> =20
> I can tighten this to say that when used with JWS and JWE, the JWS and =
JWE =93kid=94 are intended to be used to match JWK =93kid=94 values for =
key selection.  (When used in contexts other than with JWS and JWE, the =
=93kid=94 values could be matched against something else entirely.)
> =20
> 17.  Should the "kid" be present if there are multiple keys of the =
same usage and algorithm?
> =20
> I think this would be up to the particular usage profiles.  We could =
maybe so far as to make this RECOMMENDED for some use cases but I =
wouldn=92t go for REQUIRED.  For instance, in some cases, including key =
roll-over, it may be perfectly fine to just try all the keys without =
having identifiers for any of them.
> =20
> 18.  Should the text dealing with adding members be present (copied =
from JWS)?  Is it just the key and not the entire key set that is to be =
ignored?
> =20
> Again, are you thinking the reserved/private/public treatment?  With a =
registry?  Or maybe just a registry?  I didn=92t find =93ignore=94 in =
the draft, so I=92m not sure what the second sentence in your remarks is =
referring to.
> =20
> Open Issues:
> =20
> 19.  I think that a section on adding key families would be =
reasonable.
> =20
> Yes, probably in JWA.
> =20
> Security Considerations:
> =20
> 20.  The key is no more trustworthy that the method that is came to =
you.
> =20
> Will add.
> =20
> 21.  This structure is not intended to replace X.509 certificates.
> =20
> I=92m thinking this belongs in the non-goals section.
> =20
> Jim
> =20
>                                                             Thanks =
again,
>                                                             -- Mike
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_AA612FE7-70DC-4FEC-8141-F5AB1E1E31F5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><base href=3D"x-msg://8093/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; ">On Point 9:<div><br></div><div>I agree "keys" =
probably makes more sense than "JWK". =
&nbsp;</div><div><br></div><div>John B. &nbsp;<br><div><div>On =
2012-04-26, at 1:21 AM, Mike Jones wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Thanks for the detailed comments, as always, Jim.&nbsp; =
Replies inline=85<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; ">-----Original =
Message-----<br>From:<span class=3D"Apple-converted-space">&nbsp;</span><a=
 href=3D"mailto:jose-bounces@ietf.org" style=3D"color: blue; =
text-decoration: underline; ">jose-bounces@ietf.org</a><span =
class=3D"Apple-converted-space">&nbsp;</span>[mailto:jose-bounces@ietf.org=
] On Behalf Of Jim Schaad<br>Sent: Wednesday, April 11, 2012 1:07 =
PM<br>To: Mike Jones<br>Cc:<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: blue; text-decoration: =
underline; ">jose@ietf.org</a><br>Subject: [jose] Comments on =
draft-ietf-jose-json-web-key-01</div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">&lt;no hat&gt;<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">I am starting to come out of the =
normal sickness period following an IETF meeting.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">I got sick after Paris too.&nbsp; Hope you=92re feeling =
better now!<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">So I am looking at =
the smallest document first.<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); ">This is a good =
one to start with, as it has probably been reviewed less than the =
others.&nbsp; (Maybe read JWA next, by the same =
logic.)<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">I am going to skip =
section 4.2.1 &amp; 4.2.2 as they appear to be heading for a different =
document.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Agreed<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">Abstract:<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">1. &nbsp;Are JWK items restricted to just asymmetric =
algorithms?&nbsp; Can/Should one be able to transport symmetric keys =
via&nbsp; web key structure?<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); ">Yes.&nbsp; =
During our scoping discussions for the work, I believe there was =
consensus to restrict the JSON key representation spec to representing =
public keys only.&nbsp; This is reflected in our charter =
as:<o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"font-size: 10pt; =
font-family: Arial, sans-serif; ">3) A Standards Track document =
specifying how to encode public keys as JSON-structured =
objects.</span><span style=3D"color: rgb(31, 73, 125); =
"><o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">2.&nbsp; There was =
a request at one point to allow for encoding of private =
keys.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">What if any response does the =
working group have to this request?<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">I believe this would require =
rechartering.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">Introduction:<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">3.&nbsp; The introduction text =
appears to be incorrect.&nbsp; While the jku field refers to a JWK Web =
Key, the epk field holds a JWK Key Object.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">You=92re right - I will tighten this =
description.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">4.&nbsp; I find the =
terminology to be very difficult to understand.&nbsp; A JSON Web Key =
(JWK)&nbsp; is a set of one or more keys while a JWK Key Object is a =
single key.&nbsp; The fact that these are all dealing with the same =
string JWK is part of the confusion as is the fact that the JWK is =
singular in name, but plural in content.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Yes, a JWK represents a set of keys and a JWK Key Object =
represents a single key.&nbsp; I=92ll think about how to make the =
terminology more intuitive.<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">5.&nbsp; I would =
like to see the "non-goals" of this document to be pulled out into a new =
paragraph and expanded into a number of different non-goals of this =
document.&nbsp; This includes certified keys - that is any form of =
binding of keys to names that has been attested =
to.&nbsp;<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Good idea.&nbsp; The set of non-goals should probably =
include representing private keys, representing symmetric keys, =
representing certified keys, and replacing X.509 =
certificates.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">Terminology:<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">6.&nbsp; I am not sure that the =
definition of the JWK Container Object is useful.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">Is this really a separate object from the JSON Web Key =
object?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Given there=92s a 1:1 mapping, it=92s probably not.&nbsp; =
I=92ll work on simplifying/coalescing.<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">Overview:<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">7.&nbsp; This section starts "It is sometimes =
useful.."&nbsp; There are a lot of things that are sometimes useful but =
we don't standardize a lot of them.&nbsp; I think that this text would =
be better started as:&nbsp; "A large number of operations, such as =
digital signature validation, require the public key in order to be =
successful.&nbsp; In many cases the public key is provided in =
an<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">X.509 certificate, however there are =
cases where it is more convenient to provide the public key in a =
different format.&nbsp; Examples of this include .....&nbsp; This =
document defines ..."&nbsp; Actually I think that this text might be =
even better placed in the introduction. And section 3.1 be promoted to =
become section 3. And the current section 3 be =
omitted.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Agreed.&nbsp; I=92d independently reached the same =
conclusion.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">JWK =
Format:<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">8.&nbsp; Does a JWK consist of a JWK Container object - or =
is it identical to a JWK Container object?<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">(See 6)<o:p></o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">JWK Container Object Format:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">9.&nbsp; Why is the =
member name jwk - it would seem that this should be the name of the =
member that holds the entire object not that of the array of key =
objects.&nbsp; I would think that "keys" would be a better name for this =
member.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">I agree.&nbsp; WORKING GROUP:&nbsp; How do you feel about =
this possible name change?<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">10.&nbsp; The last =
sentence in this section again conflates a container object and a =
JWK.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">(See 6)<o:p></o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">11.&nbsp; Should the text that is in the signature and =
encryption dealing with adding fields (urls vs simple names) be included =
in this section as well?<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Are you thinking of the text about the three classes of =
names:&nbsp; reserved, private, and public?&nbsp; With the possibility =
of a registry?&nbsp; What do people in the working group think?&nbsp; I =
think the chances of this object being extended are small, especially =
since we only define one member.&nbsp; But then, it=92s incredibly hard =
to predict how a standard will be used, if successful.&nbsp; I=92d be =
more prone to think that extension made sense if the spec defined more =
than one member.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">12.&nbsp; Should =
there be an IANA registry for the member names of a container =
object.<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Per 11, I don=92t think so.&nbsp; I think this case is =
better handled by the standard JSON =93you can add fields if you =
understand them=94 logic.<o:p></o:p></span></div><div style=3D"margin-top:=
 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">JWK Key Object Format:<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">13.&nbsp; Should =
there be an IANA registry for the contents of the alg =
string?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">In the JWA spec, yes.<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">14.&nbsp; Should =
there be an IANA registry for the members of a Key =
Object?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">In the JWA spec, yes.<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">15.&nbsp; What is =
the function of the value of use?&nbsp; Is there supposed to be a =
requirement on items that use a key that the "use" value be of =
specific<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">values?&nbsp;&nbsp;&nbsp; Do these =
values need to be registered?<o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); ">Part of the =
function of this field is to match keys with the correct usages.&nbsp; =
For instance, I believe that it=92s a potential security problem to use =
the same Elliptic Curve key for both signing and encryption.&nbsp; One =
might have two keys, one with use =93sig=94 and one with use =93enc=94 =
to specify which key (or keys) are to be used for which =
purposes.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Unless the experts in this group want to bring to our =
attention public key usages other than signing and encryption that may =
also need to be defined in the future, I think what we have is =
sufficient.&nbsp; If this is a more open-ended set (looking at the X.509 =
key usage description may tell us), we may want to consider a more =
robust treatment.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">16.&nbsp; I don't =
understand the sentence "The "kid" value MAY correspond to a JWS "kid" =
value." - First this seems to make no sense to have a protocol =
requirement statement on it.&nbsp; Secondly if the value does not =
correspond to a JWS kid value, what in the world would it possibly =
correspond to, how could would it be used for choosing among keys if it =
did not have such a correspondence?<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">I can tighten this to say that when used with JWS and JWE, =
the JWS and JWE =93kid=94 are intended to be used to match JWK =93kid=94 =
values for key selection.&nbsp; (When used in contexts other than with =
JWS and JWE, the =93kid=94 values could be matched against something =
else entirely.)<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">17.&nbsp; Should =
the "kid" be present if there are multiple keys of the same usage and =
algorithm?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">I think this would be up to the particular usage =
profiles.&nbsp; We could maybe so far as to make this RECOMMENDED for =
some use cases but I wouldn=92t go for REQUIRED.&nbsp; For instance, in =
some cases, including key roll-over, it may be perfectly fine to just =
try all the keys without having identifiers for any of =
them.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">18.&nbsp; Should =
the text dealing with adding members be present (copied from JWS)?&nbsp; =
Is it just the key and not the entire key set that is to be =
ignored?<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Again, are you thinking the reserved/private/public =
treatment? &nbsp;With a registry? &nbsp;Or maybe just a registry?&nbsp; =
I didn=92t find =93ignore=94 in the draft, so I=92m not sure what the =
second sentence in your remarks is referring =
to.<o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, =
125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">Open =
Issues:<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">19.&nbsp; I think that a section on adding key families =
would be reasonable.<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Yes, probably in JWA.<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; ">Security =
Considerations:<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; ">20.&nbsp; The key is no more =
trustworthy that the method that is came to you.<o:p></o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">Will add.<o:p></o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:=
 rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0.5in; =
margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif; ">21.&nbsp; This structure is not intended to replace X.509 =
certificates.<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); ">I=92m thinking this belongs in the non-goals =
section.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif; =
">Jim<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: 0in; =
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif; "><span style=3D"color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks =
again,<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, =
73, 125); =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></div></div>___________________________________________=
____<br>jose mailing list<br><a href=3D"mailto:jose@ietf.org" =
style=3D"color: blue; text-decoration: underline; =
">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" style=3D"color: =
blue; text-decoration: underline; =
">https://www.ietf.org/mailman/listinfo/jose</a></div></span></blockquote>=
</div><br></div></body></html>=

--Apple-Mail=_AA612FE7-70DC-4FEC-8141-F5AB1E1E31F5--

--Apple-Mail=_5329B6CF-CDF9-4FCA-A67D-697F1F610B68
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPnzCCB7Uw
ggadoAMCAQICAh5cMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTIwMzE4MDQzMjQ4W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r 30 12:43:50 2012
Return-Path: <sakimura@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7EBA21E805E for <jose@ietfa.amsl.com>; Mon, 30 Apr 2012 12:43:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id euP-2En3cV6n for <jose@ietfa.amsl.com>; Mon, 30 Apr 2012 12:43:50 -0700 (PDT)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id A047F21E804E for <jose@ietf.org>; Mon, 30 Apr 2012 12:43:49 -0700 (PDT)
Received: by bkuw5 with SMTP id w5so2539461bku.31 for <jose@ietf.org>; Mon, 30 Apr 2012 12:43:48 -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=7AVX+KQRX40yg59YEnL6FR0kk1na88+PFmHKwk8+rDw=; b=BiSg/awlMHUaEpj8MC8YD0c0iLTe7bsByXMTwOlQsPVaL4pCnfWjdQUIVbTztGyJbx 17r5k40GSMVHvffkghTd1S8srSANJobDgnoSLs/PUfChwd1XQVBDXdosvHeWCLpHgbVE 5UzNTaXsh+36IROc6BDKUnWH5eDWV5BwYX67b+qjNiVUZjiXk4u3lBYMeLNGF6e5F/K7 mFyf02nTsNLmRvmywd2rnVqWU5xf3lBDSQtI/h4iO6Xe2xk9eob3KZg6jDlf+iTM3Jk+ f0ruYZbacCe9+xtwFhpJG5Es1QdeRJ9KthKg4+8zuWG9kp4xGeGzBOvZ/r65NHQjbQ3W UZMg==
MIME-Version: 1.0
Received: by 10.204.154.18 with SMTP id m18mr6553927bkw.23.1335815028377; Mon, 30 Apr 2012 12:43:48 -0700 (PDT)
Received: by 10.204.77.130 with HTTP; Mon, 30 Apr 2012 12:43:48 -0700 (PDT)
In-Reply-To: <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <01f401cd181e$ab37d1a0$01a774e0$@augustcellars.com> <4E1F6AAD24975D4BA5B168042967394366499F0B@TK5EX14MBXC284.redmond.corp.microsoft.com>
Date: Tue, 1 May 2012 04:43:48 +0900
Message-ID: <CABzCy2C_Uc3KsnQ5JreuMyTONsQBwwJd3TLBDEJZJRHfmLz5Yg@mail.gmail.com>
From: Nat Sakimura <sakimura@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 30 Apr 2012 19:43:50 -0000

On Thu, Apr 26, 2012 at 1:21 PM, Mike Jones <Michael.Jones@microsoft.com> w=
rote:
> Thanks for the detailed comments, as always, Jim.=A0 Replies inline=85
>

>
>
>> 9.=A0 Why is the member name jwk - it would seem that this should be the=
 name
>> of the member that holds the entire object not that of the array of key
>> objects.=A0 I would think that "keys" would be a better name for this me=
mber.
>
>
>
> I agree.=A0 WORKING GROUP:=A0 How do you feel about this possible name ch=
ange?
>

I support the change. This will make it much more descriptive.

Nat

From mike.scott@certivox.com  Mon Apr 30 12:56:57 2012
Return-Path: <mike.scott@certivox.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A16C21F867B for <jose@ietfa.amsl.com>; Mon, 30 Apr 2012 12:56:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4u2hsHYfJHcv for <jose@ietfa.amsl.com>; Mon, 30 Apr 2012 12:56:56 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe003.messaging.microsoft.com [216.32.181.183]) by ietfa.amsl.com (Postfix) with ESMTP id B262621F867A for <jose@ietf.org>; Mon, 30 Apr 2012 12:56:56 -0700 (PDT)
Received: from mail82-ch1-R.bigfish.com (10.43.68.251) by CH1EHSOBE007.bigfish.com (10.43.70.57) with Microsoft SMTP Server id 14.1.225.23; Mon, 30 Apr 2012 19:56:50 +0000
Received: from mail82-ch1 (localhost [127.0.0.1])	by mail82-ch1-R.bigfish.com (Postfix) with ESMTP id F3DFE2A0455; Mon, 30 Apr 2012 19:56:49 +0000 (UTC)
X-SpamScore: -27
X-BigFish: PS-27(zz1432N1447Izz1202hzz1033IL8275dhz2fh2a8h668h839h944hd25h)
X-Forefront-Antispam-Report: CIP:157.56.248.133; KIP:(null); UIP:(null); IPV:NLI; H:AMXPRD0310HT002.eurprd03.prod.outlook.com; RD:none; EFVD:NLI
Received-SPF: pass (mail82-ch1: domain of certivox.com designates 157.56.248.133 as permitted sender) client-ip=157.56.248.133; envelope-from=mike.scott@certivox.com; helo=AMXPRD0310HT002.eurprd03.prod.outlook.com ; .outlook.com ; 
Received: from mail82-ch1 (localhost.localdomain [127.0.0.1]) by mail82-ch1 (MessageSwitch) id 1335815807588815_31818; Mon, 30 Apr 2012 19:56:47 +0000 (UTC)
Received: from CH1EHSMHS006.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.231])	by mail82-ch1.bigfish.com (Postfix) with ESMTP id 8422840262; Mon, 30 Apr 2012 19:56:47 +0000 (UTC)
Received: from AMXPRD0310HT002.eurprd03.prod.outlook.com (157.56.248.133) by CH1EHSMHS006.bigfish.com (10.43.70.6) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 30 Apr 2012 19:56:46 +0000
Received: from AMXPRD0310MB353.eurprd03.prod.outlook.com ([169.254.3.38]) by AMXPRD0310HT002.eurprd03.prod.outlook.com ([10.255.55.37]) with mapi id 14.16.0143.004; Mon, 30 Apr 2012 19:56:08 +0000
From: Mike Scott <mike.scott@certivox.com>
To: Matthew Green <matthewdgreen@gmail.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Comments on draft-ietf-jose-json-web-key-01
Thread-Index: AQHNI+AfEsd+H7NuSBmmwJ3ugtJ7Y5azy/SP
Date: Mon, 30 Apr 2012 19:56:08 +0000
Message-ID: <0C8F9A45306BD9499EAD612A10CFF8940E9E0E61@AMXPRD0310MB353.eurprd03.prod.outlook.com>
References: <7394014B-9374-4504-BB3F-199B803DA47D@gmail.com>
In-Reply-To: <7394014B-9374-4504-BB3F-199B803DA47D@gmail.com>
Accept-Language: en-IE, en-US
Content-Language: en-IE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [46.7.209.233]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: certivox.com
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
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, 30 Apr 2012 19:56:57 -0000

OK I guess this one falls into the PCS category (Plausible Cryptographic Su=
perstition).

Key management is tricky enough, and surely the less of them to be managed =
the better. Personally I think a concrete reason or real threat of attack s=
hould be demonstrated before counter-measures are taken which may add to th=
e complexity - as with complexity comes mistakes.=20

But points to the contrary accepted, and thanks for the links and info.


Mike Scott
=20
________________________________________
From: jose-bounces@ietf.org [jose-bounces@ietf.org] on behalf of Matthew Gr=
een [matthewdgreen@gmail.com]
Sent: 26 April 2012 20:09
To: jose@ietf.org
Subject: Re: [jose] Comments on draft-ietf-jose-json-web-key-01

Is there any good reason to share a single key across signing and encryptio=
n? There seem to be many instances where one key gets attacked (e.g., due t=
o implementation errors), and sharing the key means that both algorithms ar=
e now compromised. See e.g., Degabriele's timing attack on EMV from CT-RSA =
2012. They used the same key for signature and encryption.

J.P. Degabriele, A. Lehmann, K.G. Paterson, N.P. Smart and M. Strefler, On =
the Joint Security of Encryption and Signature in EMV. In O. Dunkelmann (ed=
.), CT-RSA 2012, Lecture Notes in Computer Science Vol. 7178, pp. 116-135, =
Springer, 2012. Full version.

But I think Mike (Scott) is asking whether there's a formal reason to use d=
ifferent fields/keys. I would ask Mike: is there a security proof stating t=
hat it's /ok/ to share keys between the schemes used here? I'll bet we coul=
d contrive some schemes where it's /not/ ok :)

Matt

> As specified in RFC 3279 [PKIX1ALG], ECDSA and Elliptic Curve
>    Diffie-Hellman (ECDH) use the same algorithm identifier for subject
>    public keys in certificates, and it is repeated here:
>
>       id-ecPublicKey  OBJECT IDENTIFIER  ::=3D  { iso(1) member-body(2)
>           us(840) ansi-x9-62(10045) keyType(2) 1 }
>
>    This object identifier is used in public key certificates for both
>    ECDSA signature keys and ECDH encryption keys.  The intended
>    application for the key may be indicated in the key usage field (see
>    RFC 3280 [PKIX1]).  The use of separate keys for signature and
>    encryption purposes is RECOMMENDED; however, the use of a single key
>    for both signature and encryption purposes is not forbidden.
>
>
> While I don't know of a specific related key attack between ECDH-ES and E=
CDSA it is RECOMENDED not to use the same static key for both.
>
> Will the world immediately end, probably not.
_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose


