
From tonynad@microsoft.com  Mon Oct  3 16:36:46 2011
Return-Path: <tonynad@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 3502521F8F30 for <jose@ietfa.amsl.com>; Mon,  3 Oct 2011 16:36:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.467
X-Spam-Level: 
X-Spam-Status: No, score=-7.467 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
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 7buaGXBEL4w0 for <jose@ietfa.amsl.com>; Mon,  3 Oct 2011 16:36:45 -0700 (PDT)
Received: from smtp.microsoft.com (mail2.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 77D2321F8E84 for <jose@ietf.org>; Mon,  3 Oct 2011 16:36:45 -0700 (PDT)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (157.54.80.48) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 3 Oct 2011 16:39:48 -0700
Received: from ch1outboundpool.messaging.microsoft.com (157.54.51.81) by mail.microsoft.com (157.54.80.48) with Microsoft SMTP Server (TLS) id 14.1.339.2; Mon, 3 Oct 2011 16:39:48 -0700
Received: from mail61-ch1-R.bigfish.com (10.43.68.246) by CH1EHSOBE016.bigfish.com (10.43.70.66) with Microsoft SMTP Server id 14.1.225.22; Mon, 3 Oct 2011 23:39:47 +0000
Received: from mail61-ch1 (localhost.localdomain [127.0.0.1])	by mail61-ch1-R.bigfish.com (Postfix) with ESMTP id BD14EB90167	for <jose@ietf.org.FOPE.CONNECTOR.OVERRIDE>; Mon,  3 Oct 2011 23:39:47 +0000 (UTC)
X-SpamScore: -36
X-BigFish: PS-36(zzbb2dK9371K542M1432N98dKzz1202h1082kzz1033IL8275dhz32i2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:207.46.4.139; KIP:(null); UIP:(null); IPV:SKI; H:SN2PRD0302HT005.namprd03.prod.outlook.com; R:internal; EFV:INT
X-FB-SS: 13,
Received-SPF: error (temporary) (mail61-ch1: encountered temporary error during SPF processing of domain of microsoft.com) client-ip=207.46.4.139; envelope-from=tonynad@microsoft.com; helo=SN2PRD0302HT005.namprd03.prod.outlook.com ; .outlook.com ; 
Received: from mail61-ch1 (localhost.localdomain [127.0.0.1]) by mail61-ch1 (MessageSwitch) id 1317685187632288_30579; Mon,  3 Oct 2011 23:39:47 +0000 (UTC)
Received: from CH1EHSMHS021.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.253])	by mail61-ch1.bigfish.com (Postfix) with ESMTP id 905E6E8051; Mon,  3 Oct 2011 23:39:47 +0000 (UTC)
Received: from SN2PRD0302HT005.namprd03.prod.outlook.com (207.46.4.139) by CH1EHSMHS021.bigfish.com (10.43.70.21) with Microsoft SMTP Server (TLS) id 14.1.225.22; Mon, 3 Oct 2011 23:39:47 +0000
Received: from SN2PRD0302MB137.namprd03.prod.outlook.com ([169.254.4.40]) by SN2PRD0302HT005.namprd03.prod.outlook.com ([10.27.50.88]) with mapi id 14.01.0225.071; Mon, 3 Oct 2011 23:39:46 +0000
From: Anthony Nadalin <tonynad@microsoft.com>
To: Sean Turner <turners@ieca.com>, Peter Saint-Andre <stpeter@stpeter.im>
Thread-Topic: [jose] meeting in Taipei?
Thread-Index: AQHMgGzTah32lnhtEk2bmVzAXSUIKZVrRuQg
Date: Mon, 3 Oct 2011 23:39:45 +0000
Message-ID: <B26C1EF377CB694EAB6BDDC8E624B6E72D818BC5@SN2PRD0302MB137.namprd03.prod.outlook.com>
References: <4E863101.6010400@stpeter.im> <4E86345C.4020301@ieca.com>
In-Reply-To: <4E86345C.4020301@ieca.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [131.107.0.76]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0302HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IECA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%STPETER.IM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IETF.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-OriginatorOrg: microsoft.com
X-CrossPremisesHeadersPromoted: TK5EX14HUBC105.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC105.redmond.corp.microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] meeting in Taipei?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 03 Oct 2011 23:36:46 -0000

So I assume that draft authors (signing, encryption and token) should be pr=
epared with a short presentation in hopes to get these accepted as WG draft=
s?

-----Original Message-----
From: Sean Turner [mailto:turners@ieca.com]=20
Sent: Friday, September 30, 2011 2:28 PM
To: Peter Saint-Andre
Cc: jose@ietf.org
Subject: Re: [jose] meeting in Taipei?

I have received the sessions request.  So it's looks like a go modulo the a=
genda being agreed.

spt

On 9/30/11 5:13 PM, Peter Saint-Andre wrote:
> Is the JOSE WG meeting at IETF 82? Inquiring minds want to know. :)
>
> /psa
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>



From Michael.Jones@microsoft.com  Mon Oct  3 16:38:15 2011
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 EB3E321F8F32 for <jose@ietfa.amsl.com>; Mon,  3 Oct 2011 16:38:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.51
X-Spam-Level: 
X-Spam-Status: No, score=-10.51 tagged_above=-999 required=5 tests=[AWL=0.089,  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 zErsM3BA5t50 for <jose@ietfa.amsl.com>; Mon,  3 Oct 2011 16:38:15 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 5372721F8EE6 for <jose@ietf.org>; Mon,  3 Oct 2011 16:38:15 -0700 (PDT)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 3 Oct 2011 16:41:18 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.01.0339.002; Mon, 3 Oct 2011 16:41:18 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: Anthony Nadalin <tonynad@microsoft.com>, Sean Turner <turners@ieca.com>, Peter Saint-Andre <stpeter@stpeter.im>
Thread-Topic: [jose] meeting in Taipei?
Thread-Index: AQHMf7XWyLKUtHsU1EO/p/nKPWglv5Vm5ZAAgATb04D//4sAsA==
Date: Mon, 3 Oct 2011 23:41:18 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C224B9B@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <4E863101.6010400@stpeter.im> <4E86345C.4020301@ieca.com> <B26C1EF377CB694EAB6BDDC8E624B6E72D818BC5@SN2PRD0302MB137.namprd03.prod.outlook.com>
In-Reply-To: <B26C1EF377CB694EAB6BDDC8E624B6E72D818BC5@SN2PRD0302MB137.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.70]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] meeting in Taipei?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 03 Oct 2011 23:38:16 -0000

And key. :-)

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Ant=
hony Nadalin
Sent: Monday, October 03, 2011 4:40 PM
To: Sean Turner; Peter Saint-Andre
Cc: jose@ietf.org
Subject: Re: [jose] meeting in Taipei?

So I assume that draft authors (signing, encryption and token) should be pr=
epared with a short presentation in hopes to get these accepted as WG draft=
s?

-----Original Message-----
From: Sean Turner [mailto:turners@ieca.com]=20
Sent: Friday, September 30, 2011 2:28 PM
To: Peter Saint-Andre
Cc: jose@ietf.org
Subject: Re: [jose] meeting in Taipei?

I have received the sessions request.  So it's looks like a go modulo the a=
genda being agreed.

spt

On 9/30/11 5:13 PM, Peter Saint-Andre wrote:
> Is the JOSE WG meeting at IETF 82? Inquiring minds want to know. :)
>
> /psa
>
>
> _______________________________________________
> 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 turners@ieca.com  Mon Oct  3 17:06:22 2011
Return-Path: <turners@ieca.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 16A2821F8EE8 for <jose@ietfa.amsl.com>; Mon,  3 Oct 2011 17:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.201
X-Spam-Level: 
X-Spam-Status: No, score=-102.201 tagged_above=-999 required=5 tests=[AWL=0.397, BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001, 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 WrJg2EgYxIw4 for <jose@ietfa.amsl.com>; Mon,  3 Oct 2011 17:06:21 -0700 (PDT)
Received: from nm30-vm0.bullet.mail.ac4.yahoo.com (nm30-vm0.bullet.mail.ac4.yahoo.com [98.139.52.250]) by ietfa.amsl.com (Postfix) with SMTP id 8627821F8E94 for <jose@ietf.org>; Mon,  3 Oct 2011 17:06:21 -0700 (PDT)
Received: from [98.139.52.195] by nm30.bullet.mail.ac4.yahoo.com with NNFMP; 04 Oct 2011 00:09:20 -0000
Received: from [98.139.52.149] by tm8.bullet.mail.ac4.yahoo.com with NNFMP; 04 Oct 2011 00:09:20 -0000
Received: from [127.0.0.1] by omp1032.mail.ac4.yahoo.com with NNFMP; 04 Oct 2011 00:09:20 -0000
X-Yahoo-Newman-Id: 109123.24979.bm@omp1032.mail.ac4.yahoo.com
Received: (qmail 89486 invoked from network); 4 Oct 2011 00:09:19 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1317686959; bh=ash2CUILIpEDxvnj0t9MqDUmq5yizHmqLzYRhzG+54c=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=jlu4dhcG17HoaAUuc3GktP0MR4ZYFmJns0K+GaTjUZ5zFlMULyQFIMT0c/JqSMf3RyKWD641U6RT+DxI8qku626QS9czYOZ3EeLz9gLQYS8+piesFAsqii6TEPNlZBnlxAiQFOoZuixzLwJkRVkVLFxN7D6ZgTBBvf6L0koG94Y=
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: rqRimCMVM1mJHh7bRyX9UKMeiTU19AfEsSyt.DQj4pWdOxL mI5EnhQ7abNJCGd97dHyF9KnXQiDvLXVVaRxv2TKKLnyuueVVleRXXnNsKvb ogmcdpwJ_DZTQfLhBI2zZ2P7Km7.iDzB_rohoBPtrEvvzW8tLnBTvoenfNal P0.PZasYNiHkfkGvUU3vrzrUhwMGTkqz5QuRVW4Dt1syx29vqmpgoBKR44Be DJ731knur7lp2YXp86KoYDy_03OaCZtJ9LZTMi5tkRPBroOTIQw6rSzB7I4D 4MzPB1B6uKv6fvihR3DVnMbMtpNXqvgcpQZPfOlYc0pgy5ySr4P.UXTKCBZZ EZU0vb0_jBoYmArMlF0ngUnrsk8qDwzBD8vPxtoGekURSbY9fmnRw_JCXIyI 1iIBosKEO2IlftdOil7Hut._wcFB8ER2Cs90s
X-Yahoo-SMTP: ZrP3VLSswBDL75pF8ymZHDSu9B.vcMfDPgLJ
Received: from thunderfish.local (turners@71.191.1.163 with plain) by smtp114.biz.mail.mud.yahoo.com with SMTP; 03 Oct 2011 17:09:19 -0700 PDT
Message-ID: <4E8A4EAE.6030900@ieca.com>
Date: Mon, 03 Oct 2011 20:09:18 -0400
From: Sean Turner <turners@ieca.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>
References: <4E863101.6010400@stpeter.im> <4E86345C.4020301@ieca.com> <B26C1EF377CB694EAB6BDDC8E624B6E72D818BC5@SN2PRD0302MB137.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435C224B9B@TK5EX14MBXC284.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435C224B9B@TK5EX14MBXC284.redmond.corp.microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Anthony Nadalin <tonynad@microsoft.com>, "jose@ietf.org" <jose@ietf.org>, Peter Saint-Andre <stpeter@stpeter.im>
Subject: Re: [jose] meeting in Taipei?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 00:06:22 -0000

That would be my idea, but it's probably best to check with the chairs. 
  Easy way to contact them: jose-chairs@tools.ietf.org

spt

On 10/3/11 7:41 PM, Mike Jones wrote:
> And key. :-)
>
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Anthony Nadalin
> Sent: Monday, October 03, 2011 4:40 PM
> To: Sean Turner; Peter Saint-Andre
> Cc: jose@ietf.org
> Subject: Re: [jose] meeting in Taipei?
>
> So I assume that draft authors (signing, encryption and token) should be prepared with a short presentation in hopes to get these accepted as WG drafts?
>
> -----Original Message-----
> From: Sean Turner [mailto:turners@ieca.com]
> Sent: Friday, September 30, 2011 2:28 PM
> To: Peter Saint-Andre
> Cc: jose@ietf.org
> Subject: Re: [jose] meeting in Taipei?
>
> I have received the sessions request.  So it's looks like a go modulo the agenda being agreed.
>
> spt
>
> On 9/30/11 5:13 PM, Peter Saint-Andre wrote:
>> Is the JOSE WG meeting at IETF 82? Inquiring minds want to know. :)
>>
>> /psa
>>
>>
>> _______________________________________________
>> 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  Tue Oct  4 12:53:08 2011
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 A7AD721F8EF6 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 12:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.427
X-Spam-Level: 
X-Spam-Status: No, score=-3.427 tagged_above=-999 required=5 tests=[AWL=0.172,  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 qUzoZkas016T for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 12:53:07 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id D444D21F8EED for <jose@ietf.org>; Tue,  4 Oct 2011 12:53:07 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 48CCC38F17 for <jose@ietf.org>; Tue,  4 Oct 2011 12:56:13 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Tue, 4 Oct 2011 13:34:44 -0700
Message-ID: <042101cc82d5$0d9c1700$28d44500$@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: AcyC06S5ZBAGa9q6RpmYsAk4tj75eg==
Subject: [jose] Agenda item requests
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 19:53:08 -0000

While I am happy that you are all interested in getting a meeting and an
agenda, I think it would be far more interesting to see comments on the
drafts so that the chairs can get an idea of whether these are reasonable
starting points or not.

However - This is a request for items to be placed on the agenda.  Please
send requests to jose-chairs@tools.ietf.org with the following information
1. Document name, if one exists, for the presentation.
2. Name of presenter
3. How long you think you need
4. Should we expect to see an updated draft between now and the meeting
5. When should we start harassing you for slides

Jim




From ietf@augustcellars.com  Tue Oct  4 12:53:08 2011
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 BED3721F8EED for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 12:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.432
X-Spam-Level: 
X-Spam-Status: No, score=-3.432 tagged_above=-999 required=5 tests=[AWL=0.167,  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 phC3PrWpuhLF for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 12:53:07 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id D16FA21F8EEC for <jose@ietf.org>; Tue,  4 Oct 2011 12:53:07 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id AA60038F18 for <jose@ietf.org>; Tue,  4 Oct 2011 12:56:13 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Tue, 4 Oct 2011 13:34:44 -0700
Message-ID: <042201cc82d5$0dda7f90$298f7eb0$@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: Acx+evO2DFTHx63RTo2JjeeFL2S30A==
Subject: [jose] Encryption Capabilities
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 19:53:08 -0000

If we look at CMS we find that the following are basically super sets of
each other, thus we only really need to look at Authenticated Enveloped
Data.

Authenticated Enveloped Data > Enveloped Data > Encrypted Data

Open issues for support are:

1.   Multiple Recipients - Do we allow for multiple recipients for an
encrypted message or only one recipient?

2.  Recipient Method Identification - Are recipient methods to be defined by
a recipient type or just by the recipient encryption method?

3.  Recipient Encryption Methods - Which of the following key encryption
methods are to be supported?
	Key Transport - i.e. RSA
	Key Agreement - i.e. ECDH
	Pre-Shared Secret w/o Key Derivation - i.e. known key
	Pre-shared Secret w/ Key Derivation - i.e. password derived
	Other - do we allow for other types defined in non-canonical
documents? Examples might be IBE or Plasma based methods


4.  Key Identification Methods - What methods are used to identify recipient
and sender keys?  What types of keys are to be supported?  X509 certs? JSON
keys?  Bare Keys?

5.  Content identification - See same issue for Signatures

6.  Content Location - See same issue for Signatures 

7.  Authenticated Attributes - Do we support some form of authenticated
attributes for AEAD algorithms?

8.  Unauthenticated Attributes - Do we support some form of unauthenticated
attributes?

Jim



From ietf@augustcellars.com  Tue Oct  4 13:11:15 2011
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 C9A9121F8F28 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:11:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.436
X-Spam-Level: 
X-Spam-Status: No, score=-3.436 tagged_above=-999 required=5 tests=[AWL=0.163,  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 Va-ohviJWnIW for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:11:15 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 3542C21F8F06 for <jose@ietf.org>; Tue,  4 Oct 2011 13:11:15 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 4170438F18 for <jose@ietf.org>; Tue,  4 Oct 2011 12:56:15 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Tue, 4 Oct 2011 13:34:44 -0700
Message-ID: <042901cc82d5$0ec94c60$2c5be520$@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: Acx+e5i0z2ln7Lv9RYar8k+wIbHyHw==
Subject: [jose] Signature Capabilities
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 20:11:15 -0000

I was hoping to see mail on this issue before this point.  This is still a
personal issue and not a chair issue.  I would like to see what the
capability set from the other standards are deemed as important for the JOSE
work.  

This message is the first in a series of four messages on the different base
structures that are presented in the CMS specification.

This message will hopefully start a discussion on signature capabilities.  I
recognized that the JOSE work is planning to focus on doing both signature
and authentication as a single object focusing on integrity.  However for
the purposes of this discussion I would like to separate those two and then
combine them later so that we don't get confused on the set of issues needed
for each of the, in my eyes, significantly different operations.  (This is
not to say that I believe they HAVE to be separated in the final document
that will depend on the capabilities that we end up with.)

1.  One Pass Processing - Should one be able to perform hashing
functionality as part of the serialization process?  If this is something
that should be able to be doable, should this be doable for the sender, the
recipient or both?

2. Identification of interior content - Should one be able to identify the
interior content?  If so should this be a unique value or just something
that is to be a hint?

3.  Inner content encoding - Should one be able to sign just JSON objects,
or are other types of objects to be signed as well?

4.  Different ways to encode the content - Should the content be any of the
following:
	Encapsulated - The signature structure encapsulates the content
	Detached - The content can be sent independent of the signature
structure
	Embedded - The signature structure can be embedded in the content
structure (this is allowed by the XML DigSig work)

5.  Multiple Signatures - Are multiple, parallel signatures allowed?  Are
nested signatures allowed?  Are counter-signatures allowed (i.e. signatures
on signatures w/o the content).

6.   Signing Key Identification - What methods of identifying the signing
key are to be considered?   Are keys to be only contained in PKIX
certificates or are other ways of describing keys to be allowed? 

7.  Signed Attributes - Is there a need to sign anything other than just the
content?  This would include any of a number of different items such as a
timestamp, the signature algorithm and so forth.  A pure implementation
issue that is part of this question is the question of signing the content
indirectly vs directly. 

8.  Unsigned Attributes - should a standard method of attaching unsigned
attributes to a signature be defined?  Currently the only one used by CMS is
the countersignature attribute.

9.  Re-serialization - How hard should one need to work to re-serialize a
parsed JSON security object to get back the same object.  I believe that
this is currently considered to be beyond the scope of the work.  Is this
correct?

Jim



From ietf@augustcellars.com  Tue Oct  4 13:11:17 2011
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 732B821F8F33 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:11:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.44
X-Spam-Level: 
X-Spam-Status: No, score=-3.44 tagged_above=-999 required=5 tests=[AWL=0.158,  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 af8nfbH77JoG for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:11:17 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 3D73A21F8F0A for <jose@ietf.org>; Tue,  4 Oct 2011 13:11:15 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id BC67638F17 for <jose@ietf.org>; Tue,  4 Oct 2011 12:56:14 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Tue, 4 Oct 2011 13:34:44 -0700
Message-ID: <042401cc82d5$0e7d2830$2b777890$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0425_01CC829A.621EEC70"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
thread-index: Acx+S3GEPvApdSvZSu2wqhB0Jumc+Q==
Subject: [jose] Security Object Identification
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 20:11:17 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0425_01CC829A.621EEC70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

CMS has the concept of a ContentInfo object which allows for a security
object (or other object) to be easily discovered.  That is all one needs to
know a priori is that a security object has been received, from that point
identification of the specific security object is simple.  Is this something
that should be a goal of the JSON security documents?  Is this something
that already exists for JSON objects?

 

What is the output of a security operation?  Should you be able to get a
JSON object or should you only get some type of text value?  Does it matter
which of the specifications we are looking at. 

 

Jim

 


------=_NextPart_000_0425_01CC829A.621EEC70
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>CMS has =
the concept of a ContentInfo object which allows for a security object =
(or other object) to be easily discovered.&nbsp; That is all one needs =
to know a priori is that a security object has been received, from that =
point identification of the specific security object is simple.&nbsp; Is =
this something that should be a goal of the JSON security =
documents?&nbsp; Is this something that already exists for JSON =
objects?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>What is the output of a security operation?&nbsp; =
Should you be able to get a JSON object or should you only get some type =
of text value?&nbsp; Does it matter which of the specifications we are =
looking at. <o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Jim<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0425_01CC829A.621EEC70--


From ietf@augustcellars.com  Tue Oct  4 13:44:35 2011
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 CFE3B21F8D4A for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:44:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.444
X-Spam-Level: 
X-Spam-Status: No, score=-3.444 tagged_above=-999 required=5 tests=[AWL=0.155,  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 9ImY41iHbnwl for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:44:35 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 5520721F8D3C for <jose@ietf.org>; Tue,  4 Oct 2011 13:44:35 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 334D738F1C for <jose@ietf.org>; Tue,  4 Oct 2011 12:56:14 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Tue, 4 Oct 2011 13:34:44 -0700
Message-ID: <042301cc82d5$0e26cad0$2a746070$@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: AcyCw+fUt9IdmFRiTayqqiIGMB4raQ==
Subject: [jose] Authentication Capabilities
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 20:44:35 -0000

Open issues for support are:

1. Multiple Recipients - Doe we allow for multiple or only a "single"
recipient?

2. Recipient Encryption Methods - Which, if any, of the following should be
supported?
	Key Transport - i.e. RSA
	Key Agreement - i.e. ECDH
	Pre-Shared Secret w/o Key Derivation - i.e. known key
	Pre-shared Secret w/ Key Derivation - i.e. password derived
	Other - do we allow for other types defined in non-canonical
documents? Examples might be IBE or Plasma based methods

3.  Recipient Method Identification - Are recipient methods to be defined by
a recipient type or just by the recipient encryption method?

4.  Key Identification Methods - What methods, if any, are used to identify
recipient and sender keys?  What types of keys are to be supported?  X509
certs? JSON keys?  Bare Keys?

5.  Content identification - see same issue for signatures

6.  Content Location - see same issue for signatures

7.  Authenticated attributes - Same issue as for signatures?

8.  Unauthenticated attributes - Do we support some form of unauthenticated
attributes?

Jim



From ietf@augustcellars.com  Tue Oct  4 13:56:20 2011
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 1774E21F8D77 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:56:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.832
X-Spam-Level: 
X-Spam-Status: No, score=-2.832 tagged_above=-999 required=5 tests=[AWL=-0.473, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SARE_LWSHORTT=1.24]
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 odXNkCoEq9Cz for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 13:56:19 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 56EF921F8D6F for <jose@ietf.org>; Tue,  4 Oct 2011 13:56:18 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (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 1B4ED38F33; Tue,  4 Oct 2011 13:59:24 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <draft-jones-json-web-signature@tools.ietf.org>
Date: Tue, 4 Oct 2011 14:37:55 -0700
Message-ID: <043901cc82dd$e12a70a0$a37f51e0$@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: AcyC2K7IjnPnYqSsRXaxSVf5o4GGNg==
Cc: jose@ietf.org
Subject: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 20:56:20 -0000

Personal Mail

I have some comments about this draft that I hope you can clarify for me:

1.  What set of security services are you interested in providing from this
document?  I generally think of signature and authentication operations as
providing a different set of services.  Specifically I think of signatures
as being more long term and something that I can use to prove statements to
a third party while I think of authentication as being something between two
specific parties and is very short term, such as was things changed on the
wire.  Since you are combining both operations in a single integrity
document with no differentiation, I wonder if you should spell out the set
of services that you think are provided by this document.

2.  If find the term "Decoded JWS Header Input" as being very confusing
(along with its kin).  When you say that you are encoding the JSON object to
get a Decoded JWS Payload my mind starts exploding.

3.  While I realize that the UTF-8 and the ANSI representations are going to
be the same, I wonder if it might not be better to use ASCII rather than
UTF-8 for the base64url encoded character set.  The fact that it has been
encoded by base64url restricts the set of possible characters down from
UTF-8 into ASCII.  There should be no need to support or expect the wide
variety of UTF-8 characters at that point.

4.  When you say that the names in the Decoded JWS Header Input must be
unique, it is not clear to me if you are saying that the names must have a
single registered meaning, or if you are saying that they cannot occur in
the input twice.  I.e. the object {"typ":"JWT", "typ":"foo", "alg":"HS256"}
is not legal.

5.  I note that in your revisions section you say that you changed x5t from
SHA-256 to SHA-1 for compatibility.  I think you may need to support both
with pre-defined names given the algorithm agility drive currently going on.

6.  Are you missing something that you have a syntax name of IntDate in
table 2, but you do not have a header that uses it?  Is a registry of
syntaxes going to need to be defined?  (Side note - should it be
StringOrURI?)

7.  The statement that new header parameters may result in non-interoperable
JWSs appears to me to have no merit.  The validation process should succeed
independent of any new headers that are added.  What may change is how the
output result would be used or interpreted which would be a function of the
client code setting things up not the JWS library.

8.  In section 4.2 it is not clear from the text but it appears to me that
you are stating that a uri is a reasonable item to be used as a new header
parameter name.  Is that the intent?

Jim




From ve7jtb@ve7jtb.com  Tue Oct  4 14:58:24 2011
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 92A5221F8DBF for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 14:58:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.929
X-Spam-Level: 
X-Spam-Status: No, score=-2.929 tagged_above=-999 required=5 tests=[AWL=-0.570, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SARE_LWSHORTT=1.24]
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 68NJLXL3xcTU for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 14:58:24 -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 C79A321F8DA2 for <jose@ietf.org>; Tue,  4 Oct 2011 14:58:23 -0700 (PDT)
Received: by vcbfo11 with SMTP id fo11so1054673vcb.31 for <jose@ietf.org>; Tue, 04 Oct 2011 15:01:29 -0700 (PDT)
Received: by 10.220.179.202 with SMTP id br10mr500028vcb.41.1317765689695; Tue, 04 Oct 2011 15:01:29 -0700 (PDT)
Received: from [192.168.1.213] ([190.22.59.241]) by mx.google.com with ESMTPS id ha1sm18488489vdb.17.2011.10.04.15.01.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Oct 2011 15:01:28 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: multipart/signed; boundary="Apple-Mail=_7A55FFFD-F287-4C7F-8C1D-7809515B96BB"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com>
Date: Tue, 4 Oct 2011 19:01:21 -0300
Message-Id: <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.1244.3)
Cc: draft-jones-json-web-signature@tools.ietf.org, jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 21:58:24 -0000

--Apple-Mail=_7A55FFFD-F287-4C7F-8C1D-7809515B96BB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 2011-10-04, at 6:37 PM, Jim Schaad wrote:

> Personal Mail
>=20
> I have some comments about this draft that I hope you can clarify for =
me:
>=20
> 1.  What set of security services are you interested in providing from =
this
> document?  I generally think of signature and authentication =
operations as
> providing a different set of services.  Specifically I think of =
signatures
> as being more long term and something that I can use to prove =
statements to
> a third party while I think of authentication as being something =
between two
> specific parties and is very short term, such as was things changed on =
the
> wire.  Since you are combining both operations in a single integrity
> document with no differentiation, I wonder if you should spell out the =
set
> of services that you think are provided by this document.

Both are intended.  Though different signature algorithms may be more =
appropriate for each task.
In OpenID Connect HMAC using shared secrets is used as the default for =
authentication.
For Non Repudiation at LoA 3 RSA or ECDSA are required.


>=20
> 2.  If find the term "Decoded JWS Header Input" as being very =
confusing
> (along with its kin).  When you say that you are encoding the JSON =
object to
> get a Decoded JWS Payload my mind starts exploding.
A JWS header that has been base64url decoded back to JSON.  Perhaps =
Input is not adding anything.
The language can be looked at.

I can't find the section you are referring to.  Perhaps a line or =
section for me to look at.




>=20
> 3.  While I realize that the UTF-8 and the ANSI representations are =
going to
> be the same, I wonder if it might not be better to use ASCII rather =
than
> UTF-8 for the base64url encoded character set.  The fact that it has =
been
> encoded by base64url restricts the set of possible characters down =
from
> UTF-8 into ASCII.  There should be no need to support or expect the =
wide
> variety of UTF-8 characters at that point.

Per Sec 5 the JSON object's Unicode code points are translated to UTF-8 =
before base64url encoding.
The result is ASCII.  I don't quite see how you are getting the =
character set to be UTF-8 after the base64 encoding.=20
That must need to be made clearer.

=20
>=20
> 4.  When you say that the names in the Decoded JWS Header Input must =
be
> unique, it is not clear to me if you are saying that the names must =
have a
> single registered meaning, or if you are saying that they cannot occur =
in
> the input twice.  I.e. the object {"typ":"JWT", "typ":"foo", =
"alg":"HS256"}
> is not legal.
>=20
Both,  Mike can clarify.

> 5.  I note that in your revisions section you say that you changed x5t =
from
> SHA-256 to SHA-1 for compatibility.  I think you may need to support =
both
> with pre-defined names given the algorithm agility drive currently =
going on.

That is the hash calculation for the thumbprint.  I don't know of =
anyplace SHA256 is used for that.  It is mostly used to make the MS =
keystone happy.
I was the one that changed it so am happy to hear counter arguments.

>=20
> 6.  Are you missing something that you have a syntax name of IntDate =
in
> table 2, but you do not have a header that uses it?  Is a registry of
> syntaxes going to need to be defined?  (Side note - should it be
> StringOrURI?)

That got copied from JWT it is used for expired time of tokens.  It =
should be removed if not used.
>=20
> 7.  The statement that new header parameters may result in =
non-interoperable
> JWSs appears to me to have no merit.  The validation process should =
succeed
> independent of any new headers that are added.  What may change is how =
the
> output result would be used or interpreted which would be a function =
of the
> client code setting things up not the JWS library.

This needs discussion.  Some people are of the opinion that unknown =
options in security tokens should result in failure.
>=20
> 8.  In section 4.2 it is not clear from the text but it appears to me =
that
> you are stating that a uri is a reasonable item to be used as a new =
header
> parameter name.  Is that the intent?

That was the intent in JWT and I think in JWS/JWE as well.  Without =
namespaces there is the registry option or URLs.

Mike can elaborate on my answers or possibly correct me:)

John Bradley

>=20
> Jim
>=20
>=20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_7A55FFFD-F287-4C7F-8C1D-7809515B96BB
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO9TCCBwsw
ggXzoAMCAQICAgZDMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTAwMzE3MTM0NDQ1WhcNMTIwMzE4MTE1NTExWjCBzTEgMB4GA1UEDRMXMTY1NTU1LTJHU3FU
T1ZUbkk4OHhOSW4xCzAJBgNVBAYTAkNMMSIwIAYDVQQIExlNZXRyb3BvbGl0YW5hIGRlIFNhbnRp
YWdvMREwDwYDVQQHEwhWaXRhY3VyYTEtMCsGA1UECxMkU3RhcnRDb20gVmVyaWZpZWQgQ2VydGlm
aWNhdGUgTWVtYmVyMRUwEw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BhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsT
IlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENs
YXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIGQzANBgkqhkiG9w0BAQEFAASC
AQCz2BF15D2Zleta6KE2q2UNR7asgVVZEmCUMtfSAEagTcxEWp2aY6/LTWWIzO0zqsaO5LHGi8dw
uAKZq8KoRGhc+Ti5m11OBfw3oOtQ40cD16hwySUE/l0Q4mFCqqartFvk2Iwf5gOoW8Xphqadl6/t
l2VsI2eYWE2NRH1Smt0MWIr+jSW6LHaoG/r48c7PDEfjGkeDLnoWGTVT5m1gqh0/3zYVoj2e1N57
2cMfq7wUWenvv/CHnvfx9WiLL1wxMQ0H+dHlv2JeiSeb587Kc9jRiyKMI33hTuCGpqfKOMqqHWA4
vtFHG4qLM+NNpk3WAGQKx7mUFkrJvYvojH5GXYyAAAAAAAAA

--Apple-Mail=_7A55FFFD-F287-4C7F-8C1D-7809515B96BB--

From Martin.Thomson@commscope.com  Tue Oct  4 16:00:11 2011
Return-Path: <Martin.Thomson@commscope.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 2E66621F8E11 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 16:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.611
X-Spam-Level: 
X-Spam-Status: No, score=-2.611 tagged_above=-999 required=5 tests=[AWL=-0.012, 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 MuOAJPWr1BqO for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 16:00:10 -0700 (PDT)
Received: from cdcsmgw02.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id 8C15421F8DFA for <jose@ietf.org>; Tue,  4 Oct 2011 16:00:10 -0700 (PDT)
X-AuditID: 0a0404e9-b7cd4ae000004b3f-e2-4e8b90b4ed0a
Received: from ACDCE7HC2.commscope.com ( [10.86.20.103]) by cdcsmgw02.commscope.com (Symantec Brightmail Gateway) with SMTP id 4D.61.19263.4B09B8E4; Tue,  4 Oct 2011 18:03:16 -0500 (CDT)
Received: from SISPE7HC2.commscope.com (10.97.4.13) by ACDCE7HC2.commscope.com (10.86.20.103) with Microsoft SMTP Server (TLS) id 8.3.192.1; Tue, 4 Oct 2011 18:03:15 -0500
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC2.commscope.com ([fe80::58c3:2447:f977:57c3%10]) with mapi; Wed, 5 Oct 2011 07:03:12 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Date: Wed, 5 Oct 2011 07:03:10 +0800
Thread-Topic: [jose] Signature Capabilities
Thread-Index: Acx+e5i0z2ln7Lv9RYar8k+wIbHyHwEa3v9g
Message-ID: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CAA9@SISPE7MB1.commscope.com>
References: <042901cc82d5$0ec94c60$2c5be520$@augustcellars.com>
In-Reply-To: <042901cc82d5$0ec94c60$2c5be520$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [jose] Signature Capabilities
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 23:00:11 -0000

On 2011-10-05 at 07:34:44, Jim Schaad wrote:
> 1.  One Pass Processing - Should one be able to perform hashing=20
> functionality as part of the serialization process?  If this is=20
> something that should be able to be doable, should this be doable for=20
> the sender, the recipient or both?

The existing proposals seem to permit it.

> 2. Identification of interior content - Should one be able to identify=20
> the interior content?  If so should this be a unique value or just=20
> something that is to be a hint?

A URI perhaps.

> 3.  Inner content encoding - Should one be able to sign just JSON=20
> objects, or are other types of objects to be signed as well?

There has been discussion on this point at a couple of meetings.  The concl=
usion was that the signed object was a sequence of octets.

Content-type is handy; especially if you are thinking about nesting signatu=
res or other arrangement where the content is of non-deterministic type.  T=
he JSON proposal includes a parameter for this purpose.
=20
> 4.  Different ways to encode the content - Should the content be any=20
> of the
> following:
> 	Encapsulated - The signature structure encapsulates the content
> 	Detached - The content can be sent independent of the signature=20
> structure
> 	Embedded - The signature structure can be embedded in the content=20
> structure (this is allowed by the XML DigSig work)

I think that one of the stated goals is simplicity.  You don't get that wit=
h Embedded.

It would appear that current proposals all head toward Encapsulated.  It se=
ems that this is a sensible decision.  Nothing would prevent someone from p=
roposing Detached, though I expect there to be push back on that.

> 5.  Multiple Signatures - Are multiple, parallel signatures allowed?
> Are nested signatures allowed?  Are counter-signatures allowed (i.e.
> signatures on signatures w/o the content).

Parallel signatures seems to be a bit of an unnecessary optimization.
Nesting seems to be no trouble; counter-signing a little more tricky.
=20
> 6.   Signing Key Identification - What methods of identifying the
> signing
> key are to be considered?   Are keys to be only contained in PKIX
> certificates or are other ways of describing keys to be allowed?

There has been discussion on providing an encoding of bare keys: c.f. draft=
-jones-json-web-key

> 7.  Signed Attributes - Is there a need to sign anything other than=20
> just the content?  This would include any of a number of different=20
> items such as a timestamp, the signature algorithm and so forth.  A=20
> pure implementation issue that is part of this question is the=20
> question of signing the content indirectly vs directly.

In the interest of expediency, these can be signed if they are encapsulated=
 in the signed octets.
=20
> 8.  Unsigned Attributes - should a standard method of attaching=20
> unsigned attributes to a signature be defined?  Currently the only one=20
> used by CMS is the countersignature attribute.

Doesn't seem particularly important.

> 9.  Re-serialization - How hard should one need to work to=20
> re-serialize a parsed JSON security object to get back the same=20
> object.  I believe that this is currently considered to be beyond the sco=
pe of the work.
> Is this correct?

The inner content is simply octets.  So, if it happens to be JSON, then re-=
serialization is unlikely to be possible.


From ietf@augustcellars.com  Tue Oct  4 16:21:19 2011
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 3E46A21F8F55 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 16:21:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.821
X-Spam-Level: 
X-Spam-Status: No, score=-2.821 tagged_above=-999 required=5 tests=[AWL=-0.462, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SARE_LWSHORTT=1.24]
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 zVabt8bHH20F for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 16:21:18 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 8D0E021F8F33 for <jose@ietf.org>; Tue,  4 Oct 2011 16:21:18 -0700 (PDT)
Received: from Tobias (exodus.augustcellars.com [207.202.179.27]) (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 9C14F38F39; Tue,  4 Oct 2011 16:24:24 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com> <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com>
In-Reply-To: <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com>
Date: Tue, 4 Oct 2011 17:02:56 -0700
Message-ID: <044d01cc82f2$238113a0$6a833ae0$@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: AQJ0WGLY+CvB7nxnSmCB9Hd3AjBUugItNPXglAvJNgA=
Cc: draft-jones-json-web-signature@tools.ietf.org, jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 04 Oct 2011 23:21:19 -0000

> -----Original Message-----
> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
> Sent: Tuesday, October 04, 2011 3:01 PM
> To: Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: Re: [jose] draft-jones-json-web-signature comments
> 
> 
> On 2011-10-04, at 6:37 PM, Jim Schaad wrote:
> 
> > Personal Mail
> >
> > I have some comments about this draft that I hope you can clarify for
me:
> >
> > 1.  What set of security services are you interested in providing from
this
> > document?  I generally think of signature and authentication operations
as
> > providing a different set of services.  Specifically I think of
signatures
> > as being more long term and something that I can use to prove statements
> to
> > a third party while I think of authentication as being something between
> two
> > specific parties and is very short term, such as was things changed on
the
> > wire.  Since you are combining both operations in a single integrity
> > document with no differentiation, I wonder if you should spell out the
set
> > of services that you think are provided by this document.
> 
> Both are intended.  Though different signature algorithms may be more
> appropriate for each task.
> In OpenID Connect HMAC using shared secrets is used as the default for
> authentication.
> For Non Repudiation at LoA 3 RSA or ECDSA are required.
> 
> 
> >
> > 2.  If find the term "Decoded JWS Header Input" as being very confusing
> > (along with its kin).  When you say that you are encoding the JSON
object
> to
> > get a Decoded JWS Payload my mind starts exploding.
> A JWS header that has been base64url decoded back to JSON.  Perhaps Input
> is not adding anything.
> The language can be looked at.
> 
> I can't find the section you are referring to.  Perhaps a line or section
for me
> to look at.
> 

>From section #5

1.  Create the payload content to be encoded as the Decoded JWS
       Payload Input.

> 
> 
> 
> >
> > 3.  While I realize that the UTF-8 and the ANSI representations are
going to
> > be the same, I wonder if it might not be better to use ASCII rather than
> > UTF-8 for the base64url encoded character set.  The fact that it has
been
> > encoded by base64url restricts the set of possible characters down from
> > UTF-8 into ASCII.  There should be no need to support or expect the wide
> > variety of UTF-8 characters at that point.
> 
> Per Sec 5 the JSON object's Unicode code points are translated to UTF-8
> before base64url encoding.
> The result is ASCII.  I don't quite see how you are getting the character
set to
> be UTF-8 after the base64 encoding.
> That must need to be made clearer.
> 
> 
Signing the UTF-8 representation of the JWS Signing Input (the
   concatenation of the JWS Header Input, a period ('.') character, and
   the JWS Payload Input) with the HMAC SHA-256 algorithm and base64url
   encoding the result, as per Section 7.1, yields this JWS Crypto

> >
> > 4.  When you say that the names in the Decoded JWS Header Input must
> be
> > unique, it is not clear to me if you are saying that the names must have
a
> > single registered meaning, or if you are saying that they cannot occur
in
> > the input twice.  I.e. the object {"typ":"JWT", "typ":"foo",
"alg":"HS256"}
> > is not legal.
> >
> Both,  Mike can clarify.
> 
> > 5.  I note that in your revisions section you say that you changed x5t
from
> > SHA-256 to SHA-1 for compatibility.  I think you may need to support
both
> > with pre-defined names given the algorithm agility drive currently going
on.
> 
> That is the hash calculation for the thumbprint.  I don't know of anyplace
> SHA256 is used for that.  It is mostly used to make the MS keystone happy.
> I was the one that changed it so am happy to hear counter arguments.
> 
> >
> > 6.  Are you missing something that you have a syntax name of IntDate in
> > table 2, but you do not have a header that uses it?  Is a registry of
> > syntaxes going to need to be defined?  (Side note - should it be
> > StringOrURI?)
> 
> That got copied from JWT it is used for expired time of tokens.  It should
be
> removed if not used.
> >
> > 7.  The statement that new header parameters may result in non-
> interoperable
> > JWSs appears to me to have no merit.  The validation process should
> succeed
> > independent of any new headers that are added.  What may change is how
> the
> > output result would be used or interpreted which would be a function of
> the
> > client code setting things up not the JWS library.
> 
> This needs discussion.  Some people are of the opinion that unknown
> options in security tokens should result in failure.

That would be security tokens and not general signatures then

> >
> > 8.  In section 4.2 it is not clear from the text but it appears to me
that
> > you are stating that a uri is a reasonable item to be used as a new
header
> > parameter name.  Is that the intent?
> 
> That was the intent in JWT and I think in JWS/JWE as well.  Without
> namespaces there is the registry option or URLs.
> 
> Mike can elaborate on my answers or possibly correct me:)
> 
> John Bradley
> 
> >
> > Jim
> >
> >
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose



From ve7jtb@ve7jtb.com  Tue Oct  4 17:08:11 2011
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 1131C21F8D01 for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 17:08:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.893
X-Spam-Level: 
X-Spam-Status: No, score=-2.893 tagged_above=-999 required=5 tests=[AWL=-0.535, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, SARE_LWSHORTT=1.24]
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 z52uTyRIABTe for <jose@ietfa.amsl.com>; Tue,  4 Oct 2011 17:08:06 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id 3B88F21F8CF8 for <jose@ietf.org>; Tue,  4 Oct 2011 17:08:06 -0700 (PDT)
Received: by vws5 with SMTP id 5so1124927vws.31 for <jose@ietf.org>; Tue, 04 Oct 2011 17:11:11 -0700 (PDT)
Received: by 10.52.89.239 with SMTP id br15mr1790319vdb.428.1317773471229; Tue, 04 Oct 2011 17:11:11 -0700 (PDT)
Received: from [192.168.1.213] ([190.22.59.241]) by mx.google.com with ESMTPS id ja7sm18821174vdb.16.2011.10.04.17.11.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Oct 2011 17:11:10 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: multipart/signed; boundary="Apple-Mail=_164EF1EC-53E2-4600-97F4-D429F7E238F8"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <044d01cc82f2$238113a0$6a833ae0$@augustcellars.com>
Date: Tue, 4 Oct 2011 21:11:04 -0300
Message-Id: <4E48531F-2DB2-43F3-919F-E140077B6540@ve7jtb.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com> <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com> <044d01cc82f2$238113a0$6a833ae0$@augustcellars.com>
To: "Jim Schaad" <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.1244.3)
Cc: draft-jones-json-web-signature@tools.ietf.org, jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 05 Oct 2011 00:08:11 -0000

--Apple-Mail=_164EF1EC-53E2-4600-97F4-D429F7E238F8
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_7F51B5DA-EC3D-4612-948E-EA155B4A3678"


--Apple-Mail=_7F51B5DA-EC3D-4612-948E-EA155B4A3678
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Sec 5  step one is badly worded.  I agree the use of "Input" in the name =
is confusing

Perhaps something simpler like=20
1 Create the payload content to be encoded.
2 Base64url encode (without  padding) the payload content.  This =
encoding becomes the JWS Payload Input.

3  Create a JSON object containing a set of desired header parameters. =
Note that white space is explicitly allowed in the representation and no =
canonicalization is performed before encoding.=20
4 Translate this JSON object's Unicode code points into UTF-8, as =
defined in RFC 3629 [RFC3629].
5 Base64url encode the UTF-8 representation of this JSON object as =
defined in this specification (without padding). This encoding becomes =
the JWS Header Input.

6  The JWS Signing Input is always the concatenation of the JWS Header =
Input, a period ('.') character, and the JWS Payload Input.
6 Compute the JWS Crypto Output in the manner defined for the particular =
algorithm being used. The alg header parameter MUST be present in the =
JSON Header Input, with the algorithm value accurately representing the =
algorithm used to construct the JWS Crypto Input.

7 The serialized JWS is the concatenation of the JWS Signing Input, a =
period ('.') character, and the base64URL encoded signature.

What is there is correct, but confusing to the reader.  This non =
nominative section needs some work.

The rule about rejecting content based on unknown elements in the =
envelope may be better in a profile.   Worth discussion.

John B.

On 2011-10-04, at 9:02 PM, Jim Schaad wrote:

>=20
>=20
>> -----Original Message-----
>> From: John Bradley [mailto:ve7jtb@ve7jtb.com]
>> Sent: Tuesday, October 04, 2011 3:01 PM
>> To: Jim Schaad
>> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
>> Subject: Re: [jose] draft-jones-json-web-signature comments
>>=20
>>=20
>> On 2011-10-04, at 6:37 PM, Jim Schaad wrote:
>>=20
>>> Personal Mail
>>>=20
>>> I have some comments about this draft that I hope you can clarify =
for
> me:
>>>=20
>>> 1.  What set of security services are you interested in providing =
from
> this
>>> document?  I generally think of signature and authentication =
operations
> as
>>> providing a different set of services.  Specifically I think of
> signatures
>>> as being more long term and something that I can use to prove =
statements
>> to
>>> a third party while I think of authentication as being something =
between
>> two
>>> specific parties and is very short term, such as was things changed =
on
> the
>>> wire.  Since you are combining both operations in a single integrity
>>> document with no differentiation, I wonder if you should spell out =
the
> set
>>> of services that you think are provided by this document.
>>=20
>> Both are intended.  Though different signature algorithms may be more
>> appropriate for each task.
>> In OpenID Connect HMAC using shared secrets is used as the default =
for
>> authentication.
>> For Non Repudiation at LoA 3 RSA or ECDSA are required.
>>=20
>>=20
>>>=20
>>> 2.  If find the term "Decoded JWS Header Input" as being very =
confusing
>>> (along with its kin).  When you say that you are encoding the JSON
> object
>> to
>>> get a Decoded JWS Payload my mind starts exploding.
>> A JWS header that has been base64url decoded back to JSON.  Perhaps =
Input
>> is not adding anything.
>> The language can be looked at.
>>=20
>> I can't find the section you are referring to.  Perhaps a line or =
section
> for me
>> to look at.
>>=20
>=20
> =46rom section #5
>=20
> 1.  Create the payload content to be encoded as the Decoded JWS
>       Payload Input.
>=20
>>=20
>>=20
>>=20
>>>=20
>>> 3.  While I realize that the UTF-8 and the ANSI representations are
> going to
>>> be the same, I wonder if it might not be better to use ASCII rather =
than
>>> UTF-8 for the base64url encoded character set.  The fact that it has
> been
>>> encoded by base64url restricts the set of possible characters down =
from
>>> UTF-8 into ASCII.  There should be no need to support or expect the =
wide
>>> variety of UTF-8 characters at that point.
>>=20
>> Per Sec 5 the JSON object's Unicode code points are translated to =
UTF-8
>> before base64url encoding.
>> The result is ASCII.  I don't quite see how you are getting the =
character
> set to
>> be UTF-8 after the base64 encoding.
>> That must need to be made clearer.
>>=20
>>=20
> Signing the UTF-8 representation of the JWS Signing Input (the
>   concatenation of the JWS Header Input, a period ('.') character, and
>   the JWS Payload Input) with the HMAC SHA-256 algorithm and base64url
>   encoding the result, as per Section 7.1, yields this JWS Crypto
>=20
>>>=20
>>> 4.  When you say that the names in the Decoded JWS Header Input must
>> be
>>> unique, it is not clear to me if you are saying that the names must =
have
> a
>>> single registered meaning, or if you are saying that they cannot =
occur
> in
>>> the input twice.  I.e. the object {"typ":"JWT", "typ":"foo",
> "alg":"HS256"}
>>> is not legal.
>>>=20
>> Both,  Mike can clarify.
>>=20
>>> 5.  I note that in your revisions section you say that you changed =
x5t
> from
>>> SHA-256 to SHA-1 for compatibility.  I think you may need to support
> both
>>> with pre-defined names given the algorithm agility drive currently =
going
> on.
>>=20
>> That is the hash calculation for the thumbprint.  I don't know of =
anyplace
>> SHA256 is used for that.  It is mostly used to make the MS keystone =
happy.
>> I was the one that changed it so am happy to hear counter arguments.
>>=20
>>>=20
>>> 6.  Are you missing something that you have a syntax name of IntDate =
in
>>> table 2, but you do not have a header that uses it?  Is a registry =
of
>>> syntaxes going to need to be defined?  (Side note - should it be
>>> StringOrURI?)
>>=20
>> That got copied from JWT it is used for expired time of tokens.  It =
should
> be
>> removed if not used.
>>>=20
>>> 7.  The statement that new header parameters may result in non-
>> interoperable
>>> JWSs appears to me to have no merit.  The validation process should
>> succeed
>>> independent of any new headers that are added.  What may change is =
how
>> the
>>> output result would be used or interpreted which would be a function =
of
>> the
>>> client code setting things up not the JWS library.
>>=20
>> This needs discussion.  Some people are of the opinion that unknown
>> options in security tokens should result in failure.
>=20
> That would be security tokens and not general signatures then
>=20
>>>=20
>>> 8.  In section 4.2 it is not clear from the text but it appears to =
me
> that
>>> you are stating that a uri is a reasonable item to be used as a new
> header
>>> parameter name.  Is that the intent?
>>=20
>> That was the intent in JWT and I think in JWS/JWE as well.  Without
>> namespaces there is the registry option or URLs.
>>=20
>> Mike can elaborate on my answers or possibly correct me:)
>>=20
>> John Bradley
>>=20
>>>=20
>>> Jim
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> jose mailing list
>>> jose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/jose
>=20
>=20


--Apple-Mail=_7F51B5DA-EC3D-4612-948E-EA155B4A3678
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; ">Sec 5 =
&nbsp;step one is badly worded. &nbsp;I agree the use of "Input" in the =
name is confusing<div><br></div><div>Perhaps something simpler =
like&nbsp;</div><div>1&nbsp;<span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">Create the payload content to be =
encoded.</span></div><div><font class=3D"Apple-style-span" =
face=3D"verdana, charcoal, helvetica, arial, sans-serif" size=3D"2">2 =
Base64url encode (without &nbsp;padding) the payload content. &nbsp;This =
encoding becomes the JWS Payload Input.<br></font></div><div><font =
class=3D"Apple-style-span" face=3D"verdana, charcoal, helvetica, arial, =
sans-serif" size=3D"2"><br></font></div><div><div><div>3 &nbsp;<span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; ">Create a JSON object =
containing a set of desired header parameters. Note that white space is =
explicitly allowed in the representation and no canonicalization is =
performed before encoding.&nbsp;</span></div><div><span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; ">4&nbsp;</span><span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; ">Translate this JSON =
object's Unicode code points into UTF-8, as defined in&nbsp;<a =
class=3D"info" =
href=3D"http://self-issued.info/docs/draft-jones-json-web-signature.html#R=
FC3629" style=3D"font-weight: bold; position: relative; z-index: 24; =
text-decoration: none; color: rgb(153, 0, 0); background-color: =
transparent; ">RFC 3629</a>&nbsp;[RFC3629].</span></div><div><span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; ">5&nbsp;</span><span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; ">Base64url encode the =
UTF-8 representation of this JSON object as defined in this =
specification (without padding). This encoding becomes the JWS Header =
Input.</span></div><div><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; "><br></span></div><div><span class=3D"Apple-style-span"=
 style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">6&nbsp;</span><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">&nbsp;</span><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">The JWS Signing Input is always the concatenation of =
the JWS Header Input, a period ('.') character, and the JWS Payload =
Input.</span></div><div><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">6 C</span><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">ompute the JWS Crypto Output in the manner defined =
for the particular algorithm being used. The&nbsp;<tt style=3D"color: =
rgb(0, 51, 102); font-family: 'Courier New', Courier, monospace; =
font-size: small; ">alg</tt>&nbsp;header parameter MUST be present in =
the JSON Header Input, with the algorithm value accurately representing =
the algorithm used to construct the JWS Crypto =
Input.</span></div><div><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; "><br></span></div><div>7 The serialized JWS is the =
concatenation of the&nbsp;<span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">JWS Signing Input,&nbsp;</span><span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; ">a period ('.') =
character, and the base64URL encoded signature.</span></div><div><span =
class=3D"Apple-style-span" style=3D"font-family: verdana, charcoal, =
helvetica, arial, sans-serif; font-size: small; =
"><br></span></div><div><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; ">What is there is correct, but confusing to the =
reader. &nbsp;This non nominative section needs some =
work.</span></div><div><span class=3D"Apple-style-span" =
style=3D"font-family: verdana, charcoal, helvetica, arial, sans-serif; =
font-size: small; "><br></span></div><div><font class=3D"Apple-style-span"=
 face=3D"verdana, charcoal, helvetica, arial, sans-serif" size=3D"2">The =
rule about rejecting content based on unknown elements in the envelope =
may be better in a profile. &nbsp; Worth =
discussion.</font></div><div><font class=3D"Apple-style-span" =
face=3D"verdana, charcoal, helvetica, arial, sans-serif" =
size=3D"2"><br></font></div><div><font class=3D"Apple-style-span" =
face=3D"verdana, charcoal, helvetica, arial, sans-serif" size=3D"2">John =
B.</font></div><div><br></div><div>On 2011-10-04, at 9:02 PM, Jim Schaad =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div><br><br><blockquote type=3D"cite">-----Original =
Message-----<br></blockquote><blockquote type=3D"cite">From: John =
Bradley [mailto:ve7jtb@ve7jtb.com]<br></blockquote><blockquote =
type=3D"cite">Sent: Tuesday, October 04, 2011 3:01 =
PM<br></blockquote><blockquote type=3D"cite">To: Jim =
Schaad<br></blockquote><blockquote type=3D"cite">Cc: <a =
href=3D"mailto:draft-jones-json-web-signature@tools.ietf.org">draft-jones-=
json-web-signature@tools.ietf.org</a>; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br></blockquote><blockquot=
e type=3D"cite">Subject: Re: [jose] draft-jones-json-web-signature =
comments<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">On 2011-10-04, =
at 6:37 PM, Jim Schaad wrote:<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">Personal Mail<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">I have some comments about this =
draft that I hope you can clarify =
for<br></blockquote></blockquote>me:<br><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">1. &nbsp;What set of security =
services are you interested in providing =
from<br></blockquote></blockquote>this<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">document? &nbsp;I generally =
think of signature and authentication =
operations<br></blockquote></blockquote>as<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">providing a different set of =
services. &nbsp;Specifically I think =
of<br></blockquote></blockquote>signatures<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">as being more long term and =
something that I can use to prove =
statements<br></blockquote></blockquote><blockquote =
type=3D"cite">to<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">a third party while I think of authentication as being =
something between<br></blockquote></blockquote><blockquote =
type=3D"cite">two<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">specific parties and is very short term, such as was =
things changed on<br></blockquote></blockquote>the<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">wire. &nbsp;Since you are =
combining both operations in a single =
integrity<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">document with no =
differentiation, I wonder if you should spell out =
the<br></blockquote></blockquote>set<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">of services that you think are =
provided by this document.<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">Both are =
intended. &nbsp;Though different signature algorithms may be =
more<br></blockquote><blockquote type=3D"cite">appropriate for each =
task.<br></blockquote><blockquote type=3D"cite">In OpenID Connect HMAC =
using shared secrets is used as the default =
for<br></blockquote><blockquote =
type=3D"cite">authentication.<br></blockquote><blockquote =
type=3D"cite">For Non Repudiation at LoA 3 RSA or ECDSA are =
required.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">2. &nbsp;If find the term =
"Decoded JWS Header Input" as being very =
confusing<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">(along with its kin). &nbsp;When =
you say that you are encoding the =
JSON<br></blockquote></blockquote>object<br><blockquote =
type=3D"cite">to<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">get a Decoded JWS Payload my mind starts =
exploding.<br></blockquote></blockquote><blockquote type=3D"cite">A JWS =
header that has been base64url decoded back to JSON. &nbsp;Perhaps =
Input<br></blockquote><blockquote type=3D"cite">is not adding =
anything.<br></blockquote><blockquote type=3D"cite">The language can be =
looked at.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">I can't find =
the section you are referring to. &nbsp;Perhaps a line or =
section<br></blockquote>for me<br><blockquote type=3D"cite">to look =
at.<br></blockquote><blockquote type=3D"cite"><br></blockquote><br>=46rom =
section #5<br><br>1. &nbsp;Create the payload content to be encoded as =
the Decoded JWS<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Payload =
Input.<br><br><blockquote type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">3. &nbsp;While I realize that =
the UTF-8 and the ANSI representations =
are<br></blockquote></blockquote>going to<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">be the same, I wonder if it =
might not be better to use ASCII rather =
than<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">UTF-8 for the base64url encoded character set. &nbsp;The =
fact that it has<br></blockquote></blockquote>been<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">encoded by base64url restricts =
the set of possible characters down =
from<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">UTF-8 into ASCII. &nbsp;There should be no need to support =
or expect the wide<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">variety of UTF-8 characters at =
that point.<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">Per Sec 5 the =
JSON object's Unicode code points are translated to =
UTF-8<br></blockquote><blockquote type=3D"cite">before base64url =
encoding.<br></blockquote><blockquote type=3D"cite">The result is ASCII. =
&nbsp;I don't quite see how you are getting the =
character<br></blockquote>set to<br><blockquote type=3D"cite">be UTF-8 =
after the base64 encoding.<br></blockquote><blockquote type=3D"cite">That =
must need to be made clearer.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote>Signing the UTF-8 representation of the =
JWS Signing Input (the<br> &nbsp;&nbsp;concatenation of the JWS Header =
Input, a period ('.') character, and<br> &nbsp;&nbsp;the JWS Payload =
Input) with the HMAC SHA-256 algorithm and base64url<br> =
&nbsp;&nbsp;encoding the result, as per Section 7.1, yields this JWS =
Crypto<br><br><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">4. &nbsp;When you say that the =
names in the Decoded JWS Header Input =
must<br></blockquote></blockquote><blockquote =
type=3D"cite">be<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">unique, it is not clear to me if you are saying that the =
names must have<br></blockquote></blockquote>a<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">single registered meaning, or if =
you are saying that they cannot =
occur<br></blockquote></blockquote>in<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">the input twice. &nbsp;I.e. the =
object {"typ":"JWT", =
"typ":"foo",<br></blockquote></blockquote>"alg":"HS256"}<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">is not =
legal.<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite">Both, &nbsp;Mike can clarify.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">5. &nbsp;I note that in your revisions section you say =
that you changed x5t<br></blockquote></blockquote>from<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">SHA-256 to SHA-1 for =
compatibility. &nbsp;I think you may need to =
support<br></blockquote></blockquote>both<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">with pre-defined names given the =
algorithm agility drive currently =
going<br></blockquote></blockquote>on.<br><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">That is the =
hash calculation for the thumbprint. &nbsp;I don't know of =
anyplace<br></blockquote><blockquote type=3D"cite">SHA256 is used for =
that. &nbsp;It is mostly used to make the MS keystone =
happy.<br></blockquote><blockquote type=3D"cite">I was the one that =
changed it so am happy to hear counter =
arguments.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">6. &nbsp;Are you missing =
something that you have a syntax name of IntDate =
in<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">table 2, but you do not have a header that uses it? =
&nbsp;Is a registry of<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">syntaxes going to need to be =
defined? &nbsp;(Side note - should it =
be<br></blockquote></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">StringOrURI?)<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">That got copied =
from JWT it is used for expired time of tokens. &nbsp;It =
should<br></blockquote>be<br><blockquote type=3D"cite">removed if not =
used.<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">7. &nbsp;The statement that new =
header parameters may result in =
non-<br></blockquote></blockquote><blockquote =
type=3D"cite">interoperable<br></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">JWSs appears to me to have no =
merit. &nbsp;The validation process =
should<br></blockquote></blockquote><blockquote =
type=3D"cite">succeed<br></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">independent of any new headers =
that are added. &nbsp;What may change is =
how<br></blockquote></blockquote><blockquote =
type=3D"cite">the<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">output result would be used or interpreted which would be =
a function of<br></blockquote></blockquote><blockquote =
type=3D"cite">the<br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite">client code setting things up not the JWS =
library.<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">This needs =
discussion. &nbsp;Some people are of the opinion that =
unknown<br></blockquote><blockquote type=3D"cite">options in security =
tokens should result in failure.<br></blockquote><br>That would be =
security tokens and not general signatures then<br><br><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">8. &nbsp;In section 4.2 it is =
not clear from the text but it appears to =
me<br></blockquote></blockquote>that<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">you are stating that a uri is a =
reasonable item to be used as a =
new<br></blockquote></blockquote>header<br><blockquote =
type=3D"cite"><blockquote type=3D"cite">parameter name. &nbsp;Is that =
the intent?<br></blockquote></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">That was the =
intent in JWT and I think in JWS/JWE as well. =
&nbsp;Without<br></blockquote><blockquote type=3D"cite">namespaces there =
is the registry option or URLs.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">Mike can =
elaborate on my answers or possibly correct =
me:)<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">John =
Bradley<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite">Jim<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote =
type=3D"cite">_______________________________________________<br></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote type=3D"cite">jose =
mailing list<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite"><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br></blockquote></blockquo=
te><blockquote type=3D"cite"><blockquote type=3D"cite"><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose">https://www.ietf.org/m=
ailman/listinfo/jose</a><br></blockquote></blockquote><br><br></div></bloc=
kquote></div><br></div></body></html>=

--Apple-Mail=_7F51B5DA-EC3D-4612-948E-EA155B4A3678--

--Apple-Mail=_164EF1EC-53E2-4600-97F4-D429F7E238F8
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO9TCCBwsw
ggXzoAMCAQICAgZDMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTAwMzE3MTM0NDQ1WhcNMTI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GEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgZDMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsT
IlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENs
YXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIGQzANBgkqhkiG9w0BAQEFAASC
AQCvvyp5CUziK5yw4LySDr5yhQSJQAU2aTJNr2yr+HTfJQwxPstE0Z1//K9AFitB6snmlSz+QQJ7
eJjA4aIZqzZ8HRHYXzmiImMgr6Q9ChYmFNNide0e+UdveTV8fm4wZ2QbmS7SAAMBUQSRtnKfIR8q
RkBeHeadD2ZSBx6CMkVT+7KUYppEwNMFZaxP1NdkarMJJsBdZDv1DRJ9Gw5CaSgJeyOqDBbLrtl+
IW2Y3TL5v+6asVPBToyYswPOv0ejBhL5+zzw2mErC19jHwUWghKetK6ecrwF5ho3dN06flCfCGL+
ek691QAjSn/orqc30m7xZL6cAFY+nl8RS0Ukry9EAAAAAAAA

--Apple-Mail=_164EF1EC-53E2-4600-97F4-D429F7E238F8--

From Michael.Jones@microsoft.com  Fri Oct  7 09:08:18 2011
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 618F821F8BDB for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 09:08:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.899
X-Spam-Level: 
X-Spam-Status: No, score=-9.899 tagged_above=-999 required=5 tests=[AWL=-0.540, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24]
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 6ToMw9rCUMrU for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 09:08:16 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id A401521F8BD3 for <jose@ietf.org>; Fri,  7 Oct 2011 09:08:16 -0700 (PDT)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (157.54.80.67) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 7 Oct 2011 09:11:30 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.01.0339.002; Fri, 7 Oct 2011 09:11:29 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: John Bradley <ve7jtb@ve7jtb.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] draft-jones-json-web-signature comments
Thread-Index: AcyC2K7IjnPnYqSsRXaxSVf5o4GGNgAQyP2AAHvengA=
Date: Fri, 7 Oct 2011 16:11:28 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C22D42E@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com> <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com>
In-Reply-To: <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "draft-jones-json-web-signature@tools.ietf.org" <draft-jones-json-web-signature@tools.ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 07 Oct 2011 16:08:18 -0000

Thanks for your thoughtful read, Jim, and for your reply, John.  Nothing to=
 correct in your answers, John.

I will elaborate on point 4 by stating that it's not legal JSON syntax to h=
ave two members with the same name.  Thus, the object {"typ":"JWT", "typ":"=
foo", "alg":"HS256"} should fail JSON parsing before ever being processed a=
t the JWS level.

				Cheers,
				-- Mike

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Joh=
n Bradley
Sent: Tuesday, October 04, 2011 3:01 PM
To: Jim Schaad
Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments


On 2011-10-04, at 6:37 PM, Jim Schaad wrote:

> Personal Mail
>=20
> I have some comments about this draft that I hope you can clarify for me:
>=20
> 1.  What set of security services are you interested in providing from=20
> this document?  I generally think of signature and authentication=20
> operations as providing a different set of services.  Specifically I=20
> think of signatures as being more long term and something that I can=20
> use to prove statements to a third party while I think of=20
> authentication as being something between two specific parties and is=20
> very short term, such as was things changed on the wire.  Since you=20
> are combining both operations in a single integrity document with no=20
> differentiation, I wonder if you should spell out the set of services tha=
t you think are provided by this document.

Both are intended.  Though different signature algorithms may be more appro=
priate for each task.
In OpenID Connect HMAC using shared secrets is used as the default for auth=
entication.
For Non Repudiation at LoA 3 RSA or ECDSA are required.


>=20
> 2.  If find the term "Decoded JWS Header Input" as being very=20
> confusing (along with its kin).  When you say that you are encoding=20
> the JSON object to get a Decoded JWS Payload my mind starts exploding.
A JWS header that has been base64url decoded back to JSON.  Perhaps Input i=
s not adding anything.
The language can be looked at.

I can't find the section you are referring to.  Perhaps a line or section f=
or me to look at.




>=20
> 3.  While I realize that the UTF-8 and the ANSI representations are=20
> going to be the same, I wonder if it might not be better to use ASCII=20
> rather than
> UTF-8 for the base64url encoded character set.  The fact that it has=20
> been encoded by base64url restricts the set of possible characters=20
> down from
> UTF-8 into ASCII.  There should be no need to support or expect the=20
> wide variety of UTF-8 characters at that point.

Per Sec 5 the JSON object's Unicode code points are translated to UTF-8 bef=
ore base64url encoding.
The result is ASCII.  I don't quite see how you are getting the character s=
et to be UTF-8 after the base64 encoding.=20
That must need to be made clearer.

=20
>=20
> 4.  When you say that the names in the Decoded JWS Header Input must=20
> be unique, it is not clear to me if you are saying that the names must=20
> have a single registered meaning, or if you are saying that they=20
> cannot occur in the input twice.  I.e. the object {"typ":"JWT",=20
> "typ":"foo", "alg":"HS256"} is not legal.
>=20
Both,  Mike can clarify.

> 5.  I note that in your revisions section you say that you changed x5t=20
> from
> SHA-256 to SHA-1 for compatibility.  I think you may need to support=20
> both with pre-defined names given the algorithm agility drive currently g=
oing on.

That is the hash calculation for the thumbprint.  I don't know of anyplace =
SHA256 is used for that.  It is mostly used to make the MS keystone happy.
I was the one that changed it so am happy to hear counter arguments.

>=20
> 6.  Are you missing something that you have a syntax name of IntDate=20
> in table 2, but you do not have a header that uses it?  Is a registry=20
> of syntaxes going to need to be defined?  (Side note - should it be
> StringOrURI?)

That got copied from JWT it is used for expired time of tokens.  It should =
be removed if not used.
>=20
> 7.  The statement that new header parameters may result in=20
> non-interoperable JWSs appears to me to have no merit.  The validation=20
> process should succeed independent of any new headers that are added. =20
> What may change is how the output result would be used or interpreted=20
> which would be a function of the client code setting things up not the JW=
S library.

This needs discussion.  Some people are of the opinion that unknown options=
 in security tokens should result in failure.
>=20
> 8.  In section 4.2 it is not clear from the text but it appears to me=20
> that you are stating that a uri is a reasonable item to be used as a=20
> new header parameter name.  Is that the intent?

That was the intent in JWT and I think in JWS/JWE as well.  Without namespa=
ces there is the registry option or URLs.

Mike can elaborate on my answers or possibly correct me:)

John Bradley

>=20
> Jim
>=20
>=20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From Michael.Jones@microsoft.com  Fri Oct  7 09:10:20 2011
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 BDB2921F8CAC for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 09:10:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.888
X-Spam-Level: 
X-Spam-Status: No, score=-9.888 tagged_above=-999 required=5 tests=[AWL=-0.530, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24]
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 54CWq7uAtJsh for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 09:10:16 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 289AC21F8C07 for <jose@ietf.org>; Fri,  7 Oct 2011 09:10:16 -0700 (PDT)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (157.54.80.67) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 7 Oct 2011 09:13:16 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.01.0339.002; Fri, 7 Oct 2011 09:13:15 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: John Bradley <ve7jtb@ve7jtb.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] draft-jones-json-web-signature comments
Thread-Index: AcyC2K7IjnPnYqSsRXaxSVf5o4GGNgAQyP2AAAQ/CgAAAEi4AAB3diEw
Date: Fri, 7 Oct 2011 16:13:15 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C22D456@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com> <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com> <044d01cc82f2$238113a0$6a833ae0$@augustcellars.com> <4E48531F-2DB2-43F3-919F-E140077B6540@ve7jtb.com>
In-Reply-To: <4E48531F-2DB2-43F3-919F-E140077B6540@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_4E1F6AAD24975D4BA5B16804296739435C22D456TK5EX14MBXC284r_"
MIME-Version: 1.0
Cc: "draft-jones-json-web-signature@tools.ietf.org" <draft-jones-json-web-signature@tools.ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 07 Oct 2011 16:10:20 -0000

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

I'll plan on taking a pass at clarifying this wording in the next few weeks=
.  Thanks both for the careful read and helpful suggestions on clarifying t=
he text.

                                                            -- Mike

From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Joh=
n Bradley
Sent: Tuesday, October 04, 2011 5:11 PM
To: Jim Schaad
Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments

Sec 5  step one is badly worded.  I agree the use of "Input" in the name is=
 confusing

Perhaps something simpler like
1 Create the payload content to be encoded.
2 Base64url encode (without  padding) the payload content.  This encoding b=
ecomes the JWS Payload Input.

3  Create a JSON object containing a set of desired header parameters. Note=
 that white space is explicitly allowed in the representation and no canoni=
calization is performed before encoding.
4 Translate this JSON object's Unicode code points into UTF-8, as defined i=
n RFC 3629<http://self-issued.info/docs/draft-jones-json-web-signature.html=
#RFC3629> [RFC3629].
5 Base64url encode the UTF-8 representation of this JSON object as defined =
in this specification (without padding). This encoding becomes the JWS Head=
er Input.

6  The JWS Signing Input is always the concatenation of the JWS Header Inpu=
t, a period ('.') character, and the JWS Payload Input.
6 Compute the JWS Crypto Output in the manner defined for the particular al=
gorithm being used. The alg header parameter MUST be present in the JSON He=
ader Input, with the algorithm value accurately representing the algorithm =
used to construct the JWS Crypto Input.

7 The serialized JWS is the concatenation of the JWS Signing Input, a perio=
d ('.') character, and the base64URL encoded signature.

What is there is correct, but confusing to the reader.  This non nominative=
 section needs some work.

The rule about rejecting content based on unknown elements in the envelope =
may be better in a profile.   Worth discussion.

John B.

On 2011-10-04, at 9:02 PM, Jim Schaad wrote:





-----Original Message-----
From: John Bradley [mailto:ve7jtb@ve7jtb.com]
Sent: Tuesday, October 04, 2011 3:01 PM
To: Jim Schaad
Cc: draft-jones-json-web-signature@tools.ietf.org<mailto:draft-jones-json-w=
eb-signature@tools.ietf.org>; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] draft-jones-json-web-signature comments


On 2011-10-04, at 6:37 PM, Jim Schaad wrote:

Personal Mail

I have some comments about this draft that I hope you can clarify for
me:


1.  What set of security services are you interested in providing from
this

document?  I generally think of signature and authentication operations
as

providing a different set of services.  Specifically I think of
signatures

as being more long term and something that I can use to prove statements
to
a third party while I think of authentication as being something between
two
specific parties and is very short term, such as was things changed on
the

wire.  Since you are combining both operations in a single integrity
document with no differentiation, I wonder if you should spell out the
set

of services that you think are provided by this document.

Both are intended.  Though different signature algorithms may be more
appropriate for each task.
In OpenID Connect HMAC using shared secrets is used as the default for
authentication.
For Non Repudiation at LoA 3 RSA or ECDSA are required.



2.  If find the term "Decoded JWS Header Input" as being very confusing
(along with its kin).  When you say that you are encoding the JSON
object

to
get a Decoded JWS Payload my mind starts exploding.
A JWS header that has been base64url decoded back to JSON.  Perhaps Input
is not adding anything.
The language can be looked at.

I can't find the section you are referring to.  Perhaps a line or section
for me

to look at.


>From section #5

1.  Create the payload content to be encoded as the Decoded JWS
      Payload Input.






3.  While I realize that the UTF-8 and the ANSI representations are
going to

be the same, I wonder if it might not be better to use ASCII rather than
UTF-8 for the base64url encoded character set.  The fact that it has
been

encoded by base64url restricts the set of possible characters down from
UTF-8 into ASCII.  There should be no need to support or expect the wide
variety of UTF-8 characters at that point.

Per Sec 5 the JSON object's Unicode code points are translated to UTF-8
before base64url encoding.
The result is ASCII.  I don't quite see how you are getting the character
set to

be UTF-8 after the base64 encoding.
That must need to be made clearer.


Signing the UTF-8 representation of the JWS Signing Input (the
  concatenation of the JWS Header Input, a period ('.') character, and
  the JWS Payload Input) with the HMAC SHA-256 algorithm and base64url
  encoding the result, as per Section 7.1, yields this JWS Crypto



4.  When you say that the names in the Decoded JWS Header Input must
be
unique, it is not clear to me if you are saying that the names must have
a

single registered meaning, or if you are saying that they cannot occur
in

the input twice.  I.e. the object {"typ":"JWT", "typ":"foo",
"alg":"HS256"}

is not legal.

Both,  Mike can clarify.

5.  I note that in your revisions section you say that you changed x5t
from

SHA-256 to SHA-1 for compatibility.  I think you may need to support
both

with pre-defined names given the algorithm agility drive currently going
on.


That is the hash calculation for the thumbprint.  I don't know of anyplace
SHA256 is used for that.  It is mostly used to make the MS keystone happy.
I was the one that changed it so am happy to hear counter arguments.


6.  Are you missing something that you have a syntax name of IntDate in
table 2, but you do not have a header that uses it?  Is a registry of
syntaxes going to need to be defined?  (Side note - should it be
StringOrURI?)

That got copied from JWT it is used for expired time of tokens.  It should
be

removed if not used.

7.  The statement that new header parameters may result in non-
interoperable
JWSs appears to me to have no merit.  The validation process should
succeed
independent of any new headers that are added.  What may change is how
the
output result would be used or interpreted which would be a function of
the
client code setting things up not the JWS library.

This needs discussion.  Some people are of the opinion that unknown
options in security tokens should result in failure.

That would be security tokens and not general signatures then



8.  In section 4.2 it is not clear from the text but it appears to me
that

you are stating that a uri is a reasonable item to be used as a new
header

parameter name.  Is that the intent?

That was the intent in JWT and I think in JWS/JWE as well.  Without
namespaces there is the registry option or URLs.

Mike can elaborate on my answers or possibly correct me:)

John Bradley


Jim



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



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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size: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;}
tt
	{mso-style-priority:99;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#002060;}
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:#002060">I&#8217;ll plan on taking=
 a pass at clarifying this wording in the next few weeks.&nbsp; Thanks both=
 for the careful read and helpful suggestions on clarifying the text.<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; -- 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:#002060"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose-bou=
nces@ietf.org [mailto:jose-bounces@ietf.org]
<b>On Behalf Of </b>John Bradley<br>
<b>Sent:</b> Tuesday, October 04, 2011 5:11 PM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org<br>
<b>Subject:</b> Re: [jose] draft-jones-json-web-signature comments<o:p></o:=
p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Sec 5 &nbsp;step one is badly worded. &nbsp;I agree =
the use of &quot;Input&quot; in the name is confusing<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Perhaps something simpler like&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">1&nbsp;<span class=3D"apple-style-span"><span style=
=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Create the payl=
oad content to be encoded.</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,&quot;sans-serif&quot;">2 Base64url encode (without &nbsp;paddi=
ng) the payload content. &nbsp;This encoding becomes the JWS Payload Input.=
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal">3 &nbsp;<span class=3D"apple-style-span"><span style=
=3D"font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Create a JSON o=
bject containing a set of desired header parameters. Note that white space =
is explicitly allowed in the representation and no canonicalization
 is performed before encoding.&nbsp;</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">4&nbsp;Translate this J=
SON object's Unicode code points into UTF-8, as defined in&nbsp;<a href=3D"=
http://self-issued.info/docs/draft-jones-json-web-signature.html#RFC3629"><=
b><span style=3D"color:#990000;text-decoration:none">RFC
 3629</span></b></a>&nbsp;[RFC3629].</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">5&nbsp;Base64url encode=
 the UTF-8 representation of this JSON object as defined in this specificat=
ion (without padding). This encoding becomes the JWS Header Input.</span></=
span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">6&nbsp;&nbsp;The JWS Si=
gning Input is always the concatenation of the JWS Header Input, a period (=
'.') character, and the JWS Payload Input.</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">6 Compute the JWS Crypt=
o Output in the manner defined for the particular algorithm being used. The=
&nbsp;</span></span><tt><span style=3D"color:#003366">alg</span></tt><span =
class=3D"apple-style-span"><span style=3D"font-family:&quot;Verdana&quot;,&=
quot;sans-serif&quot;">&nbsp;header
 parameter MUST be present in the JSON Header Input, with the algorithm val=
ue accurately representing the algorithm used to construct the JWS Crypto I=
nput.</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">7 The serialized JWS is the concatenation of the&nbs=
p;<span class=3D"apple-style-span"><span style=3D"font-family:&quot;Verdana=
&quot;,&quot;sans-serif&quot;">JWS Signing Input,&nbsp;a period ('.') chara=
cter, and the base64URL encoded signature.</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">What is there is correc=
t, but confusing to the reader. &nbsp;This non nominative section needs som=
e work.</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,&quot;sans-serif&quot;">The rule about rejecting content based =
on unknown elements in the envelope may be better in a profile. &nbsp; Wort=
h discussion.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ve=
rdana&quot;,&quot;sans-serif&quot;">John B.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">On 2011-10-04, at 9:02 PM, Jim Schaad wrote:<o:p></o=
:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal">-----Original Message-----<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">From: John Bradley [mailto:ve7jtb@ve7jtb.com]<o:p></=
o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Sent: Tuesday, October 04, 2011 3:01 PM<o:p></o:p></=
p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">To: Jim Schaad<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Cc: <a href=3D"mailto:draft-jones-json-web-signature=
@tools.ietf.org">
draft-jones-json-web-signature@tools.ietf.org</a>; <a href=3D"mailto:jose@i=
etf.org">
jose@ietf.org</a><o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Subject: Re: [jose] draft-jones-json-web-signature c=
omments<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">On 2011-10-04, at 6:37 PM, Jim Schaad wrote:<o:p></o=
:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Personal Mail<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">I have some comments about this draft that I hope yo=
u can clarify for<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">me:<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">1. &nbsp;What set of security services are you inter=
ested in providing from<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">this<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">document? &nbsp;I generally think of signature and a=
uthentication operations<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">as<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">providing a different set of services. &nbsp;Specifi=
cally I think of<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">signatures<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">as being more long term and something that I can use=
 to prove statements<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">to<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">a third party while I think of authentication as bei=
ng something between<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">two<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">specific parties and is very short term, such as was=
 things changed on<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">the<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">wire. &nbsp;Since you are combining both operations =
in a single integrity<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">document with no differentiation, I wonder if you sh=
ould spell out the<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">set<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">of services that you think are provided by this docu=
ment.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Both are intended. &nbsp;Though different signature =
algorithms may be more<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">appropriate for each task.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">In OpenID Connect HMAC using shared secrets is used =
as the default for<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">authentication.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">For Non Repudiation at LoA 3 RSA or ECDSA are requir=
ed.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">2. &nbsp;If find the term &quot;Decoded JWS Header I=
nput&quot; as being very confusing<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">(along with its kin). &nbsp;When you say that you ar=
e encoding the JSON<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">object<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal">to<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">get a Decoded JWS Payload my mind starts exploding.<=
o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">A JWS header that has been base64url decoded back to=
 JSON. &nbsp;Perhaps Input<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">is not adding anything.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">The language can be looked at.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">I can't find the section you are referring to. &nbsp=
;Perhaps a line or section<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">for me<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal">to look at.<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<p class=3D"MsoNormal"><br>
>From section #5<br>
<br>
1. &nbsp;Create the payload content to be encoded as the Decoded JWS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Payload Input.<br>
<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">3. &nbsp;While I realize that the UTF-8 and the ANSI=
 representations are<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">going to<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">be the same, I wonder if it might not be better to u=
se ASCII rather than<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">UTF-8 for the base64url encoded character set. &nbsp=
;The fact that it has<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">been<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">encoded by base64url restricts the set of possible c=
haracters down from<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">UTF-8 into ASCII. &nbsp;There should be no need to s=
upport or expect the wide<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">variety of UTF-8 characters at that point.<o:p></o:p=
></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Per Sec 5 the JSON object's Unicode code points are =
translated to UTF-8<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">before base64url encoding.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">The result is ASCII. &nbsp;I don't quite see how you=
 are getting the character<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">set to<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal">be UTF-8 after the base64 encoding.<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">That must need to be made clearer.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<p class=3D"MsoNormal">Signing the UTF-8 representation of the JWS Signing =
Input (the<br>
&nbsp;&nbsp;concatenation of the JWS Header Input, a period ('.') character=
, and<br>
&nbsp;&nbsp;the JWS Payload Input) with the HMAC SHA-256 algorithm and base=
64url<br>
&nbsp;&nbsp;encoding the result, as per Section 7.1, yields this JWS Crypto=
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">4. &nbsp;When you say that the names in the Decoded =
JWS Header Input must<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">be<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">unique, it is not clear to me if you are saying that=
 the names must have<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">a<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">single registered meaning, or if you are saying that=
 they cannot occur<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">in<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">the input twice. &nbsp;I.e. the object {&quot;typ&qu=
ot;:&quot;JWT&quot;, &quot;typ&quot;:&quot;foo&quot;,<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">&quot;alg&quot;:&quot;HS256&quot;}<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">is not legal.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Both, &nbsp;Mike can clarify.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">5. &nbsp;I note that in your revisions section you s=
ay that you changed x5t<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">from<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">SHA-256 to SHA-1 for compatibility. &nbsp;I think yo=
u may need to support<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">both<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">with pre-defined names given the algorithm agility d=
rive currently going<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">on.<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">That is the hash calculation for the thumbprint. &nb=
sp;I don't know of anyplace<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">SHA256 is used for that. &nbsp;It is mostly used to =
make the MS keystone happy.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">I was the one that changed it so am happy to hear co=
unter arguments.<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">6. &nbsp;Are you missing something that you have a s=
yntax name of IntDate in<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">table 2, but you do not have a header that uses it? =
&nbsp;Is a registry of<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">syntaxes going to need to be defined? &nbsp;(Side no=
te - should it be<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">StringOrURI?)<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">That got copied from JWT it is used for expired time=
 of tokens. &nbsp;It should<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">be<br>
<br>
<o:p></o:p></p>
<p class=3D"MsoNormal">removed if not used.<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">7. &nbsp;The statement that new header parameters ma=
y result in non-<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">interoperable<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">JWSs appears to me to have no merit. &nbsp;The valid=
ation process should<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">succeed<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">independent of any new headers that are added. &nbsp=
;What may change is how<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">the<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">output result would be used or interpreted which wou=
ld be a function of<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">the<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">client code setting things up not the JWS library.<o=
:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">This needs discussion. &nbsp;Some people are of the =
opinion that unknown<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">options in security tokens should result in failure.=
<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal"><br>
That would be security tokens and not general signatures then<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">8. &nbsp;In section 4.2 it is not clear from the tex=
t but it appears to me<o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal">that<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">you are stating that a uri is a reasonable item to b=
e used as a new<o:p></o:p></p>
</blockquote>
<p class=3D"MsoNormal">header<br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">parameter name. &nbsp;Is that the intent?<o:p></o:p>=
</p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">That was the intent in JWT and I think in JWS/JWE as=
 well. &nbsp;Without<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">namespaces there is the registry option or URLs.<o:p=
></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Mike can elaborate on my answers or possibly correct=
 me:)<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">John Bradley<o:p></o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">Jim<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">_______________________________________________<o:p>=
</o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal">jose mailing list<o:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><o=
:p></o:p></p>
</blockquote>
</blockquote>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><a href=3D"https://www.ietf.org/mailman/listinfo/jos=
e">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</blockquote>
</blockquote>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739435C22D456TK5EX14MBXC284r_--

From Michael.Jones@microsoft.com  Fri Oct  7 09:18:38 2011
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 C560321F8C37 for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 09:18:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.498
X-Spam-Level: 
X-Spam-Status: No, score=-10.498 tagged_above=-999 required=5 tests=[AWL=0.101, 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 T1yQCPWYDovO for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 09:18:38 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 4922321F8AEE for <jose@ietf.org>; Fri,  7 Oct 2011 09:18:38 -0700 (PDT)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 7 Oct 2011 09:21:52 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([157.54.7.154]) with mapi id 14.01.0339.002; Fri, 7 Oct 2011 09:21:51 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Agenda item requests
Thread-Index: AcyC06S5ZBAGa9q6RpmYsAk4tj75egCOIAtA
Date: Fri, 7 Oct 2011 16:21:51 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C22D4BA@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <042101cc82d5$0d9c1700$28d44500$@augustcellars.com>
In-Reply-To: <042101cc82d5$0d9c1700$28d44500$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.36]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [jose] Agenda item requests
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 07 Oct 2011 16:18:38 -0000

I'd like time on the agenda for this presentation and discussion:

Title:  An overview of the JWS, JWE, and JWK drafts and the motivations beh=
ind them

1.  draft-jones-json-web-signature (JWS), draft-jones-json-web-encryption (=
JWE), draft-jones-json-web-key (JWK)
2.  Michael B. Jones
3.  I'd like 30 minutes for JWS, 30 minutes for JWE, and 15 minutes for JWK
4.  I plan to make editorial readability improvements (per the recent threa=
d) to JWS (but no normative changes) before IETF 82
5.  I'll plan to have slides by Monday, November 7th.

				Thanks,
				-- Mike

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Jim=
 Schaad
Sent: Tuesday, October 04, 2011 1:35 PM
To: jose@ietf.org
Subject: [jose] Agenda item requests

While I am happy that you are all interested in getting a meeting and an ag=
enda, I think it would be far more interesting to see comments on the draft=
s so that the chairs can get an idea of whether these are reasonable starti=
ng points or not.

However - This is a request for items to be placed on the agenda.  Please s=
end requests to jose-chairs@tools.ietf.org with the following information 1=
. Document name, if one exists, for the presentation.
2. Name of presenter
3. How long you think you need
4. Should we expect to see an updated draft between now and the meeting 5. =
When should we start harassing you for slides

Jim



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


From Michael.Jones@microsoft.com  Fri Oct  7 11:58:51 2011
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 506E821F8BB8 for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 11:58:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.498
X-Spam-Level: 
X-Spam-Status: No, score=-9.498 tagged_above=-999 required=5 tests=[AWL=-0.903, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, TRACKER_ID=2.003]
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 TCRyGME09JJg for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 11:58:46 -0700 (PDT)
Received: from smtp.microsoft.com (mail2.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 53D2421F8ADE for <jose@ietf.org>; Fri,  7 Oct 2011 11:58:46 -0700 (PDT)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 7 Oct 2011 12:02:00 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.01.0339.002; Fri, 7 Oct 2011 12:01:59 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Thomson, Martin" <Martin.Thomson@commscope.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcxtF+lzVYs2di5FQHC5saaCF9soogACmqsQBfsCJOA=
Date: Fri, 7 Oct 2011 19:01:59 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C22D91B@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739435B782D23@TK5EX14MBXC203.redmond.corp.microsoft.com> <27AFD040F6F8AA4193E0614E2E3AF9C910CE60903C@SISPE7MB1.commscope.com>
In-Reply-To: <27AFD040F6F8AA4193E0614E2E3AF9C910CE60903C@SISPE7MB1.commscope.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_4E1F6AAD24975D4BA5B16804296739435C22D91BTK5EX14MBXC284r_"
MIME-Version: 1.0
Cc: Nat Sakimura <nat@sakimura.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 07 Oct 2011 18:58:51 -0000

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

Thanks for your useful comments, Martin.  Replies inline...



-----Original Message-----
From: Thomson, Martin [mailto:Martin.Thomson@commscope.com]
Sent: Tuesday, September 06, 2011 11:17 PM
To: Mike Jones; woes@ietf.org
Cc: Nat Sakimura
Subject: RE: First draft of JSON Web Encryption (JWE) spec published



Or to add another link for the rest of us:



http://tools.ietf.org/html/draft-jones-json-web-encryption

Thanks



I found the presentation to be a little sketchy.  The table is difficult to=
 parse.  I think that the table is constraining how you describe the parame=
ters, and I'm concerned that underspecification here will hurt.  The second=
 and third columns don't seem to add much over the description (the second =
column is all "string").  I'd suggest that you give each parameter a number=
ed section.  That way, they appear in the TOC.

Please compare this to the parameter table at http://tools.ietf.org/html/dr=
aft-jones-json-web-token-05#section-4.1, which this was modeled after (and =
in which all the JSON types are not "string").  That being said, I agree th=
at this tabular presentation may be overly constraining.  I believe there i=
s merit in your suggestion to give each parameter a numbered section so tha=
t it appears in the TOC.  I will plan to do so the next time the spec suite=
 is updated.



The x5u parameter identifies what exactly?  Is it the URI for a resource th=
at, upon retrieval (e.g., HTTP GET), produces an X.509 certificate (chain)?=
  I think that's what you mean.  The example seems to use base64url encodin=
g, which seems pointless.

It provides an HTTPS address where a PEM-encoded certificate can be retriev=
ed.  An example document that could be retrieved from such a URL follows:
-----BEGIN CERTIFICATE-----
MIIFZTCCBE2gAwIBAgIHBJJdcHgSKjANBgkqhkiG9w0BAQUFADCByjELMAkGA1U
EBhMCVVMxEDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGj
AYBgNVBAoTEUdvRGFk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YYaHR0c
DovL29jc3AuZ29kYWRkeS5jb20vMEoGCCsGAQUFBzAChj5odHRwOi8vY2VydGlm
aWNhdGVzLmdvZGFkZHkuY29tL3JlcG9zaXRvcnkvZ2RfaW50ZXJtZWRpYXRlLmN
ydDAfBgNVHSMEGDAWgBT9rGEyk2xF1uLuhV+auud2mWjM5zAxBgNVHREEKjAogh
BzZWxmLWlzc3VlZC5pbmZvghR3d3cuc2VsZi1pc3N1ZWQuaW5mbzAdBgNVHQ4EF
gQUL6asvp9irFa7vGtuSMqVu5Y/rYQwDQYJKoZIhvcNAQEFBQADggEBAADcgZaX
7ebQMyt/yia7f1npgGFyTQeCwf52dnorjbF+nCvwFHTK7CmZ/wXY5CZ1a0thUqa
XZ0JDYwCZbIl85PufnNgPf8RSkmAQSu9ccJy2Egnw/vdTDcm4uOw1iXEnN/pb1J
FCQQd7ypYTx7jWY/XEABJmVy26o1wW0S2FslwaXVkmi4deePt5iWLpaJG9haWVg
mi3aYO4Yhcpv2bFZzAgdHKCs9RTkjEzu2T9JSjjF40tA1Ifn/dTlEKXVPRiN0sE
NKklsGFlJTo2VkHJvikiOj86IoWCTecY9+0Sec7QfSscmsVDmE766b5coGGz3iE
qPbnjYUp2vtaNfyNqHQ4=3D
-----END CERTIFICATE-----



A certificate chain can also be provided at this site.  An example of such =
a chain is:

-----BEGIN CERTIFICATE-----

MIIE3jCCA8agAwIBAgICAwEwDQYJKoZIhvcNAQEFBQAwYzELMAkGA1UEBhMCVVM

xITAfBgNVBAoTGFRoZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR2

8gRGFkZHkgQ2xhc3MgMiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjExM

TYwMTU0MzdaFw0yNjExMTYwMTU0MzdaMIHKMQswCQYDVQQGEwJVUzEQMA4GA1UE

CBMHQXJpem9uYTETMBEGA1UEBxMKU2NvdHRzZGFsZTEaMBgGA1UEChMRR29EYWR

keS5jb20sIEluYy4x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lACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ

0IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNT

AzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0a

G9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkq

hkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAwMTk1NFoXDTE

5MDYyNjAwMTk1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTm

V0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZ

XJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQD

ExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9

AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOOnHK5a

vIWZJV16vYdA757tn2VUdZZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVCCSRrCl6zf

N1SLUzm1NZ9WlmpZdRJEy0kTRxQb7XBhVQ7/nHk01xC+YDgkRoKWzk2Z/M/VXwb

P7RfZHM047QSv4dk+NoS/zcnwbNDu+97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQU

AA4GBADt/UG9vUJSZSWI4OB9L+KXIPqeCgfYrx+jFzug6EILLGACOTb2oWH+heQ

C1u+mNr0HZDzTuIYEZoDJJKPTEjlbVUjP9UNV+mWwD5MlM/Mtsq2azSiGM5bUMM

j4QssxsodyamEwCW/POuZ6lcg5Ktz885hZo+L7tdEy8W9ViH0Pd

-----END CERTIFICATE-----



"Utilizing TLS" also needs to be expanded.  You obviously need to ensure th=
at the authority providing the resource is authenticated and that the repre=
sentation you retrieve is free from modification, so say that.

Agreed



The "typ" parameter seems a little underspecified.

Agreed.  I'd be interested in discussions on this topic in Taiwan.



The epk parameter isn't a string by its description, though the table indic=
ates that it is.  ...unless you wanted to base64url encode the JSON object.

Actually, the ephemeral public key is represented as a string containing a =
JSON object in JWK format.  An example such string value follows:

    "{\"algorithm\":\"EC\",

      \"curve\":\"P-256\",

      \"x\":\"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4\",

      \"y\":\"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM\",

      \"use\":\"encryption\",

      \"keyid\":\"1\"}"



The alg and enc parameters use StringOrURI as their definition.  There are =
no URIs defined for either.  I suspect that there is something in there you=
 are wanting to get at, but I recommend that just "String" is sufficient.  =
After all, someone is going to have to decide if "alg": "http://foo" is equ=
al to "alg": "HTTP://FOO" and I don't want to have to be that guy.

See Section 9.2 on additional algorithms http://tools.ietf.org/html/draft-j=
ones-json-web-encryption-00#section-9.2.  Some possible URIs are referenced=
 there.



Saying that you character-wise compare the strings for equality is really, =
really good.

Thanks



That doesn't preclude the definition of a scheme where URIs are used to pre=
vent collisions in the namespace, but I suspect that your existing text on =
public/private use of codes is sufficient.

Thanks



BTW, I like your decision to make all parameters mandatory.  This is less a=
 concern with encryption as it is with signature, but it seems like it's be=
tter to be consistent across the two.

Thanks



--Martin

                                                            Thanks again,
                                                            -- Mike


--_000_4E1F6AAD24975D4BA5B16804296739435C22D91BTK5EX14MBXC284r_
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";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Courier New";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#002060">Thanks for your useful=
 comments, Martin.&nbsp; Replies inline&#8230;</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----Original Message-=
----<br>
From: Thomson, Martin [mailto:Martin.Thomson@commscope.com] <br>
Sent: Tuesday, September 06, 2011 11:17 PM<br>
To: Mike Jones; woes@ietf.org<br>
Cc: Nat Sakimura<br>
Subject: RE: First draft of JSON Web Encryption (JWE) spec published</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">Or to add another link=
 for the rest of us:<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"><a href=3D"http://tool=
s.ietf.org/html/draft-jones-json-web-encryption"><span style=3D"color:windo=
wtext;text-decoration:none">http://tools.ietf.org/html/draft-jones-json-web=
-encryption</span></a><o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Thanks</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">I found the presentati=
on to be a little sketchy.&nbsp; The table is difficult to parse.&nbsp; I t=
hink that the table is constraining how you describe the parameters, and I'=
m concerned that underspecification here will
 hurt.&nbsp; The second and third columns don't seem to add much over the d=
escription (the second column is all &quot;string&quot;).&nbsp; I'd suggest=
 that you give each parameter a numbered section.&nbsp; That way, they appe=
ar in the TOC.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Please compare this to=
 the parameter table at
<a href=3D"http://tools.ietf.org/html/draft-jones-json-web-token-05#section=
-4.1">http://tools.ietf.org/html/draft-jones-json-web-token-05#section-4.1<=
/a>, which this was modeled after (and in which all the JSON types are not =
&#8220;string&#8221;).&nbsp; That being said, I agree
 that this tabular presentation may be overly constraining.&nbsp; I believe=
 there is merit in your suggestion to give each parameter a numbered sectio=
n so that it appears in the TOC.&nbsp; I will plan to do so the next time t=
he spec suite is updated.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">The x5u parameter iden=
tifies what exactly?&nbsp; Is it the URI for a resource that, upon retrieva=
l (e.g., HTTP GET), produces an X.509 certificate (chain)?&nbsp; I think th=
at's what you mean.&nbsp; The example seems to use
 base64url encoding, which seems pointless.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">It provides an HTTPS a=
ddress where a PEM-encoded certificate can be retrieved.&nbsp; An example d=
ocument that could be retrieved from such a URL follows:<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">-----BEGIN CERTIFICATE---=
--<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">MIIFZTCCBE2gAwIBAgIHBJJdc=
HgSKjANBgkqhkiG9w0BAQUFADCByjELMAkGA1U<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">EBhMCVVMxEDAOBgNVBAgTB0Fy=
aXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGj<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">AYBgNVBAoTEUdvRGFkZHkuY29=
tLCBJbmMuMTMwMQYDVQQLEypodHRwOi8vY2Vyd<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">GlmaWNhdGVzLmdvZGFkZHkuY2=
9tL3JlcG9zaXRvcnkxMDAuBgNVBAMTJ0dvIERh<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">ZGR5IFNlY3VyZSBDZXJ0aWZpY=
2F0aW9uIEF1dGhvcml0eTERMA8GA1UEBRMIMDc<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">5NjkyODcwHhcNMTEwMzE2MjMy=
NTQzWhcNMTMwNDAxMjMwMjA0WjBZMRkwFwYDVQ<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">QKExBzZWxmLWlzc3VlZC5pbmZ=
vMSEwHwYDVQQLExhEb21haW4gQ29udHJvbCBWY<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">WxpZGF0ZWQxGTAXBgNVBAMTEH=
NlbGYtaXNzdWVkLmluZm8wggEiMA0GCSqGSIb3<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">DQEBAQUAA4IBDwAwggEKAoIBA=
QD1fyn6Ghpb0&#43;jiYghqXGLr&#43;5fyMaP/EmvGar/<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">Y8&#43;z9/97MGvakcbuQty/d=
VgHtVFZ3Rt2lyshnY/GhbbzxJsPAm7f1vYvOQAE&#43;6m<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">KLHhKneZX0OUkGfOAW/wARwj8=
wavb6fxhRPmM4M4sJcfP3fCAC7zNw76o5kjyLc<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">kHSMJaSY2hQGOAAgjbcTiW9LM=
3koMILT27Nuub3b4pFz1M1MzVGH1vHiDr2P1jB<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">wvjWdBlm&#43;&#43;PMbI1bM=
izVcFUjBYF7F6ZK2L1Uq7q807vX8ilWUCctUXb9GUiC1qf<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">JMBHJnNP8bWS19C/rn1pNG/Xa=
cTIEljdr42AupnMO8OdKyzqh27t/AgMBAAGjgg<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">G&#43;MIIBujAPBgNVHRMBAf8=
EBTADAQEAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrB<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">gEFBQcDAjAOBgNVHQ8BAf8EBA=
MCBaAwMwYDVR0fBCwwKjAooCagJIYiaHR0cDov<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">L2NybC5nb2RhZGR5LmNvbS9nZ=
HMxLTMyLmNybDBNBgNVHSAERjBEMEIGC2CGSAG<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">G/W0BBxcBMDMwMQYIKwYBBQUH=
AgEWJWh0dHBzOi8vY2VydHMuZ29kYWRkeS5jb2<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">0vcmVwb3NpdG9yeS8wgYAGCCs=
GAQUFBwEBBHQwcjAkBggrBgEFBQcwAYYYaHR0c<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">DovL29jc3AuZ29kYWRkeS5jb2=
0vMEoGCCsGAQUFBzAChj5odHRwOi8vY2VydGlm<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">aWNhdGVzLmdvZGFkZHkuY29tL=
3JlcG9zaXRvcnkvZ2RfaW50ZXJtZWRpYXRlLmN<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">ydDAfBgNVHSMEGDAWgBT9rGEy=
k2xF1uLuhV&#43;auud2mWjM5zAxBgNVHREEKjAogh<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">BzZWxmLWlzc3VlZC5pbmZvghR=
3d3cuc2VsZi1pc3N1ZWQuaW5mbzAdBgNVHQ4EF<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">gQUL6asvp9irFa7vGtuSMqVu5=
Y/rYQwDQYJKoZIhvcNAQEFBQADggEBAADcgZaX<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">7ebQMyt/yia7f1npgGFyTQeCw=
f52dnorjbF&#43;nCvwFHTK7CmZ/wXY5CZ1a0thUqa<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">XZ0JDYwCZbIl85PufnNgPf8RS=
kmAQSu9ccJy2Egnw/vdTDcm4uOw1iXEnN/pb1J<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">FCQQd7ypYTx7jWY/XEABJmVy2=
6o1wW0S2FslwaXVkmi4deePt5iWLpaJG9haWVg<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">mi3aYO4Yhcpv2bFZzAgdHKCs9=
RTkjEzu2T9JSjjF40tA1Ifn/dTlEKXVPRiN0sE<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">NKklsGFlJTo2VkHJvikiOj86I=
oWCTecY9&#43;0Sec7QfSscmsVDmE766b5coGGz3iE<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">qPbnjYUp2vtaNfyNqHQ4=3D<o=
:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">-----END CERTIFICATE-----=
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">A certificate chain can also be provided at this =
site.&nbsp; An example of such a chain is:<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----BEGIN CERTIFICATE=
-----<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">MIIE3jCCA8agAwIBAgICAw=
EwDQYJKoZIhvcNAQEFBQAwYzELMAkGA1UEBhMCVVM<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">xITAfBgNVBAoTGFRoZSBHb=
yBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR2<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">8gRGFkZHkgQ2xhc3MgMiBD=
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjExM<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">TYwMTU0MzdaFw0yNjExMTY=
wMTU0MzdaMIHKMQswCQYDVQQGEwJVUzEQMA4GA1UE<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">CBMHQXJpem9uYTETMBEGA1=
UEBxMKU2NvdHRzZGFsZTEaMBgGA1UEChMRR29EYWR<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">keS5jb20sIEluYy4xMzAxB=
gNVBAsTKmh0dHA6Ly9jZXJ0aWZpY2F0ZXMuZ29kYW<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">RkeS5jb20vcmVwb3NpdG9y=
eTEwMC4GA1UEAxMnR28gRGFkZHkgU2VjdXJlIENlc<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">nRpZmljYXRpb24gQXV0aG9=
yaXR5MREwDwYDVQQFEwgwNzk2OTI4NzCCASIwDQYJ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">KoZIhvcNAQEBBQADggEPAD=
CCAQoCggEBAMQt1RWMnCZM7DI161&#43;4WQFapmGBWTt<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">wY6vj3D3HKrjJM9N55DrtP=
DAjhI6zMBS2sofDPZVUBJ7fmd0LJR4h3mUpfjWoqV<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Tr9vcyOdQmVZWt7/v&#43;=
WIbXnvQAjYwqDL1CBM6nPwT27oDyqu9SoWlm2r4arV3aL<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">GbqGmu75RpRSgAvSMeYddi=
5Kcju&#43;GZtCpyz8/x4fKL4o/K1w/O5epHBp&#43;YlLpyo<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">7RJlbmr2EkRTcDCVw5wrWC=
s9CHRK8r5RsL&#43;H0EwnWGu1NcWdrxcx&#43;AuP7q2BNgW<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">JCJjPOq8lh8BJ6qf9Z/dFj=
pfMFDniNoW1fho3/Rb2cRGadDAW/hOUoz&#43;EDU8CAw<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">EAAaOCATIwggEuMB0GA1Ud=
DgQWBBT9rGEyk2xF1uLuhV&#43;auud2mWjM5zAfBgNVH<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">SMEGDAWgBTSxLDSkdRMEXG=
zYcs9of7dqGrU4zASBgNVHRMBAf8ECDAGAQH/AgEA<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">MDMGCCsGAQUFBwEBBCcwJT=
AjBggrBgEFBQcwAYYXaHR0cDovL29jc3AuZ29kYWR<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">keS5jb20wRgYDVR0fBD8wP=
TA7oDmgN4Y1aHR0cDovL2NlcnRpZmljYXRlcy5nb2<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">RhZGR5LmNvbS9yZXBvc2l0=
b3J5L2dkcm9vdC5jcmwwSwYDVR0gBEQwQjBABgRVH<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">SAAMDgwNgYIKwYBBQUHAgE=
WKmh0dHA6Ly9jZXJ0aWZpY2F0ZXMuZ29kYWRkeS5j<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">b20vcmVwb3NpdG9yeTAOBg=
NVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggE<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">BANKGwOy9&#43;aG2Z&#43=
;5mC6IGOgRQjhVyrEp0lVPLN8tESe8HkGsz2ZbwlFalEzAFPI<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">UyIXvJxwqoJKSQ3kbTJSMU=
A2fCENZvD117esyfxVgqwcSeIaha86ykRvOe5GPLL<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">5CkKSkB2XIsKd83ASe8T&#=
43;5o0yGPwLPk9Qnt0hCqU7S&#43;8MxZC9Y7lhyVJEnfzuz9<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">p0iRFEUOOjZv2kWzRaJByd=
TXRE4&#43;uXR21aITVSzGh6O1mawGhId/dQb8vxRMDsx<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">uxN89txJx9OjxUUAiKEngH=
UuHqDTMBqLdElrRhjZkAzVvb3du6/KFUJheqwNTrZ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">EjYx8WnM25sgVjOuH0aBsX=
BTWVU&#43;4=3D<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----END CERTIFICATE--=
---<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----BEGIN CERTIFICATE=
-----<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">MIIE&#43;zCCBGSgAwIBAg=
ICAQ0wDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1Z<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">hbGlDZXJ0IFZhbGlkYXRpb=
24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIE<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">luYy4xNTAzBgNVBAsTLFZh=
bGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">24gQXV0aG9yaXR5MSEwHwY=
DVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8x<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">IDAeBgkqhkiG9w0BCQEWEW=
luZm9AdmFsaWNlcnQuY29tMB4XDTA0MDYyOTE3MDY<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">yMFoXDTI0MDYyOTE3MDYyM=
FowYzELMAkGA1UEBhMCVVMxITAfBgNVBAoTGFRoZS<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">BHbyBEYWRkeSBHcm91cCwg=
SW5jLjExMC8GA1UECxMoR28gRGFkZHkgQ2xhc3MgM<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">iBDZXJ0aWZpY2F0aW9uIEF=
1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQADggEN<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">ADCCAQgCggEBAN6d1&#43;=
pXGEmhW&#43;vXX0iG6r7d/&#43;TvZxz0ZWizV3GgXne77ZtJ6XC<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">APVYYYwhv2vLM0D9/AlQiV=
BDYsoHUwHU9S3/Hd8M&#43;eKsaA7Ugay9qK7HFiH7Eux<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">6wwdhFJ2&#43;qN1j3hybX=
2C32qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLO<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">tXiEqITLdiOr18SPaAIBQi=
2XKVlOARFmR6jYGB0xUGlcmIbYsUfb18aQr4CUWWo<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">riMYavx4A6lNf4DD&#43;q=
ta/KFApMoZFv6yyO9ecw3ud72a9nmYvLEHZ6IVDd2gWMZ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Eewo&#43;YihfukEHU1jPE=
X44dMX4/7VpkI&#43;EdOqXG68CAQOjggHhMIIB3TAdBgNVHQ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">4EFgQU0sSw0pHUTBFxs2HL=
PaH&#43;3ahq1OMwgdIGA1UdIwSByjCBx6GBwaSBvjCBu<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">zEkMCIGA1UEBxMbVmFsaUN=
lcnQgVmFsaWRhdGlvbiBOZXR3b3JrMRcwFQYDVQQK<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Ew5WYWxpQ2VydCwgSW5jLj=
E1MDMGA1UECxMsVmFsaUNlcnQgQ2xhc3MgMiBQb2x<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">pY3kgVmFsaWRhdGlvbiBBd=
XRob3JpdHkxITAfBgNVBAMTGGh0dHA6Ly93d3cudm<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">FsaWNlcnQuY29tLzEgMB4G=
CSqGSIb3DQEJARYRaW5mb0B2YWxpY2VydC5jb22CA<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">QEwDwYDVR0TAQH/BAUwAwE=
B/zAzBggrBgEFBQcBAQQnMCUwIwYIKwYBBQUHMAGG<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">F2h0dHA6Ly9vY3NwLmdvZG=
FkZHkuY29tMEQGA1UdHwQ9MDswOaA3oDWGM2h0dHA<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">6Ly9jZXJ0aWZpY2F0ZXMuZ=
29kYWRkeS5jb20vcmVwb3NpdG9yeS9yb290LmNybD<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">BLBgNVHSAERDBCMEAGBFUd=
IAAwODA2BggrBgEFBQcCARYqaHR0cDovL2NlcnRpZ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">mljYXRlcy5nb2RhZGR5LmN=
vbS9yZXBvc2l0b3J5MA4GA1UdDwEB/wQEAwIBBjAN<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">BgkqhkiG9w0BAQUFAAOBgQ=
C1QPmnHfbq/qQaQlpE9xXUhUaJwL6e4&#43;PrxeNYiY&#43;<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Sn1eocSxI0YGyeR&#43;sB=
jUZsE4OWBsUs5iB0QQeyAfJg594RAoYC5jcdnplDQ1tgM<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">QLARzLrUc&#43;cb53S8wG=
d9D0VmsfSxOaFIqII6hR8INMqzW/Rn453HWkrugp&#43;&#43;85j<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">09VZw=3D=3D<o:p></o:p>=
</p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----END CERTIFICATE--=
---<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----BEGIN CERTIFICATE=
-----<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">MIIC5zCCAlACAQEwDQYJKo=
ZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">0IFZhbGlkYXRpb24gTmV0d=
29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNT<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">AzBgNVBAsTLFZhbGlDZXJ0=
IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0a<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">G9yaXR5MSEwHwYDVQQDExh=
odHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkq<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">hkiG9w0BCQEWEWluZm9Adm=
FsaWNlcnQuY29tMB4XDTk5MDYyNjAwMTk1NFoXDTE<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">5MDYyNjAwMTk1NFowgbsxJ=
DAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTm<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">V0d29yazEXMBUGA1UEChMO=
VmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">XJ0IENsYXNzIDIgUG9saWN=
5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQD<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">ExhodHRwOi8vd3d3LnZhbG=
ljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">AdmFsaWNlcnQuY29tMIGfM=
A0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOOnHK5a<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">vIWZJV16vYdA757tn2VUdZ=
ZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVCCSRrCl6zf<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">N1SLUzm1NZ9WlmpZdRJEy0=
kTRxQb7XBhVQ7/nHk01xC&#43;YDgkRoKWzk2Z/M/VXwb<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">P7RfZHM047QSv4dk&#43;N=
oS/zcnwbNDu&#43;97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQU<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">AA4GBADt/UG9vUJSZSWI4O=
B9L&#43;KXIPqeCgfYrx&#43;jFzug6EILLGACOTb2oWH&#43;heQ<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">C1u&#43;mNr0HZDzTuIYEZ=
oDJJKPTEjlbVUjP9UNV&#43;mWwD5MlM/Mtsq2azSiGM5bUMM<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">j4QssxsodyamEwCW/POuZ6=
lcg5Ktz885hZo&#43;L7tdEy8W9ViH0Pd<o:p></o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">-----END CERTIFICATE--=
---<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">&quot;Utilizing TLS&qu=
ot; also needs to be expanded.&nbsp; You obviously need to ensure that the =
authority providing the resource is authenticated and that the representati=
on you retrieve is free from modification, so say that.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Agreed</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">The &quot;typ&quot; pa=
rameter seems a little underspecified.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Agreed.&nbsp; I&#8217;=
d be interested in discussions on this topic in Taiwan.</span><o:p></o:p></=
p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">The epk parameter isn'=
t a string by its description, though the table indicates that it is.&nbsp;=
 ...unless you wanted to base64url encode the JSON object.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Actually, the ephemera=
l public key is represented as a string containing a JSON object in JWK for=
mat.&nbsp; An example such string value follows:<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; &quot;{\&quot;algorithm\=
&quot;:\&quot;EC\&quot;,<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&quot;curve=
\&quot;:\&quot;P-256\&quot;,<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&quot;x\&qu=
ot;:\&quot;MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4\&quot;,<o:p></o:p></=
span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&quot;y\&qu=
ot;:\&quot;4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM\&quot;,<o:p></o:p></=
span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&quot;use\&=
quot;:\&quot;encryption\&quot;,<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN" style=3D"font-size:10.0pt;font-=
family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&quot;keyid=
\&quot;:\&quot;1\&quot;}&quot;<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">The alg and enc parame=
ters use StringOrURI as their definition.&nbsp; There are no URIs defined f=
or either.&nbsp; I suspect that there is something in there you are wanting=
 to get at, but I recommend that just &quot;String&quot;
 is sufficient.&nbsp; After all, someone is going to have to decide if &quo=
t;alg&quot;: &quot;<a href=3D"http://foo"><span style=3D"color:windowtext;t=
ext-decoration:none">http://foo</span></a>&quot; is equal to &quot;alg&quot=
;: &quot;<a href=3D"HTTP://FOO"><span style=3D"color:windowtext;text-decora=
tion:none">HTTP://FOO</span></a>&quot;
 and I don't want to have to be that guy.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">See Section 9.2 on add=
itional algorithms
<a href=3D"http://tools.ietf.org/html/draft-jones-json-web-encryption-00#se=
ction-9.2">
http://tools.ietf.org/html/draft-jones-json-web-encryption-00#section-9.2</=
a>.&nbsp; Some possible URIs are referenced there.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">Saying that you charac=
ter-wise compare the strings for equality is really, really good.<o:p></o:p=
></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Thanks</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">That doesn't preclude =
the definition of a scheme where URIs are used to prevent collisions in the=
 namespace, but I suspect that your existing text on public/private use of =
codes is sufficient.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Thanks</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">BTW, I like your decis=
ion to make all parameters mandatory.&nbsp; This is less a concern with enc=
ryption as it is with signature, but it seems like it's better to be consis=
tent across the two.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">Thanks</span><o:p></o:=
p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText" style=3D"margin-left:.5in">--Martin<o:p></o:p></p=
>
<p class=3D"MsoNormal"><span style=3D"color:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#002060">&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:#002060">&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:#002060"><o:p>&nbsp;</o:p></spa=
n></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739435C22D91BTK5EX14MBXC284r_--

From Michael.Jones@microsoft.com  Fri Oct  7 12:19:40 2011
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 09C4521F8B35 for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 12:19:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.483
X-Spam-Level: 
X-Spam-Status: No, score=-10.483 tagged_above=-999 required=5 tests=[AWL=0.115, 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 nUNq+-fvGoul for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 12:19:38 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id CD89A21F8B2F for <jose@ietf.org>; Fri,  7 Oct 2011 12:19:38 -0700 (PDT)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (157.54.80.48) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 7 Oct 2011 12:22:53 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.01.0339.002; Fri, 7 Oct 2011 12:22:52 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Paul C. Bryan" <paul.bryan@forgerock.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcyFJnNB2h40c2gZRFe0j5Eh8FsVcQ==
Date: Fri, 7 Oct 2011 19:22:52 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739435C22D9D8TK5EX14MBXC284r_"
MIME-Version: 1.0
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 07 Oct 2011 19:19:40 -0000

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

VGhhbmtzIGZvciB5b3VyIHJlYWQgb2YgdGhlIGRvYyBhbmQgeW91ciBjb21tZW50cywgUGF1bC4g
IFJlcGxpZXMgaW5saW5lIGJlbG934oCmDQoNCkZyb206IHdvZXMtYm91bmNlc0BpZXRmLm9yZyBb
bWFpbHRvOndvZXMtYm91bmNlc0BpZXRmLm9yZ10gT24gQmVoYWxmIE9mIFBhdWwgQy4gQnJ5YW4N
ClNlbnQ6IE1vbmRheSwgU2VwdGVtYmVyIDEyLCAyMDExIDg6NDggQU0NClR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5vdGVkDQoNClBhdWwNCg0KICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgVGhhbmtz
IGEgYnVuY2ghDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAtLSBNaWtlDQoNCg==

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
Q2FsaWJyaTsNCglwYW5vc2UtMToyIDE1IDUgMiAyIDIgNCAzIDIgNDt9DQpAZm9udC1mYWNlDQoJ
e2ZvbnQtZmFtaWx5OlRhaG9tYTsNCglwYW5vc2UtMToyIDExIDYgNCAzIDUgNCA0IDIgNDt9DQov
KiBTdHlsZSBEZ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hbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHls
ZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90
O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzAwMjA2MCI+PG86cD4mbmJzcDs8L286cD48L3NwYW4+
PC9wPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_4E1F6AAD24975D4BA5B16804296739435C22D9D8TK5EX14MBXC284r_--

From ietf@augustcellars.com  Fri Oct  7 19:58:57 2011
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 C846A21F8A69 for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 19:58:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.979
X-Spam-Level: 
X-Spam-Status: No, score=-2.979 tagged_above=-999 required=5 tests=[AWL=-0.620, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SARE_LWSHORTT=1.24]
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 veTlddH+f86P for <jose@ietfa.amsl.com>; Fri,  7 Oct 2011 19:58:57 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 2BB4C21F8997 for <jose@ietf.org>; Fri,  7 Oct 2011 19:58:57 -0700 (PDT)
Received: from Tobias (173-8-216-38-Oregon.hfc.comcastbusiness.net [173.8.216.38]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id AEAE038F40; Fri,  7 Oct 2011 20:02:11 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com> <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com> <4E1F6AAD24975D4BA5B16804296739435C22D42E@TK5EX14MBXC284.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435C22D42E@TK5EX14MBXC284.redmond.corp.microsoft.com>
Date: Fri, 7 Oct 2011 20:40:55 -0700
Message-ID: <004a01cc856c$16d2d5e0$447881a0$@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: AQJ0WGLY+CvB7nxnSmCB9Hd3AjBUugItNPXgAr/NAeST+lRhIA==
Content-Language: en-us
Cc: draft-jones-json-web-signature@tools.ietf.org, jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 08 Oct 2011 02:58:57 -0000

Mike,

Is that SHOULD fail or MAY fail parsing?   I would have expected it to
succeed parsing and make the typ field be "foo".

This is probably a security issue that needs to be addressed as part of what
a security aware JSON parser needs to do.

Jim


> -----Original Message-----
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> Sent: Friday, October 07, 2011 9:11 AM
> To: John Bradley; Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: RE: [jose] draft-jones-json-web-signature comments
> 
> Thanks for your thoughtful read, Jim, and for your reply, John.  Nothing
to
> correct in your answers, John.
> 
> I will elaborate on point 4 by stating that it's not legal JSON syntax to
have
> two members with the same name.  Thus, the object {"typ":"JWT",
> "typ":"foo", "alg":"HS256"} should fail JSON parsing before ever being
> processed at the JWS level.
> 
> 				Cheers,
> 				-- Mike
> 
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> John Bradley
> Sent: Tuesday, October 04, 2011 3:01 PM
> To: Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: Re: [jose] draft-jones-json-web-signature comments
> 
> 
> On 2011-10-04, at 6:37 PM, Jim Schaad wrote:
> 
> > Personal Mail
> >
> > I have some comments about this draft that I hope you can clarify for
me:
> >
> > 1.  What set of security services are you interested in providing from
> > this document?  I generally think of signature and authentication
> > operations as providing a different set of services.  Specifically I
> > think of signatures as being more long term and something that I can
> > use to prove statements to a third party while I think of
> > authentication as being something between two specific parties and is
> > very short term, such as was things changed on the wire.  Since you
> > are combining both operations in a single integrity document with no
> > differentiation, I wonder if you should spell out the set of services
that you
> think are provided by this document.
> 
> Both are intended.  Though different signature algorithms may be more
> appropriate for each task.
> In OpenID Connect HMAC using shared secrets is used as the default for
> authentication.
> For Non Repudiation at LoA 3 RSA or ECDSA are required.
> 
> 
> >
> > 2.  If find the term "Decoded JWS Header Input" as being very
> > confusing (along with its kin).  When you say that you are encoding
> > the JSON object to get a Decoded JWS Payload my mind starts exploding.
> A JWS header that has been base64url decoded back to JSON.  Perhaps Input
> is not adding anything.
> The language can be looked at.
> 
> I can't find the section you are referring to.  Perhaps a line or section
for me
> to look at.
> 
> 
> 
> 
> >
> > 3.  While I realize that the UTF-8 and the ANSI representations are
> > going to be the same, I wonder if it might not be better to use ASCII
> > rather than
> > UTF-8 for the base64url encoded character set.  The fact that it has
> > been encoded by base64url restricts the set of possible characters
> > down from
> > UTF-8 into ASCII.  There should be no need to support or expect the
> > wide variety of UTF-8 characters at that point.
> 
> Per Sec 5 the JSON object's Unicode code points are translated to UTF-8
> before base64url encoding.
> The result is ASCII.  I don't quite see how you are getting the character
set to
> be UTF-8 after the base64 encoding.
> That must need to be made clearer.
> 
> 
> >
> > 4.  When you say that the names in the Decoded JWS Header Input must
> > be unique, it is not clear to me if you are saying that the names must
> > have a single registered meaning, or if you are saying that they
> > cannot occur in the input twice.  I.e. the object {"typ":"JWT",
> > "typ":"foo", "alg":"HS256"} is not legal.
> >
> Both,  Mike can clarify.
> 
> > 5.  I note that in your revisions section you say that you changed x5t
> > from
> > SHA-256 to SHA-1 for compatibility.  I think you may need to support
> > both with pre-defined names given the algorithm agility drive currently
> going on.
> 
> That is the hash calculation for the thumbprint.  I don't know of anyplace
> SHA256 is used for that.  It is mostly used to make the MS keystone happy.
> I was the one that changed it so am happy to hear counter arguments.
> 
> >
> > 6.  Are you missing something that you have a syntax name of IntDate
> > in table 2, but you do not have a header that uses it?  Is a registry
> > of syntaxes going to need to be defined?  (Side note - should it be
> > StringOrURI?)
> 
> That got copied from JWT it is used for expired time of tokens.  It should
be
> removed if not used.
> >
> > 7.  The statement that new header parameters may result in
> > non-interoperable JWSs appears to me to have no merit.  The validation
> > process should succeed independent of any new headers that are added.
> > What may change is how the output result would be used or interpreted
> > which would be a function of the client code setting things up not the
JWS
> library.
> 
> This needs discussion.  Some people are of the opinion that unknown
> options in security tokens should result in failure.
> >
> > 8.  In section 4.2 it is not clear from the text but it appears to me
> > that you are stating that a uri is a reasonable item to be used as a
> > new header parameter name.  Is that the intent?
> 
> That was the intent in JWT and I think in JWS/JWE as well.  Without
> namespaces there is the registry option or URLs.
> 
> Mike can elaborate on my answers or possibly correct me:)
> 
> John Bradley
> 
> >
> > Jim
> >
> >
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose


From Martin.Thomson@commscope.com  Sun Oct  9 16:43:55 2011
Return-Path: <Martin.Thomson@commscope.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 3E3FA21F8B48 for <jose@ietfa.amsl.com>; Sun,  9 Oct 2011 16:43:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-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 J0ms6pESE1B8 for <jose@ietfa.amsl.com>; Sun,  9 Oct 2011 16:43:54 -0700 (PDT)
Received: from cdcsmgw01.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id 85E9D21F8B46 for <jose@ietf.org>; Sun,  9 Oct 2011 16:43:54 -0700 (PDT)
X-AuditID: 0a0404e8-b7c2eae000002297-f7-4e9231b5e3ba
Received: from ACDCE7HC2.commscope.com ( [10.86.20.103]) by cdcsmgw01.commscope.com (Symantec Brightmail Gateway) with SMTP id 89.B2.08855.5B1329E4; Sun,  9 Oct 2011 18:43:50 -0500 (CDT)
Received: from SISPE7HC1.commscope.com (10.97.4.12) by ACDCE7HC2.commscope.com (10.86.20.103) with Microsoft SMTP Server (TLS) id 8.3.192.1; Sun, 9 Oct 2011 18:43:49 -0500
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC1.commscope.com ([fe80::8a9:4724:f6bb:3cdf%10]) with mapi; Mon, 10 Oct 2011 07:43:44 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: Mike Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Date: Mon, 10 Oct 2011 07:43:41 +0800
Thread-Topic: First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcxtF+lzVYs2di5FQHC5saaCF9soogACmqsQBfsCJOAAcIHLcA==
Message-ID: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CBEB@SISPE7MB1.commscope.com>
References: <4E1F6AAD24975D4BA5B16804296739435B782D23@TK5EX14MBXC203.redmond.corp.microsoft.com> <27AFD040F6F8AA4193E0614E2E3AF9C910CE60903C@SISPE7MB1.commscope.com> <4E1F6AAD24975D4BA5B16804296739435C22D91B@TK5EX14MBXC284.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435C22D91B@TK5EX14MBXC284.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: Nat Sakimura <nat@sakimura.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Oct 2011 23:43:55 -0000

Hi Mike,

You know, the document does not contain a complete example.  That is, an ex=
ample that includes header+key+ciphertext (and the corresponding plain text=
).  Until I read it again, I didn't realize that you were using base64url o=
n each part and concatenating with '.' as a separator.

I was previously under the impression that this was one big JSON object.  B=
ut then I couldn't find the "ciphertext" parameter.

A few more replies inline.

On 2011-10-08 at 06:01:59, Mike Jones wrote:
> {MT} The x5u parameter identifies what exactly?  Is it the URI for a=20
> resource that, upon retrieval (e.g., HTTP GET), produces an X.509=20
> certificate (chain)?  I think that's what you mean.  The example seems=20
> to use base64url encoding, which seems pointless.
>=20
> It provides an HTTPS address where a PEM-encoded certificate can be=20
> retrieved.  An example document that could be retrieved from such a=20
> URL
> follows:

I should have been clearer.  *I* understand what x5u means, but the text is=
 a little ambiguous.

OLD:
   The "x5u" (X.509 URL) header parameter is a URL utilizing TLS (as define=
d in RFC 5785 [RFC5785]) that points to an X.509 public key certificate or =
certificate chain that that corresponds to the key that was used to encrypt=
 the JWE.  This certificate or certificate chain MUST use the PEM encoding =
(per RFC 1421 [RFC1421]) and MUST conform to RFC 5280 [RFC5280].  This head=
er parameter is OPTIONAL. =20

SUGGEST:
   The "x5u" (X.509 URL) header parameter is a URL that refers to a resourc=
e for the X.509 public key certificate or certificate chain corresponding t=
o the key used to encrypt the object.

   The identified resource MUST provide a representation of the certificate=
 or certificate chain that conforms to RFC 5280 [RFC5280] in PEM encoded fo=
rm [RFC 1421].   [TBD: determine correct MIME type for PEM-encoded certific=
ate chain]

   The protocol used to acquire the resource MUST provide integrity protect=
ion.  An HTTP GET request [RFC2616] to retrieve the certificate MUST use TL=
S [RFC2818][RFC5246] with server authentication [RFC6125].

Notes:
 - The TLS stuff has far less impact for encryption than it does for signin=
g, but it might be good to get the text right and then reuse it.
 - Using RFC 5785 as a reference here is strange.
 - The implicit assumption here is that we're using HTTP over TLS [RFC2818]=
, but that doesn't mean that another protocol cannot provide secure access =
to the certificate.
 - This doesn't constrain the resource from using content negotiation to pr=
ovide an alternative form if that suits.  For instance, I might like to ret=
rieve a java keystore, but that's my business :)
 - I'm not sure that describing optionality on each parameter is a great ap=
proach because of the way that each parameter interacts.  It might be bette=
r to say that a JWE MUST contain (a+b+c OR a+b+d OR b+e) and MAY contain an=
y other parameter.  Then for each of the optional parameter, describe why i=
t might be included or provide enough information in the description to mak=
e this obvious.

> {MT} The "typ" parameter seems a little underspecified.
> Agreed.  I'd be interested in discussions on this topic in Taiwan.

It seems like MIME would work here.  You might also like to discuss the pos=
sibility of revealing something about the payload through its content type.=
  This should very much be optional.

> {MT} The epk parameter isn't a string by its description, though the tabl=
e=20
> indicates that it is.  ...unless you wanted to base64url encode the=20
> JSON object.
>
> Actually, the ephemeral public key is represented as a string=20
> containing a JSON object in JWK format. =20

Why not make "epk" a JSON object directly?  Does it need to be quoted for a=
ny particular reason?
=20
> {MT} The alg and enc parameters use StringOrURI as their definition.  The=
re=20
> See Section 9.2 on additional algorithms

Ahh.   That might be a good addition to the description, I missed it there.

Cheers,
Martin

From paul.bryan@forgerock.com  Tue Oct 11 18:34:34 2011
Return-Path: <paul.bryan@forgerock.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 C4CD321F8C7A for <jose@ietfa.amsl.com>; Tue, 11 Oct 2011 18:34:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[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 TSB7sAthaEM5 for <jose@ietfa.amsl.com>; Tue, 11 Oct 2011 18:34:33 -0700 (PDT)
Received: from eu1sys200aog102.obsmtp.com (eu1sys200aog102.obsmtp.com [207.126.144.113]) by ietfa.amsl.com (Postfix) with SMTP id 9B30F21F8C00 for <jose@ietf.org>; Tue, 11 Oct 2011 18:34:31 -0700 (PDT)
Received: from mail-qw0-f43.google.com ([209.85.216.43]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP;  Wed, 12 Oct 2011 01:34:32 UTC
Received: by qabg14 with SMTP id g14so238781qab.2 for <jose@ietf.org>; Tue, 11 Oct 2011 18:34:21 -0700 (PDT)
Received: by 10.224.194.70 with SMTP id dx6mr17075243qab.74.1318383261795; Tue, 11 Oct 2011 18:34:21 -0700 (PDT)
Received: from [192.168.1.177] (S0106a021b762dbb3.vf.shawcable.net. [174.1.40.184]) by mx.google.com with ESMTPS id ef8sm785319qab.12.2011.10.11.18.34.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Oct 2011 18:34:20 -0700 (PDT)
From: "Paul C. Bryan" <paul.bryan@forgerock.com>
To: "jose@ietf.org" <jose@ietf.org>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com>
Content-Type: multipart/alternative; boundary="=-Cw+S7ymGwUL9ewraGE+t"
Date: Tue, 11 Oct 2011 18:34:42 -0700
Message-ID: <1318383282.8756.289.camel@dynamo>
Mime-Version: 1.0
X-Mailer: Evolution 2.30.3 
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 12 Oct 2011 01:34:34 -0000

--=-Cw+S7ymGwUL9ewraGE+t
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Fri, 2011-10-07 at 19:22 +0000, Mike Jones wrote:

[snip]

> Where URL-safety and compactness aren’t a concern, alternate pure-JSON
> serializations are possible.  The current drafts specify only the
> URL-safe compact serialization, as it’s the one best suited for
> existing use cases, but the working group could decide to add another
> one.  (In fact, a past draft of the precursor JWT spec did define two
> serializations: Compact and JSON; the JSON Serialization was later
> dropped by consensus.  See
> http://self-issued.info/docs/draft-jones-json-web-token-01.html#Serializations.)

I'm strongly in favour of—and will probably continue to strongly
advocate—the use of a JSON-proper representation, which contains the
encrypted key and ciphertext, allowing the entire document to be
deserialized with one (JSON) library. Perhaps only this representation
would be given a media type "application/jwe+json".

[snip]


> > Is this [typ String String] meant to be the Internet media type?
> 
> Sometimes, but not necessarily.  It’s intended to allow software that
> wants to understand the type of the encrypted object to do so before
> decryption.  There are multiple representations that could be used in
> practice.  This is an area of the spec that probably deserves further
> specification or clarification.

I'm in favour of using a standardized type representation, in this case
an Internet media type. I'm not sure what the value would be of opening
it up further, though I'm open to suggestions. 

[snip]

Paul


--=-Cw+S7ymGwUL9ewraGE+t
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY LINK="#0000ff">
On Fri, 2011-10-07 at 19:22 +0000, Mike Jones wrote:<BR>
<BR>
[snip]<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    Where URL-safety and compactness aren&#8217;t a concern, alternate pure-JSON serializations are possible.&nbsp; The current drafts specify only the URL-safe compact serialization, as it&#8217;s the one best suited for existing use cases, but the working group could decide to add another one.&nbsp; (In fact, a past draft of the precursor JWT spec did define two serializations: Compact and JSON; the JSON Serialization was later dropped by consensus.&nbsp; See <A HREF="http://self-issued.info/docs/draft-jones-json-web-token-01.html#Serializations.)">http://self-issued.info/docs/draft-jones-json-web-token-01.html#Serializations.)</A><BR>
</BLOCKQUOTE>
I'm strongly in favour of&#8212;and will probably continue to strongly advocate&#8212;the use of a JSON-proper representation, which contains the encrypted key and ciphertext, allowing the entire document to be deserialized with one (JSON) library. Perhaps only this representation would be given a media type &quot;application/jwe+json&quot;.<BR>
<BR>
[snip]<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE TYPE=CITE>
        Is this [typ String String] meant to be the Internet media type?<BR>
    </BLOCKQUOTE>
    Sometimes, but not necessarily.&nbsp; It&#8217;s intended to allow software that wants to understand the type of the encrypted object to do so before decryption.&nbsp; There are multiple representations that could be used in practice.&nbsp; This is an area of the spec that probably deserves further specification or clarification.<BR>
</BLOCKQUOTE>
I'm in favour of using a standardized type representation, in this case an Internet media type. I'm not sure what the value would be of opening it up further, though I'm open to suggestions. <BR>
<BR>
[snip]<BR>
<BR>
Paul
<BR>
</BODY>
</HTML>

--=-Cw+S7ymGwUL9ewraGE+t--


From ve7jtb@ve7jtb.com  Wed Oct 12 06:18:01 2011
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 D6EB221F8B8E for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 06:18:01 -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 6ThGbk6j6Jta for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 06:18:00 -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 4E79621F8CCE for <jose@ietf.org>; Wed, 12 Oct 2011 06:18:00 -0700 (PDT)
Received: by ywm3 with SMTP id 3so828496ywm.31 for <jose@ietf.org>; Wed, 12 Oct 2011 06:17:59 -0700 (PDT)
Received: by 10.236.191.161 with SMTP id g21mr37294905yhn.3.1318425479922; Wed, 12 Oct 2011 06:17:59 -0700 (PDT)
Received: from [192.168.1.213] ([190.22.44.116]) by mx.google.com with ESMTPS id v28sm2791042yhi.11.2011.10.12.06.17.53 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Oct 2011 06:17:58 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: multipart/signed; boundary="Apple-Mail=_57AB04B0-2D7B-4523-8D8D-EBACB0DC410B"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <1318383282.8756.289.camel@dynamo>
Date: Wed, 12 Oct 2011 10:16:37 -0300
Message-Id: <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo>
To: "Paul C. Bryan" <paul.bryan@forgerock.com>
X-Mailer: Apple Mail (2.1244.3)
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 12 Oct 2011 13:18:02 -0000

--Apple-Mail=_57AB04B0-2D7B-4523-8D8D-EBACB0DC410B
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_A7D43CBE-4E70-45BF-9EFC-D9B024830E3B"


--Apple-Mail=_A7D43CBE-4E70-45BF-9EFC-D9B024830E3B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Nat and I did originally have a JSON serialization for signature and =
encryption.

The payload was however still base64url encoded to deal with =
canonicalization.=20

I agree for applications other than security tokens in headers,  having =
the elements in a JSON document makes it easier to process.

John B.
On 2011-10-11, at 10:34 PM, Paul C. Bryan wrote:

> On Fri, 2011-10-07 at 19:22 +0000, Mike Jones wrote:
>=20
> [snip]
>=20
>> Where URL-safety and compactness aren=92t a concern, alternate =
pure-JSON serializations are possible.  The current drafts specify only =
the URL-safe compact serialization, as it=92s the one best suited for =
existing use cases, but the working group could decide to add another =
one.  (In fact, a past draft of the precursor JWT spec did define two =
serializations: Compact and JSON; the JSON Serialization was later =
dropped by consensus.  See =
http://self-issued.info/docs/draft-jones-json-web-token-01.html#Serializat=
ions.)
> I'm strongly in favour of=97and will probably continue to strongly =
advocate=97the use of a JSON-proper representation, which contains the =
encrypted key and ciphertext, allowing the entire document to be =
deserialized with one (JSON) library. Perhaps only this representation =
would be given a media type "application/jwe+json".
>=20
> [snip]
>=20
>>> Is this [typ String String] meant to be the Internet media type?
>> Sometimes, but not necessarily.  It=92s intended to allow software =
that wants to understand the type of the encrypted object to do so =
before decryption.  There are multiple representations that could be =
used in practice.  This is an area of the spec that probably deserves =
further specification or clarification.
> I'm in favour of using a standardized type representation, in this =
case an Internet media type. I'm not sure what the value would be of =
opening it up further, though I'm open to suggestions.=20
>=20
> [snip]
>=20
> Paul=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_A7D43CBE-4E70-45BF-9EFC-D9B024830E3B
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; ">Nat =
and I did originally have a JSON serialization for signature and =
encryption.<div><br></div><div>The payload was however still base64url =
encoded to deal with canonicalization.&nbsp;</div><div><br></div><div>I =
agree for applications other than security tokens in headers, =
&nbsp;having the elements in a JSON document makes it easier to =
process.</div><div><br></div><div>John B.<br><div><div>On 2011-10-11, at =
10:34 PM, Paul C. Bryan wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">


  <meta http-equiv=3D"Content-Type" content=3D"text/html; =
CHARSET=3DUTF-8">
  <meta name=3D"GENERATOR" content=3D"GtkHTML/3.30.3">

<div link=3D"#0000ff">
On Fri, 2011-10-07 at 19:22 +0000, Mike Jones wrote:<br>
<br>
[snip]<br>
<br>
<blockquote type=3D"CITE">
    Where URL-safety and compactness aren=92t a concern, alternate =
pure-JSON serializations are possible.&nbsp; The current drafts specify =
only the URL-safe compact serialization, as it=92s the one best suited =
for existing use cases, but the working group could decide to add =
another one.&nbsp; (In fact, a past draft of the precursor JWT spec did =
define two serializations: Compact and JSON; the JSON Serialization was =
later dropped by consensus.&nbsp; See <a =
href=3D"http://self-issued.info/docs/draft-jones-json-web-token-01.html#Se=
rializations.)">http://self-issued.info/docs/draft-jones-json-web-token-01=
.html#Serializations.)</a><br>
</blockquote>
I'm strongly in favour of=97and will probably continue to strongly =
advocate=97the use of a JSON-proper representation, which contains the =
encrypted key and ciphertext, allowing the entire document to be =
deserialized with one (JSON) library. Perhaps only this representation =
would be given a media type "application/jwe+json".<br>
<br>
[snip]<br>
<br>
<blockquote type=3D"CITE">
    <blockquote type=3D"CITE">
        Is this [typ String String] meant to be the Internet media =
type?<br>
    </blockquote>
    Sometimes, but not necessarily.&nbsp; It=92s intended to allow =
software that wants to understand the type of the encrypted object to do =
so before decryption.&nbsp; There are multiple representations that =
could be used in practice.&nbsp; This is an area of the spec that =
probably deserves further specification or clarification.<br>
</blockquote>
I'm in favour of using a standardized type representation, in this case =
an Internet media type. I'm not sure what the value would be of opening =
it up further, though I'm open to suggestions. <br>
<br>
[snip]<br>
<br>
Paul
<br>
</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<br></blockquote></div><br></div></body></html>=

--Apple-Mail=_A7D43CBE-4E70-45BF-9EFC-D9B024830E3B--

--Apple-Mail=_57AB04B0-2D7B-4523-8D8D-EBACB0DC410B
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO9TCCBwsw
ggXzoAMCAQICAgZDMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTAwMzE3MTM0NDQ1WhcNMTIwMzE4MTE1NTExWjCBzTEgMB4GA1UEDRMXMTY1NTU1LTJHU3FU
T1ZUbkk4OHhOSW4xCzAJBgNVBAYTAkNMMSIwIAYDVQQIExlNZXRyb3BvbGl0YW5hIGRlIFNhbnRp
YWdvMREwDwYDVQQHEwhWaXRhY3VyYTEtMCsGA1UECxMkU3RhcnRDb20gVmVyaWZpZWQgQ2VydGlm
aWNhdGUgTWVtYmVyMRUwEwYDVQQDEwxKb2huIEJyYWRsZXkxHzAdBgkqhkiG9w0BCQEWEGpicmFk
bGV5QG1hYy5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDB7DXf6x80dsJiB9B9
Ds4cBQdA+9bNuZMBeXkUAHrvYH2taw6y8fcadbhgk92FyPiCbsHtB1VTaJThaMqtXuTkS4r5Sfb8
k5kboz3OQVPMmrOJIUpao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ahf2SH8Ufl6o9hjQN3w7oP5yBRBtElvdjC39K84oc5xe7qDwb3dADM
BBdQ/2T8Hz6B0xXBlX77di5yF5sHj+lHkYmluCSqvUolIcBXqsZnmOBiNSvtTy/Fvc34XOMTmixo
ZWVBfXf5+/qkZLDDM3h70QosU4vHnb9IMy260bO1eRfWrEXwNqmemsgYR++8EFeHynuYFTqJcyd2
1PRmtTFGDTK0+o4tB7yO80SfYE8k8F/k2/CoOyu7ZqsCuLfU3yld5HISfy9xH0zHYjLYV5CBz+yB
F1FeBFgK0MQAXk0a1qb5En08G9YnTgLaPhDSTapDAAAAAAAA

--Apple-Mail=_57AB04B0-2D7B-4523-8D8D-EBACB0DC410B--

From Martin.Thomson@commscope.com  Wed Oct 12 15:10:30 2011
Return-Path: <Martin.Thomson@commscope.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 0320921F8C77 for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 15:10:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.274
X-Spam-Level: 
X-Spam-Status: No, score=-3.274 tagged_above=-999 required=5 tests=[AWL=-0.675, 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 4buHPV7YjBFv for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 15:10:29 -0700 (PDT)
Received: from cdcsmgw01.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id 6A46B21F8BB5 for <jose@ietf.org>; Wed, 12 Oct 2011 15:10:29 -0700 (PDT)
X-AuditID: 0a0404e8-b7c2eae000002297-db-4e961054b8ff
Received: from ACDCE7HC2.commscope.com ( [10.86.20.103]) by cdcsmgw01.commscope.com (Symantec Brightmail Gateway) with SMTP id 7E.79.08855.450169E4; Wed, 12 Oct 2011 17:10:28 -0500 (CDT)
Received: from SISPE7HC2.commscope.com (10.97.4.13) by ACDCE7HC2.commscope.com (10.86.20.103) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 12 Oct 2011 17:10:28 -0500
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC2.commscope.com ([fe80::58c3:2447:f977:57c3%10]) with mapi; Thu, 13 Oct 2011 06:10:25 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: John Bradley <ve7jtb@ve7jtb.com>, "Paul C. Bryan" <paul.bryan@forgerock.com>
Date: Thu, 13 Oct 2011 06:10:23 +0800
Thread-Topic: [jose] First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcyI4WGzH6c8NDmdSUu77sQTfHtqIwASfERg
Message-ID: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo> <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com>
In-Reply-To: <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 12 Oct 2011 22:10:30 -0000

On 2011-10-13 at 00:16:37, John Bradley wrote:
> The payload was however still base64url encoded to deal with=20
> canonicalization.

Explain to me how canonicalization is necessary or useful.  The decision to=
 avoid a canonical representation of JSON was a smart one.

I would have thought that the JSON serialization is the best choice.  With =
a base64url serialization of the JSON serialization being a necessary conce=
ssion when including the encrypted object into certain constrained containe=
rs.  The current spec has it the wrong way 'round.

From ve7jtb@ve7jtb.com  Wed Oct 12 15:52:39 2011
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 7D4A521F8AF9 for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 15:52:38 -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 CF4mTdtcjbhJ for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 15:52:38 -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 5DA8121F8B72 for <jose@ietf.org>; Wed, 12 Oct 2011 15:52:37 -0700 (PDT)
Received: by ywm3 with SMTP id 3so573410ywm.31 for <jose@ietf.org>; Wed, 12 Oct 2011 15:52:37 -0700 (PDT)
Received: by 10.236.197.69 with SMTP id s45mr1568549yhn.54.1318459957021; Wed, 12 Oct 2011 15:52:37 -0700 (PDT)
Received: from [192.168.1.213] ([190.22.19.102]) by mx.google.com with ESMTPS id p8sm4616663yhe.17.2011.10.12.15.52.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Oct 2011 15:52:36 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: multipart/signed; boundary="Apple-Mail=_1341AA0A-211B-4B36-B242-93326B195278"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com>
Date: Wed, 12 Oct 2011 19:52:28 -0300
Message-Id: <369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo> <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com>
To: "Thomson, Martin" <Martin.Thomson@commscope.com>
X-Mailer: Apple Mail (2.1244.3)
Cc: "jose@ietf.org" <jose@ietf.org>, "Paul C. Bryan" <paul.bryan@forgerock.com>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 12 Oct 2011 22:52:39 -0000

--Apple-Mail=_1341AA0A-211B-4B36-B242-93326B195278
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Deal with by avoiding:)

For signing (not encryption with integrity)  the thing to be signed =
(JSON) needs to be armoured to avoid canonicalization. =20
The existing signature proposal takes the body and  BASE64URL encodes =
it, then calculates the hash over the encoded body.

The same is done for the envelope info.
The hash is then calculated over the encoded header and body =
concatenated with a ".".

Now you could take those two base64url encoded values and pass them =
inside a JSON object. =20
That is what we originally had as our JSON serialization.

Now it has been argued that you don't gain all that much because all the =
stuff you are invested in still needs to be decoded.

What you do gain is being able to pass a signed/encrypted object in a =
response and have the recipient be able to parse it as JSON without =
having to sniff the content or look at the mime type to see if it is the =
special dot concatenated form.  =20

I agree a JSON serialized form is useful, however it is not magic ether.

John B.

On 2011-10-12, at 7:10 PM, Thomson, Martin wrote:

> On 2011-10-13 at 00:16:37, John Bradley wrote:
>> The payload was however still base64url encoded to deal with=20
>> canonicalization.
>=20
> Explain to me how canonicalization is necessary or useful.  The =
decision to avoid a canonical representation of JSON was a smart one.
>=20
> I would have thought that the JSON serialization is the best choice.  =
With a base64url serialization of the JSON serialization being a =
necessary concession when including the encrypted object into certain =
constrained containers.  The current spec has it the wrong way 'round.


--Apple-Mail=_1341AA0A-211B-4B36-B242-93326B195278
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO9TCCBwsw
ggXzoAMCAQICAgZDMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTAwMzE3MTM0NDQ1WhcNMTIwMzE4MTE1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DEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgZDMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsT
IlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENs
YXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIGQzANBgkqhkiG9w0BAQEFAASC
AQBDxMUGU5rHyf2CGa2EbRgGHjKlJ70ppsYDh1+YRpZj1LROsZekd1yKSIHyYJaUn9ZBeEkJ1mSr
qmf+XypSZstt1+WQVBHFHK26nDlabJbhxurb0zKKnwjfYMDvsN1/7WvZ+ascojtgyuMdE3yo9wsp
qhXE5nYYxzYqWHGKnIjrGjZS2K1Zaht827/WFmnH1JHSUZyRVXaXAhwvgowSjKbiv2A3ju6AxLm+
6maImIyDbT4t56quiO1sWgFYfWpd6/dWcWQ60Blwh1YYpXZM0ZOL+xNTWARtreiovjQgqu/1IHwB
bBcGxsS7PFpZwUslIt+W+mdbXuke7ASqCW1FMWPfAAAAAAAA

--Apple-Mail=_1341AA0A-211B-4B36-B242-93326B195278--

From Martin.Thomson@commscope.com  Wed Oct 12 18:56:22 2011
Return-Path: <Martin.Thomson@commscope.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 4B85621F8AFA for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 18:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.139
X-Spam-Level: 
X-Spam-Status: No, score=-3.139 tagged_above=-999 required=5 tests=[AWL=-0.540, 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 SEjI1KK0foAJ for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 18:56:21 -0700 (PDT)
Received: from cdcsmgw01.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id BFBFF21F8AF4 for <jose@ietf.org>; Wed, 12 Oct 2011 18:56:21 -0700 (PDT)
X-AuditID: 0a0404e8-b7c2eae000002297-94-4e964544a17d
Received: from ACDCE7HC2.commscope.com ( [10.86.20.103]) by cdcsmgw01.commscope.com (Symantec Brightmail Gateway) with SMTP id 11.FC.08855.445469E4; Wed, 12 Oct 2011 20:56:20 -0500 (CDT)
Received: from SISPE7HC2.commscope.com (10.97.4.13) by ACDCE7HC2.commscope.com (10.86.20.103) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 12 Oct 2011 20:56:20 -0500
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC2.commscope.com ([fe80::58c3:2447:f977:57c3%10]) with mapi; Thu, 13 Oct 2011 09:56:14 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Date: Thu, 13 Oct 2011 09:56:12 +0800
Thread-Topic: [jose] First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcyJMaUgq0h0R85IQoKudXSAOzjuPgAACEJg
Message-ID: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo> <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com> <369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com>
In-Reply-To: <369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "jose@ietf.org" <jose@ietf.org>, "Paul C. Bryan" <paul.bryan@forgerock.com>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 01:56:22 -0000

On 2011-10-13 at 09:52:28, John Bradley wrote:
> Deal with by avoiding:)

An excellent tactic, agreed.  But canonicalization is only ever necessary i=
f you need to worry about someone playing around with the encrypted/signed =
octets.  You can avoid that problem by refusing to define a canonicalizatio=
n, so that tweaking breaks things.

> For signing (not encryption with integrity)  the thing to be signed
> (JSON) needs to be armoured to avoid canonicalization.
> The existing signature proposal takes the body and  BASE64URL encodes=20
> it, then calculates the hash over the encoded body.

I can see why you chose to base64url encode.  But base64url encoding the bo=
dy before signing is unnecessary.  You could just sign the octets.  Where y=
ou need to be careful is to ensure that you can sign over the header and pa=
yload in a way that the two are kept distinct.

Signature is very different from encryption, that's where I was having trou=
ble.  I've been looking more at the encryption side so far (it's easier).  =
In the encrypted object, the exact form of a lot of the metadata doesn't re=
ally matter, and having a JSON object is much easier.

For signature, as soon as you sign something, you want to pass around the o=
ctets that you signed.  Otherwise, someone makes a seemingly inconsequentia=
l change and screws up your signature.


From ietf@augustcellars.com  Wed Oct 12 19:59:36 2011
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 5AB4821F8C95 for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 19:59:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.949
X-Spam-Level: 
X-Spam-Status: No, score=-2.949 tagged_above=-999 required=5 tests=[AWL=0.650,  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 mYEEXUBvWu83 for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 19:59:35 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id E11E321F8C7B for <jose@ietf.org>; Wed, 12 Oct 2011 19:59:35 -0700 (PDT)
Received: from Tobias (176.120.168.69.static.onlinenw.com [69.168.120.176]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 7F5AE2CA2F; Wed, 12 Oct 2011 19:59:35 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Thomson, Martin'" <Martin.Thomson@commscope.com>, "'John Bradley'" <ve7jtb@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com>	<1318383282.8756.289.camel@dynamo>	<35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com>	<27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com>	<369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com>
In-Reply-To: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com>
Date: Wed, 12 Oct 2011 19:59:06 -0700
Message-ID: <008201cc8954$13d3fd60$3b7bf820$@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: AQFqeORuD3mb9V5rHZov1ORd3xWA3wLIuGOVApNcsqsBwmP29QJElrP5AYBCgxaV5pueMA==
Content-Language: en-us
Cc: jose@ietf.org, "'Paul C. Bryan'" <paul.bryan@forgerock.com>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 02:59:36 -0000

> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Thomson, Martin
> Sent: Wednesday, October 12, 2011 6:56 PM
> To: John Bradley
> Cc: jose@ietf.org; Paul C. Bryan
> Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec
published
> 
> On 2011-10-13 at 09:52:28, John Bradley wrote:
> > Deal with by avoiding:)
> 
> An excellent tactic, agreed.  But canonicalization is only ever necessary
if you
> need to worry about someone playing around with the encrypted/signed
> octets.  You can avoid that problem by refusing to define a
canonicalization,
> so that tweaking breaks things.
> 
> > For signing (not encryption with integrity)  the thing to be signed
> > (JSON) needs to be armoured to avoid canonicalization.
> > The existing signature proposal takes the body and  BASE64URL encodes
> > it, then calculates the hash over the encoded body.
> 
> I can see why you chose to base64url encode.  But base64url encoding the
> body before signing is unnecessary.  You could just sign the octets.
Where
> you need to be careful is to ensure that you can sign over the header and
> payload in a way that the two are kept distinct.
> 
> Signature is very different from encryption, that's where I was having
> trouble.  I've been looking more at the encryption side so far (it's
easier).  In
> the encrypted object, the exact form of a lot of the metadata doesn't
really
> matter, and having a JSON object is much easier.

The format of the metadata might matter if there is a desire to do AEAD
algorithms where plain text attributes are authenticated as part of the
encryption process.

Jim

> 
> For signature, as soon as you sign something, you want to pass around the
> octets that you signed.  Otherwise, someone makes a seemingly
> inconsequential change and screws up your signature.
> 
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From Martin.Thomson@commscope.com  Wed Oct 12 21:01:39 2011
Return-Path: <Martin.Thomson@commscope.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 0079821F85B9 for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 21:01:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.937
X-Spam-Level: 
X-Spam-Status: No, score=-2.937 tagged_above=-999 required=5 tests=[AWL=-0.337, 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 KS0SKX6jFg2e for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 21:01:38 -0700 (PDT)
Received: from cdcsmgw01.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id 80FAE21F85B5 for <jose@ietf.org>; Wed, 12 Oct 2011 21:01:38 -0700 (PDT)
X-AuditID: 0a0404e8-b7c2eae000002297-9f-4e9662a20a84
Received: from ACDCE7HC2.commscope.com ( [10.86.20.103]) by cdcsmgw01.commscope.com (Symantec Brightmail Gateway) with SMTP id 5D.9E.08855.2A2669E4; Wed, 12 Oct 2011 23:01:38 -0500 (CDT)
Received: from SISPE7HC1.commscope.com (10.97.4.12) by ACDCE7HC2.commscope.com (10.86.20.103) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 12 Oct 2011 23:01:37 -0500
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC1.commscope.com ([fe80::8a9:4724:f6bb:3cdf%10]) with mapi; Thu, 13 Oct 2011 12:01:33 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: Jim Schaad <ietf@augustcellars.com>, 'John Bradley' <ve7jtb@ve7jtb.com>
Date: Thu, 13 Oct 2011 12:01:31 +0800
Thread-Topic: [jose] First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AQFqeORuD3mb9V5rHZov1ORd3xWA3wLIuGOVApNcsqsBwmP29QJElrP5AYBCgxaV5pueMIAAEKYQ
Message-ID: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CE04@SISPE7MB1.commscope.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo> <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com> <369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com> <008201cc8954$13d3fd60$3b7bf820$@augustcellars.com>
In-Reply-To: <008201cc8954$13d3fd60$3b7bf820$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "jose@ietf.org" <jose@ietf.org>, "'Paul C. Bryan'" <paul.bryan@forgerock.com>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 04:01:39 -0000

On 2011-10-13 at 13:59:06, Jim Schaad wrote:
> > the encrypted object, the exact form of a lot of the metadata=20
> > doesn't
> really
> > matter, and having a JSON object is much easier.
>=20
> The format of the metadata might matter if there is a desire to do=20
> AEAD algorithms where plain text attributes are authenticated as part=20
> of the encryption process.

I'd expect those attributes to separate to the non-authenticated attributes=
.  However, combined with a preference for consistency across the solutions=
, the current proposal is starting to look pretty reasonable.

From paul.bryan@forgerock.com  Wed Oct 12 21:53:49 2011
Return-Path: <paul.bryan@forgerock.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 8A5FD21F8B16 for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 21:53:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[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 cNhErWIpM-cc for <jose@ietfa.amsl.com>; Wed, 12 Oct 2011 21:53:49 -0700 (PDT)
Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com [207.126.144.129]) by ietfa.amsl.com (Postfix) with SMTP id 5F67321F8AFF for <jose@ietf.org>; Wed, 12 Oct 2011 21:53:47 -0700 (PDT)
Received: from mail-gy0-f179.google.com ([209.85.160.179]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP;  Thu, 13 Oct 2011 04:53:48 UTC
Received: by gyg4 with SMTP id 4so1422538gyg.10 for <jose@ietf.org>; Wed, 12 Oct 2011 21:53:23 -0700 (PDT)
Received: by 10.236.128.236 with SMTP id f72mr2729278yhi.13.1318481603177; Wed, 12 Oct 2011 21:53:23 -0700 (PDT)
Received: from [192.168.1.177] (S0106a021b762dbb3.vf.shawcable.net. [174.1.40.184]) by mx.google.com with ESMTPS id s42sm5775376yhs.0.2011.10.12.21.53.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Oct 2011 21:53:22 -0700 (PDT)
From: "Paul C. Bryan" <paul.bryan@forgerock.com>
To: "jose@ietf.org" <jose@ietf.org>
In-Reply-To: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo> <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com> <369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com>
Content-Type: multipart/alternative; boundary="=-e9XTH5vLxt0+nsIHMzpf"
Date: Wed, 12 Oct 2011 21:53:47 -0700
Message-ID: <1318481627.8756.312.camel@dynamo>
Mime-Version: 1.0
X-Mailer: Evolution 2.30.3 
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 04:53:49 -0000

--=-e9XTH5vLxt0+nsIHMzpf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

On Thu, 2011-10-13 at 09:56 +0800, Thomson, Martin wrote:


> I can see why you chose to base64url encode.  But base64url encoding
> the body before signing is unnecessary.  You could just sign the
> octets.  Where you need to be careful is to ensure that you can sign
> over the header and payload in a way that the two are kept distinct.


This presumes that the octets of the JSON document itself can remain
untouched, which is a prohibitive requirement IMO. Hence why Base64
encoding the JSON serialization octets and representing them in a JSON
string does make sense to me. What makes less sense to me is
concatenating such encoded strings into a new non-JSON representation
with different semantics and require a non-JSON parser to reconstruct
it.

Paul

--=-e9XTH5vLxt0+nsIHMzpf
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
On Thu, 2011-10-13 at 09:56 +0800, Thomson, Martin wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    I can see why you chose to base64url encode.&nbsp; But base64url encoding the body before signing is unnecessary.&nbsp; You could just sign the octets.&nbsp; Where you need to be careful is to ensure that you can sign over the header and payload in a way that the two are kept distinct.<BR>
</BLOCKQUOTE>
<BR>
This presumes that the octets of the JSON document itself can remain untouched, which is a prohibitive requirement IMO. Hence why Base64 encoding the JSON serialization octets and representing them in a JSON string does make sense to me. What makes less sense to me is concatenating such encoded strings into a new non-JSON representation with different semantics and require a non-JSON parser to reconstruct it.<BR>
<BR>
Paul
</BODY>
</HTML>

--=-e9XTH5vLxt0+nsIHMzpf--


From Michael.Jones@microsoft.com  Thu Oct 13 07:02:44 2011
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 1EC7F21F88B7 for <jose@ietfa.amsl.com>; Thu, 13 Oct 2011 07:02:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.979
X-Spam-Level: 
X-Spam-Status: No, score=-9.979 tagged_above=-999 required=5 tests=[AWL=-0.620, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24]
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 fY+HiYnHhOcy for <jose@ietfa.amsl.com>; Thu, 13 Oct 2011 07:02:41 -0700 (PDT)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 1816E21F8A96 for <jose@ietf.org>; Thu, 13 Oct 2011 07:02:37 -0700 (PDT)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 13 Oct 2011 07:02:36 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([157.54.7.154]) with mapi id 14.01.0339.002; Thu, 13 Oct 2011 07:02:36 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'John Bradley' <ve7jtb@ve7jtb.com>
Thread-Topic: [jose] draft-jones-json-web-signature comments
Thread-Index: AcyC2K7IjnPnYqSsRXaxSVf5o4GGNgAQyP2AAHvengAAJt0ogAECcQIw
Date: Thu, 13 Oct 2011 14:02:35 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C23A6FC@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <043901cc82dd$e12a70a0$a37f51e0$@augustcellars.com> <F706D4C4-DBC1-445C-B0DB-56C07B436C5B@ve7jtb.com> <4E1F6AAD24975D4BA5B16804296739435C22D42E@TK5EX14MBXC284.redmond.corp.microsoft.com> <004a01cc856c$16d2d5e0$447881a0$@augustcellars.com>
In-Reply-To: <004a01cc856c$16d2d5e0$447881a0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "draft-jones-json-web-signature@tools.ietf.org" <draft-jones-json-web-signature@tools.ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 14:02:44 -0000

Great point, Jim.  There is a serious Security Consideration here for all J=
SON-based specs.  In a security-aware JSON parser, I would say that it MUST=
 fail parsing.

				Cheers,
				-- Mike

-----Original Message-----
From: Jim Schaad [mailto:ietf@augustcellars.com]=20
Sent: Friday, October 07, 2011 8:41 PM
To: Mike Jones; 'John Bradley'
Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
Subject: RE: [jose] draft-jones-json-web-signature comments

Mike,

Is that SHOULD fail or MAY fail parsing?   I would have expected it to
succeed parsing and make the typ field be "foo".

This is probably a security issue that needs to be addressed as part of wha=
t a security aware JSON parser needs to do.

Jim


> -----Original Message-----
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> Sent: Friday, October 07, 2011 9:11 AM
> To: John Bradley; Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: RE: [jose] draft-jones-json-web-signature comments
>=20
> Thanks for your thoughtful read, Jim, and for your reply, John. =20
> Nothing
to
> correct in your answers, John.
>=20
> I will elaborate on point 4 by stating that it's not legal JSON syntax=20
> to
have
> two members with the same name.  Thus, the object {"typ":"JWT",=20
> "typ":"foo", "alg":"HS256"} should fail JSON parsing before ever being=20
> processed at the JWS level.
>=20
> 				Cheers,
> 				-- Mike
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf=20
> Of John Bradley
> Sent: Tuesday, October 04, 2011 3:01 PM
> To: Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: Re: [jose] draft-jones-json-web-signature comments
>=20
>=20
> On 2011-10-04, at 6:37 PM, Jim Schaad wrote:
>=20
> > Personal Mail
> >
> > I have some comments about this draft that I hope you can clarify=20
> > for
me:
> >
> > 1.  What set of security services are you interested in providing=20
> > from this document?  I generally think of signature and=20
> > authentication operations as providing a different set of services. =20
> > Specifically I think of signatures as being more long term and=20
> > something that I can use to prove statements to a third party while=20
> > I think of authentication as being something between two specific=20
> > parties and is very short term, such as was things changed on the=20
> > wire.  Since you are combining both operations in a single integrity=20
> > document with no differentiation, I wonder if you should spell out=20
> > the set of services
that you
> think are provided by this document.
>=20
> Both are intended.  Though different signature algorithms may be more=20
> appropriate for each task.
> In OpenID Connect HMAC using shared secrets is used as the default for=20
> authentication.
> For Non Repudiation at LoA 3 RSA or ECDSA are required.
>=20
>=20
> >
> > 2.  If find the term "Decoded JWS Header Input" as being very=20
> > confusing (along with its kin).  When you say that you are encoding=20
> > the JSON object to get a Decoded JWS Payload my mind starts exploding.
> A JWS header that has been base64url decoded back to JSON.  Perhaps=20
> Input is not adding anything.
> The language can be looked at.
>=20
> I can't find the section you are referring to.  Perhaps a line or=20
> section
for me
> to look at.
>=20
>=20
>=20
>=20
> >
> > 3.  While I realize that the UTF-8 and the ANSI representations are=20
> > going to be the same, I wonder if it might not be better to use=20
> > ASCII rather than
> > UTF-8 for the base64url encoded character set.  The fact that it has=20
> > been encoded by base64url restricts the set of possible characters=20
> > down from
> > UTF-8 into ASCII.  There should be no need to support or expect the=20
> > wide variety of UTF-8 characters at that point.
>=20
> Per Sec 5 the JSON object's Unicode code points are translated to=20
> UTF-8 before base64url encoding.
> The result is ASCII.  I don't quite see how you are getting the=20
> character
set to
> be UTF-8 after the base64 encoding.
> That must need to be made clearer.
>=20
>=20
> >
> > 4.  When you say that the names in the Decoded JWS Header Input must=20
> > be unique, it is not clear to me if you are saying that the names=20
> > must have a single registered meaning, or if you are saying that=20
> > they cannot occur in the input twice.  I.e. the object {"typ":"JWT",=20
> > "typ":"foo", "alg":"HS256"} is not legal.
> >
> Both,  Mike can clarify.
>=20
> > 5.  I note that in your revisions section you say that you changed=20
> > x5t from
> > SHA-256 to SHA-1 for compatibility.  I think you may need to support=20
> > both with pre-defined names given the algorithm agility drive=20
> > currently
> going on.
>=20
> That is the hash calculation for the thumbprint.  I don't know of=20
> anyplace
> SHA256 is used for that.  It is mostly used to make the MS keystone happy=
.
> I was the one that changed it so am happy to hear counter arguments.
>=20
> >
> > 6.  Are you missing something that you have a syntax name of IntDate=20
> > in table 2, but you do not have a header that uses it?  Is a=20
> > registry of syntaxes going to need to be defined?  (Side note -=20
> > should it be
> > StringOrURI?)
>=20
> That got copied from JWT it is used for expired time of tokens.  It=20
> should
be
> removed if not used.
> >
> > 7.  The statement that new header parameters may result in=20
> > non-interoperable JWSs appears to me to have no merit.  The=20
> > validation process should succeed independent of any new headers that a=
re added.
> > What may change is how the output result would be used or=20
> > interpreted which would be a function of the client code setting=20
> > things up not the
JWS
> library.
>=20
> This needs discussion.  Some people are of the opinion that unknown=20
> options in security tokens should result in failure.
> >
> > 8.  In section 4.2 it is not clear from the text but it appears to=20
> > me that you are stating that a uri is a reasonable item to be used=20
> > as a new header parameter name.  Is that the intent?
>=20
> That was the intent in JWT and I think in JWS/JWE as well.  Without=20
> namespaces there is the registry option or URLs.
>=20
> Mike can elaborate on my answers or possibly correct me:)
>=20
> John Bradley
>=20
> >
> > Jim
> >
> >
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose



From Michael.Jones@microsoft.com  Thu Oct 13 07:06:39 2011
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 6E18321F8AFE for <jose@ietfa.amsl.com>; Thu, 13 Oct 2011 07:06:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.475
X-Spam-Level: 
X-Spam-Status: No, score=-10.475 tagged_above=-999 required=5 tests=[AWL=0.124, 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 5Z-XYfV2h6GJ for <jose@ietfa.amsl.com>; Thu, 13 Oct 2011 07:06:38 -0700 (PDT)
Received: from smtp.microsoft.com (mailc.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 73A2E21F8B2E for <jose@ietf.org>; Thu, 13 Oct 2011 07:06:38 -0700 (PDT)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (157.54.80.48) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 13 Oct 2011 07:06:34 -0700
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.142]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.01.0339.002; Thu, 13 Oct 2011 07:06:34 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Thomson, Martin" <Martin.Thomson@commscope.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcxtF+lzVYs2di5FQHC5saaCF9soogACmqsQBfsCJOAAcIHLcAC4MCdw
Date: Thu, 13 Oct 2011 14:06:34 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435C23A731@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739435B782D23@TK5EX14MBXC203.redmond.corp.microsoft.com> <27AFD040F6F8AA4193E0614E2E3AF9C910CE60903C@SISPE7MB1.commscope.com> <4E1F6AAD24975D4BA5B16804296739435C22D91B@TK5EX14MBXC284.redmond.corp.microsoft.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CBEB@SISPE7MB1.commscope.com>
In-Reply-To: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CBEB@SISPE7MB1.commscope.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Nat Sakimura <nat@sakimura.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 14:06:39 -0000

All great clarifying input - thanks!  I'll work on incorporating this and p=
lan on publishing an updated draft within the next few weeks.

				-- Mike

-----Original Message-----
From: Thomson, Martin [mailto:Martin.Thomson@commscope.com]=20
Sent: Sunday, October 09, 2011 4:44 PM
To: Mike Jones; jose@ietf.org
Cc: Nat Sakimura
Subject: RE: First draft of JSON Web Encryption (JWE) spec published

Hi Mike,

You know, the document does not contain a complete example.  That is, an ex=
ample that includes header+key+ciphertext (and the corresponding plain text=
).  Until I read it again, I didn't realize that you were using base64url o=
n each part and concatenating with '.' as a separator.

I was previously under the impression that this was one big JSON object.  B=
ut then I couldn't find the "ciphertext" parameter.

A few more replies inline.

On 2011-10-08 at 06:01:59, Mike Jones wrote:
> {MT} The x5u parameter identifies what exactly?  Is it the URI for a=20
> resource that, upon retrieval (e.g., HTTP GET), produces an X.509=20
> certificate (chain)?  I think that's what you mean.  The example seems=20
> to use base64url encoding, which seems pointless.
>=20
> It provides an HTTPS address where a PEM-encoded certificate can be=20
> retrieved.  An example document that could be retrieved from such a=20
> URL
> follows:

I should have been clearer.  *I* understand what x5u means, but the text is=
 a little ambiguous.

OLD:
   The "x5u" (X.509 URL) header parameter is a URL utilizing TLS (as define=
d in RFC 5785 [RFC5785]) that points to an X.509 public key certificate or =
certificate chain that that corresponds to the key that was used to encrypt=
 the JWE.  This certificate or certificate chain MUST use the PEM encoding =
(per RFC 1421 [RFC1421]) and MUST conform to RFC 5280 [RFC5280].  This head=
er parameter is OPTIONAL. =20

SUGGEST:
   The "x5u" (X.509 URL) header parameter is a URL that refers to a resourc=
e for the X.509 public key certificate or certificate chain corresponding t=
o the key used to encrypt the object.

   The identified resource MUST provide a representation of the certificate=
 or certificate chain that conforms to RFC 5280 [RFC5280] in PEM encoded fo=
rm [RFC 1421].   [TBD: determine correct MIME type for PEM-encoded certific=
ate chain]

   The protocol used to acquire the resource MUST provide integrity protect=
ion.  An HTTP GET request [RFC2616] to retrieve the certificate MUST use TL=
S [RFC2818][RFC5246] with server authentication [RFC6125].

Notes:
 - The TLS stuff has far less impact for encryption than it does for signin=
g, but it might be good to get the text right and then reuse it.
 - Using RFC 5785 as a reference here is strange.
 - The implicit assumption here is that we're using HTTP over TLS [RFC2818]=
, but that doesn't mean that another protocol cannot provide secure access =
to the certificate.
 - This doesn't constrain the resource from using content negotiation to pr=
ovide an alternative form if that suits.  For instance, I might like to ret=
rieve a java keystore, but that's my business :)
 - I'm not sure that describing optionality on each parameter is a great ap=
proach because of the way that each parameter interacts.  It might be bette=
r to say that a JWE MUST contain (a+b+c OR a+b+d OR b+e) and MAY contain an=
y other parameter.  Then for each of the optional parameter, describe why i=
t might be included or provide enough information in the description to mak=
e this obvious.

> {MT} The "typ" parameter seems a little underspecified.
> Agreed.  I'd be interested in discussions on this topic in Taiwan.

It seems like MIME would work here.  You might also like to discuss the pos=
sibility of revealing something about the payload through its content type.=
  This should very much be optional.

> {MT} The epk parameter isn't a string by its description, though the=20
> table indicates that it is.  ...unless you wanted to base64url encode=20
> the JSON object.
>
> Actually, the ephemeral public key is represented as a string=20
> containing a JSON object in JWK format.

Why not make "epk" a JSON object directly?  Does it need to be quoted for a=
ny particular reason?
=20
> {MT} The alg and enc parameters use StringOrURI as their definition. =20
> There See Section 9.2 on additional algorithms

Ahh.   That might be a good addition to the description, I missed it there.

Cheers,
Martin


From ve7jtb@ve7jtb.com  Thu Oct 13 08:22:06 2011
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 2A25721F8C1E for <jose@ietfa.amsl.com>; Thu, 13 Oct 2011 08:22:06 -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 piHw3PuXRrkx for <jose@ietfa.amsl.com>; Thu, 13 Oct 2011 08:22:05 -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 D696D21F8BA9 for <jose@ietf.org>; Thu, 13 Oct 2011 08:22:03 -0700 (PDT)
Received: by gyh20 with SMTP id 20so134793gyh.31 for <jose@ietf.org>; Thu, 13 Oct 2011 08:22:03 -0700 (PDT)
Received: by 10.236.103.102 with SMTP id e66mr5906759yhg.1.1318519323360; Thu, 13 Oct 2011 08:22:03 -0700 (PDT)
Received: from [192.168.1.213] ([190.22.19.102]) by mx.google.com with ESMTPS id p73sm171057yhe.16.2011.10.13.08.21.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Oct 2011 08:22:01 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: multipart/signed; boundary="Apple-Mail=_189D5799-17F7-4EF5-8F6B-17DA5800141F"; protocol="application/pkcs7-signature"; micalg=sha1
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <1318481627.8756.312.camel@dynamo>
Date: Thu, 13 Oct 2011 12:21:53 -0300
Message-Id: <79FDE0B8-C7A1-4909-9836-AD2CA3BB1E03@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739435C22D9D8@TK5EX14MBXC284.redmond.corp.microsoft.com> <1318383282.8756.289.camel@dynamo> <35EBA6CB-BB43-4DE4-B4C7-1959AB0AECE6@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDCB@SISPE7MB1.commscope.com> <369ED33F-4452-45E9-AC10-71C994EAF4E3@ve7jtb.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CDE1@SISPE7MB1.commscope.com> <1318481627.8756.312.camel@dynamo>
To: Paul C. Bryan <paul.bryan@forgerock.com>
X-Mailer: Apple Mail (2.1251.1)
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 13 Oct 2011 15:22:06 -0000

--Apple-Mail=_189D5799-17F7-4EF5-8F6B-17DA5800141F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Facebook, Microsoft and others started using the dot separated base64url =
encoded format for OAuth tokens over a year ago.

For something that is intended to be passed in a http header it is not =
completely unreasonable.

Size is an issue, one of the reasons the element names are so short. =20

Adding what will be seen as extra characters to what we call the compact =
serialization will get push back.

I understand that there are advantages to sending it as JSON, however I =
suspect that two serializations will be required at the end of the day.

John B.
On 2011-10-13, at 1:53 AM, Paul C. Bryan wrote:

> On Thu, 2011-10-13 at 09:56 +0800, Thomson, Martin wrote:
>=20
>> I can see why you chose to base64url encode.  But base64url encoding =
the body before signing is unnecessary.  You could just sign the octets. =
 Where you need to be careful is to ensure that you can sign over the =
header and payload in a way that the two are kept distinct.
>=20
> This presumes that the octets of the JSON document itself can remain =
untouched, which is a prohibitive requirement IMO. Hence why Base64 =
encoding the JSON serialization octets and representing them in a JSON =
string does make sense to me. What makes less sense to me is =
concatenating such encoded strings into a new non-JSON representation =
with different semantics and require a non-JSON parser to reconstruct =
it.
>=20
> Paul
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_189D5799-17F7-4EF5-8F6B-17DA5800141F
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIO9TCCBwsw
ggXzoAMCAQICAgZDMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3Rh
cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4
MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMiBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0Ew
HhcNMTAwMzE3MTM0NDQ1WhcNMTIwMzE4MTE1NTExWjCBzTEgMB4GA1UEDRMXMTY1NTU1LTJHU3FU
T1ZUbkk4OHhOSW4xCzAJBgNVBAYTAkNMMSIwIAYDVQQIExlNZXRyb3BvbGl0YW5hIGRlIFNhbnRp
YWdvMREwDwYDVQQHEwhWaXRhY3VyYTEtMCsGA1UECxMkU3RhcnRDb20gVmVyaWZpZWQgQ2VydGlm
aWNhdGUgTWVtYmVyMRUwEwYDVQQDEwxKb2huIEJyYWRsZXkxHzAdBgkqhkiG9w0BCQEWEGpicmFk
bGV5QG1h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SBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENs
YXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIGQzANBgkqhkiG9w0BAQEFAASC
AQBgzENQ1am52ho/o3X+qf6dJPVuY6j8Azw4vS3GuEAPihmftEN1ayXACW33I0PamsX0z5RtdBRj
Reqafjk3eo/Kb5/wJYftoenvxIxHSLrMLLIQeBFUYJqBf/4AGfv0vdB5dCb3SlmnmtD7WqZnR1Gx
qfvryCpqdNwmoOHL574qa8tuWz34zYDcd7SsddTN6HjvjuTB9+9qL9rBe6uyy9bAaYNeoHgznJ3/
MHJln3Lsfg4M4lG9xTWIQxdnS95J6UuLVYjuITS+oNDYXzDpWTQ3uHEel1pUenwqlyYyP+eWnAKa
mBjWeWEqS5veFvYljYZpbno14aIlXgU93ooBaLfUAAAAAAAA

--Apple-Mail=_189D5799-17F7-4EF5-8F6B-17DA5800141F--

From ietf@augustcellars.com  Sat Oct 29 14:41:12 2011
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 814BC21F85A7 for <jose@ietfa.amsl.com>; Sat, 29 Oct 2011 14:41:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.455
X-Spam-Level: 
X-Spam-Status: No, score=-3.455 tagged_above=-999 required=5 tests=[AWL=0.144,  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 M6dn-R3Rgsaj for <jose@ietfa.amsl.com>; Sat, 29 Oct 2011 14:41:11 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 9956E21F8593 for <jose@ietf.org>; Sat, 29 Oct 2011 14:41:08 -0700 (PDT)
Received: from Tobias (176.120.168.69.static.onlinenw.com [69.168.120.176]) (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 40AF238F02 for <jose@ietf.org>; Sat, 29 Oct 2011 14:41:08 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Sat, 29 Oct 2011 14:40:39 -0700
Message-ID: <002501cc9683$67d66dd0$37834970$@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: AcyWg1OVLZa56ArXRvyXYlI1qU8yvg==
Content-Language: en-us
Subject: [jose] Agenda Posted
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 29 Oct 2011 21:41:12 -0000

I have posted an agenda for the meeting.  If anyone wants changes please let
me know.

http://www.ietf.org/proceedings/82/agenda/jose.txt

Jim



From Michael.Jones@microsoft.com  Mon Oct 31 16:48:59 2011
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 59B4211E83DA for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 16:48:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.233
X-Spam-Level: 
X-Spam-Status: No, score=-10.233 tagged_above=-999 required=5 tests=[AWL=0.365, 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 BG8HqVsXQlFC for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 16:48:56 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 00DE811E83D8 for <jose@ietf.org>; Mon, 31 Oct 2011 16:48:56 -0700 (PDT)
Received: from TK5EX14HUBC106.redmond.corp.microsoft.com (157.54.80.61) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 31 Oct 2011 16:48:55 -0700
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.229]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.01.0339.002; Mon, 31 Oct 2011 16:48:54 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Updated versions of JWT, JWS, JWE, and JWK specs posted
Thread-Index: AcyYJ56EdlzrmxQdQ0iqq6TQqaHU/g==
Date: Mon, 31 Oct 2011 23:48:53 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435F6D6608@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.70]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739435F6D6608TK5EX14MBXC283r_"
MIME-Version: 1.0
Subject: [jose] Updated versions of JWT, JWS, JWE, and JWK specs posted
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 31 Oct 2011 23:48:59 -0000

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

I've posted updated versions of the JSON Web Token (JWT)<http://self-issued=
.info/docs/draft-jones-json-web-token.html>, JSON Web Signature (JWS)<http:=
//self-issued.info/docs/draft-jones-json-web-signature.html>, JSON Web Encr=
yption (JWE)<http://self-issued.info/docs/draft-jones-json-web-encryption.h=
tml>, and JSON Web Key (JWK)<http://self-issued.info/docs/draft-jones-json-=
web-key.html> specifications.  No changes should be required to any existin=
g deployments as a result of these updates.

The primary thrust of these changes was updating the JWT spec to describe h=
ow to create and process encrypted JWTs.  (The previous JWT spec pre-dated =
publication of the JWE spec.)  I also removed duplicate content from the JW=
T spec describing the steps to sign JWTs and instead simply referenced it i=
n the JWS spec.  Numerous suggestions on improving the specifications from =
the WOES and JOSE lists were also incorporated.  The changelog entries are =
as follows:

draft-jones-json-web-token-06<http://self-issued.info/docs/draft-jones-json=
-web-token-06.html>
*         Reference and use content from [JWS]<http://self-issued.info/docs=
/draft-jones-json-web-token.html#JWS> and [JWE]<http://self-issued.info/doc=
s/draft-jones-json-web-token.html#JWE>, rather than repeating it here.
*         Simplified terminology to better match JWE, where the terms "JWT =
Header" and "Encoded JWT Header" are now used, for instance, rather than th=
e previous terms "Decoded JWT Header Segment" and "JWT Header Segment". Als=
o changed to "Plaintext JWT" from "Unsigned JWT".
*         Describe how to perform nested encryption and signing operations.
*         Changed "integer" to "number", since that is the correct JSON typ=
e.
*         Changed StringAndURI to StringOrURI.

draft-jones-json-web-signature-03<http://self-issued.info/docs/draft-jones-=
json-web-signature-03.html>
*         Simplified terminology to better match JWE, where the terms "JWS =
Header" and "Encoded JWS Header", are now used, for instance, rather than t=
he previous terms "Decoded JWS Header Input" and "JWS Header Input". Likewi=
se the terms "JWS Payload" and "JWS Signature" are now used, rather than "J=
WS Payload Input" and "JWS Crypto Output".
*         The jku and x5u URLs are now required to be absolute URLs.
*         Removed this unnecessary language from the kid description: "Omit=
ting this parameter is equivalent to setting it to an empty string".
*         Changed StringAndURI to StringOrURI.

draft-jones-json-web-encryption-01<http://self-issued.info/docs/draft-jones=
-json-web-encryption-01.html>
*         Changed type of Ephemeral Public Key (epk) from string to JSON ob=
ject, so that a JWK Key Object value can be used directly.
*         Specified that the Digest Method for ECDH-ES is SHA-256. (The spe=
cification was previously silent about the choice of digest method.)
*         The jku and x5u URLs are now required to be absolute URLs.
*         Removed this unnecessary language from the kid description: "Omit=
ting this parameter is equivalent to setting it to an empty string".
*         Use the same language as RFC 2616 does when describing GZIP messa=
ge compression.

draft-jones-json-web-key-02<http://self-issued.info/docs/draft-jones-json-w=
eb-key-02.html>
*         Editorial changes to have this spec better match the JWT, JWS, an=
d JWE specs. No normative changes.
The specs are available in the standard places.  The HTML versions can be f=
ound at these locations:

*         http://tools.ietf.org/html/draft-jones-json-web-token-06

*         http://tools.ietf.org/html/draft-jones-json-web-signature-03

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

*         http://tools.ietf.org/html/draft-jones-json-web-key-02

*         http://self-issued.info/docs/draft-jones-json-web-token-06.html

*         http://self-issued.info/docs/draft-jones-json-web-signature-03.ht=
ml

*         http://self-issued.info/docs/draft-jones-json-web-encryption-01.h=
tml

*         http://self-issued.info/docs/draft-jones-json-web-key-02.html

Feedback welcome!

                                                                -- Mike


--_000_4E1F6AAD24975D4BA5B16804296739435F6D6608TK5EX14MBXC283r_
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;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:24.0pt;
	mso-margin-bottom-alt:auto;
	margin-left:24.0pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
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:700472546;
	mso-list-type:hybrid;
	mso-list-template-ids:333500208 67698689 67698691 67698693 67698689 676986=
91 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:718238760;
	mso-list-template-ids:-1000957342;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:"Courier New";
	mso-bidi-font-family:"Times New Roman";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I&#8217;ve posted updated versions of the <a href=3D=
"http://self-issued.info/docs/draft-jones-json-web-token.html">
JSON Web Token (JWT)</a>, <a href=3D"http://self-issued.info/docs/draft-jon=
es-json-web-signature.html">
JSON Web Signature (JWS)</a>, <a href=3D"http://self-issued.info/docs/draft=
-jones-json-web-encryption.html">
JSON Web Encryption (JWE)</a>, and <a href=3D"http://self-issued.info/docs/=
draft-jones-json-web-key.html">
JSON Web Key (JWK)</a> specifications.&nbsp; <b><i>No changes should be req=
uired to any existing deployments as a result of these updates.</i></b><o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The primary thrust of these changes was updating the=
 JWT spec to describe how to create and process encrypted JWTs.&nbsp; (The =
previous JWT spec pre-dated publication of the JWE spec.)&nbsp; I also remo=
ved duplicate content from the JWT spec describing
 the steps to sign JWTs and instead simply referenced it in the JWS spec.&n=
bsp; Numerous suggestions on improving the specifications from the WOES and=
 JOSE lists were also incorporated. &nbsp;The changelog entries are as foll=
ows:<o:p></o:p></p>
<p><span lang=3D"EN" style=3D"font-size:11.0pt;font-family:&quot;Verdana&qu=
ot;,&quot;sans-serif&quot;;color:black"><a href=3D"http://self-issued.info/=
docs/draft-jones-json-web-token-06.html">draft-jones-json-web-token-06</a>
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Referen=
ce and use content from
<a href=3D"http://self-issued.info/docs/draft-jones-json-web-token.html#JWS=
"><span style=3D"text-decoration:none">[JWS]</span></a> and
<a href=3D"http://self-issued.info/docs/draft-jones-json-web-token.html#JWE=
"><span style=3D"text-decoration:none">[JWE]</span></a>, rather than repeat=
ing it here.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Simplif=
ied terminology to better match JWE, where the terms &quot;JWT Header&quot;=
 and &quot;Encoded JWT Header&quot; are now used, for instance, rather than
 the previous terms &quot;Decoded JWT Header Segment&quot; and &quot;JWT He=
ader Segment&quot;. Also changed to &quot;Plaintext JWT&quot; from &quot;Un=
signed JWT&quot;.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Describ=
e how to perform nested encryption and signing operations.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Changed=
 &quot;integer&quot; to &quot;number&quot;, since that is the correct JSON =
type.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Changed=
 StringAndURI to StringOrURI.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-size:11.0pt;font-family:&quot;Verdana&qu=
ot;,&quot;sans-serif&quot;;color:black"><a href=3D"http://self-issued.info/=
docs/draft-jones-json-web-signature-03.html">draft-jones-json-web-signature=
-03</a>
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Simplif=
ied terminology to better match JWE, where the terms &quot;JWS Header&quot;=
 and &quot;Encoded JWS Header&quot;, are now used, for instance, rather tha=
n
 the previous terms &quot;Decoded JWS Header Input&quot; and &quot;JWS Head=
er Input&quot;. Likewise the terms &quot;JWS Payload&quot; and &quot;JWS Si=
gnature&quot; are now used, rather than &quot;JWS Payload Input&quot; and &=
quot;JWS Crypto Output&quot;.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">The jku=
 and x5u URLs are now required to be absolute URLs.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Removed=
 this unnecessary language from the kid description: &quot;Omitting this pa=
rameter is equivalent to setting it to an empty string&quot;.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Changed=
 StringAndURI to StringOrURI.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-size:11.0pt;font-family:&quot;Verdana&qu=
ot;,&quot;sans-serif&quot;;color:black"><a href=3D"http://self-issued.info/=
docs/draft-jones-json-web-encryption-01.html">draft-jones-json-web-encrypti=
on-01</a>
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Changed=
 type of Ephemeral Public Key (epk) from string to JSON object, so that a J=
WK Key Object value can be used directly.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Specifi=
ed that the Digest Method for ECDH-ES is SHA-256. (The specification was pr=
eviously silent about the choice of digest method.)
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">The jku=
 and x5u URLs are now required to be absolute URLs.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Removed=
 this unnecessary language from the kid description: &quot;Omitting this pa=
rameter is equivalent to setting it to an empty string&quot;.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Use the=
 same language as RFC 2616 does when describing GZIP message compression.
<o:p></o:p></span></p>
<p><span lang=3D"EN" style=3D"font-size:11.0pt;font-family:&quot;Verdana&qu=
ot;,&quot;sans-serif&quot;;color:black"><a href=3D"http://self-issued.info/=
docs/draft-jones-json-web-key-02.html">draft-jones-json-web-key-02</a>
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-right:24.0pt=
;mso-margin-bottom-alt:auto;margin-left:60.0pt;text-indent:-.25in;mso-list:=
l1 level1 lfo1">
<![if !supportLists]><span lang=3D"EN" style=3D"font-size:10.0pt;font-famil=
y:Symbol;color:black"><span style=3D"mso-list:Ignore">&middot;<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang=3D"EN" style=3D"font-size:10.0pt;=
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black">Editori=
al changes to have this spec better match the JWT, JWS, and JWE specs. No n=
ormative changes.
<o:p></o:p></span></p>
<p class=3D"MsoNormal">The specs are available in the standard places.&nbsp=
; The HTML versions can be found at these locations:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
jones-json-web-token-06">http://tools.ietf.org/html/draft-jones-json-web-to=
ken-06</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
jones-json-web-signature-03">http://tools.ietf.org/html/draft-jones-json-we=
b-signature-03</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
jones-json-web-encryption-01">http://tools.ietf.org/html/draft-jones-json-w=
eb-encryption-01</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
jones-json-web-key-02">http://tools.ietf.org/html/draft-jones-json-web-key-=
02</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-jones-json-web-token-06.html">http://self-issued.info/docs/draft-jones-js=
on-web-token-06.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-jones-json-web-signature-03.html">http://self-issued.info/docs/draft-jone=
s-json-web-signature-03.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-jones-json-web-encryption-01.html">http://self-issued.info/docs/draft-jon=
es-json-web-encryption-01.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-jones-json-web-key-02.html">http://self-issued.info/docs/draft-jones-json=
-web-key-02.html</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Feedback welcome!<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_4E1F6AAD24975D4BA5B16804296739435F6D6608TK5EX14MBXC283r_--

From Michael.Jones@microsoft.com  Mon Oct 31 17:57:51 2011
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 6297B1F0DBC for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 17:57:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.261
X-Spam-Level: 
X-Spam-Status: No, score=-10.261 tagged_above=-999 required=5 tests=[AWL=0.338, 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 EsZbcwq60Uty for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 17:57:50 -0700 (PDT)
Received: from smtp.microsoft.com (mailc.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 4E7B21F0C52 for <jose@ietf.org>; Mon, 31 Oct 2011 17:57:49 -0700 (PDT)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (157.54.80.67) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 31 Oct 2011 17:57:49 -0700
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.229]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.01.0339.002; Mon, 31 Oct 2011 17:57:48 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "'Thomson, Martin'" <Martin.Thomson@commscope.com>
Thread-Topic: First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcyYMUGODt032piyRomPIlMHsB5Utg==
Date: Tue, 1 Nov 2011 00:57:48 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435F6D1B4A@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.70]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 01 Nov 2011 00:57:51 -0000

Hi Martin,

I've made the following changes to the current versions of the specs as a r=
esult of your comments.

I used your language for the "x5u" parameter description in the JWE and JWS=
 specs, as well as the relevant portions of it in the "jku" (JSON Web Key U=
RL) parameter description.

The "epk" parameter is now a JSON object, as you suggested.

I added this text to the security considerations for the JWS and JWE specs:
	"When utilizing TLS to retrieve information, the authority providing the r=
esource MUST be authenticated and the information retrieved MUST be free fr=
om modification."

				Thanks again,
				-- Mike

P.S.  I plan to include a concrete example in a new draft that will be avai=
lable before we meet in Taiwan.

-----Original Message-----
From: Thomson, Martin [mailto:Martin.Thomson@commscope.com]=20
Sent: Sunday, October 09, 2011 4:44 PM
To: Mike Jones; jose@ietf.org
Cc: Nat Sakimura
Subject: RE: First draft of JSON Web Encryption (JWE) spec published

Hi Mike,

You know, the document does not contain a complete example.  That is, an ex=
ample that includes header+key+ciphertext (and the corresponding plain text=
).  Until I read it again, I didn't realize that you were using base64url o=
n each part and concatenating with '.' as a separator.

I was previously under the impression that this was one big JSON object.  B=
ut then I couldn't find the "ciphertext" parameter.

A few more replies inline.

On 2011-10-08 at 06:01:59, Mike Jones wrote:
> {MT} The x5u parameter identifies what exactly?  Is it the URI for a=20
> resource that, upon retrieval (e.g., HTTP GET), produces an X.509=20
> certificate (chain)?  I think that's what you mean.  The example seems=20
> to use base64url encoding, which seems pointless.
>=20
> It provides an HTTPS address where a PEM-encoded certificate can be=20
> retrieved.  An example document that could be retrieved from such a=20
> URL
> follows:

I should have been clearer.  *I* understand what x5u means, but the text is=
 a little ambiguous.

OLD:
   The "x5u" (X.509 URL) header parameter is a URL utilizing TLS (as define=
d in RFC 5785 [RFC5785]) that points to an X.509 public key certificate or =
certificate chain that that corresponds to the key that was used to encrypt=
 the JWE.  This certificate or certificate chain MUST use the PEM encoding =
(per RFC 1421 [RFC1421]) and MUST conform to RFC 5280 [RFC5280].  This head=
er parameter is OPTIONAL. =20

SUGGEST:
   The "x5u" (X.509 URL) header parameter is a URL that refers to a resourc=
e for the X.509 public key certificate or certificate chain corresponding t=
o the key used to encrypt the object.

   The identified resource MUST provide a representation of the certificate=
 or certificate chain that conforms to RFC 5280 [RFC5280] in PEM encoded fo=
rm [RFC 1421].   [TBD: determine correct MIME type for PEM-encoded certific=
ate chain]

   The protocol used to acquire the resource MUST provide integrity protect=
ion.  An HTTP GET request [RFC2616] to retrieve the certificate MUST use TL=
S [RFC2818][RFC5246] with server authentication [RFC6125].

Notes:
 - The TLS stuff has far less impact for encryption than it does for signin=
g, but it might be good to get the text right and then reuse it.
 - Using RFC 5785 as a reference here is strange.
 - The implicit assumption here is that we're using HTTP over TLS [RFC2818]=
, but that doesn't mean that another protocol cannot provide secure access =
to the certificate.
 - This doesn't constrain the resource from using content negotiation to pr=
ovide an alternative form if that suits.  For instance, I might like to ret=
rieve a java keystore, but that's my business :)
 - I'm not sure that describing optionality on each parameter is a great ap=
proach because of the way that each parameter interacts.  It might be bette=
r to say that a JWE MUST contain (a+b+c OR a+b+d OR b+e) and MAY contain an=
y other parameter.  Then for each of the optional parameter, describe why i=
t might be included or provide enough information in the description to mak=
e this obvious.

> {MT} The "typ" parameter seems a little underspecified.
> Agreed.  I'd be interested in discussions on this topic in Taiwan.

It seems like MIME would work here.  You might also like to discuss the pos=
sibility of revealing something about the payload through its content type.=
  This should very much be optional.

> {MT} The epk parameter isn't a string by its description, though the=20
> table indicates that it is.  ...unless you wanted to base64url encode=20
> the JSON object.
>
> Actually, the ephemeral public key is represented as a string=20
> containing a JSON object in JWK format.

Why not make "epk" a JSON object directly?  Does it need to be quoted for a=
ny particular reason?
=20
> {MT} The alg and enc parameters use StringOrURI as their definition. =20
> There See Section 9.2 on additional algorithms

Ahh.   That might be a good addition to the description, I missed it there.

Cheers,
Martin


From Michael.Jones@microsoft.com  Mon Oct 31 17:58:27 2011
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 084E61F0DC8 for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 17:58:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.268
X-Spam-Level: 
X-Spam-Status: No, score=-10.268 tagged_above=-999 required=5 tests=[AWL=0.330, 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 V0hh0EwpQWJV for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 17:58:25 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 98F011F0C52 for <jose@ietf.org>; Mon, 31 Oct 2011 17:58:25 -0700 (PDT)
Received: from TK5EX14HUBC106.redmond.corp.microsoft.com (157.54.80.61) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 31 Oct 2011 17:58:25 -0700
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.229]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.01.0339.002; Mon, 31 Oct 2011 17:58:25 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Paul C. Bryan" <paul.bryan@forgerock.com>
Thread-Topic: First draft of JSON Web Encryption (JWE) spec published
Thread-Index: AcyYMVbKlUgFTESlT7eIgKMUQZyBxg==
Date: Tue, 1 Nov 2011 00:58:24 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435F6D1A0D@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.70]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739435F6D1A0DTK5EX14MBXC283r_"
MIME-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] First draft of JSON Web Encryption (JWE) spec published
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 01 Nov 2011 00:58:27 -0000

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

SGkgUGF1bCwNCg0KSeKAmXZlIG1hZGUgdGhlc2UgY2hhbmdlcyB0byB0aGUgc3BlY3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XJ0aGVyIHNwZWNpZmljYXRpb24gb3IgY2xhcmlmaWNhdGlvbi4NCg0KRm9yIEdD
TSwgdGhlIHJhbmRvbSA2NC1iaXQgSVYgaXMgcHJlcGVuZGVkIHRvIHRoZSBjaXBoZXJ0ZXh0Lg0K
SXNuJ3QgdGhlICJpdiIgcHJvcGVydHkgaW4gdGhlIGhlYWRlciBhbHJlYWR5IGJlaW5nIHVzZWQg
Zm9yIHRoaXMgcHVycG9zZT8NCg0KWWVzLiAgVGhpcyBpcyBsYW5ndWFnZSBJIHdhbnQgdXMgdG8g
dGlnaHRlbiB1cCBpbiB0aGUgbmV4dCBkcmFmdCwgcG9zc2libHkgYmFzZWQgdXBvbiBkaXNjdXNz
aW9ucyBpbiBUYWlwZWkuDQoNCjEwLiBJQU5BIENvbnNpZGVyYXRpb25zDQpJIHJlY29tbWVuZCB0
aGF0IGEgbWVkaWEgdHlwZSBhbHNvIGJlIHByb3Bvc2VkLCBzdWNoIGFzICJhcHBsaWNhdGlvbi9q
d2UranNvbiIuDQoNCk5vdGVkDQoNClBhdWwNCg0KICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgVGhhbmtzIGEgYnVuY2ghDQogICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAtLSBN
aWtlDQoNCg==

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
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DsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz
cDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsgLS0gTWlrZTxv
OnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJm
b250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fu
cy1zZXJpZiZxdW90Oztjb2xvcjojMDAyMDYwIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+
DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_4E1F6AAD24975D4BA5B16804296739435F6D1A0DTK5EX14MBXC283r_--

From Michael.Jones@microsoft.com  Mon Oct 31 17:59:01 2011
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 B10821F0DC8 for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 17:59:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.657
X-Spam-Level: 
X-Spam-Status: No, score=-9.657 tagged_above=-999 required=5 tests=[AWL=-0.298, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24]
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 P49o519Wu2FT for <jose@ietfa.amsl.com>; Mon, 31 Oct 2011 17:59:00 -0700 (PDT)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 8CFC41F0C52 for <jose@ietf.org>; Mon, 31 Oct 2011 17:59:00 -0700 (PDT)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 31 Oct 2011 17:58:59 -0700
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.229]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.01.0339.002; Mon, 31 Oct 2011 17:58:59 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] draft-jones-json-web-signature comments
Thread-Index: AcyYMWm9PdbNzxSVSmWtYooMOHjl7Q==
Date: Tue, 1 Nov 2011 00:58:59 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435F6D1856@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.70]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] draft-jones-json-web-signature comments
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <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, 01 Nov 2011 00:59:01 -0000

I added text in the Security Considerations section about this in the new d=
rafts, Jim.  It says:
	One example of malformed JSON that MUST be rejected are objects where the =
same member name occurs multiple times.

				Thanks again,
				-- Mike

-----Original Message-----
From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of Mik=
e Jones
Sent: Thursday, October 13, 2011 7:03 AM
To: Jim Schaad; 'John Bradley'
Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
Subject: Re: [jose] draft-jones-json-web-signature comments

Great point, Jim.  There is a serious Security Consideration here for all J=
SON-based specs.  In a security-aware JSON parser, I would say that it MUST=
 fail parsing.

				Cheers,
				-- Mike

-----Original Message-----
From: Jim Schaad [mailto:ietf@augustcellars.com]
Sent: Friday, October 07, 2011 8:41 PM
To: Mike Jones; 'John Bradley'
Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
Subject: RE: [jose] draft-jones-json-web-signature comments

Mike,

Is that SHOULD fail or MAY fail parsing?   I would have expected it to
succeed parsing and make the typ field be "foo".

This is probably a security issue that needs to be addressed as part of wha=
t a security aware JSON parser needs to do.

Jim


> -----Original Message-----
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> Sent: Friday, October 07, 2011 9:11 AM
> To: John Bradley; Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: RE: [jose] draft-jones-json-web-signature comments
>=20
> Thanks for your thoughtful read, Jim, and for your reply, John. =20
> Nothing
to
> correct in your answers, John.
>=20
> I will elaborate on point 4 by stating that it's not legal JSON syntax=20
> to
have
> two members with the same name.  Thus, the object {"typ":"JWT",=20
> "typ":"foo", "alg":"HS256"} should fail JSON parsing before ever being=20
> processed at the JWS level.
>=20
> 				Cheers,
> 				-- Mike
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf=20
> Of John Bradley
> Sent: Tuesday, October 04, 2011 3:01 PM
> To: Jim Schaad
> Cc: draft-jones-json-web-signature@tools.ietf.org; jose@ietf.org
> Subject: Re: [jose] draft-jones-json-web-signature comments
>=20
>=20
> On 2011-10-04, at 6:37 PM, Jim Schaad wrote:
>=20
> > Personal Mail
> >
> > I have some comments about this draft that I hope you can clarify=20
> > for
me:
> >
> > 1.  What set of security services are you interested in providing=20
> > from this document?  I generally think of signature and=20
> > authentication operations as providing a different set of services.
> > Specifically I think of signatures as being more long term and=20
> > something that I can use to prove statements to a third party while=20
> > I think of authentication as being something between two specific=20
> > parties and is very short term, such as was things changed on the=20
> > wire.  Since you are combining both operations in a single integrity=20
> > document with no differentiation, I wonder if you should spell out=20
> > the set of services
that you
> think are provided by this document.
>=20
> Both are intended.  Though different signature algorithms may be more=20
> appropriate for each task.
> In OpenID Connect HMAC using shared secrets is used as the default for=20
> authentication.
> For Non Repudiation at LoA 3 RSA or ECDSA are required.
>=20
>=20
> >
> > 2.  If find the term "Decoded JWS Header Input" as being very=20
> > confusing (along with its kin).  When you say that you are encoding=20
> > the JSON object to get a Decoded JWS Payload my mind starts exploding.
> A JWS header that has been base64url decoded back to JSON.  Perhaps=20
> Input is not adding anything.
> The language can be looked at.
>=20
> I can't find the section you are referring to.  Perhaps a line or=20
> section
for me
> to look at.
>=20
>=20
>=20
>=20
> >
> > 3.  While I realize that the UTF-8 and the ANSI representations are=20
> > going to be the same, I wonder if it might not be better to use=20
> > ASCII rather than
> > UTF-8 for the base64url encoded character set.  The fact that it has=20
> > been encoded by base64url restricts the set of possible characters=20
> > down from
> > UTF-8 into ASCII.  There should be no need to support or expect the=20
> > wide variety of UTF-8 characters at that point.
>=20
> Per Sec 5 the JSON object's Unicode code points are translated to
> UTF-8 before base64url encoding.
> The result is ASCII.  I don't quite see how you are getting the=20
> character
set to
> be UTF-8 after the base64 encoding.
> That must need to be made clearer.
>=20
>=20
> >
> > 4.  When you say that the names in the Decoded JWS Header Input must=20
> > be unique, it is not clear to me if you are saying that the names=20
> > must have a single registered meaning, or if you are saying that=20
> > they cannot occur in the input twice.  I.e. the object {"typ":"JWT",=20
> > "typ":"foo", "alg":"HS256"} is not legal.
> >
> Both,  Mike can clarify.
>=20
> > 5.  I note that in your revisions section you say that you changed=20
> > x5t from
> > SHA-256 to SHA-1 for compatibility.  I think you may need to support=20
> > both with pre-defined names given the algorithm agility drive=20
> > currently
> going on.
>=20
> That is the hash calculation for the thumbprint.  I don't know of=20
> anyplace
> SHA256 is used for that.  It is mostly used to make the MS keystone happy=
.
> I was the one that changed it so am happy to hear counter arguments.
>=20
> >
> > 6.  Are you missing something that you have a syntax name of IntDate=20
> > in table 2, but you do not have a header that uses it?  Is a=20
> > registry of syntaxes going to need to be defined?  (Side note -=20
> > should it be
> > StringOrURI?)
>=20
> That got copied from JWT it is used for expired time of tokens.  It=20
> should
be
> removed if not used.
> >
> > 7.  The statement that new header parameters may result in=20
> > non-interoperable JWSs appears to me to have no merit.  The=20
> > validation process should succeed independent of any new headers that a=
re added.
> > What may change is how the output result would be used or=20
> > interpreted which would be a function of the client code setting=20
> > things up not the
JWS
> library.
>=20
> This needs discussion.  Some people are of the opinion that unknown=20
> options in security tokens should result in failure.
> >
> > 8.  In section 4.2 it is not clear from the text but it appears to=20
> > me that you are stating that a uri is a reasonable item to be used=20
> > as a new header parameter name.  Is that the intent?
>=20
> That was the intent in JWT and I think in JWS/JWE as well.  Without=20
> namespaces there is the registry option or URLs.
>=20
> Mike can elaborate on my answers or possibly correct me:)
>=20
> John Bradley
>=20
> >
> > Jim
> >
> >
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose


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

