
From anders.rundgren.net@gmail.com  Sun Dec  1 09:00:46 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E26EC1ADF99 for <jose@ietfa.amsl.com>; Sun,  1 Dec 2013 09:00:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qWJ2SsFbkSuk for <jose@ietfa.amsl.com>; Sun,  1 Dec 2013 09:00:44 -0800 (PST)
Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by ietfa.amsl.com (Postfix) with ESMTP id 5C9411AD6C1 for <jose@ietf.org>; Sun,  1 Dec 2013 09:00:44 -0800 (PST)
Received: by mail-wi0-f169.google.com with SMTP id hm6so3790287wib.2 for <jose@ietf.org>; Sun, 01 Dec 2013 09:00:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ELZn6ZDNi1l6qzG7yYR5PPszSyFgear/0PYvk6ravRk=; b=Rcqqm7rSQzuOeXSkmsHSwJXfAoWr5WHJnCSM5pDavV5Zrq9co4hF8cO5T/3FVt6Q+D y6P3VhzHg2y0WylgaHs1rqfmgcCaz5NY14D6Lnw9sN2YMB+svtpMaZYgOIWd6VGMBmJN P8GzyoGszNRJImEg1LP1WPu/w7oP7uy94H5PRIoAxeaMbPpi+C8EutMf0YOqZXaLqIf0 /lkkHtyknUiITAU2kbZSQE3aQKvh41B3YszPVmT+Uaj9kbaakgwEeaiNuXjv4y7LmRZ+ HvxVoHjzzETEgeKUTProcLgnU3cQ076WjoZCsjB/fhKY9aff4SYl4uZHomwiz/jY3QqL wIRA==
X-Received: by 10.194.232.133 with SMTP id to5mr5690538wjc.41.1385917241979; Sun, 01 Dec 2013 09:00:41 -0800 (PST)
Received: from [192.168.1.99] (33.50.125.78.rev.sfr.net. [78.125.50.33]) by mx.google.com with ESMTPSA id e10sm91992175wiy.7.2013.12.01.09.00.41 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Dec 2013 09:00:41 -0800 (PST)
Message-ID: <529B6B33.2070401@gmail.com>
Date: Sun, 01 Dec 2013 18:00:35 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [jose] JWK counterpart to ds:CryptoBinary?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Dec 2013 17:00:47 -0000

Hi List

Pardon a non-cryptographer, but does JWK have a counterpart to
   http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary
?

If not, why?

>From what I can deduct the following implementation use CryptoBinary for both EC and RSA public keys:

https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/util/BigIntegerUtils.java?at=master

thanx,
Anders

From trac+jose@trac.tools.ietf.org  Wed Dec  4 18:14:33 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAF341AE00E for <jose@ietfa.amsl.com>; Wed,  4 Dec 2013 18:14:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xu5V_wt-jffE for <jose@ietfa.amsl.com>; Wed,  4 Dec 2013 18:14:32 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 6755C1ADF7E for <jose@ietf.org>; Wed,  4 Dec 2013 18:14:32 -0800 (PST)
Received: from localhost ([127.0.0.1]:48213 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VoOSJ-0002yT-24; Thu, 05 Dec 2013 03:14:19 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com
X-Trac-Project: jose
Date: Thu, 05 Dec 2013 02:14:18 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/25#comment:2
Message-ID: <076.8210e91eb9bc322238bc8ba2227b8c13@trac.tools.ietf.org>
References: <061.ff0b5e5ec612118e22556dfc646e603e@trac.tools.ietf.org>
X-Trac-Ticket-ID: 25
In-Reply-To: <061.ff0b5e5ec612118e22556dfc646e603e@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #25: Detached content for the ALTO use case
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Dec 2013 02:14:34 -0000

#25: Detached content for the ALTO use case

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Wed Dec  4 18:21:54 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5C6D1AE004 for <jose@ietfa.amsl.com>; Wed,  4 Dec 2013 18:21:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WNL9j3-zLL8E for <jose@ietfa.amsl.com>; Wed,  4 Dec 2013 18:21:52 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 8ACE91AE164 for <jose@ietf.org>; Wed,  4 Dec 2013 18:21:52 -0800 (PST)
Received: from localhost ([127.0.0.1]:48869 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VoOZN-0005Uz-Ra; Thu, 05 Dec 2013 03:21:39 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Thu, 05 Dec 2013 02:21:36 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/68#comment:2
Message-ID: <076.70f2e7af860791bbd9755194102f7cb6@trac.tools.ietf.org>
References: <061.1644e694b34ebc855764cf6a1a5e2259@trac.tools.ietf.org>
X-Trac-Ticket-ID: 68
In-Reply-To: <061.1644e694b34ebc855764cf6a1a5e2259@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #68: Section 3 - JSON Web Key (JWK) Format
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Dec 2013 02:21:55 -0000

#68: Section 3 - JSON Web Key (JWK) Format

Changes (by ietf@augustcellars.com):

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


Old description:

> A. The first two sentences are not readable - and may be somewhat
> contradictory.  Suggested re-write as
>
>    ""A JSON Web Key (JWK) is a JSON object.
> The members of the object represent different properties of the key.
> These properties include the value of the key, the usage of the key and
> so forth.
> This document defines a set of parameters that are not algorithm
> specific, and thus common to many keys.""
>
> B. member names within is ambiguous - does this mean within each
> lexicographical scope or completely?
>
> * WON'T FIX - since we don't have nesting at this time, the language is
> not currently ambiguous - it can get fixed when it becomes ambiguous
> again.
>
> C. In the sentence  Additional members MAY - this may is not a protocol
> requirement.
>
> D. In the sentence - If not understood - please clarify what "they" is
> referring to
>
> * WON'T FIX - Punt to the RFC Editor
>
> E. In paragraph 3 - sentence 2/3 - First you say they may be reused -
> then you tell me they must be collision resistant - please clarify this
> text
>
> F. In paragraph 3 - This should be a reference to the registry not point
> to the section 7.1
>
> * WON'T FIX - My personal peeve

New description:

 A. The first two sentences are not readable - and may be somewhat
 contradictory.  Suggested re-write as

    ""A JSON Web Key (JWK) is a JSON object.
 The members of the object represent different properties of the key.
 These properties include the value of the key, the usage of the key and so
 forth.
 This document defines a set of parameters that are not algorithm specific,
 and thus common to many keys.""

 * Didn't fix

 B. member names within is ambiguous - does this mean within each
 lexicographical scope or completely?

 * WON'T FIX - since we don't have nesting at this time, the language is
 not currently ambiguous - it can get fixed when it becomes ambiguous
 again.

 C. In the sentence  Additional members MAY - this may is not a protocol
 requirement.

 * FIXED

 D. In the sentence - If not understood - please clarify what "they" is
 referring to

 * WON'T FIX - Punt to the RFC Editor

 E. In paragraph 3 - sentence 2/3 - First you say they may be reused - then
 you tell me they must be collision resistant - please clarify this text

 F. In paragraph 3 - This should be a reference to the registry not point
 to the section 7.1

 * WON'T FIX - My personal peeve

--

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

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


From internet-drafts@ietf.org  Thu Dec  5 05:59:42 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 159611ADFA3; Thu,  5 Dec 2013 05:59:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uU7xfAG8GCU9; Thu,  5 Dec 2013 05:59:40 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F6821ADF99; Thu,  5 Dec 2013 05:59:40 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.83.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131205135940.20708.21070.idtracker@ietfa.amsl.com>
Date: Thu, 05 Dec 2013 05:59:40 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-cookbook-00.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Dec 2013 13:59:42 -0000

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

	Title           : Examples of Protecting Content using JavaScript Object S=
igning and Encryption (JOSE)
	Author(s)       : Matthew Miller
	Filename        : draft-ietf-jose-cookbook-00.txt
	Pages           : 82
	Date            : 2013-12-04

Abstract:
   A set of examples of using JavaScript Object Signing and Encryption
   (JOSE) to protect data.  This document illustrates a representative
   sampling of various JSON Web Signature (JWS) and JSON Web Encryption
   (JWE) results given similar inputs.


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

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-cookbook-00


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

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


From anders.rundgren.net@gmail.com  Fri Dec  6 21:06:15 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F12F01AE15F for <jose@ietfa.amsl.com>; Fri,  6 Dec 2013 21:06:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8CaU5BKv6atc for <jose@ietfa.amsl.com>; Fri,  6 Dec 2013 21:06:13 -0800 (PST)
Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) by ietfa.amsl.com (Postfix) with ESMTP id 035C71AE111 for <jose@ietf.org>; Fri,  6 Dec 2013 21:06:12 -0800 (PST)
Received: by mail-wg0-f54.google.com with SMTP id n12so1504305wgh.9 for <jose@ietf.org>; Fri, 06 Dec 2013 21:06:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=A/8uP/A3YQZY3cOlzZD9txJmSN9WkTCHPXGx/XEj87k=; b=BFifLfurVsWUOpJgZtuuC4dPrqVp5ii0RF5IIYB5ruGomgejhp2Muc/VKWvciD/P7m w3mgqsLv8vnsPDv8Vj2+ipQa0u4B406TzfTSUnu8PobFDEYSkipZ1ChFbQWilTFwCs8d yY9AjKhIxCLJgM6adxGgRNpCrLD221IFkfOscv/8rXiBZpY+FxUwjGLDvNr3+B3Izy7r 0rQW1c3t3H5KmTU1NPoSqMOc9m15z8BCro2WVe6ITWc+d2XsIDaGu1MxCBKarW3vFe9W jpO3nMW1g52Ny5LFCiCxJtmQyC2TwIj148RjTV9mEH6weVSVzoa7KEeI3ggzI0cW/EG2 z6CQ==
X-Received: by 10.180.13.74 with SMTP id f10mr5447575wic.34.1386392768454; Fri, 06 Dec 2013 21:06:08 -0800 (PST)
Received: from [192.168.1.99] (33.50.125.78.rev.sfr.net. [78.125.50.33]) by mx.google.com with ESMTPSA id ll10sm2138755wic.9.2013.12.06.21.06.07 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Dec 2013 21:06:07 -0800 (PST)
Message-ID: <52A2ACB7.50805@gmail.com>
Date: Sat, 07 Dec 2013 06:05:59 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
References: <529B6B33.2070401@gmail.com>
In-Reply-To: <529B6B33.2070401@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] JWK counterpart to ds:CryptoBinary?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Dec 2013 05:06:15 -0000

Well, a peek in another JOSE implementation seems to verify that this is an _implicit_ (understood) part of the specification:

https://bitbucket.org/b_c/jose4j/src/b782e9638a84431a58234b7258c2186da4e8189f/src/main/java/org/jose4j/keys/BigEndianBigInteger.java

As a non-cryptographer I interpret this as: X and Y for EC public keys must always be positive and this is also the case for RSA public exponent and modulus.

In an early version of an XML DSig implementation of mine I occasionally got run-time errors which was how I found out about ds:CryptoBinary...

Anders


On 2013-12-01 18:00, Anders Rundgren wrote:
> Hi List
> 
> Pardon a non-cryptographer, but does JWK have a counterpart to
>    http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary
> ?
> 
> If not, why?
> 
> From what I can deduct the following implementation use CryptoBinary for both EC and RSA public keys:
> 
> https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/util/BigIntegerUtils.java?at=master
> 
> thanx,
> Anders
> 


From lukeh@padl.com  Sun Dec  8 16:57:35 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFD6B1AE189 for <jose@ietfa.amsl.com>; Sun,  8 Dec 2013 16:57:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.004
X-Spam-Level: 
X-Spam-Status: No, score=-0.004 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id haQEbFk_F6vU for <jose@ietfa.amsl.com>; Sun,  8 Dec 2013 16:57:34 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id 0BECA1AE12C for <jose@ietf.org>; Sun,  8 Dec 2013 16:57:33 -0800 (PST)
Received: by us.padl.com  with ESMTP id rB90vGRY028667; Sun, 8 Dec 2013 19:57:20 -0500
From: Luke Howard <lukeh@padl.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 9 Dec 2013 11:57:16 +1100
Message-Id: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com>
To: jose@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
X-Mailman-Approved-At: Sun, 08 Dec 2013 17:20:02 -0800
Cc: Nicolas Williams <nico@cryptonector.com>
Subject: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Dec 2013 00:57:35 -0000

I've been prototyping JWT attribute certificates in Mozilla Persona. [1]

Attribute certificates claim a subset of attributes about an identity =
and are intended to be selectively disclosable at presentation time in =
conjunction with a primary certificate. They are regular JWTs with the =
following reserved claims:

* A claim representing a binding to a primary certificate (currently, =
this is the "cb" claim containing the SHA-256 hash of the primary =
certificate JWT)

* A claim identifying the nature of the other claims made in the =
attribute certificate (currently, this is "id"). A user presenting a =
fresh attribute certificate with the same id meta-claim as a previous =
one should have confidence that it represents the same aspects of their =
identity.

* A claim containing a human readable description of the attribute =
certificate

My current implementation requires that the attribute certificate issuer =
be the same as the primary certificate, but with a suitable trust model =
there's no reason attribute certificates from different issuers could =
not be supported. An attribute may have a shorter validity time than the =
primary certificate.

I'm wondering if there's any interest in documenting this, I think they =
may be useful irrespective of Persona. (There are a bunch things I need =
to clean up, such as conveying the certificate binding hash algorithm.)

-- Luke

[1] =
https://groups.google.com/forum/#!topic/mozilla.dev.identity/kWhiJWH9AV0=

From odonoghue@isoc.org  Sun Dec  8 22:22:52 2013
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38EDA1AE05B for <jose@ietfa.amsl.com>; Sun,  8 Dec 2013 22:22:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.367
X-Spam-Level: 
X-Spam-Status: No, score=-0.367 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x05hvN8a51Ad for <jose@ietfa.amsl.com>; Sun,  8 Dec 2013 22:22:49 -0800 (PST)
Received: from smtp166.dfw.emailsrvr.com (smtp166.dfw.emailsrvr.com [67.192.241.166]) by ietfa.amsl.com (Postfix) with ESMTP id DB1F81AD9B7 for <jose@ietf.org>; Sun,  8 Dec 2013 22:22:48 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 290B827089A for <jose@ietf.org>; Mon,  9 Dec 2013 01:22:44 -0500 (EST)
X-Virus-Scanned: OK
Received: by smtp6.relay.dfw1a.emailsrvr.com (Authenticated sender: odonoghue-AT-isoc.org) with ESMTPSA id D6E56270894 for <jose@ietf.org>; Mon,  9 Dec 2013 01:22:43 -0500 (EST)
Message-ID: <52A561B3.9010509@isoc.org>
Date: Mon, 09 Dec 2013 01:22:43 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
Organization: ISOC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/mixed; boundary="------------000504080406050608090100"
Subject: [jose] draft minutes for jose wg at ietf 88
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: odonoghue@isoc.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Dec 2013 06:22:52 -0000

This is a multi-part message in MIME format.
--------------000504080406050608090100
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Folks,

I just posted draft minutes for jose. If you have any comments or 
questions, feel free to send them along. Thank you to Peter Yee for the 
excellent notes.

Regards,
Karen



--------------000504080406050608090100
Content-Type: text/plain; charset=UTF-8;
 name="jose ietf88 minutes.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="jose ietf88 minutes.txt"

Minutes for JOSE WG @ IETF 88
Thursday 7 November 2013, 0900-1130 PST

Jim Schaad and Karen O'Donoghue called the meeting to 
order. The Note Well was presented, and the blue sheets 
circulated. Peter Yee agreed to take the minutes, and 
Joe Hildebrand volunteered as the jabber scribe. 

The chairs covered the current status of the working 
group. The use cases document has been sent to the IESG. 
The JWS, JWE, JWK, and JWA have had a total of 185 
issues (many with multiple parts) entered against them. 
There are 129 closed issues. The co-chairs and editor 
have had several meetings this week and previously 
resulting in agreements for 49 issues. These issues are 
either awaiting editor implementation, awaiting 
implementation verification, or awaiting external input 
or verification. The remaining 7 issues will be 
discussed today. 

#54 (JWA), #55 (JWA), #141 (JWS)
All three of these are related to the concat issue. Jim 
Schaad wants to separate nonce from PartyUName and is 
concatenated to it to form the PartyUInfo.  Default 
PartyUName and PartyVName should be 'Sender' and 
'Recipient' respectively, to deal with the NIST Concat 
algorithm specification.  The current scheme is that the 
nonce is built into the PartyUName and PartyUInfo is the 
same as PartyUName.  And currently, PartyUName and 
PartyVName default to empty strings.  Mike Jones and 
Richard Barnes disagree with the nonce scheme.  While 
JOSE has already deviated from the NIST specification, 
the question comes down to whether a FIPS-compliant 
usage is possible.  Sean Turner doesn't feel hard over 
on the point.  Schaad's changes are not adopted, 
although one edit to [do something] will be made.

#74-C (JWK)
If a JWK has only an x5u member in it, is this a legal 
construct and how does one say this matches a bare 
public key?  What is the minimum set of fields must be 
present in the JWK.  Barnes: a JWK for private/public 
key should always specify the public key fields.   Matt 
Miller: the kty should be specified.  And having the 
full key is of great benefit.  Jones: the document 
already says that use of the key types is required and 
for specific algorithms the required fields are listed, 
so X.509 carriage doesn't contravene those requirements.

#77
'x5c' requirements are that certs are in chain but don't 
have to form a complete chain.  An incomplete chain 
requires cert chain building.  Should we just say the 
certs are in a bag and not a chain except that the first 
cert must be the end-entity cert.  Barnes: TLS does 
something similar to what's in our document now.  
Schaad: does TLS require a full chain to be present.  
Barnes: everything except the self-signed root (which 
you already have) must be included (paraphrased by 
Schaad).  Miller: the chain just needs to be present up 
to the point where the software has sufficient data to 
complete the chain or agree that it trusts the chain.  
Bags would be much worse without a lot of benefits.  
John Bradley: chain checking is hard enough now; bags 
won't make that easier.  Schaad: the language will not 
be changed but will checked to see that it is clear in 
the case of partial chains.

#93
Non-normative appendix to JWS that summarizes the ways 
to find a key based on fields in messages and JWK 
structures.  Schaad's proposal enumerates the ways he 
has been told that keys could be found, but he may have 
missed something.  Barnes gave a smaller set of ways 
that he believes are sufficient if not as complete.  
Brian Campbell: clarification: finding a key is not the 
same as trusting a key.  Miller: good point.  For trust, 
make sure keys are fetched over HTTPS unless they were 
integrity protected within the message.  Barnes' 
proposal is pretty solid and software that doesn't 
understand x5u and x5t should drop processing them.  
Barnes: The focus for this spec is making the crypto 
work.  Authentication systems can be layered on top of 
that.  Campbell: I'm not looking for exhaustive trust 
establishment text, just a note of caution.  Jones: From 
Turner: a key is only as trusted as the method by which 
it was obtained.  Miller: I agree with Jones.  Maybe the 
topic of trust should be addressed at the beginning of 
the paragraph.  How to establish trust in keys is a big 
rathole. Robin Wilton: we need to be sensitive to the 
idea that an EE platform notices a software agent 
looking for key stores might be indistinguishable from 
an attack.  Jones: Agreed, we don't want to down the 
rathole of specifying trust methods.  Turner: don't say 
how it is done, but say that it should be done and to 
what level it should be done.  Schaad: this item will 
stay open until a volunteer supplies text.

#114-C Section 4.1.10 'crit'
If an extensions is place in a 'crit' header, must that 
extension be signed?  Currently there is no statement 
requiring that.  Bradley: it makes as much sense as 
saying can optionally not be integrity protected.  Not 
terribly enthusiastic.  Certainly the 'crit' field has 
to be protected or it doesn't mean anything, but not 
sure of enforcing that the extension is integrity 
protected.  But I could also go with integrity protected 
everything.  Joe Hildebrand: I could see protecting 
everything.  Barnes: I don't see a need for normative 
protection, but guidance okay.  Jones: people seem to be 
saying that guidance that should say 'crit' could be 
integrity protected.  Bradley: there is a community that 
says you should always protect everything, but there are 
others who don't think this is required.  A 
recommendation for integrity protection unless there's a 
need not to would be pretty well received.  Jones: in 
Denver we came to a compromise that maximize consensus 
and I'm against reopening the point for this particular 
questions.  Hildebrand: agreed, no need to relitigate 
this point.  Schaad: so this one will be closed as 
'won't fix'.

Next steps:
Jones will get a version of the document out in the next 
week with all changes he has to date.  Jones: there are 
hundreds of changes to be made, but I will get out a 
version that covers the changes to the normative text, 
especially in regards to the MtI text.  We would then be 
done with changing normative requirements.  Schaad: The 
full document with edits is targeted for mid-December.  
Jones: Agreed.  O'Donoghue: mid-December would be when 
we close all issues except for the one that Brian will 
open today and #93 which needs text.  Jones: I don't 
want to make promises I can't keep due to other 
commitments, so I'll get the near-term changes next week 
and the full version of the document by the end of the 
year.  Schaad: an interim meeting makes sense after the 
full document is out.  Proposing January 13, 2014 for a 
virtual interim meeting. 

Cookbook Document: 
Schaad: our charter calls for a cookbook document, which 
hasn't shown up yet.  Our AD requested this.  Not sure 
what goes into it.  We need to decide to do about that 
charter requirement.  Miller: I was one of the ones 
asked to work on it and I have batted ideas around with 
Barnes.  There would be solid examples of the large 
number of permutations that are possible.  Turner: one 
example of how to make an interoperable system suffices.  
Two is fine but not necessary.  Barnes: this would be a 
document showing how to use all of the different 
features we have in our documents.  There might be 
guidance on how to create an application using the JOSE 
tools.  Turner: this document just needs to get us 
through the IESG process, it doesn't have to be 
encyclopedia.  Miller: will get together with Turner to 
discuss further.

 Jones: Signing detached content came up on the mailing 
list and should be discussed here.  Schaad: I sent out 
to the list on this idea.  Jones had a different way of 
doing things.  Schaad replied with some minor edits to 
Jones' text.  Barnes: this is too complicated.  It 
should be just you slice off the payload and tell people 
how to put it back.  There's no need to this 'hash 
thing', but it's really more complicated than necessary.  
Jones: we had discussed that with the hash-based method, 
the application has to know which hash function to use.  
That would require JOSE names for those functions.  I 
had thought we could do that, but it seems like 
undesirable scope creep.  I would be amenable to 
dropping my second method.  Schaad's method has no 
normative effect on JOSE libraries, so it should be an 
appendix.  Schaad: an appendix is fine.  Barnes: agreed, 
this is suggestions on how to build an application.  It 
could even go in the cookbook.  Miller: +1.  Schaad: the 
indirect signature version will be removed and the 
detached signature version will be placed in an 
appendix.
 Barnes: once the cookbook is done, are we finished?

 Turner: use case document going forward is great for 
the IESG.  Will the rest of the documents go forward at 
once.  Schaad: only the cookbook may be late.  Turner: 
good.  Barnes: would the cookbook make the other four 
documents be easier for the IESG to understand?  Turner: 
probably, but I'm willing to push it as I'm a lame duck.  
Barnes: not so worried about IESG concerns, but we could 
try to accelerate the cookbook document to help with 
getting the other documents through the IESG.  Schaad: 
when could you have a rough draft ready.  Miller: if we 
sit down this week, we could probably have enough time 
to have an outline before we leave the meeting.  The 
actual document could be ready in January.

The meeting adjourned. 


--------------000504080406050608090100--

From lukeh@padl.com  Sun Dec  8 22:53:10 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41F561AE20D for <jose@ietfa.amsl.com>; Sun,  8 Dec 2013 22:53:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7uHB6eD5SDOV for <jose@ietfa.amsl.com>; Sun,  8 Dec 2013 22:53:08 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id 621901AE039 for <jose@ietf.org>; Sun,  8 Dec 2013 22:53:08 -0800 (PST)
Received: by us.padl.com  with ESMTP id rB96qnkE010018; Mon, 9 Dec 2013 01:52:53 -0500
From: Luke Howard <lukeh@padl.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A863E067-6B68-47D7-BB95-21613129D3E1"
Date: Mon, 9 Dec 2013 17:52:49 +1100
Message-Id: <94F0D6F4-E30C-4910-A5BC-2ECD33C75D43@padl.com>
To: jose@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,HTML_MESSAGE,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: Nicolas Williams <nico@cryptonector.com>
Subject: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Dec 2013 06:53:10 -0000

--Apple-Mail=_A863E067-6B68-47D7-BB95-21613129D3E1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I've been prototyping JWT attribute certificates in Mozilla Persona [1] =
for use in gss_browserid [2] amongst other things.

Attribute certificates claim a subset of attributes about an identity =
and are intended to be selectively disclosable at presentation time in =
conjunction with a primary certificate. They are regular JWTs with the =
following reserved claims:

* A claim representing a binding to a primary certificate (currently, =
this is the "cb" claim containing the SHA-256 hash of the primary =
certificate JWT)

* A claim identifying the nature of the other claims made in the =
attribute certificate (currently, this is "id"). A user presenting a =
fresh attribute certificate with the same id meta-claim as a previous =
one should have confidence that it represents the same aspects of their =
identity

* A claim containing a human readable description of the attribute =
certificate

My current implementation requires that the attribute certificate issuer =
be the same as the primary certificate, but with a suitable trust model =
there's no reason attribute certificates from different issuers could =
not be supported. An attribute may have a shorter validity time than the =
primary certificate.

I'm wondering if there's any interest in documenting this, I think they =
may be useful irrespective of Persona. (There are a bunch things I need =
to clean up, such as conveying the certificate binding hash algorithm.)

cheers,
-- Luke

[1] =
https://groups.google.com/forum/#!topic/mozilla.dev.identity/kWhiJWH9AV0
[2] http://tools.ietf.org/html/draft-howard-gss-browserid-07=

--Apple-Mail=_A863E067-6B68-47D7-BB95-21613129D3E1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I've =
been prototyping JWT attribute certificates in Mozilla Persona [1] for =
use in gss_browserid [2] amongst other things.<br><br>Attribute =
certificates claim a subset of attributes about an identity and are =
intended to be selectively disclosable at presentation time in =
conjunction with a primary certificate. They are regular JWTs with the =
following reserved claims:<br><br>* A claim representing a binding to a =
primary certificate (currently, this is the "cb" claim containing the =
SHA-256 hash of the primary certificate JWT)<br><br>* A claim =
identifying the nature of the other claims made in the attribute =
certificate (currently, this is "id"). A user presenting a fresh =
attribute certificate with the same id meta-claim as a previous one =
should have confidence that it represents the same aspects of their =
identity<br><br>* A claim containing a human readable description of the =
attribute certificate<br><br>My current implementation requires that the =
attribute certificate issuer be the same as the primary certificate, but =
with a suitable trust model there's no reason attribute certificates =
from different issuers could not be supported. An attribute may have a =
shorter validity time than the primary certificate.<br><br>I'm wondering =
if there's any interest in documenting this, I think they may be useful =
irrespective of Persona. (There are a bunch things I need to clean up, =
such as conveying the certificate binding hash =
algorithm.)<br><br>cheers,<div>-- Luke<br><br>[1]&nbsp;<a =
href=3D"https://groups.google.com/forum/#!topic/mozilla.dev.identity/kWhiJ=
WH9AV0">https://groups.google.com/forum/#!topic/mozilla.dev.identity/kWhiJ=
WH9AV0</a><div>[2]&nbsp;<a =
href=3D"http://tools.ietf.org/html/draft-howard-gss-browserid-07">http://t=
ools.ietf.org/html/draft-howard-gss-browserid-07</a></div></div></body></h=
tml>=

--Apple-Mail=_A863E067-6B68-47D7-BB95-21613129D3E1--

From dharkins@lounge.org  Sun Dec  8 18:03:38 2013
Return-Path: <dharkins@lounge.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 057851AE1A2; Sun,  8 Dec 2013 18:03:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.467
X-Spam-Level: 
X-Spam-Status: No, score=-2.467 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SglNYLCWMcYM; Sun,  8 Dec 2013 18:03:36 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 7EC3A1AE0E3; Sun,  8 Dec 2013 18:03:36 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id CD85010224008; Sun,  8 Dec 2013 18:03:31 -0800 (PST)
Received: from 69.12.173.8 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Sun, 8 Dec 2013 18:03:31 -0800 (PST)
Message-ID: <5592752071777e5b279de4ab96af73e3.squirrel@www.trepanning.net>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B183EB276@xmb-rcd-x04.cisco.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B183EB276@xmb-rcd-x04.cisco.com>
Date: Sun, 8 Dec 2013 18:03:31 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Mailman-Approved-At: Tue, 10 Dec 2013 08:36:32 -0800
Cc: Brian Weis <bew@cisco.com>, "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] [Cfrg] Use of authenticated encryption for key wrapping
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Dec 2013 02:03:38 -0000

  Hello,

On Mon, March 18, 2013 5:24 am, David McGrew (mcgrew) wrote:
> Hi Brian,
>
> On 3/15/13 11:42 AM, "Brian Weis (bew)" <bew@cisco.com> wrote:
>
>>Jim Schaad gave a presentation on JOSE to CFRG today
>>(<http://www.ietf.org/proceedings/86/slides/slides-86-cfrg-5.pdf>). The
>>question came up as to whether AES key wrap was necessarily the only
>>method that was safe for key wrapping in JOSE. The other algorithm under
>>consideration is AES-GCM.
>>
>>Section 3.1 of NIST 800-38F (Methods for Key Wrapping) says:
>>
>>"Previously approved authenticated-encryption modes‹as well as
>>combinations of an approved encryption mode with an approved
>>authentication method‹are approved for the protection of cryptographic
>>keys, in addition to general data."
>>
>>So if one considers that to be good enough advice, AES-GCM would indeed
>>be an acceptable method of key wrapping. The chairs asked me to
>>cross-post this for discussion.
>
> Thanks for sending out the pointer.
>
> I think the biggest negative with using AES-GCM for key wrapping is that
> GCM is not designed to be misuse-resistant.   In contrast, the AES-KW
> algorithm does provide some misuse resistance: the AES-KW encryption
> algorithm does not require that the caller provide a distinct nonce for
> each invocation.

  AES-SIV was designed for key wrapping and provides misuse resistance.
Once can obtain authenticated encryption without providing a distinct
nonce each time. It is more efficient than AES-KW too.

> The biggest negative with requiring the use of AES-KW for key wrapping is
> that, it requires the implementation of the AES decryption operation
> (unlike GCM), it is yet another algorithm to implement/test/validate, and
> it takes up space that is precious in a constrained environment.

  AES-SIV does not require the AES decryption operation. So you get
that benefit and you still get misuse-resistant authenticated encryption.

  Another cool benefit to AES-SIV key wrapping is that it can accept AAD.
So you can bind in other data into the wrapping, such as a header of the
payload of the message containing the wrapped key.

> NIST is right to allow other authenticated encryption methods than AES-KW
> to be used for key wrapping.   But if AES-KW is available for JOSE, then
> it makes sense to use it for key wrapping.

  But they're not right in not allowing AES-SIV. I have raised this with them
on multiple occasions and the response is basically a catch-22-- NIST won't
bless it unless it's used in some major protocol but major protocols are
loath to specify some crypto mode that has not been blessed by NIST.

  AES-SIV is the right tool for this job. Consider using it. It's
specified in
RFC 5297 and there's a security proof in the paper that defined it:
"Deterministic Authenticated Encryption: A Provable-Security Treatment
of the Key-Wrap Problem" by Rogaway and Shrimpton.

  regards,

  Dan.




From bcampbell@pingidentity.com  Tue Dec 10 12:03:47 2013
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BEEC1AE23A for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 12:03:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.577
X-Spam-Level: 
X-Spam-Status: No, score=-3.577 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VNrkqFljUvIY for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 12:03:45 -0800 (PST)
Received: from na3sys009aog129.obsmtp.com (na3sys009aog129.obsmtp.com [74.125.149.142]) by ietfa.amsl.com (Postfix) with ESMTP id 82FF91AE226 for <jose@ietf.org>; Tue, 10 Dec 2013 12:03:40 -0800 (PST)
Received: from mail-ie0-f178.google.com ([209.85.223.178]) (using TLSv1) by na3sys009aob129.postini.com ([74.125.148.12]) with SMTP ID DSNKUqdzl59BA5FdSLboZ+UsXNpsRMAwY6+a@postini.com; Tue, 10 Dec 2013 12:03:35 PST
Received: by mail-ie0-f178.google.com with SMTP id lx4so9595839iec.9 for <jose@ietf.org>; Tue, 10 Dec 2013 12:03:34 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=u4mYhlnDVn1x6WYbMk2rbcg3/c4MydB8JL3in/q+6/g=; b=ZC4DUh7c4PklnKrSgAbQi+EWOE20z/CyBQ3op+qHm2fU3V2yMkyL6ynmxhhvyIfqSd Ynm0Pm7ucKtF3VMc7G0DbNK0DJLJvxdOvzy0DxUjI/aLG6K48DrVOjxDnR5CdG2R612P fEQmdM0+C540utzT84/cPaMzxpoy2Mmmi6vWq7CFtA6AlRVBR/nR/HTQit2gcNZ8BcbO 5ddm0LkdcLZczY50eEvf77/WJXkt25mKoKvAW9yPjLCYANfLeu8GLL+BM/uoyX1HMjUV zmxQyIke5FvHq62xy4MLyoVYlP6Pw5LpVFy1QJJoWwiVfnifGeCE++/JLNgL6kWJZMEG I7Rg==
X-Gm-Message-State: ALoCoQlXTWy7YDzOq0gdcESYGA5PcDqu1+nWgT2O91WlrWU+hjpoQrJu2nUOOgbMXBwgswcLn8NjTd3Kd/zNI5aD7jEJA86fH/6QITL4c9GM4MhNFnOmKkyjeirPG6lWJJf07WI8dITuP3xUyRf7u/5Gvsuh/tLPHg==
X-Received: by 10.50.49.11 with SMTP id q11mr21562624ign.1.1386705814902; Tue, 10 Dec 2013 12:03:34 -0800 (PST)
X-Received: by 10.50.49.11 with SMTP id q11mr21562618ign.1.1386705814767; Tue, 10 Dec 2013 12:03:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.245.233 with HTTP; Tue, 10 Dec 2013 12:03:04 -0800 (PST)
In-Reply-To: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com>
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 10 Dec 2013 13:03:04 -0700
Message-ID: <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com>
To: Luke Howard <lukeh@padl.com>
Content-Type: multipart/alternative; boundary=047d7bdc117a7f771f04ed339bcc
Cc: Nicolas Williams <nico@cryptonector.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2013 20:03:47 -0000

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

You might want to pose the same questions to the OAuth WG (
https://www.ietf.org/mailman/listinfo/oauth).  That's where the JWT work is
being done. The JOSE WG is working on JWS, JWT and JWK, which are used by
JWT but, strictly speaking, the concept of a claim isn't meaningful at the
JOSE layer.


On Sun, Dec 8, 2013 at 5:57 PM, Luke Howard <lukeh@padl.com> wrote:

> I've been prototyping JWT attribute certificates in Mozilla Persona. [1]
>
> Attribute certificates claim a subset of attributes about an identity and
> are intended to be selectively disclosable at presentation time in
> conjunction with a primary certificate. They are regular JWTs with the
> following reserved claims:
>
> * A claim representing a binding to a primary certificate (currently, this
> is the "cb" claim containing the SHA-256 hash of the primary certificate
> JWT)
>
> * A claim identifying the nature of the other claims made in the attribute
> certificate (currently, this is "id"). A user presenting a fresh attribute
> certificate with the same id meta-claim as a previous one should have
> confidence that it represents the same aspects of their identity.
>
> * A claim containing a human readable description of the attribute
> certificate
>
> My current implementation requires that the attribute certificate issuer
> be the same as the primary certificate, but with a suitable trust model
> there's no reason attribute certificates from different issuers could not
> be supported. An attribute may have a shorter validity time than the
> primary certificate.
>
> I'm wondering if there's any interest in documenting this, I think they
> may be useful irrespective of Persona. (There are a bunch things I need to
> clean up, such as conveying the certificate binding hash algorithm.)
>
> -- Luke
>
> [1]
> https://groups.google.com/forum/#!topic/mozilla.dev.identity/kWhiJWH9AV0
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr">You might want to pose the same questions to the OAuth WG =
(<a href=3D"https://www.ietf.org/mailman/listinfo/oauth">https://www.ietf.o=
rg/mailman/listinfo/oauth</a>).=A0 That&#39;s where the JWT work is being d=
one. The JOSE WG is working on JWS, JWT and JWK, which are used by JWT but,=
 strictly speaking, the concept of a claim isn&#39;t meaningful at the JOSE=
 layer.<br>

</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Sun,=
 Dec 8, 2013 at 5:57 PM, Luke Howard <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:lukeh@padl.com" target=3D"_blank">lukeh@padl.com</a>&gt;</span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">

I&#39;ve been prototyping JWT attribute certificates in Mozilla Persona. [1=
]<br>
<br>
Attribute certificates claim a subset of attributes about an identity and a=
re intended to be selectively disclosable at presentation time in conjuncti=
on with a primary certificate. They are regular JWTs with the following res=
erved claims:<br>


<br>
* A claim representing a binding to a primary certificate (currently, this =
is the &quot;cb&quot; claim containing the SHA-256 hash of the primary cert=
ificate JWT)<br>
<br>
* A claim identifying the nature of the other claims made in the attribute =
certificate (currently, this is &quot;id&quot;). A user presenting a fresh =
attribute certificate with the same id meta-claim as a previous one should =
have confidence that it represents the same aspects of their identity.<br>


<br>
* A claim containing a human readable description of the attribute certific=
ate<br>
<br>
My current implementation requires that the attribute certificate issuer be=
 the same as the primary certificate, but with a suitable trust model there=
&#39;s no reason attribute certificates from different issuers could not be=
 supported. An attribute may have a shorter validity time than the primary =
certificate.<br>


<br>
I&#39;m wondering if there&#39;s any interest in documenting this, I think =
they may be useful irrespective of Persona. (There are a bunch things I nee=
d to clean up, such as conveying the certificate binding hash algorithm.)<b=
r>


<br>
-- Luke<br>
<br>
[1] <a href=3D"https://groups.google.com/forum/#!topic/mozilla.dev.identity=
/kWhiJWH9AV0" target=3D"_blank">https://groups.google.com/forum/#!topic/moz=
illa.dev.identity/kWhiJWH9AV0</a><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</blockquote></div><br></div>

--047d7bdc117a7f771f04ed339bcc--

From rlb@ipv.sx  Tue Dec 10 12:19:09 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CDAC1AE0E0 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 12:19:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tKYsMVnI2m3u for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 12:19:07 -0800 (PST)
Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by ietfa.amsl.com (Postfix) with ESMTP id E1E171ADFB9 for <jose@ietf.org>; Tue, 10 Dec 2013 12:19:06 -0800 (PST)
Received: by mail-oa0-f41.google.com with SMTP id j17so6165776oag.14 for <jose@ietf.org>; Tue, 10 Dec 2013 12:19:01 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9Z40ZDeoHRI6IWnmMEvfexrwl3E6LeP4FG16CnGBo3Q=; b=hMu+ZiFdBbpLo6j3QovNy8j2p1eP2WnxXv65nZcopOB5fTbJbSxiW5XmYOJRErv089 WXZOv/PClBwa1zYSSAfxSylyXQE3OXwTmr+nzBcZju5QZVJlPQkNnqRSbviv9FQsyhLu h1hUoX4BM+LQUw2GrhPPnH23AyMFkxlqhk+k6CQhKGfgpYtGfsJrD6QpaFrmUFbafspc Oz826Wkv947E7XRa6Li92WThVfAg7hgFzuAi9F431sCS5FESMnMSCWewvFrzEwMD+7ap cjxuXH/7Hto3SUboyR4xBQbV+oQp+mp0rH63TCBzt84+V9Pqzvks4utK6fuGEhDF5eSW MDYQ==
X-Gm-Message-State: ALoCoQnIpFA8XicYG2mthB55BUYUZXMOsK9cNCLpEcmXDBTe0RKMJyUmpKQmUhivT5ZmCzwCCzIR
MIME-Version: 1.0
X-Received: by 10.60.165.2 with SMTP id yu2mr1694029oeb.78.1386706741529; Tue, 10 Dec 2013 12:19:01 -0800 (PST)
Received: by 10.60.31.74 with HTTP; Tue, 10 Dec 2013 12:19:01 -0800 (PST)
In-Reply-To: <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com>
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com> <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com>
Date: Tue, 10 Dec 2013 15:19:01 -0500
Message-ID: <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Brian Campbell <bcampbell@pingidentity.com>
Content-Type: multipart/alternative; boundary=047d7b47202cbca53b04ed33d25d
Cc: Nicolas Williams <nico@cryptonector.com>, Luke Howard <lukeh@padl.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2013 20:19:09 -0000

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

It's not immediately clear to me that JWT is an exceptionally good fit
here.  It seems like there might be a separate WG here to look at
(effectively) JSON equivalents for X.509 certs and attribute certs.


On Tue, Dec 10, 2013 at 3:03 PM, Brian Campbell
<bcampbell@pingidentity.com>wrote:

> You might want to pose the same questions to the OAuth WG (
> https://www.ietf.org/mailman/listinfo/oauth).  That's where the JWT work
> is being done. The JOSE WG is working on JWS, JWT and JWK, which are used
> by JWT but, strictly speaking, the concept of a claim isn't meaningful at
> the JOSE layer.
>
>
> On Sun, Dec 8, 2013 at 5:57 PM, Luke Howard <lukeh@padl.com> wrote:
>
>> I've been prototyping JWT attribute certificates in Mozilla Persona. [1]
>>
>> Attribute certificates claim a subset of attributes about an identity and
>> are intended to be selectively disclosable at presentation time in
>> conjunction with a primary certificate. They are regular JWTs with the
>> following reserved claims:
>>
>> * A claim representing a binding to a primary certificate (currently,
>> this is the "cb" claim containing the SHA-256 hash of the primary
>> certificate JWT)
>>
>> * A claim identifying the nature of the other claims made in the
>> attribute certificate (currently, this is "id"). A user presenting a fresh
>> attribute certificate with the same id meta-claim as a previous one should
>> have confidence that it represents the same aspects of their identity.
>>
>> * A claim containing a human readable description of the attribute
>> certificate
>>
>> My current implementation requires that the attribute certificate issuer
>> be the same as the primary certificate, but with a suitable trust model
>> there's no reason attribute certificates from different issuers could not
>> be supported. An attribute may have a shorter validity time than the
>> primary certificate.
>>
>> I'm wondering if there's any interest in documenting this, I think they
>> may be useful irrespective of Persona. (There are a bunch things I need to
>> clean up, such as conveying the certificate binding hash algorithm.)
>>
>> -- Luke
>>
>> [1]
>> https://groups.google.com/forum/#!topic/mozilla.dev.identity/kWhiJWH9AV0
>> _______________________________________________
>> 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
>
>

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

<div dir=3D"ltr">It&#39;s not immediately clear to me that JWT is an except=
ionally good fit here. =A0It seems like there might be a separate WG here t=
o look at (effectively) JSON equivalents for X.509 certs and attribute cert=
s. =A0=A0</div>
<div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, Dec 1=
0, 2013 at 3:03 PM, Brian Campbell <span dir=3D"ltr">&lt;<a href=3D"mailto:=
bcampbell@pingidentity.com" target=3D"_blank">bcampbell@pingidentity.com</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">You might want to pose the =
same questions to the OAuth WG (<a href=3D"https://www.ietf.org/mailman/lis=
tinfo/oauth" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth<=
/a>).=A0 That&#39;s where the JWT work is being done. The JOSE WG is workin=
g on JWS, JWT and JWK, which are used by JWT but, strictly speaking, the co=
ncept of a claim isn&#39;t meaningful at the JOSE layer.<br>


</div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><b=
r><br><div class=3D"gmail_quote">On Sun, Dec 8, 2013 at 5:57 PM, Luke Howar=
d <span dir=3D"ltr">&lt;<a href=3D"mailto:lukeh@padl.com" target=3D"_blank"=
>lukeh@padl.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

I&#39;ve been prototyping JWT attribute certificates in Mozilla Persona. [1=
]<br>
<br>
Attribute certificates claim a subset of attributes about an identity and a=
re intended to be selectively disclosable at presentation time in conjuncti=
on with a primary certificate. They are regular JWTs with the following res=
erved claims:<br>



<br>
* A claim representing a binding to a primary certificate (currently, this =
is the &quot;cb&quot; claim containing the SHA-256 hash of the primary cert=
ificate JWT)<br>
<br>
* A claim identifying the nature of the other claims made in the attribute =
certificate (currently, this is &quot;id&quot;). A user presenting a fresh =
attribute certificate with the same id meta-claim as a previous one should =
have confidence that it represents the same aspects of their identity.<br>



<br>
* A claim containing a human readable description of the attribute certific=
ate<br>
<br>
My current implementation requires that the attribute certificate issuer be=
 the same as the primary certificate, but with a suitable trust model there=
&#39;s no reason attribute certificates from different issuers could not be=
 supported. An attribute may have a shorter validity time than the primary =
certificate.<br>



<br>
I&#39;m wondering if there&#39;s any interest in documenting this, I think =
they may be useful irrespective of Persona. (There are a bunch things I nee=
d to clean up, such as conveying the certificate binding hash algorithm.)<b=
r>



<br>
-- Luke<br>
<br>
[1] <a href=3D"https://groups.google.com/forum/#!topic/mozilla.dev.identity=
/kWhiJWH9AV0" target=3D"_blank">https://groups.google.com/forum/#!topic/moz=
illa.dev.identity/kWhiJWH9AV0</a><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
<br></blockquote></div><br></div>

--047d7b47202cbca53b04ed33d25d--

From bcampbell@pingidentity.com  Tue Dec 10 12:42:12 2013
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EFEE1AE067 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 12:42:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.577
X-Spam-Level: 
X-Spam-Status: No, score=-3.577 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qCDvLmcFQMJz for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 12:42:09 -0800 (PST)
Received: from na3sys009aog113.obsmtp.com (na3sys009aog113.obsmtp.com [74.125.149.209]) by ietfa.amsl.com (Postfix) with ESMTP id 58AF41ADFA9 for <jose@ietf.org>; Tue, 10 Dec 2013 12:42:09 -0800 (PST)
Received: from mail-ie0-f182.google.com ([209.85.223.182]) (using TLSv1) by na3sys009aob113.postini.com ([74.125.148.12]) with SMTP ID DSNKUqd8iS+a4HsL5NtqVoQxsYQy0yCSGV6x@postini.com; Tue, 10 Dec 2013 12:42:04 PST
Received: by mail-ie0-f182.google.com with SMTP id as1so9587363iec.13 for <jose@ietf.org>; Tue, 10 Dec 2013 12:41:37 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=0Cb+geOd14l1Ny4TJAEVBYnKiZxjqbK+rzS30Hlgc6g=; b=VZuP3bFWeZ1CkUtVxY045IhTvFQpqwC2ThbfB43YL/O/74vlD8xTwuQtXTXzVAnyA3 qr3iErmPBkCG6RU99Ih9b3U9kzYuIkHN6Sgqq7ITelv8DK4vngJA20lsWXsJKINNPxt5 kXmfbJEMsz1DzqggP7sgtNM9WfuoitHwRGnGAH+4PmT9JUb9ZW8TY66enMc4mGRJwMNx wXtszTkzMF4pBnhJnsSaQVXVPa3uAu1xxSimSZVmF06HjjmOsrbT/Jj7wwdeW03qkE0U KiDjEzqkN2eAcBc+rW4X++7r+7BEn3Igu7+dqSKWONoDfbB8k+4Sj9j3aEQJiHZLQPb7 M0aw==
X-Gm-Message-State: ALoCoQn6Pnwlcw11n1A63p0JIxCIjMBQeqe0akRjKjVi+P7HD98yzLlmBu2twxmaTt52wpNtycXZAre5yM5/gcfaGzSx7emrMdQUBFEi7/xVOdCQn5MvefySh5gpeEUHAfSVNVkCW3ePDsDKhNOqj0d+1iJs9jhxLg==
X-Received: by 10.50.79.138 with SMTP id j10mr22006141igx.2.1386708096982; Tue, 10 Dec 2013 12:41:36 -0800 (PST)
X-Received: by 10.50.79.138 with SMTP id j10mr22006128igx.2.1386708096865; Tue, 10 Dec 2013 12:41:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.245.233 with HTTP; Tue, 10 Dec 2013 12:41:06 -0800 (PST)
In-Reply-To: <52A2ACB7.50805@gmail.com>
References: <529B6B33.2070401@gmail.com> <52A2ACB7.50805@gmail.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 10 Dec 2013 13:41:06 -0700
Message-ID: <CA+k3eCQ5h-6Ep-fc3fjdjVzPk_Mf5Y=kCLvynbQXOa_CkZ15Pw@mail.gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
Content-Type: multipart/alternative; boundary=089e0122ab7485755404ed342348
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK counterpart to ds:CryptoBinary?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2013 20:42:12 -0000

--089e0122ab7485755404ed342348
Content-Type: text/plain; charset=ISO-8859-1

I am likewise a non-cryptographer but that's my code so I guess I should
comment :)

The understanding of that part of the specs comes from the text, "...
represented as the base64url encoding of the value's unsigned big endian
representation as an octet sequence."  The spec drafts have been updated
over time and the appearances of that text have moved around since I wrote
that code but I think the intent hasn't changed  The text is currently used
in each of the parameters for RSA keys
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-6.3.
The same text was there for EC keys as well but recently was change to
reference SEC1 (which I'm told is basically the same for for prime curves).




On Fri, Dec 6, 2013 at 10:05 PM, Anders Rundgren <
anders.rundgren.net@gmail.com> wrote:

> Well, a peek in another JOSE implementation seems to verify that this is
> an _implicit_ (understood) part of the specification:
>
>
> https://bitbucket.org/b_c/jose4j/src/b782e9638a84431a58234b7258c2186da4e8189f/src/main/java/org/jose4j/keys/BigEndianBigInteger.java
>
> As a non-cryptographer I interpret this as: X and Y for EC public keys
> must always be positive and this is also the case for RSA public exponent
> and modulus.
>
> In an early version of an XML DSig implementation of mine I occasionally
> got run-time errors which was how I found out about ds:CryptoBinary...
>
> Anders
>
>
> On 2013-12-01 18:00, Anders Rundgren wrote:
> > Hi List
> >
> > Pardon a non-cryptographer, but does JWK have a counterpart to
> >    http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary
> > ?
> >
> > If not, why?
> >
> > From what I can deduct the following implementation use CryptoBinary for
> both EC and RSA public keys:
> >
> >
> https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/util/BigIntegerUtils.java?at=master
> >
> > thanx,
> > Anders
> >
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr">I am likewise a non-cryptographer but that&#39;s my code s=
o I guess I should comment :)<br><br>The understanding of that part of the =
specs comes from the text, &quot;... represented as the base64url encoding =
of the value&#39;s unsigned big endian representation as an octet sequence.=
&quot;=A0 The spec drafts have been updated over time and the appearances o=
f that text have moved around since I wrote that code but I think the inten=
t hasn&#39;t changed=A0 The text is currently used in each of the parameter=
s for RSA keys <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-w=
eb-algorithms-18#section-6.3">http://tools.ietf.org/html/draft-ietf-jose-js=
on-web-algorithms-18#section-6.3</a>. The same text was there for EC keys a=
s well but recently was change to reference SEC1 (which I&#39;m told is bas=
ically the same for for prime curves). <br>

<br><br> </div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote=
">On Fri, Dec 6, 2013 at 10:05 PM, Anders Rundgren <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:anders.rundgren.net@gmail.com" target=3D"_blank">anders.run=
dgren.net@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Well, a peek in another JOSE implementation =
seems to verify that this is an _implicit_ (understood) part of the specifi=
cation:<br>


<br>
<a href=3D"https://bitbucket.org/b_c/jose4j/src/b782e9638a84431a58234b7258c=
2186da4e8189f/src/main/java/org/jose4j/keys/BigEndianBigInteger.java" targe=
t=3D"_blank">https://bitbucket.org/b_c/jose4j/src/b782e9638a84431a58234b725=
8c2186da4e8189f/src/main/java/org/jose4j/keys/BigEndianBigInteger.java</a><=
br>


<br>
As a non-cryptographer I interpret this as: X and Y for EC public keys must=
 always be positive and this is also the case for RSA public exponent and m=
odulus.<br>
<br>
In an early version of an XML DSig implementation of mine I occasionally go=
t run-time errors which was how I found out about ds:CryptoBinary...<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Anders<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On 2013-12-01 18:00, Anders Rundgren wrote:<br>
&gt; Hi List<br>
&gt;<br>
&gt; Pardon a non-cryptographer, but does JWK have a counterpart to<br>
&gt; =A0 =A0<a href=3D"http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary"=
 target=3D"_blank">http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary</a><=
br>
&gt; ?<br>
&gt;<br>
&gt; If not, why?<br>
&gt;<br>
&gt; From what I can deduct the following implementation use CryptoBinary f=
or both EC and RSA public keys:<br>
&gt;<br>
&gt; <a href=3D"https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b9=
4f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/util/BigIn=
tegerUtils.java?at=3Dmaster" target=3D"_blank">https://bitbucket.org/nimbus=
ds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/ja=
va/com/nimbusds/jose/util/BigIntegerUtils.java?at=3Dmaster</a><br>


&gt;<br>
&gt; thanx,<br>
&gt; Anders<br>
&gt;<br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div>

--089e0122ab7485755404ed342348--

From watsonm@netflix.com  Tue Dec 10 13:08:38 2013
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DEE91AE171 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 13:08:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWO06MgIHDU5 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 13:08:37 -0800 (PST)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) by ietfa.amsl.com (Postfix) with ESMTP id 327491AE07A for <jose@ietf.org>; Tue, 10 Dec 2013 13:08:36 -0800 (PST)
Received: by mail-wi0-f178.google.com with SMTP id bz8so5906131wib.11 for <jose@ietf.org>; Tue, 10 Dec 2013 13:08:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=xEuxNgbsPBal9bCEGIMpRyaBW+b4A9AtaVcsj5jxoQU=; b=rSMpbcEVXdqwsnhYu7K0ryyecaVsPvCDdhRQUtqjj55UzcKBZwKS6UUin6clmEd0TM GUHD4DAIiWTtcSAbp8P/cmp5dTszhueoc8Vk+WQVSETjCtuIj2mQ1om98Jwzxy14yX47 QPjndO/jh6MRKvra/p2hdhdB8zJsu8IRv88SA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=xEuxNgbsPBal9bCEGIMpRyaBW+b4A9AtaVcsj5jxoQU=; b=G5q0HPmXmb+eOKHVnepkWaP3zSjabSJQNcTadYW6VV6060DdbKtNutVSrKg1Me+2o9 t7uRc34zDI7Mv3izKWOjasQEPsKMNimTVgPtNhR77lumExMdRADIsGwBUtWi4l+03c5z WPBVkKbyEAhARkc9UF40Q33XL8WZlnHI5ii2sIskZaxRMFdvsELM7uc6lJiP4XG3TDC0 2yewqVnTeF8oSZvz/52McTISeWmVDNzMIuJY5LpDQeyzTfP02r4Mwzvd2QbfOE9j/qAm E71pu72mabRcDvJyMGZL5WsGmhrFAss58ALwJCKL38LWUrchuf8CMnCTQp8v6So11JDL s43g==
X-Gm-Message-State: ALoCoQnd92Bs3h+dBPM6xwMtj/YOTT/J3H/j6DoyCpecdow1Y7/A+aK4WR0wQcltIPU6Ah96cRse
MIME-Version: 1.0
X-Received: by 10.195.12.75 with SMTP id eo11mr139661wjd.92.1386709711399; Tue, 10 Dec 2013 13:08:31 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Tue, 10 Dec 2013 13:08:31 -0800 (PST)
Date: Tue, 10 Dec 2013 13:08:31 -0800
Message-ID: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=047d7bfcec5cc147f104ed348334
Subject: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2013 21:08:38 -0000

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

All,

Currently, the JWK "use" attribute effectively distinguishes between JWE
("enc") and JWA ("sign").

However, additional uses can be added to the registry and the W3C WebCrypto
group is planning to register use values corresponding to the KeyUsage
values defined for WebCrypto Key objects. These KeyUsage values include,
for example, encrypt, decrypt, sign, verify, wrap, unwrap etc.

A WebCrypto Key object may have multiple KeyUsages and so we have a
question as to how to represent that in JWK.

One proposal is to allow the use string to contain a comma-separated list
of values. We could register such a scheme directly with IANA.

It would be cleaner, though, since this is JSON, to allow this attribute to
have Array type where two or more usages are to be represented (it would
remain a string for the single-usage case). I've also had some negative
feedback from implemetors about the comma-separated-value idea along
yet-another-string-parser lines.

Would it be possible to modify the Registry for JWK use values to allow
data types other than String to be registered ?

...Mark

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">All=
,</div><div class=3D"gmail_default" style=3D"font-size:small"><br></div><di=
v class=3D"gmail_default" style=3D"font-size:small">Currently, the JWK &quo=
t;use&quot; attribute effectively distinguishes between JWE (&quot;enc&quot=
;) and JWA (&quot;sign&quot;).<br>
</div><div class=3D"gmail_default" style=3D"font-size:small"><br></div><div=
 class=3D"gmail_default" style=3D"font-size:small">However, additional uses=
 can be added to the registry and the W3C WebCrypto group is planning to re=
gister use values corresponding to the KeyUsage values defined for WebCrypt=
o Key objects. These KeyUsage values include, for example, encrypt, decrypt=
, sign, verify, wrap, unwrap etc.</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">A WebCrypto Key object may hav=
e multiple KeyUsages and so we have a question as to how to represent that =
in JWK.</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">One proposal is to allow the u=
se string to contain a comma-separated list of values. We could register su=
ch a scheme directly with IANA.</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">It would be cleaner, though, s=
ince this is JSON, to allow this attribute to have Array type where two or =
more usages are to be represented (it would remain a string for the single-=
usage case). I&#39;ve also had some negative feedback from implemetors abou=
t the comma-separated-value idea along yet-another-string-parser lines.</di=
v>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">Would it be possible to modify=
 the Registry for JWK use values to allow data types other than String to b=
e registered ?</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">...Mark</div><div class=3D"gma=
il_default" style=3D"font-size:small"><br></div><div class=3D"gmail_default=
" style=3D"font-size:small">
<br></div></div>

--047d7bfcec5cc147f104ed348334--

From anders.rundgren.net@gmail.com  Tue Dec 10 13:17:25 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22BCF1AE106 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 13:17:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00-r-yaXZ9er for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 13:17:23 -0800 (PST)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id CC9361AE089 for <jose@ietf.org>; Tue, 10 Dec 2013 13:17:22 -0800 (PST)
Received: by mail-we0-f177.google.com with SMTP id u56so5662540wes.36 for <jose@ietf.org>; Tue, 10 Dec 2013 13:17:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=zqi/rmwMX3873qCf5xU6va6wQ12p8afB1mGD0WaPE84=; b=UGI8RwEFJJFuiSHHIY701lmLIEdjhj4lg1T8dmjb9uEQWas4ECFiv4Eowy9rN8JhXM x1F3VVPq6LzA2c/3MVNiPx6OWX8mH1cww7LHyTLe/CYkIgc6fHcp6CCbfnk/DVfuEaYt i0fI6b9I+XSoqD0EQNn1zVotboI6fZ2XHDL7fDjrXLe9wGdZrK+k5jlrl4089zprECCX DYo9sHq5sSUQW4jBAYZi/UZE58+lY+2FiRBmBDI4Go60GvPxtqtf+xUlbcpkZ0nzllok 16+LSNOPtglS1v9HokKQOLYqUBzktwZa6PFP4nAGzxke8tgy3BVLLs/gece0WHSTr88A If7g==
X-Received: by 10.180.189.49 with SMTP id gf17mr21146947wic.23.1386710236910;  Tue, 10 Dec 2013 13:17:16 -0800 (PST)
Received: from [192.168.1.99] (33.50.125.78.rev.sfr.net. [78.125.50.33]) by mx.google.com with ESMTPSA id hv5sm8598390wib.2.2013.12.10.13.17.16 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Dec 2013 13:17:16 -0800 (PST)
Message-ID: <52A784D8.1000307@gmail.com>
Date: Tue, 10 Dec 2013 22:17:12 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Brian Campbell <bcampbell@pingidentity.com>
References: <529B6B33.2070401@gmail.com> <52A2ACB7.50805@gmail.com> <CA+k3eCQ5h-6Ep-fc3fjdjVzPk_Mf5Y=kCLvynbQXOa_CkZ15Pw@mail.gmail.com>
In-Reply-To: <CA+k3eCQ5h-6Ep-fc3fjdjVzPk_Mf5Y=kCLvynbQXOa_CkZ15Pw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK counterpart to ds:CryptoBinary?
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Dec 2013 21:17:25 -0000

On 2013-12-10 21:41, Brian Campbell wrote:
> I am likewise a non-cryptographer but that's my code so I guess I should comment :)
>
> The understanding of that part of the specs comes from the text, "... represented as the base64url encoding of the value's unsigned big endian representation as an octet sequence."  The spec drafts have been updated over time and the appearances of that text have moved around since I wrote that code but I think the intent hasn't changed  The text is currently used in each of the parameters for RSA keys http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-6.3. The same text was there for EC keys as well but recently was change to reference SEC1 (which I'm told is basically the same for for prime curves).

Brian, thank very much for pointing me to the right places!
I'm happy to see that I'm still on the right track :-)

Cheers
Anders

>
>
>
>
> On Fri, Dec 6, 2013 at 10:05 PM, Anders Rundgren <anders.rundgren.net@gmail.com <mailto:anders.rundgren.net@gmail.com>> wrote:
>
>     Well, a peek in another JOSE implementation seems to verify that this is an _implicit_ (understood) part of the specification:
>
>     https://bitbucket.org/b_c/jose4j/src/b782e9638a84431a58234b7258c2186da4e8189f/src/main/java/org/jose4j/keys/BigEndianBigInteger.java
>
>     As a non-cryptographer I interpret this as: X and Y for EC public keys must always be positive and this is also the case for RSA public exponent and modulus.
>
>     In an early version of an XML DSig implementation of mine I occasionally got run-time errors which was how I found out about ds:CryptoBinary...
>
>     Anders
>
>
>     On 2013-12-01 18:00, Anders Rundgren wrote:
>     > Hi List
>     >
>     > Pardon a non-cryptographer, but does JWK have a counterpart to
>     >    http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary
>     > ?
>     >
>     > If not, why?
>     >
>     > From what I can deduct the following implementation use CryptoBinary for both EC and RSA public keys:
>     >
>     > https://bitbucket.org/nimbusds/nimbus-jose-jwt/src/6d6938b94f7a6051636bf654864a78b708fa392f/src/main/java/com/nimbusds/jose/util/BigIntegerUtils.java?at=master
>     >
>     > thanx,
>     > Anders
>     >
>
>     _______________________________________________
>     jose mailing list
>     jose@ietf.org <mailto:jose@ietf.org>
>     https://www.ietf.org/mailman/listinfo/jose
>
>


From msporny@digitalbazaar.com  Tue Dec 10 17:59:11 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6A5E1AE307 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 17:59:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.795
X-Spam-Level: **
X-Spam-Status: No, score=2.795 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W69XvmgQT4gc for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 17:59:10 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id 485FB1AE303 for <jose@ietf.org>; Tue, 10 Dec 2013 17:59:10 -0800 (PST)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1VqZ4p-00016T-Ho for jose@ietf.org; Tue, 10 Dec 2013 20:59:04 -0500
Message-ID: <52A7C6E1.2010000@digitalbazaar.com>
Date: Tue, 10 Dec 2013 20:58:57 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: jose@ietf.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [jose] Ignore: test message
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 01:59:12 -0000

Ignore this please, Karen asked me to send a test message to the list
because emails I'm sending are being eaten by the IETF mailing list
software.

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Meritora - Web payments commercial launch
http://blog.meritora.com/launch/

From lukeh@padl.com  Tue Dec 10 18:13:54 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC3C91AE2F6 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 18:13:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level: 
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z61eSmhhc8Ak for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 18:13:53 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id DC9521AC829 for <jose@ietf.org>; Tue, 10 Dec 2013 18:13:52 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBB2DVRk013841; Tue, 10 Dec 2013 21:13:36 -0500
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com>
Date: Wed, 11 Dec 2013 13:13:32 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <F578585B-E170-4A87-B325-FEA2BE922DC7@padl.com>
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com> <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com> <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: Nicolas Williams <nico@cryptonector.com>, Brian Campbell <bcampbell@pingidentity.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 02:13:55 -0000

On 11 Dec 2013, at 7:19 am, Richard Barnes <rlb@ipv.sx> wrote:

> It's not immediately clear to me that JWT is an exceptionally good fit =
here.  It seems like there might be a separate WG here to look at =
(effectively) JSON equivalents for X.509 certs and attribute certs.  =20


BrowserID uses JWTs as equivalents for X.509 certificates, so my =
proposed use of attribute certificates is just an extension of that. =
Here are some docs, hopefully it's easy to separate the =
BrowserID-specific implementation notes from the data format:

=
https://github.com/lhoward/browserid/blob/lhoward-sad/docs/ATTRIBUTE_CERTS=
.md

-- Luke=

From lukeh@padl.com  Tue Dec 10 18:17:28 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8035A1AE318 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 18:17:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level: 
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hPQe_kBzvIBO for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 18:17:27 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id 713251AE317 for <jose@ietf.org>; Tue, 10 Dec 2013 18:17:26 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBB2H6Xu013979; Tue, 10 Dec 2013 21:17:11 -0500
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <F578585B-E170-4A87-B325-FEA2BE922DC7@padl.com>
Date: Wed, 11 Dec 2013 13:17:06 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <4F864838-33F7-4F53-9BD6-CBF21F2FEAD9@padl.com>
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com> <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com> <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com> <F578585B-E170-4A87-B325-FEA2BE922DC7@padl.com>
To: "jose@ietf.org" <jose@ietf.org>
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: Nicolas Williams <nico@cryptonector.com>
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 02:17:28 -0000

One thing that would be immediately useful is any thoughts on whether =
that are existing claim IDs that may be used for:

* an identifier that groups a set of claims in a JWT; as opposed to =
"jti", which is unique per instance, different JWTs over time with this =
meta-claim may be assumed to express equivalent claims about a subject. =
(I suppose in one way, "sub" would make sense. Currently I'm using =
"id".)

* a human readable display name for the set of claims in a JWT. =
Currently I'm using "dn".

cheers,
Luke=

From lukeh@padl.com  Tue Dec 10 19:42:22 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 761B01AE029 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 19:42:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level: 
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zcIah-gc9qs8 for <jose@ietfa.amsl.com>; Tue, 10 Dec 2013 19:42:21 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id F10951AE009 for <jose@ietf.org>; Tue, 10 Dec 2013 19:42:20 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBB3fiiY017665; Tue, 10 Dec 2013 22:41:57 -0500
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com> <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com> <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com> <F578585B-E170-4A87-B325-FEA2BE922DC7@padl.com> <4F864838-33F7-4F53-9BD6-CBF21F2FEAD9@padl.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <4F864838-33F7-4F53-9BD6-CBF21F2FEAD9@padl.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <FDD71875-1B15-4848-8A10-DD1ED4D8181B@padl.com>
X-Mailer: iPhone Mail (11B511)
From: Luke Howard <lukeh@padl.com>
Date: Wed, 11 Dec 2013 14:41:44 +1100
To: "jose@ietf.org" <jose@ietf.org>
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: ALL_TRUSTED,AWL,BAYES_00,MIME_QP_LONG_LINE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.6
Cc: Nicolas Williams <nico@cryptonector.com>
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 03:42:22 -0000

Also, I want to algorithm agonstify the certificate digest claim - are there=
 any specifications for hash functions that are unkeyed? I presume "S256" fo=
r SHA-256 (etc) is the obvious answer.

Sent from my iPhone

> On 11 Dec 2013, at 13:17, Luke Howard <lukeh@padl.com> wrote:
>=20
> One thing that would be immediately useful is any thoughts on whether that=
 are existing claim IDs that may be used for:
>=20
> * an identifier that groups a set of claims in a JWT; as opposed to "jti",=
 which is unique per instance, different JWTs over time with this meta-claim=
 may be assumed to express equivalent claims about a subject. (I suppose in o=
ne way, "sub" would make sense. Currently I'm using "id".)
>=20
> * a human readable display name for the set of claims in a JWT. Currently I=
'm using "dn".
>=20
> cheers,
> Luke
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose

From gerdes@tzi.de  Wed Dec 11 05:49:07 2013
Return-Path: <gerdes@tzi.de>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D17641ADE7C; Wed, 11 Dec 2013 05:49:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.551
X-Spam-Level: 
X-Spam-Status: No, score=-3.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_INVITATION=-2, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SZ-07BSEa9s7; Wed, 11 Dec 2013 05:49:05 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 364A81ADDDA; Wed, 11 Dec 2013 05:49:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id rBBDksGc018161; Wed, 11 Dec 2013 14:46:55 +0100 (CET)
Received: from [134.102.218.230] (dynamic-218-c.informatik.uni-bremen.de [134.102.218.230]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 7D110C4B; Wed, 11 Dec 2013 14:46:54 +0100 (CET)
Message-ID: <52A86CCE.3090906@tzi.de>
Date: Wed, 11 Dec 2013 14:46:54 +0100
From: Stefanie Gerdes <gerdes@tzi.de>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: "core@ietf.org" <core@ietf.org>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: saag@ietf.org, dtls-iot@ietf.org, jose@ietf.org, oauth@ietf.org
Subject: [jose] Invitation to New Non-WG Mailing List: Authentication and Authorization for Constrained Environments (ace)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 13:49:08 -0000

Hi everybody,

As a result of discussions in the CoRE WG in Berlin and Vancouver the
new non-WG mailing list Authentication and Authorization for Constrained
Environments (ace) was created.

The purpose of this list is to organize interest in a group to define
the charter for work on Authentication and Authorization for Constrained
Environments.

Our mailing list can be found at (1), existing work can be found at (2),
and the draft charter can be found at (3).

Please feel welcome to join the list and provide your feedback!

Thanks,

Kind Regards
Kepeng & Stefanie


(1)Mailing List

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

(2)Existing work:

Use Cases:
http://tools.ietf.org/id/draft-garcia-core-security
http://tools.ietf.org/id/draft-greevenbosch-core-authreq
http://tools.ietf.org/id/draft-seitz-core-sec-usecases

Solutions
http://tools.ietf.org/id/draft-gerdes-core-dcaf-authorize
http://tools.ietf.org/id/draft-kang-core-secure-reconfiguration
http://tools.ietf.org/id/draft-selander-core-access-control
http://tools.ietf.org/id/draft-zhu-core-groupauth
http://tools.ietf.org/id/draft-pporamba-dtls-certkey
http://tools.ietf.org/id/draft-schmitt-two-way-authentication-for-iot
http://tools.ietf.org/id/draft-seitz-core-security-modes

(3)Draft Charter - Authentication and Authorization for Constrained
Environment (ACE)

The CoAP (Constrained Application Protocol) is a light-weight
application layer protocol, especially suitable for applications such as
smart energy, smart home, building automation, remote patient monitoring
etc. Due to the nature of these applications, including a critical,
unattended infrastructure and usage in the personal sphere, security and
privacy protection are critical components.

Currently, a problem with constrained devices is the realization of such
secure communication. The devices only have limited resources such as
memory, storage and transmission capacity. These constraints severely
limit the security functions and communications the device can perform.
Missing functionality includes authentication, which provides trust and
ensures an entity is who it says it is, and authorization, which defines
and enforces access rights for different clients.

The ACE WG focuses on providing constrained devices with the necessary
prerequisites to use REST operations in a secure way. Constrained
devices will thus be enabled to authenticate communications from other
(constrained or less-constrained) devices, to communicate securely with
them and to verify their individual authorization to access specific
resources. To achieve this, ACE will be able to employ an architecture
with one or more trusted less-constrained devices which will relieve the
constrained nodes from complex security related tasks (e.g. managing
authorization policies and a large number of keys). ACE will use CoAP
and employ security properties of DTLS whenever possible.

The ACE WG has the following tasks:
- Document the use cases and high-level requirements for secured
communication between constrained devices.
- Define certificate profiling (what kinds of certificates and which
attributes are to be used).
- Define a mechanism for authenticated and protected transfer of
authorization information suitable for constrained device to constrained
device communication.
- Define an access ticket and authorization information format suitable
for constrained devices.
- Define bootstrapping for authorization information using the Resource
Directory.

From lukeh@padl.com  Wed Dec 11 06:10:33 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DE4C1ADF33 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 06:10:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level: 
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lc6gyeyaSwLH for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 06:10:31 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id B41871ADF2F for <jose@ietf.org>; Wed, 11 Dec 2013 06:10:31 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBBEA5og005997; Wed, 11 Dec 2013 09:10:10 -0500
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <4F864838-33F7-4F53-9BD6-CBF21F2FEAD9@padl.com>
Date: Thu, 12 Dec 2013 01:10:06 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <240E551B-FA34-4070-A3AB-FD30CF5860E0@padl.com>
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com> <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com> <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com> <F578585B-E170-4A87-B325-FEA2BE922DC7@padl.com> <4F864838-33F7-4F53-9BD6-CBF21F2FEAD9@padl.com>
To: "jose@ietf.org" <jose@ietf.org>
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: Nicolas Williams <nico@cryptonector.com>
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 14:10:33 -0000

On 11 Dec 2013, at 1:17 pm, Luke Howard <lukeh@padl.com> wrote:

> * an identifier that groups a set of claims in a JWT; as opposed to =
"jti", which is unique per instance, different JWTs over time with this =
meta-claim may be assumed to express equivalent claims about a subject. =
(I suppose in one way, "sub" would make sense. Currently I'm using =
"id".)

Apologies for the list traffic. It appears that "scope" is the right =
thing to use here (and I realise such claims are out of scope for JOSE; =
I will go bother OAuth instead).

I've also defined the RFC 3281-inspired "cdi" (certDigestInfo) as an =
object that contains two properties: "alg" (S256 for SHA-256, etc) and =
"cdi" (base64URL encoded digest). I'll write this up in an IETF draft =
soon.

> * a human readable display name for the set of claims in a JWT. =
Currently I'm using "dn".

Maybe "sdn" is better. Or "scope_display_name". Or "display_name".

-- Luke=

From rstruik.ext@gmail.com  Wed Dec 11 06:45:24 2013
Return-Path: <rstruik.ext@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16C8D1ADF81; Wed, 11 Dec 2013 06:45:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level: 
X-Spam-Status: No, score=-4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_I_INVITATION=-2, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SdY_MpxXnw2h; Wed, 11 Dec 2013 06:45:21 -0800 (PST)
Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) by ietfa.amsl.com (Postfix) with ESMTP id 581201ADF80; Wed, 11 Dec 2013 06:45:21 -0800 (PST)
Received: by mail-ig0-f179.google.com with SMTP id hk11so847716igb.0 for <multiple recipients>; Wed, 11 Dec 2013 06:45:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=scWuz0UoFiPFuRINImNeTz68NxM7A/ZPXBXnVRbrz58=; b=ajoarEEUcuuSlhu4jc+Lmw7INGKir3YpySyrYDOd8no2qdbpDsLvPfvufjn+aILQm3 bfw/oVgUTzA9sp6u/plb//bwp0z97PMV5rqoEkxKJwVk7b6BvM1xNWhWzPlWOTlv8VvB jIULTafdkyroeMHxaGdbLkn9LjabYToAxK2t4t1bjGzod64ADaOvgOSQDvSeO8OMqKx7 YJyK4s0jUjdBfeE0giwEiapC2Y8DkLmxyXl/b2dWoSZDCcfD07XUd3ouj3Qd+aQsa97f c2acJiQmuW7reKDChnFPjoqsKeI7PHV6HMcjJ/DT2LgPFl6wnp+2VMp/YaPlxQpveDNN tXJA==
X-Received: by 10.42.208.211 with SMTP id gd19mr1165897icb.15.1386773115664; Wed, 11 Dec 2013 06:45:15 -0800 (PST)
Received: from [192.168.1.103] (CPE0013100e2c51-CM001cea35caa6.cpe.net.cable.rogers.com. [99.230.254.17]) by mx.google.com with ESMTPSA id k6sm9308420igx.8.2013.12.11.06.45.13 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 06:45:14 -0800 (PST)
Message-ID: <52A87A6F.8030304@gmail.com>
Date: Wed, 11 Dec 2013 09:45:03 -0500
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Stefanie Gerdes <gerdes@tzi.de>, "core@ietf.org" <core@ietf.org>
References: <52A86CCE.3090906@tzi.de>
In-Reply-To: <52A86CCE.3090906@tzi.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Wed, 11 Dec 2013 06:55:18 -0800
Cc: saag@ietf.org, dtls-iot@ietf.org, jose@ietf.org, oauth@ietf.org
Subject: Re: [jose] Invitation to New Non-WG Mailing List: Authentication and Authorization for Constrained Environments (ace)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 14:45:24 -0000

[apologies for replying to all the IETF lists in the original cc]

Dear colleagues:

I have some initial feedback on the potential draft charter.

I believe it is really premature to write potential point solutions into =
a draft charter, in casu definition of a less constrained device that can=
 be used to outsource computational, storage, or management functionality=
 to. (Does this imply one envisions to have to buy a separate box/single =
point of failure to take on this task?) It would make much more sense to =
look into this problem space in terms of requirements first, with an eye =
towards scalability towards billion+ devices. This does not preclude this=
 potential solution direction, but questions as to what this entails in t=
erms of usability, scalability, and communications impact need to be clea=
r first. This is an ambitious undertaking and many efforts in the past ha=
ve been far less successful than initially thought. There is also an unde=
rcurrent in the draft charter text that there is a need for different "de=
vice types", which is not a priori clear. To realize the full potential o=
f constrained networks, one should reflect upon "trust" endowed upon sing=
le nodes, of whatever type, and consider limiting the impact of violation=
 of this trust, should this occur, as an explicit design criterium.

In the end, this may be an undertaking that would be suitable as an IAB w=
ork item, considering potential scope.

Best regards, Rene

=3D=3D

To achieve this, ACE will be able to employ an architecture
with one or more trusted less-constrained devices which will relieve the
constrained nodes from complex security related tasks (e.g. managing
authorization policies and a large number of keys). ACE will use CoAP
and employ security properties of DTLS whenever possible.




On 12/11/2013 8:46 AM, Stefanie Gerdes wrote:
> Hi everybody,
>
> As a result of discussions in the CoRE WG in Berlin and Vancouver the
> new non-WG mailing list Authentication and Authorization for Constraine=
d
> Environments (ace) was created.
>
> The purpose of this list is to organize interest in a group to define
> the charter for work on Authentication and Authorization for Constraine=
d
> Environments.
>
> Our mailing list can be found at (1), existing work can be found at (2)=
,
> and the draft charter can be found at (3).
>
> Please feel welcome to join the list and provide your feedback!
>
> Thanks,
>
> Kind Regards
> Kepeng & Stefanie
>
>
> (1)Mailing List
>
> https://www.ietf.org/mailman/listinfo/ace
>
> (2)Existing work:
>
> Use Cases:
> http://tools.ietf.org/id/draft-garcia-core-security
> http://tools.ietf.org/id/draft-greevenbosch-core-authreq
> http://tools.ietf.org/id/draft-seitz-core-sec-usecases
>
> Solutions
> http://tools.ietf.org/id/draft-gerdes-core-dcaf-authorize
> http://tools.ietf.org/id/draft-kang-core-secure-reconfiguration
> http://tools.ietf.org/id/draft-selander-core-access-control
> http://tools.ietf.org/id/draft-zhu-core-groupauth
> http://tools.ietf.org/id/draft-pporamba-dtls-certkey
> http://tools.ietf.org/id/draft-schmitt-two-way-authentication-for-iot
> http://tools.ietf.org/id/draft-seitz-core-security-modes
>
> (3)Draft Charter - Authentication and Authorization for Constrained
> Environment (ACE)
>
> The CoAP (Constrained Application Protocol) is a light-weight
> application layer protocol, especially suitable for applications such a=
s
> smart energy, smart home, building automation, remote patient monitorin=
g
> etc. Due to the nature of these applications, including a critical,
> unattended infrastructure and usage in the personal sphere, security an=
d
> privacy protection are critical components.
>
> Currently, a problem with constrained devices is the realization of suc=
h
> secure communication. The devices only have limited resources such as
> memory, storage and transmission capacity. These constraints severely
> limit the security functions and communications the device can perform.=

> Missing functionality includes authentication, which provides trust and=

> ensures an entity is who it says it is, and authorization, which define=
s
> and enforces access rights for different clients.
>
> The ACE WG focuses on providing constrained devices with the necessary
> prerequisites to use REST operations in a secure way. Constrained
> devices will thus be enabled to authenticate communications from other
> (constrained or less-constrained) devices, to communicate securely with=

> them and to verify their individual authorization to access specific
> resources. To achieve this, ACE will be able to employ an architecture
> with one or more trusted less-constrained devices which will relieve th=
e
> constrained nodes from complex security related tasks (e.g. managing
> authorization policies and a large number of keys). ACE will use CoAP
> and employ security properties of DTLS whenever possible.
>
> The ACE WG has the following tasks:
> - Document the use cases and high-level requirements for secured
> communication between constrained devices.
> - Define certificate profiling (what kinds of certificates and which
> attributes are to be used).
> - Define a mechanism for authenticated and protected transfer of
> authorization information suitable for constrained device to constraine=
d
> device communication.
> - Define an access ticket and authorization information format suitable=

> for constrained devices.
> - Define bootstrapping for authorization information using the Resource=

> Directory.


--=20
email: rstruik.ext@gmail.com | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363



From anders.rundgren.net@gmail.com  Wed Dec 11 06:55:28 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED6661ADF54 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 06:55:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pCRjJA0d9R2S for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 06:55:26 -0800 (PST)
Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 3F2641ADF66 for <jose@ietf.org>; Wed, 11 Dec 2013 06:55:25 -0800 (PST)
Received: by mail-wi0-f175.google.com with SMTP id hi5so7171608wib.8 for <jose@ietf.org>; Wed, 11 Dec 2013 06:55:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=gvP/+JN0RTrbmIuQBsANm21R9b86QIV89g6Jfr06PNU=; b=b0bBDxKDc9cuFWFHA+u28VZjoHuAje2i0jD2nIWZQRfEJrqoaYgeirrmO2kUUbzZk8 SvlnezXSFg7dctmC7WDNP7ZZkpL8oiD3Nybe2DF+m6k3WR7UoZz9L6RFMoDI4FrlVbTJ xnaGXroUw9ELjJb7LPOqU1VhA0mry6g93vzj85TQ+DfpsnJZaPbzcPJ2lf+KS4J6mWFB 7bj8FUMqOB4yYg/MLvpjVqBAlqMWKpkjqFp6/Zlt88nT05PILI8DYwNSqAcyLifZFhTq /NmI94YZkAvmY7HZskcTs77/V20oldDf8YsH72PTfS3PAogdU/qvD7ZZkQ/lwqFMMLXU ZbhA==
X-Received: by 10.180.182.198 with SMTP id eg6mr3187619wic.21.1386773719257; Wed, 11 Dec 2013 06:55:19 -0800 (PST)
Received: from [192.168.1.99] (33.50.125.78.rev.sfr.net. [78.125.50.33]) by mx.google.com with ESMTPSA id b7sm15630409wiz.8.2013.12.11.06.55.17 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 06:55:18 -0800 (PST)
Message-ID: <52A87CCF.7040407@gmail.com>
Date: Wed, 11 Dec 2013 15:55:11 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Luke Howard <lukeh@padl.com>, "jose@ietf.org" <jose@ietf.org>
References: <9D26738A-BEE8-43FF-B7E7-7C1B1DC20008@padl.com> <CA+k3eCRCo0jqO1nzOcjiAVaUfpnqb=TE9+adyxMcA4gH7+JPtg@mail.gmail.com> <CAL02cgTBoj4nxNaDD4t2AecAEZPZY1sjd1ZTGppsJ+jCuMfJtg@mail.gmail.com> <F578585B-E170-4A87-B325-FEA2BE922DC7@padl.com> <4F864838-33F7-4F53-9BD6-CBF21F2FEAD9@padl.com> <240E551B-FA34-4070-A3AB-FD30CF5860E0@padl.com>
In-Reply-To: <240E551B-FA34-4070-A3AB-FD30CF5860E0@padl.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Attribute certificates
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 14:55:28 -0000

Hi Luke,
You may find the JCS (JSON Clear-text Signature) scheme suitable for your task:
http://webpki.org/papers/keygen2/doc/jcs.html

JCS was explicitly designed for supporting information-rich JSON-based systems.

You can also test it on the web:
https://mobilepki.org/jcs

Cheers,
Anders


From watsonm@netflix.com  Wed Dec 11 08:29:25 2013
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A6BE1ADFCA for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 08:29:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N8QXoARWitPe for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 08:29:24 -0800 (PST)
Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by ietfa.amsl.com (Postfix) with ESMTP id 161A21ADD02 for <jose@ietf.org>; Wed, 11 Dec 2013 08:29:23 -0800 (PST)
Received: by mail-we0-f182.google.com with SMTP id q59so6664998wes.41 for <jose@ietf.org>; Wed, 11 Dec 2013 08:29:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qLNbNFuY0bpON7a694sSW/oyEq69PAPSiqUnx6+oNOU=; b=cJ+pObM42vx1KWyIW4OKvziE+6Z0LY1LOFRIGFYQcFVvlv8OxakdoMik3gDgqfnYf6 uFDmypl/PvkS+VrF2R95A6F8swFmhqjTw+XJSMxp7jJAB7Lh/hBDrfNWLQqk+rPa1ccB l3CdldcpRapci+qn0Q+yBjvUO0cK15hhLT3JQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qLNbNFuY0bpON7a694sSW/oyEq69PAPSiqUnx6+oNOU=; b=WnScbPL1i+B8VFce5BEU4kfR7o8EEWAwAnsepCF+8LB7MOBRy/RLjaP4PcXyH8TyJ2 ym+3lZ9DEjQdsovw5yAT45YRq7JECknf52mKyYgjDG7LAxkLC9Mo0GIuu7vObcu3NJrL RXSAG0feJ1z2UaQD6CN8hCzlb+F0v0JkIv8J2IXfA0JDf9P0j7oyywnbhUoclNELLP1K LcxVEUPVOgi6FE/nDvw5rMHvbX/bt7hJzZr7FjnVSPqflB/XK8SG8kCsr+5M1laQ8C+3 HYv3WwjTv0/j9WvVbYFVFgGy/RQWMLMHyTTpb4P0042MROGiEDby5lJzBLnywvWm/0Vx AGAQ==
X-Gm-Message-State: ALoCoQn1WByyamHja4gk50oBfNNL8DYfqVUA26VZ2HSuny+IMKzneQrgVFPHh75pH1bwsVpHj8Cc
MIME-Version: 1.0
X-Received: by 10.180.78.165 with SMTP id c5mr25483938wix.3.1386779357741; Wed, 11 Dec 2013 08:29:17 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Wed, 11 Dec 2013 08:29:17 -0800 (PST)
In-Reply-To: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
Date: Wed, 11 Dec 2013 08:29:17 -0800
Message-ID: <CAEnTvdAwC3FUojGnSYV9fHeOXy=jNibymb0EJ3P6KWNpqvi_Hw@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=f46d04388e67001df804ed44bb5c
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 16:29:25 -0000

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

Resend - I think there may have been mailing list problems yesterday...

On Tue, Dec 10, 2013 at 1:08 PM, Mark Watson <watsonm@netflix.com> wrote:

> All,
>
> Currently, the JWK "use" attribute effectively distinguishes between JWE
> ("enc") and JWA ("sign").
>
> However, additional uses can be added to the registry and the W3C
> WebCrypto group is planning to register use values corresponding to the
> KeyUsage values defined for WebCrypto Key objects. These KeyUsage values
> include, for example, encrypt, decrypt, sign, verify, wrap, unwrap etc.
>
> A WebCrypto Key object may have multiple KeyUsages and so we have a
> question as to how to represent that in JWK.
>
> One proposal is to allow the use string to contain a comma-separated list
> of values. We could register such a scheme directly with IANA.
>
> It would be cleaner, though, since this is JSON, to allow this attribute
> to have Array type where two or more usages are to be represented (it would
> remain a string for the single-usage case). I've also had some negative
> feedback from implemetors about the comma-separated-value idea along
> yet-another-string-parser lines.
>
> Would it be possible to modify the Registry for JWK use values to allow
> data types other than String to be registered ?
>
> ...Mark
>
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Res=
end - I think there may have been mailing list problems yesterday...</div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Dec 10, 20=
13 at 1:08 PM, Mark Watson <span dir=3D"ltr">&lt;<a href=3D"mailto:watsonm@=
netflix.com" target=3D"_blank">watsonm@netflix.com</a>&gt;</span> wrote:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-size:sma=
ll">All,</div><div style=3D"font-size:small"><br></div><div style=3D"font-s=
ize:small">
Currently, the JWK &quot;use&quot; attribute effectively distinguishes betw=
een JWE (&quot;enc&quot;) and JWA (&quot;sign&quot;).<br>
</div><div style=3D"font-size:small"><br></div><div style=3D"font-size:smal=
l">However, additional uses can be added to the registry and the W3C WebCry=
pto group is planning to register use values corresponding to the KeyUsage =
values defined for WebCrypto Key objects. These KeyUsage values include, fo=
r example, encrypt, decrypt, sign, verify, wrap, unwrap etc.</div>

<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">A W=
ebCrypto Key object may have multiple KeyUsages and so we have a question a=
s to how to represent that in JWK.</div>
<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">One=
 proposal is to allow the use string to contain a comma-separated list of v=
alues. We could register such a scheme directly with IANA.</div>
<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">It =
would be cleaner, though, since this is JSON, to allow this attribute to ha=
ve Array type where two or more usages are to be represented (it would rema=
in a string for the single-usage case). I&#39;ve also had some negative fee=
dback from implemetors about the comma-separated-value idea along yet-anoth=
er-string-parser lines.</div>

<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">Wou=
ld it be possible to modify the Registry for JWK use values to allow data t=
ypes other than String to be registered ?</div><span class=3D"HOEnZb"><font=
 color=3D"#888888">
<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">...=
Mark</div><div style=3D"font-size:small"><br></div><div style=3D"font-size:=
small">
<br></div></font></span></div>
</blockquote></div><br></div></div>

--f46d04388e67001df804ed44bb5c--

From msporny@digitalbazaar.com  Wed Dec 11 13:44:38 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB18C1AE04F for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 13:44:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.495
X-Spam-Level: ***
X-Spam-Status: No, score=3.495 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_44=0.6, LOTTO_DEPT=1.999, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VsJWGPyexkTU for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 13:44:35 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id 5E1A21ADFF9 for <jose@ietf.org>; Wed, 11 Dec 2013 13:44:35 -0800 (PST)
Received: from zoe.digitalbazaar.com ([192.168.0.99] ident=msporny) by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1Vqra1-0000wM-Is for jose@ietf.org; Wed, 11 Dec 2013 16:44:29 -0500
Message-ID: <52A8DCBC.6030801@digitalbazaar.com>
Date: Wed, 11 Dec 2013 16:44:28 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131005 Icedove/17.0.9
MIME-Version: 1.0
To: JOSE WG <jose@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 21:44:38 -0000

Hi all,

These are review comments on the JOSE stack of specifications before
they enter Last Call. The purpose of these comments is to try and figure
out if we can align multiple security, identity, and digital signature
initiatives.

My name is Manu Sporny, I'm the current chair at W3C for the RDFa,
JSON-LD, and Web Payments groups. I'm also a specification editor for
multiple Linked Data, Security, Identity, and JSON-based digital
signature specifications.

A few months ago, a number of the groups I'm involved with did a full
review the JOSE stack of specifications to ensure that we were not
duplicating work performed by the JOSE group. The result of that review
is available here:

http://manu.sporny.org/2013/sm-vs-jose/

A number of implementers involved in the Linked Data and Web Payments
work at W3C have chosen a different authentication, authorization, and
digital signature stack than the one that is being created here. This
decision came after much hand wringing and implementation feedback. We
used to be based on OpenID, and were headed down the JOSE route before
deciding to create an ecosystem that we believe is going to be simpler
for Web Developers to work with.

To be clear, this is not to imply that the JOSE or OpenID work is not
useful to a number of communities, but rather that it is not a stack
that lends itself well to the work we're doing in various groups at the
W3C and IETF. To give a very high-level outline of the different choices
we have made:

* JSON-LD spec for message format (instead of pure JSON)
* Secure Messaging spec for digital signatures (instead of JOSE)
* Persona for authn (instead of OpenID)
* HTTP Signatures & Secure Messaging for authz (instead of OpenID)

I don't want this to come across as some sort of attack on JOSE or
OpenID. It's not meant to be that at all. It's constructive criticism,
and we expect much of that to be returned on the spec stack that we have
proposed. We're not claiming to have all of the answers, we don't know
if the spec stack we've designed will stand the test of adoption over time.

What we do know is that our spec stack seems to be working better for
our use cases than the one we had designed previously based on
OpenID/JOSE. Keep in mind that there are a number of implementations
behind the technology that is described in the link above and the text
below, so these comments are not naive armchair commentary. :)

My hope is not that the JOSE/OpenID stack will be radically altered, but
that we'll be able to figure out where the points of integration are
between all of the specifications. For example, the Secure Messaging
specification expresses key data as PEM-encoded values. There is an
argument there to use the JWK key format instead.

I'll leave it there and look forward to responding to comments on this
thread.

The full-text of the review is listed below, for the purposes of long
term archival at the IETF and for those that want to respond inline.

------------------------------------------------------------------
Secure Messaging vs. Javascript Object Signing and Encryption

   The [1]Web Payments group at the World Wide Web Consortium (W3C)
   is currently performing a thorough analysis on the [2]MozPay API.
   The [3]first part of the analysis examined the contents of the
   payment messages . This is the second part of the analysis, which
   will focus on whether the use of the [4]Javascript Object Signing
   and Encryption (JOSE) groupâ€™s solutions to achieve message
   security is adequate, or if the Web Payment groupâ€™s solutions
   should be used instead.

The Contenders

   The IETF JOSE Working Group is actively standardizing the
   following specifications for the purposes of adding message
   security to JSON:

   [5]JSON Web Algorithms (JWA)
          Details the cryptographic algorithms and identifiers that
          are meant to be used with the JSON Web Signature (JWS),
          JSON Web Encryption (JWE), JSON Web Token (JWT), and JSON
          Web Key (JWK) specifications. For example, when specifying
          an encryption algorithm, a JSON key/value pair that has alg
          as the key may have HS256 as the value, which means HMAC
          using the SHA-256 hash algorithm.

   [6]JSON Web Key (JWK)
          Details a data structure that represents one or more
          cryptographic keys. If you need to express one of the many
          types of cryptographic key types in use today, this
          specification details how you do that in a standard way.

   [7]JSON Web Token (JWT)
          Defines a way of representing claims such as â€œBob was born
          on November 15th, 1984â€³. These claims are digitally signed
          and/or encrypted using either the JSON Web Signature (JWS)
          or JSON Web Encryption (JWE) specifications.

   [8]JSON Web Encryption (JWE)
          Defines a way to express encrypted content using JSON-based
          data structures. Basically, if you want to encrypt JSON
          data so that only the intended receiver can read the data,
          this specification tells you how to do it in an
          interoperable way.

   [9]JSON Web Signature (JWS)
          Defines a way to digitally sign JSON data structures. If
          your application needs to be able to verify the creator of
          a JSON data structure, you can use this specification to do
          so.

   The W3C Web Payments group is actively standardizing a similar
   specification for the purpose of adding message security to JSON
   messages:

   [10]Secure Messaging (code named: HTTP Keys)
          Describes a simple, decentralized security infrastructure
          for the Web based on JSON, Linked Data, and public key
          cryptography. This system enables Web applications to
          establish identities for agents on the Web, associate
          security credentials with those identities, and then use
          those security credentials to send and receive messages
          that are both encrypted and verifiable via digital
          signatures.

   Both groups are relying on technology that has existed and been
   used for over a decade to achieve secure communications on the
   Internet (symmetric and asymmetric cryptography, public key
   infrastructure, X509 certificates, etc.). The key differences
   between the two have to do more with flexibility, implementation
   complexity, and how the data is published on the Web and used
   between systems.

Basic Differences

   In general, the JOSE group is attempting to create a
   flexible/generalized way of expressing cryptography parameters in
   JSON. They are then using that information and encrypting or
   signing specific data (called claims in the specifications).

   The Web Payments groupâ€™s specification achieves the same thing,
   but while not trying to be as generalized as the JOSE group.
   Flexibility and generalization tends to 1) make the ecosystem more
   complex than it needs to be for 95% of the use cases, 2) make
   implementations harder to security audit, and 3) make it more
   difficult to achieve interoperability between all implementations.
   The Secure Messaging specification attempts to outline a single
   best practice that will work for 95% of the applications out
   there. The 5% of Web applications that need to do more than the
   Secure Messaging spec can use the JOSE specifications. The Secure
   Messaging specification is also more Web-y. The more Web-y nature
   of the spec gives us a number of benefits, such as giving us a
   Web-scale public key infrastructure as a pleasant side-effect,
   that we will get into below.

JSON-LD Advantages over JSON

   Fundamentally, the Secure Messaging specification relies on the
   Web and [11]Linked Data to remove some of the complexity that
   exists in the JOSE specs while also achieving greater flexibility
   from a data model perspective. Specifically, the Secure Messaging
   specification utilizes Linked Data via a new standards-track
   technology called [12]JSON-LD to allow anyone to build on top of
   the core protocol in a decentralized way. JSON-LD data is
   fundamentally more Web-y than JSON data. Here are the benefits of
   using JSON-LD over regular JSON:
     * A universal identifier mechanism for JSON objects via the use
       of URLs.
     * A way to disambiguate JSON keys shared among different JSON
       documents by mapping them to URLs via a [13]context.
     * A standard mechanism in which a value in a JSON object may
       refer to a JSON object on a different document or site on the
       Web.
     * A way to associate datatypes with values such as dates and
       times.
     * The ability to annotate strings with their language. For
       example, the word â€˜chatâ€™ means something different in English
       and French and it helps to know which language was used when
       expressing the text.
     * A facility to express one or more directed graphs, such as a
       social network, in a single document. Graphs are the native
       data structure of the Web.
     * A standard way to map external JSON application data to your
       application data domain.
     * A deterministic way to generate a hash on JSON data, which is
       helpful when attempting to figure out if two data sources are
       expressing the same information.
     * A standard way to digitally sign JSON data.
     * A deterministic way to merge JSON data from multiple data
       sources.

   Plain old JSON, while incredibly useful, does not allow you to do
   the things mentioned above in a standard way. There is a valid
   argument that applications may not need this amount of
   flexibility, and for those applications, JSON-LD does not require
   any of the features above to be used and does not require the JSON
   data to be modified in any way. So people that want to remain in
   the plain â€˜ol JSON bucket can do so without the need to jump into
   the JSON-LD bucket with both feet.

JSON Web Algorithms vs. Secure Messaging

   The JSON Web Algorithms specification details the cryptographic
   algorithms and identifiers that are meant to be used with the JSON
   Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Token
   (JWT), and JSON Web Key (JWK) specifications. For example, when
   specifying an encryption algorithm, a JSON key/value pair that has
   alg as the key may have HS256 as the value, which means HMAC using
   the SHA-256 hash algorithm. The specification is 70 pages long and
   is effectively just a collection of what values are allowed for
   each key used in JOSE-based JSON documents. The design approach
   taken for the JOSE specifications requires that such a document
   exists.

   The Secure Messaging specification takes a different approach.
   Rather than declare all of the popular algorithms and cryptography
   schemes in use today, it defines just one digital signature scheme
   ([14]RSA encryption with a SHA-256 hashing scheme), one encryption
   scheme ([15]128-bit AES with cyclic block chaining), and one way
   of expressing keys (as [16]PEM-formatted data). If placed into a
   single specification, like the JWA spec, it would be just a few
   pages long (really, just 1 page of actual content).

   The most common argument against the Secure Messaging spec, with
   respect to the JWA specification, is that it lacks the same amount
   of [17]cryptographic algorithm agility that the JWA specification
   provides. While this may seem like a valid argument on the
   surface, keep in mind that the core algorithms used by the Secure
   Messaging specification can be changed at any point to any other
   set of algorithms. So, the specification achieves algorithm
   agility while greatly reducing the need for a large 70-page
   specification detailing the allowable values for the various
   cryptographic algorithms. The other benefit is that since the
   cryptography parameters are outlined in a Linked Data vocabulary,
   instead of a process-heavy specification, that they can be added
   to at any point as long as there is community consensus. Note that
   while the vocabulary can be added to, thus providing algorithm
   agility if a particular cryptography scheme is weakened or broken,
   already defined cryptography schemes in the vocabulary must not be
   changed once the cryptography vocabulary terms become widely used
   to ensure that production deployments that use the older mechanism
   arenâ€™t broken.

   Providing just one way, the best practice at the time, to do
   digital signatures, encryption, and key publishing reduces
   implementation complexity. Reducing implementation complexity
   makes it easier to perform security audits on implementations.
   Reducing implementation complexity also helps ensure better
   interoperability and more software library implementations, as the
   barrier to creating a fully conforming implementation is greatly
   reduced.

   The Web Payments group believes that new digital signature and
   encryption schemes will have to be updated every 5-7 years. It is
   better to delay the decision to switch to another primary
   algorithm as long as as possible (and as long as it is safe to do
   so). Delaying the cryptographic algorithm decision ensures that
   the group will be able to make a more educated decision than
   attempting to predict which cryptographic algorithms may be the
   successors to currently deployed algorithms.

   Bottom line: The Secure Messaging specification utilizes a much
   simpler approach than the JWA specification while supporting the
   same level of algorithm agility.

JSON Web Key vs. Secure Messaging

   The JSON Web Key (JWK) specification details a data structure that
   is capable of representing one or more cryptographic keys. If you
   need to express one of the many types of cryptographic key types
   in use today, JWK details how you do that in an standard way. A
   typical RSA public key looks like the following using the JWK
   specification:
{
  "keys": [{
    "kty":"RSA",
    "n": "0vx7agoe ... DKgw",
    "e":"AQAB",
    "alg":"RS256",
    "kid":"2011-04-29"
  }]
}

   A similar RSA public key looks like the following using the Secure
   Messaging specification:
{
  "@context": "https://w3id.org/security/v1",
  "@id": "https://example.com/i/bob/keys/1",
  "@type": "Key",
  "owner": "https://example.com/i/bob",
  "publicKeyPem": "-----BEGIN PRIVATE
KEY-----\nMIIBG0BA...OClDQAB\n-----END PRIVATE KEY-----\n"
}

   There are a number of differences between the two key formats.
   Specifically:
    1. The JWK format expresses key information by specifying the key
       parameters directly. The Secure Messaging format places all of
       the key parameters into a PEM-encoded blob. This approach was
       taken because it is easier for developers to use the PEM data
       without introducing errors. Since most Web developers do not
       understand what variables like dq (the second factor Chinese
       Remainder Theorem exponent parameter) or d (the Elliptic Curve
       private key parameter) are, the likelihood of transporting and
       publishing that sort of data without error is lower than
       placing all parameters in an opaque blob of information that
       has a clear beginning and end (-----BEGIN RSA PRIVATE
       KEY-----, and --- END RSA PRIVATE KEY ---)
    2. In the general case, the Secure Messaging key format assigns
       URL identifiers to keys and publishes them on the Web as
       JSON-LD, and optionally as RDFa. This means that public key
       information is discoverable and human and machine-readable by
       default, which means that all of the key parameters can be
       read from the Web. The JWK mechanism does assign a key ID to
       keys, but does not require that they are published to the Web
       if they are to be used in message exchanges. The JWK
       specification could be extended to enable this, but by
       default, doesnâ€™t provide this functionality.
    3. The Secure Messaging format is also capable of specifying an
       identity that owns the key, which allows a key to be tied to
       an identity and that identity to be used for thinks like
       Access Control to Web resources and REST APIs. The JWK format
       has no such mechanism outlined in the specification.

   Bottom line: The Secure Messaging specification provides four
   major advantages over the JWK format: 1) the key information is
   expressed at a higher level, which makes it easier to work with
   for Web developers, 2) it allows key information to be discovered
   by deferencing the key ID, 3) the key information can be published
   (and extended) in a variety of Linked Data formats, and 4) it
   provides the ability to assign ownership information to keys.

JSON Web Tokens vs. Secure Messaging

   The JSON Web Tokens (JWT) specification defines a way of
   representing claims such as â€œBob was born on November 15th, 1984â€³.
   These claims are digitally signed and/or encrypted using either
   the JSON Web Signature (JWS) or JSON Web Encryption (JWE)
   specifications. Here is an example of a JWT document:
{
  "iss": "joe",
  "exp": 1300819380,
  "http://example.com/is_root": true
}

   JWT documents contain keys that are public, such as iss and exp
   above, and keys that are private (which could conflict with keys
   from the JWT specification). The data format is fairly free-form,
   meaning that any data can be placed inside a JWT Claims Set like
   the one above.

   Since the Secure Messaging specification utilizes JSON-LD for its
   data expression mechanism, it takes a fundamentally different
   approach. There are no headers or claims sets in the Secure
   Messaging specification, just data. For example, the data below is
   effectively a JWT claims set expressed in JSON-LD:
{
  "@context": "http://json-ld.org/contexts/person",
  "@type": "Person",
  "name": "Manu Sporny",
  "gender": "male",
  "homepage": "http://manu.sporny.org/"
}

   Note that there are no keywords specific to the Secure Messaging
   specification, just keys that are mapped to URLs (to prevent
   collisions) and data. In JSON-LD, these keys and data are
   machine-interpretable in a standards-compliant manner (unlike JWT
   data), and can be merged with other data sources without the
   danger of data being overwritten or colliding with other
   application data.

   Bottom line: The Secure Messaging specifications use of a native
   Linked Data format removes the requirement for a specification
   like JWT. As far as the Secure Messaging specification is
   concerned, there is just data, which you can then digitally sign
   and encrypt. This makes the data easier to work with for Web
   developers as they can continue to use their application data
   as-is instead of attempting to restructure it into a JWT.

JSON Web Encryption vs. Secure Messaging

   The JSON Web Encryption (JWE) specification defines a way to
   express encrypted content using JSON-based data structures.
   Basically, if you want to encrypt JSON data so that only the
   intended receiver can read the data, this specification tells you
   how to do it in an interoperable way. A JWE-encrypted message
   looks like this:
{
  "protected": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0",
  "unprotected": {"jku": "https://server.example.com/keys.jwks"},
  "recipients": [{
    "header": {
      "alg":"RSA1_5"
        "kid":"2011-04-29",
        "enc":"A128CBC-HS256",
        "jku":"https://server.example.com/keys.jwks"
      },
      "encrypted_key": "UGhIOgu ... MR4gp_A"
    }]
  }],
  "iv": "AxY8DCtDaGlsbGljb3RoZQ",
  "ciphertext": "KDlTtXchhZTGufMYmOYGS4HffxPSUrfmqCHXaI9wOGY",
  "tag": "Mz-VPPyU4RlcuYv1IwIvzw"
}

   To decrypt this information, an application would retrieve the
   private key associated with the recipients[0].header, and then
   decrypt the encrypted_key. Using the decrypted encrypted_key
   value, it would then use the iv to decrypt the protected header.
   Using the algorithm provided in the protected header, it would
   then use the decrypted encrypted_key, iv, the algorithm specified
   in the protected header, and the ciphertext to retrieve the
   original message as a result.

   For comparison purposes, a Secure Messaging encrypted message
   looks like this:
{
  "@context": "https://w3id.org/security/v1",
  "@type": "EncryptedMessage2012",
  "data": "VTJGc2RH ... Fb009Cg==",
  "encryptionKey": "uATte ... HExjXQE=",
  "iv": "vcDU1eWTy8vVGhNOszREhSblFVqVnGpBUm0zMTRmcWtMrRX==",
  "publicKey": "https://example.com/people/john/keys/23"
}

   To decrypt this information, an application would use the private
   key associated with the publicKey to decrypt the encryptionKey and
   iv. It would then use the decrypted encryptionKey and iv to
   decrypt the value in data, retrieving the original message as a
   result.

   The Secure Messaging encryption protocol is simpler than the JWE
   protocol for three major reasons:
    1. The @type of the message, EncryptedMessage2012, encapsulates
       all of the cryptographic algorithm information in a
       machine-readable way (that can also be hard-coded in
       implementations). The JWE specification utilizes the protected
       field to express the same sort of information, which is
       allowed to get far more complicated than the Secure Messaging
       equivalent, leading to more complexity.
    2. Key information is expressed in one entry, the publicKey
       entry, which is a link to a machine-readable document that can
       express not only the public key information, but who owns the
       key, the name of the key, creation and revocation dates for
       the key, as well as a number of other Linked Data values that
       result in a full-fledged Web-based PKI system. Not only is
       Secure Messaging encryption simpler than JWE, but it also
       enables many more types of extensibility.
    3. The key data is expressed in a PEM-encoded format, which is
       expressed as a base-64 encoded blob of information. This
       approach was taken because it is easier for developers to use
       the data without introducing errors. Since most Web developers
       do not understand what variables like dq (the second factor
       Chinese Remainder Theorem exponent parameter) or d (the
       Elliptic Curve private key parameter) are, the likelihood of
       transporting and publishing that sort of data without error is
       lower than placing all parameters in an opaque blob of
       information that has a clear beginning and end (-----BEGIN RSA
       PRIVATE KEY-----, and --- END RSA PRIVATE KEY ---).

   The rest of the entries in the JSON are typically required for the
   encryption method selected to secure the message. There is not a
   great deal of difference between the two specifications when it
   comes to the parameters that are needed for the encryption
   algorithm.

   Bottom line: The major difference between the Secure Messaging and
   JWE specification has to do with how the encryption parameters are
   specified as well as how many of them there can be. The Secure
   Messaging specification expresses only one encryption mechanism
   and outlines the algorithms and keys external to the message,
   which leads to a reduction in complexity. The JWE specification
   allows many more types of encryption schemes to be used, at the
   expense of added complexity.

JSON Web Signatures vs. Secure Messaging

   The JSON Web Signatures (JWS) specification defines a way to
   digitally sign JSON data structures. If your application needs to
   be able to verify the creator of a JSON data structure, you can
   use this specification to do so. A JWS digital signature looks
   like the following:
{
  "payload": "eyJpc ... VlfQ",
  "signatures":[{
    "protected":"eyJhbGciOiJSUzI1NiJ9",
    "header": {
      "kid":"2010-12-29"
    },
    "signature": "cC4hi ... 77Rw"
  }]
}

   For the purposes of comparison, a Secure Messaging message and
   signature looks like the following:
{
  "@context": ["https://w3id.org/security/v1",
               "http://json-ld.org/contexts/person"]
  "@type": "Person",
  "name": "Manu Sporny",
  "homepage": "http://manu.sporny.org/",
  "signature":
  {
    "@type": "GraphSignature2012",
    "creator": "http://example.org/manu/keys/5",
    "created": "2013-08-04T17:39:53Z",
    "signatureValue": "OGQzN ... IyZTk="
  }
}

   There are a number of stark differences between the two
   specifications when it comes to digital signatures:
    1. The Secure Messaging specification does not need to base-64
       encode the payload being signed. This makes it easier for a
       developer to see (and work with) the data that was digitally
       signed. Debugging signed messages is also simplified as
       special tools to decode the payload are unnecessary.
    2. The Secure Messaging specification does not require any header
       parameters for the payload, which reduces the number of things
       that can go wrong when verifying digitally signed messages.
       One could argue that this also reduces flexibility. The
       counter-argument is that different signature schemes can
       always be switched in by just changing the @type of the
       signature.
    3. The signerâ€™s public key is available via a URL. This means
       that, in general, all Secure Messaging signatures can be
       verified by dereferencing the creator URL and utilizing the
       published key data to verify the signature.
    4. The Secure Messaging specification depends on a normalization
       algorithm that is applied to the message. This algorithm is
       non-trivial, typically implemented behind a JSON-LD library
       .normalize() method call. JWS does not require data
       normalization. The trade-off is simplicity at the expense of
       requiring your data to always be encapsulated in the message.
       For example, the Secure Messaging specification is capable of
       pointing to a digital signature expressed in RDFa on a website
       using a URL. An application can then dereference that URL,
       convert the data to JSON-LD, and verify the digital signature.
       This mechanism is useful, for example, when you want to
       publish items for sale along with their prices on a Web page
       in a machine-readable way. This sort of use case is not
       achievable with the JWS specification. All data is required to
       be in the message. In other words, Secure Messaging performs a
       signature on information that could exist on the Web where the
       JWS specification performs a signature on a string of text in
       a message.
    5. The JWS mechanism enables HMAC-based signatures while the
       Secure Messaging mechanism avoids the use of HMAC altogether,
       taking the position that shared secrets are typically a bad
       practice.

   Bottom line: The Secure Messaging specification does not need to
   encode its payloads, but does require a rather complex
   normalization algorithm. It supports discovery of signature key
   data so that signatures can be verified using standard Web
   protocols. The JWS specification is more flexible from an
   algorithmic standpoint and simpler from a signature verification
   standpoint. The downside is that the only data input format must
   be from the message itself and canâ€™t be from an external Linked
   Data source, like an HTML+RDFa web page listing items for sale.

Conclusion

   The Secure Messaging and JOSE designs, while attempting to achieve
   the same basic goals, deviate in the approaches taken to
   accomplish those goals. The Secure Messaging specification
   leverages more of the Web with its use of a Linked Data format and
   URLs for identifying and verifying identity and keys. It also
   attempts to encapsulate a single best practice that will work for
   the vast majority of Web applications in use today. The JOSE
   specifications are more flexible in the type of cryptographic
   algorithms that can be used which results in more low-level
   primitives used in the protocol, increasing complexity for
   developers that must create interoperable JOSE-based applications.

   From a specification size standpoint, the JOSE specs weigh in at
   225 pages, the Secure Messaging specification weighs in at around
   20 pages. This is rarely a good way to compare specifications, and
   doesnâ€™t always result in an apples to apples comparison. It does,
   however, give a general idea of the amount of text required to
   explain the details of each approach, and thus a ballpark idea of
   the complexity associated with each specification. Like all
   specifications, picking one depends on the use cases that an
   application is attempting to support. The goal with the Secure
   Messaging specification is that it will be good enough for 95% of
   Web developers out there, and for the remaining 5%, there is the
   JOSE stack.

References

   1. http://www.w3.org/community/webpayments/
   2. https://wiki.mozilla.org/WebAPI/WebPayment
   3. http://manu.sporny.org/2013/mozpay-analysis/
   4. http://tools.ietf.org/wg/jose/
   5. http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms
   6. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-key/
   7. http://tools.ietf.org/html/draft-ietf-oauth-json-web-token
   8. http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption
   9. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-signature/
  10. https://payswarm.com/specs/source/http-keys/
  11. http://www.youtube.com/watch?v=4x_xzT5eF5Q
  12. http://www.youtube.com/watch?v=vioCbTo3C-4
  13. http://json-ld.org/spec/latest/json-ld/#the-context
  14. https://payswarm.com/specs/source/vocabs/security#GraphSignature2012
  15. https://payswarm.com/specs/source/vocabs/security#EncryptedMessage
  16. https://payswarm.com/specs/source/vocabs/security#privateKeyPem
  17. http://msdn.microsoft.com/en-us/magazine/ee321570.aspx

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Meritora - Web payments commercial launch
http://blog.meritora.com/launch/

From hhalpin@w3.org  Wed Dec 11 15:05:26 2013
Return-Path: <hhalpin@w3.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA1B11AE0B5 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 15:05:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.303
X-Spam-Level: 
X-Spam-Status: No, score=-6.303 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_44=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3yzn-GXTG4vC for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 15:05:22 -0800 (PST)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) by ietfa.amsl.com (Postfix) with ESMTP id D4C171AE099 for <jose@ietf.org>; Wed, 11 Dec 2013 15:05:21 -0800 (PST)
Received: from men75-11-88-175-104-179.fbx.proxad.net ([88.175.104.179] helo=[192.168.1.7]) by jay.w3.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <hhalpin@w3.org>) id 1VqsqB-00053T-9J; Wed, 11 Dec 2013 18:05:15 -0500
Message-ID: <52A8EFA4.80001@w3.org>
Date: Thu, 12 Dec 2013 00:05:08 +0100
From: Harry Halpin <hhalpin@w3.org>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Manu Sporny <msporny@digitalbazaar.com>, JOSE WG <jose@ietf.org>,  "'wseltzer@w3.org'" <wseltzer@w3.org>
References: <52A8DCBC.6030801@digitalbazaar.com>
In-Reply-To: <52A8DCBC.6030801@digitalbazaar.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2013 23:05:27 -0000

Just to be clear, while we at W3C appreciate Manu's very hard work as a 
chair and editor (and very active volunteer), these comments are not 
authorized by as "official" W3C comments, as he represents himself and 
his Blacksburg, Virginia-based startup, Digital Bazaar.

To be precise, Manu is chair of the Web Payments Community Group where 
he represents Digital Bazaar, and the Community Group may have also 
endorsed these comments (although W3C defines no process for this). 
These Community Groups are *not* Working Groups, that go through W3C 
management approval and have to be voted on by the Advisory Committee of 
W3C members. Anyone with three individual supporters can create a 
Community Group on any topic they desire without permission of the W3C 
[1]. We consider Community Groups ways to harvest ideas that could be 
useful for Recommendations later down than the line.  Manu is also 
authorized chair of the RDFa Working Group and JSON-LD is a 
serialization from the RDF Working Group, where he is authorized as one 
of the editors of the JSON-LD specification.

The W3C has in not endorsed the Web Payments Community Group's specs as 
any kind of recommendation, and in particular the W3C has not endorsed 
the specs on Secure Messaging and HTTP Signatures mentioned below. This 
does not preclude endorsement in the future, although so far we have in 
Rec-track worked aligned with the IETF.  Persona is Mozilla work. The 
two specs he mentions that the W3C has endorsed are both Semantic Web 
specifications:   JSON-LD, which is currently a Proposed Recommendation, 
which is useful to the Semantic Web community so that the achieve 
interoperability with JSON, as well as RDFa, which is a Recommendation 
for embedding the Semantic Web format RDF into HTML.

In my authorized role as Web Crypto staff contact, we are aligning Web 
Crypto with JOSE keys and using standard JSON, not yet JSON-LD, to pass 
around data in the Web Crypto API. The future of Web Payments will be 
discussed at a workshop that everyone is invited to in March in Paris 
where representation from the JOSE WG would be appreciated, and I 
believe Manu will be there as well [3]

Just to clarify any confusion as regards Manu's relationship with the 
W3C. I do hope you can respond to his comments.

   cheers,
      harry


[1] http://www.w3.org/community/
[2] http://www.w3.org/TR/json-ld/
[3] http://www.w3.org/2013/10/payments/

On 12/11/2013 10:44 PM, Manu Sporny wrote:
> Hi all,
>
> These are review comments on the JOSE stack of specifications before
> they enter Last Call. The purpose of these comments is to try and figure
> out if we can align multiple security, identity, and digital signature
> initiatives.
>
> My name is Manu Sporny, I'm the current chair at W3C for the RDFa,
> JSON-LD, and Web Payments groups. I'm also a specification editor for
> multiple Linked Data, Security, Identity, and JSON-based digital
> signature specifications.
>
> A few months ago, a number of the groups I'm involved with did a full
> review the JOSE stack of specifications to ensure that we were not
> duplicating work performed by the JOSE group. The result of that review
> is available here:
>
> http://manu.sporny.org/2013/sm-vs-jose/
>
> A number of implementers involved in the Linked Data and Web Payments
> work at W3C have chosen a different authentication, authorization, and
> digital signature stack than the one that is being created here. This
> decision came after much hand wringing and implementation feedback. We
> used to be based on OpenID, and were headed down the JOSE route before
> deciding to create an ecosystem that we believe is going to be simpler
> for Web Developers to work with.
>
> To be clear, this is not to imply that the JOSE or OpenID work is not
> useful to a number of communities, but rather that it is not a stack
> that lends itself well to the work we're doing in various groups at the
> W3C and IETF. To give a very high-level outline of the different choices
> we have made:
>
> * JSON-LD spec for message format (instead of pure JSON)
> * Secure Messaging spec for digital signatures (instead of JOSE)
> * Persona for authn (instead of OpenID)
> * HTTP Signatures & Secure Messaging for authz (instead of OpenID)
>
> I don't want this to come across as some sort of attack on JOSE or
> OpenID. It's not meant to be that at all. It's constructive criticism,
> and we expect much of that to be returned on the spec stack that we have
> proposed. We're not claiming to have all of the answers, we don't know
> if the spec stack we've designed will stand the test of adoption over time.
>
> What we do know is that our spec stack seems to be working better for
> our use cases than the one we had designed previously based on
> OpenID/JOSE. Keep in mind that there are a number of implementations
> behind the technology that is described in the link above and the text
> below, so these comments are not naive armchair commentary. :)
>
> My hope is not that the JOSE/OpenID stack will be radically altered, but
> that we'll be able to figure out where the points of integration are
> between all of the specifications. For example, the Secure Messaging
> specification expresses key data as PEM-encoded values. There is an
> argument there to use the JWK key format instead.
>
> I'll leave it there and look forward to responding to comments on this
> thread.
>
> The full-text of the review is listed below, for the purposes of long
> term archival at the IETF and for those that want to respond inline.
>
> ------------------------------------------------------------------
> Secure Messaging vs. Javascript Object Signing and Encryption
>
>     The [1]Web Payments group at the World Wide Web Consortium (W3C)
>     is currently performing a thorough analysis on the [2]MozPay API.
>     The [3]first part of the analysis examined the contents of the
>     payment messages . This is the second part of the analysis, which
>     will focus on whether the use of the [4]Javascript Object Signing
>     and Encryption (JOSE) groupâ€™s solutions to achieve message
>     security is adequate, or if the Web Payment groupâ€™s solutions
>     should be used instead.
>
> The Contenders
>
>     The IETF JOSE Working Group is actively standardizing the
>     following specifications for the purposes of adding message
>     security to JSON:
>
>     [5]JSON Web Algorithms (JWA)
>            Details the cryptographic algorithms and identifiers that
>            are meant to be used with the JSON Web Signature (JWS),
>            JSON Web Encryption (JWE), JSON Web Token (JWT), and JSON
>            Web Key (JWK) specifications. For example, when specifying
>            an encryption algorithm, a JSON key/value pair that has alg
>            as the key may have HS256 as the value, which means HMAC
>            using the SHA-256 hash algorithm.
>
>     [6]JSON Web Key (JWK)
>            Details a data structure that represents one or more
>            cryptographic keys. If you need to express one of the many
>            types of cryptographic key types in use today, this
>            specification details how you do that in a standard way.
>
>     [7]JSON Web Token (JWT)
>            Defines a way of representing claims such as â€œBob was born
>            on November 15th, 1984â€³. These claims are digitally signed
>            and/or encrypted using either the JSON Web Signature (JWS)
>            or JSON Web Encryption (JWE) specifications.
>
>     [8]JSON Web Encryption (JWE)
>            Defines a way to express encrypted content using JSON-based
>            data structures. Basically, if you want to encrypt JSON
>            data so that only the intended receiver can read the data,
>            this specification tells you how to do it in an
>            interoperable way.
>
>     [9]JSON Web Signature (JWS)
>            Defines a way to digitally sign JSON data structures. If
>            your application needs to be able to verify the creator of
>            a JSON data structure, you can use this specification to do
>            so.
>
>     The W3C Web Payments group is actively standardizing a similar
>     specification for the purpose of adding message security to JSON
>     messages:
>
>     [10]Secure Messaging (code named: HTTP Keys)
>            Describes a simple, decentralized security infrastructure
>            for the Web based on JSON, Linked Data, and public key
>            cryptography. This system enables Web applications to
>            establish identities for agents on the Web, associate
>            security credentials with those identities, and then use
>            those security credentials to send and receive messages
>            that are both encrypted and verifiable via digital
>            signatures.
>
>     Both groups are relying on technology that has existed and been
>     used for over a decade to achieve secure communications on the
>     Internet (symmetric and asymmetric cryptography, public key
>     infrastructure, X509 certificates, etc.). The key differences
>     between the two have to do more with flexibility, implementation
>     complexity, and how the data is published on the Web and used
>     between systems.
>
> Basic Differences
>
>     In general, the JOSE group is attempting to create a
>     flexible/generalized way of expressing cryptography parameters in
>     JSON. They are then using that information and encrypting or
>     signing specific data (called claims in the specifications).
>
>     The Web Payments groupâ€™s specification achieves the same thing,
>     but while not trying to be as generalized as the JOSE group.
>     Flexibility and generalization tends to 1) make the ecosystem more
>     complex than it needs to be for 95% of the use cases, 2) make
>     implementations harder to security audit, and 3) make it more
>     difficult to achieve interoperability between all implementations.
>     The Secure Messaging specification attempts to outline a single
>     best practice that will work for 95% of the applications out
>     there. The 5% of Web applications that need to do more than the
>     Secure Messaging spec can use the JOSE specifications. The Secure
>     Messaging specification is also more Web-y. The more Web-y nature
>     of the spec gives us a number of benefits, such as giving us a
>     Web-scale public key infrastructure as a pleasant side-effect,
>     that we will get into below.
>
> JSON-LD Advantages over JSON
>
>     Fundamentally, the Secure Messaging specification relies on the
>     Web and [11]Linked Data to remove some of the complexity that
>     exists in the JOSE specs while also achieving greater flexibility
>     from a data model perspective. Specifically, the Secure Messaging
>     specification utilizes Linked Data via a new standards-track
>     technology called [12]JSON-LD to allow anyone to build on top of
>     the core protocol in a decentralized way. JSON-LD data is
>     fundamentally more Web-y than JSON data. Here are the benefits of
>     using JSON-LD over regular JSON:
>       * A universal identifier mechanism for JSON objects via the use
>         of URLs.
>       * A way to disambiguate JSON keys shared among different JSON
>         documents by mapping them to URLs via a [13]context.
>       * A standard mechanism in which a value in a JSON object may
>         refer to a JSON object on a different document or site on the
>         Web.
>       * A way to associate datatypes with values such as dates and
>         times.
>       * The ability to annotate strings with their language. For
>         example, the word â€˜chatâ€™ means something different in English
>         and French and it helps to know which language was used when
>         expressing the text.
>       * A facility to express one or more directed graphs, such as a
>         social network, in a single document. Graphs are the native
>         data structure of the Web.
>       * A standard way to map external JSON application data to your
>         application data domain.
>       * A deterministic way to generate a hash on JSON data, which is
>         helpful when attempting to figure out if two data sources are
>         expressing the same information.
>       * A standard way to digitally sign JSON data.
>       * A deterministic way to merge JSON data from multiple data
>         sources.
>
>     Plain old JSON, while incredibly useful, does not allow you to do
>     the things mentioned above in a standard way. There is a valid
>     argument that applications may not need this amount of
>     flexibility, and for those applications, JSON-LD does not require
>     any of the features above to be used and does not require the JSON
>     data to be modified in any way. So people that want to remain in
>     the plain â€˜ol JSON bucket can do so without the need to jump into
>     the JSON-LD bucket with both feet.
>
> JSON Web Algorithms vs. Secure Messaging
>
>     The JSON Web Algorithms specification details the cryptographic
>     algorithms and identifiers that are meant to be used with the JSON
>     Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Token
>     (JWT), and JSON Web Key (JWK) specifications. For example, when
>     specifying an encryption algorithm, a JSON key/value pair that has
>     alg as the key may have HS256 as the value, which means HMAC using
>     the SHA-256 hash algorithm. The specification is 70 pages long and
>     is effectively just a collection of what values are allowed for
>     each key used in JOSE-based JSON documents. The design approach
>     taken for the JOSE specifications requires that such a document
>     exists.
>
>     The Secure Messaging specification takes a different approach.
>     Rather than declare all of the popular algorithms and cryptography
>     schemes in use today, it defines just one digital signature scheme
>     ([14]RSA encryption with a SHA-256 hashing scheme), one encryption
>     scheme ([15]128-bit AES with cyclic block chaining), and one way
>     of expressing keys (as [16]PEM-formatted data). If placed into a
>     single specification, like the JWA spec, it would be just a few
>     pages long (really, just 1 page of actual content).
>
>     The most common argument against the Secure Messaging spec, with
>     respect to the JWA specification, is that it lacks the same amount
>     of [17]cryptographic algorithm agility that the JWA specification
>     provides. While this may seem like a valid argument on the
>     surface, keep in mind that the core algorithms used by the Secure
>     Messaging specification can be changed at any point to any other
>     set of algorithms. So, the specification achieves algorithm
>     agility while greatly reducing the need for a large 70-page
>     specification detailing the allowable values for the various
>     cryptographic algorithms. The other benefit is that since the
>     cryptography parameters are outlined in a Linked Data vocabulary,
>     instead of a process-heavy specification, that they can be added
>     to at any point as long as there is community consensus. Note that
>     while the vocabulary can be added to, thus providing algorithm
>     agility if a particular cryptography scheme is weakened or broken,
>     already defined cryptography schemes in the vocabulary must not be
>     changed once the cryptography vocabulary terms become widely used
>     to ensure that production deployments that use the older mechanism
>     arenâ€™t broken.
>
>     Providing just one way, the best practice at the time, to do
>     digital signatures, encryption, and key publishing reduces
>     implementation complexity. Reducing implementation complexity
>     makes it easier to perform security audits on implementations.
>     Reducing implementation complexity also helps ensure better
>     interoperability and more software library implementations, as the
>     barrier to creating a fully conforming implementation is greatly
>     reduced.
>
>     The Web Payments group believes that new digital signature and
>     encryption schemes will have to be updated every 5-7 years. It is
>     better to delay the decision to switch to another primary
>     algorithm as long as as possible (and as long as it is safe to do
>     so). Delaying the cryptographic algorithm decision ensures that
>     the group will be able to make a more educated decision than
>     attempting to predict which cryptographic algorithms may be the
>     successors to currently deployed algorithms.
>
>     Bottom line: The Secure Messaging specification utilizes a much
>     simpler approach than the JWA specification while supporting the
>     same level of algorithm agility.
>
> JSON Web Key vs. Secure Messaging
>
>     The JSON Web Key (JWK) specification details a data structure that
>     is capable of representing one or more cryptographic keys. If you
>     need to express one of the many types of cryptographic key types
>     in use today, JWK details how you do that in an standard way. A
>     typical RSA public key looks like the following using the JWK
>     specification:
> {
>    "keys": [{
>      "kty":"RSA",
>      "n": "0vx7agoe ... DKgw",
>      "e":"AQAB",
>      "alg":"RS256",
>      "kid":"2011-04-29"
>    }]
> }
>
>     A similar RSA public key looks like the following using the Secure
>     Messaging specification:
> {
>    "@context": "https://w3id.org/security/v1",
>    "@id": "https://example.com/i/bob/keys/1",
>    "@type": "Key",
>    "owner": "https://example.com/i/bob",
>    "publicKeyPem": "-----BEGIN PRIVATE
> KEY-----\nMIIBG0BA...OClDQAB\n-----END PRIVATE KEY-----\n"
> }
>
>     There are a number of differences between the two key formats.
>     Specifically:
>      1. The JWK format expresses key information by specifying the key
>         parameters directly. The Secure Messaging format places all of
>         the key parameters into a PEM-encoded blob. This approach was
>         taken because it is easier for developers to use the PEM data
>         without introducing errors. Since most Web developers do not
>         understand what variables like dq (the second factor Chinese
>         Remainder Theorem exponent parameter) or d (the Elliptic Curve
>         private key parameter) are, the likelihood of transporting and
>         publishing that sort of data without error is lower than
>         placing all parameters in an opaque blob of information that
>         has a clear beginning and end (-----BEGIN RSA PRIVATE
>         KEY-----, and --- END RSA PRIVATE KEY ---)
>      2. In the general case, the Secure Messaging key format assigns
>         URL identifiers to keys and publishes them on the Web as
>         JSON-LD, and optionally as RDFa. This means that public key
>         information is discoverable and human and machine-readable by
>         default, which means that all of the key parameters can be
>         read from the Web. The JWK mechanism does assign a key ID to
>         keys, but does not require that they are published to the Web
>         if they are to be used in message exchanges. The JWK
>         specification could be extended to enable this, but by
>         default, doesnâ€™t provide this functionality.
>      3. The Secure Messaging format is also capable of specifying an
>         identity that owns the key, which allows a key to be tied to
>         an identity and that identity to be used for thinks like
>         Access Control to Web resources and REST APIs. The JWK format
>         has no such mechanism outlined in the specification.
>
>     Bottom line: The Secure Messaging specification provides four
>     major advantages over the JWK format: 1) the key information is
>     expressed at a higher level, which makes it easier to work with
>     for Web developers, 2) it allows key information to be discovered
>     by deferencing the key ID, 3) the key information can be published
>     (and extended) in a variety of Linked Data formats, and 4) it
>     provides the ability to assign ownership information to keys.
>
> JSON Web Tokens vs. Secure Messaging
>
>     The JSON Web Tokens (JWT) specification defines a way of
>     representing claims such as â€œBob was born on November 15th, 1984â€³.
>     These claims are digitally signed and/or encrypted using either
>     the JSON Web Signature (JWS) or JSON Web Encryption (JWE)
>     specifications. Here is an example of a JWT document:
> {
>    "iss": "joe",
>    "exp": 1300819380,
>    "http://example.com/is_root": true
> }
>
>     JWT documents contain keys that are public, such as iss and exp
>     above, and keys that are private (which could conflict with keys
>     from the JWT specification). The data format is fairly free-form,
>     meaning that any data can be placed inside a JWT Claims Set like
>     the one above.
>
>     Since the Secure Messaging specification utilizes JSON-LD for its
>     data expression mechanism, it takes a fundamentally different
>     approach. There are no headers or claims sets in the Secure
>     Messaging specification, just data. For example, the data below is
>     effectively a JWT claims set expressed in JSON-LD:
> {
>    "@context": "http://json-ld.org/contexts/person",
>    "@type": "Person",
>    "name": "Manu Sporny",
>    "gender": "male",
>    "homepage": "http://manu.sporny.org/"
> }
>
>     Note that there are no keywords specific to the Secure Messaging
>     specification, just keys that are mapped to URLs (to prevent
>     collisions) and data. In JSON-LD, these keys and data are
>     machine-interpretable in a standards-compliant manner (unlike JWT
>     data), and can be merged with other data sources without the
>     danger of data being overwritten or colliding with other
>     application data.
>
>     Bottom line: The Secure Messaging specifications use of a native
>     Linked Data format removes the requirement for a specification
>     like JWT. As far as the Secure Messaging specification is
>     concerned, there is just data, which you can then digitally sign
>     and encrypt. This makes the data easier to work with for Web
>     developers as they can continue to use their application data
>     as-is instead of attempting to restructure it into a JWT.
>
> JSON Web Encryption vs. Secure Messaging
>
>     The JSON Web Encryption (JWE) specification defines a way to
>     express encrypted content using JSON-based data structures.
>     Basically, if you want to encrypt JSON data so that only the
>     intended receiver can read the data, this specification tells you
>     how to do it in an interoperable way. A JWE-encrypted message
>     looks like this:
> {
>    "protected": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0",
>    "unprotected": {"jku": "https://server.example.com/keys.jwks"},
>    "recipients": [{
>      "header": {
>        "alg":"RSA1_5"
>          "kid":"2011-04-29",
>          "enc":"A128CBC-HS256",
>          "jku":"https://server.example.com/keys.jwks"
>        },
>        "encrypted_key": "UGhIOgu ... MR4gp_A"
>      }]
>    }],
>    "iv": "AxY8DCtDaGlsbGljb3RoZQ",
>    "ciphertext": "KDlTtXchhZTGufMYmOYGS4HffxPSUrfmqCHXaI9wOGY",
>    "tag": "Mz-VPPyU4RlcuYv1IwIvzw"
> }
>
>     To decrypt this information, an application would retrieve the
>     private key associated with the recipients[0].header, and then
>     decrypt the encrypted_key. Using the decrypted encrypted_key
>     value, it would then use the iv to decrypt the protected header.
>     Using the algorithm provided in the protected header, it would
>     then use the decrypted encrypted_key, iv, the algorithm specified
>     in the protected header, and the ciphertext to retrieve the
>     original message as a result.
>
>     For comparison purposes, a Secure Messaging encrypted message
>     looks like this:
> {
>    "@context": "https://w3id.org/security/v1",
>    "@type": "EncryptedMessage2012",
>    "data": "VTJGc2RH ... Fb009Cg==",
>    "encryptionKey": "uATte ... HExjXQE=",
>    "iv": "vcDU1eWTy8vVGhNOszREhSblFVqVnGpBUm0zMTRmcWtMrRX==",
>    "publicKey": "https://example.com/people/john/keys/23"
> }
>
>     To decrypt this information, an application would use the private
>     key associated with the publicKey to decrypt the encryptionKey and
>     iv. It would then use the decrypted encryptionKey and iv to
>     decrypt the value in data, retrieving the original message as a
>     result.
>
>     The Secure Messaging encryption protocol is simpler than the JWE
>     protocol for three major reasons:
>      1. The @type of the message, EncryptedMessage2012, encapsulates
>         all of the cryptographic algorithm information in a
>         machine-readable way (that can also be hard-coded in
>         implementations). The JWE specification utilizes the protected
>         field to express the same sort of information, which is
>         allowed to get far more complicated than the Secure Messaging
>         equivalent, leading to more complexity.
>      2. Key information is expressed in one entry, the publicKey
>         entry, which is a link to a machine-readable document that can
>         express not only the public key information, but who owns the
>         key, the name of the key, creation and revocation dates for
>         the key, as well as a number of other Linked Data values that
>         result in a full-fledged Web-based PKI system. Not only is
>         Secure Messaging encryption simpler than JWE, but it also
>         enables many more types of extensibility.
>      3. The key data is expressed in a PEM-encoded format, which is
>         expressed as a base-64 encoded blob of information. This
>         approach was taken because it is easier for developers to use
>         the data without introducing errors. Since most Web developers
>         do not understand what variables like dq (the second factor
>         Chinese Remainder Theorem exponent parameter) or d (the
>         Elliptic Curve private key parameter) are, the likelihood of
>         transporting and publishing that sort of data without error is
>         lower than placing all parameters in an opaque blob of
>         information that has a clear beginning and end (-----BEGIN RSA
>         PRIVATE KEY-----, and --- END RSA PRIVATE KEY ---).
>
>     The rest of the entries in the JSON are typically required for the
>     encryption method selected to secure the message. There is not a
>     great deal of difference between the two specifications when it
>     comes to the parameters that are needed for the encryption
>     algorithm.
>
>     Bottom line: The major difference between the Secure Messaging and
>     JWE specification has to do with how the encryption parameters are
>     specified as well as how many of them there can be. The Secure
>     Messaging specification expresses only one encryption mechanism
>     and outlines the algorithms and keys external to the message,
>     which leads to a reduction in complexity. The JWE specification
>     allows many more types of encryption schemes to be used, at the
>     expense of added complexity.
>
> JSON Web Signatures vs. Secure Messaging
>
>     The JSON Web Signatures (JWS) specification defines a way to
>     digitally sign JSON data structures. If your application needs to
>     be able to verify the creator of a JSON data structure, you can
>     use this specification to do so. A JWS digital signature looks
>     like the following:
> {
>    "payload": "eyJpc ... VlfQ",
>    "signatures":[{
>      "protected":"eyJhbGciOiJSUzI1NiJ9",
>      "header": {
>        "kid":"2010-12-29"
>      },
>      "signature": "cC4hi ... 77Rw"
>    }]
> }
>
>     For the purposes of comparison, a Secure Messaging message and
>     signature looks like the following:
> {
>    "@context": ["https://w3id.org/security/v1",
>                 "http://json-ld.org/contexts/person"]
>    "@type": "Person",
>    "name": "Manu Sporny",
>    "homepage": "http://manu.sporny.org/",
>    "signature":
>    {
>      "@type": "GraphSignature2012",
>      "creator": "http://example.org/manu/keys/5",
>      "created": "2013-08-04T17:39:53Z",
>      "signatureValue": "OGQzN ... IyZTk="
>    }
> }
>
>     There are a number of stark differences between the two
>     specifications when it comes to digital signatures:
>      1. The Secure Messaging specification does not need to base-64
>         encode the payload being signed. This makes it easier for a
>         developer to see (and work with) the data that was digitally
>         signed. Debugging signed messages is also simplified as
>         special tools to decode the payload are unnecessary.
>      2. The Secure Messaging specification does not require any header
>         parameters for the payload, which reduces the number of things
>         that can go wrong when verifying digitally signed messages.
>         One could argue that this also reduces flexibility. The
>         counter-argument is that different signature schemes can
>         always be switched in by just changing the @type of the
>         signature.
>      3. The signerâ€™s public key is available via a URL. This means
>         that, in general, all Secure Messaging signatures can be
>         verified by dereferencing the creator URL and utilizing the
>         published key data to verify the signature.
>      4. The Secure Messaging specification depends on a normalization
>         algorithm that is applied to the message. This algorithm is
>         non-trivial, typically implemented behind a JSON-LD library
>         .normalize() method call. JWS does not require data
>         normalization. The trade-off is simplicity at the expense of
>         requiring your data to always be encapsulated in the message.
>         For example, the Secure Messaging specification is capable of
>         pointing to a digital signature expressed in RDFa on a website
>         using a URL. An application can then dereference that URL,
>         convert the data to JSON-LD, and verify the digital signature.
>         This mechanism is useful, for example, when you want to
>         publish items for sale along with their prices on a Web page
>         in a machine-readable way. This sort of use case is not
>         achievable with the JWS specification. All data is required to
>         be in the message. In other words, Secure Messaging performs a
>         signature on information that could exist on the Web where the
>         JWS specification performs a signature on a string of text in
>         a message.
>      5. The JWS mechanism enables HMAC-based signatures while the
>         Secure Messaging mechanism avoids the use of HMAC altogether,
>         taking the position that shared secrets are typically a bad
>         practice.
>
>     Bottom line: The Secure Messaging specification does not need to
>     encode its payloads, but does require a rather complex
>     normalization algorithm. It supports discovery of signature key
>     data so that signatures can be verified using standard Web
>     protocols. The JWS specification is more flexible from an
>     algorithmic standpoint and simpler from a signature verification
>     standpoint. The downside is that the only data input format must
>     be from the message itself and canâ€™t be from an external Linked
>     Data source, like an HTML+RDFa web page listing items for sale.
>
> Conclusion
>
>     The Secure Messaging and JOSE designs, while attempting to achieve
>     the same basic goals, deviate in the approaches taken to
>     accomplish those goals. The Secure Messaging specification
>     leverages more of the Web with its use of a Linked Data format and
>     URLs for identifying and verifying identity and keys. It also
>     attempts to encapsulate a single best practice that will work for
>     the vast majority of Web applications in use today. The JOSE
>     specifications are more flexible in the type of cryptographic
>     algorithms that can be used which results in more low-level
>     primitives used in the protocol, increasing complexity for
>     developers that must create interoperable JOSE-based applications.
>
>     From a specification size standpoint, the JOSE specs weigh in at
>     225 pages, the Secure Messaging specification weighs in at around
>     20 pages. This is rarely a good way to compare specifications, and
>     doesnâ€™t always result in an apples to apples comparison. It does,
>     however, give a general idea of the amount of text required to
>     explain the details of each approach, and thus a ballpark idea of
>     the complexity associated with each specification. Like all
>     specifications, picking one depends on the use cases that an
>     application is attempting to support. The goal with the Secure
>     Messaging specification is that it will be good enough for 95% of
>     Web developers out there, and for the remaining 5%, there is the
>     JOSE stack.
>
> References
>
>     1. http://www.w3.org/community/webpayments/
>     2. https://wiki.mozilla.org/WebAPI/WebPayment
>     3. http://manu.sporny.org/2013/mozpay-analysis/
>     4. http://tools.ietf.org/wg/jose/
>     5. http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms
>     6. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-key/
>     7. http://tools.ietf.org/html/draft-ietf-oauth-json-web-token
>     8. http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption
>     9. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-signature/
>    10. https://payswarm.com/specs/source/http-keys/
>    11. http://www.youtube.com/watch?v=4x_xzT5eF5Q
>    12. http://www.youtube.com/watch?v=vioCbTo3C-4
>    13. http://json-ld.org/spec/latest/json-ld/#the-context
>    14. https://payswarm.com/specs/source/vocabs/security#GraphSignature2012
>    15. https://payswarm.com/specs/source/vocabs/security#EncryptedMessage
>    16. https://payswarm.com/specs/source/vocabs/security#privateKeyPem
>    17. http://msdn.microsoft.com/en-us/magazine/ee321570.aspx
>
> -- manu
>


From odonoghue@isoc.org  Wed Dec 11 16:09:09 2013
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C55381AE0F9 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 16:09:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level: 
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_44=0.6, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8V-Vg-WAeLkD for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 16:09:05 -0800 (PST)
Received: from smtp206.dfw.emailsrvr.com (smtp206.dfw.emailsrvr.com [67.192.241.206]) by ietfa.amsl.com (Postfix) with ESMTP id 976B41AE043 for <jose@ietf.org>; Wed, 11 Dec 2013 16:09:05 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp20.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id C7C12258174; Wed, 11 Dec 2013 19:08:59 -0500 (EST)
X-Virus-Scanned: OK
Received: by smtp20.relay.dfw1a.emailsrvr.com (Authenticated sender: odonoghue-AT-isoc.org) with ESMTPSA id 2399E2582B3;  Wed, 11 Dec 2013 19:08:59 -0500 (EST)
Message-ID: <52A8FE9A.70802@isoc.org>
Date: Wed, 11 Dec 2013 19:08:58 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
Organization: ISOC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org>
In-Reply-To: <52A8EFA4.80001@w3.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Cc: Wendy Seltzer <wseltzer@w3.org>, Harry Halpin <hhalpin@w3.org>, Manu Sporny <msporny@digitalbazaar.com>
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: odonoghue@isoc.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 00:09:10 -0000

Also as a clarification, this topic came up at the Shenzhen W3C meeting. 
Following an additional conversation after the TPAC, Richard Barnes and 
I asked Manu to post his discussion to the JOSE WG mailing list for 
further discussion by the community.

Karen

On 12/11/13 6:05 PM, Harry Halpin wrote:
> Just to be clear, while we at W3C appreciate Manu's very hard work as 
> a chair and editor (and very active volunteer), these comments are not 
> authorized by as "official" W3C comments, as he represents himself and 
> his Blacksburg, Virginia-based startup, Digital Bazaar.
>
> To be precise, Manu is chair of the Web Payments Community Group where 
> he represents Digital Bazaar, and the Community Group may have also 
> endorsed these comments (although W3C defines no process for this). 
> These Community Groups are *not* Working Groups, that go through W3C 
> management approval and have to be voted on by the Advisory Committee 
> of W3C members. Anyone with three individual supporters can create a 
> Community Group on any topic they desire without permission of the W3C 
> [1]. We consider Community Groups ways to harvest ideas that could be 
> useful for Recommendations later down than the line.  Manu is also 
> authorized chair of the RDFa Working Group and JSON-LD is a 
> serialization from the RDF Working Group, where he is authorized as 
> one of the editors of the JSON-LD specification.
>
> The W3C has in not endorsed the Web Payments Community Group's specs 
> as any kind of recommendation, and in particular the W3C has not 
> endorsed the specs on Secure Messaging and HTTP Signatures mentioned 
> below. This does not preclude endorsement in the future, although so 
> far we have in Rec-track worked aligned with the IETF.  Persona is 
> Mozilla work. The two specs he mentions that the W3C has endorsed are 
> both Semantic Web specifications:   JSON-LD, which is currently a 
> Proposed Recommendation, which is useful to the Semantic Web community 
> so that the achieve interoperability with JSON, as well as RDFa, which 
> is a Recommendation for embedding the Semantic Web format RDF into HTML.
>
> In my authorized role as Web Crypto staff contact, we are aligning Web 
> Crypto with JOSE keys and using standard JSON, not yet JSON-LD, to 
> pass around data in the Web Crypto API. The future of Web Payments 
> will be discussed at a workshop that everyone is invited to in March 
> in Paris where representation from the JOSE WG would be appreciated, 
> and I believe Manu will be there as well [3]
>
> Just to clarify any confusion as regards Manu's relationship with the 
> W3C. I do hope you can respond to his comments.
>
>   cheers,
>      harry
>
>
> [1] http://www.w3.org/community/
> [2] http://www.w3.org/TR/json-ld/
> [3] http://www.w3.org/2013/10/payments/
>
> On 12/11/2013 10:44 PM, Manu Sporny wrote:
>> Hi all,
>>
>> These are review comments on the JOSE stack of specifications before
>> they enter Last Call. The purpose of these comments is to try and figure
>> out if we can align multiple security, identity, and digital signature
>> initiatives.
>>
>> My name is Manu Sporny, I'm the current chair at W3C for the RDFa,
>> JSON-LD, and Web Payments groups. I'm also a specification editor for
>> multiple Linked Data, Security, Identity, and JSON-based digital
>> signature specifications.
>>
>> A few months ago, a number of the groups I'm involved with did a full
>> review the JOSE stack of specifications to ensure that we were not
>> duplicating work performed by the JOSE group. The result of that review
>> is available here:
>>
>> http://manu.sporny.org/2013/sm-vs-jose/
>>
>> A number of implementers involved in the Linked Data and Web Payments
>> work at W3C have chosen a different authentication, authorization, and
>> digital signature stack than the one that is being created here. This
>> decision came after much hand wringing and implementation feedback. We
>> used to be based on OpenID, and were headed down the JOSE route before
>> deciding to create an ecosystem that we believe is going to be simpler
>> for Web Developers to work with.
>>
>> To be clear, this is not to imply that the JOSE or OpenID work is not
>> useful to a number of communities, but rather that it is not a stack
>> that lends itself well to the work we're doing in various groups at the
>> W3C and IETF. To give a very high-level outline of the different choices
>> we have made:
>>
>> * JSON-LD spec for message format (instead of pure JSON)
>> * Secure Messaging spec for digital signatures (instead of JOSE)
>> * Persona for authn (instead of OpenID)
>> * HTTP Signatures & Secure Messaging for authz (instead of OpenID)
>>
>> I don't want this to come across as some sort of attack on JOSE or
>> OpenID. It's not meant to be that at all. It's constructive criticism,
>> and we expect much of that to be returned on the spec stack that we have
>> proposed. We're not claiming to have all of the answers, we don't know
>> if the spec stack we've designed will stand the test of adoption over 
>> time.
>>
>> What we do know is that our spec stack seems to be working better for
>> our use cases than the one we had designed previously based on
>> OpenID/JOSE. Keep in mind that there are a number of implementations
>> behind the technology that is described in the link above and the text
>> below, so these comments are not naive armchair commentary. :)
>>
>> My hope is not that the JOSE/OpenID stack will be radically altered, but
>> that we'll be able to figure out where the points of integration are
>> between all of the specifications. For example, the Secure Messaging
>> specification expresses key data as PEM-encoded values. There is an
>> argument there to use the JWK key format instead.
>>
>> I'll leave it there and look forward to responding to comments on this
>> thread.
>>
>> The full-text of the review is listed below, for the purposes of long
>> term archival at the IETF and for those that want to respond inline.
>>
>> ------------------------------------------------------------------
>> Secure Messaging vs. Javascript Object Signing and Encryption
>>
>>     The [1]Web Payments group at the World Wide Web Consortium (W3C)
>>     is currently performing a thorough analysis on the [2]MozPay API.
>>     The [3]first part of the analysis examined the contents of the
>>     payment messages . This is the second part of the analysis, which
>>     will focus on whether the use of the [4]Javascript Object Signing
>>     and Encryption (JOSE) groupâ€™s solutions to achieve message
>>     security is adequate, or if the Web Payment groupâ€™s solutions
>>     should be used instead.
>>
>> The Contenders
>>
>>     The IETF JOSE Working Group is actively standardizing the
>>     following specifications for the purposes of adding message
>>     security to JSON:
>>
>>     [5]JSON Web Algorithms (JWA)
>>            Details the cryptographic algorithms and identifiers that
>>            are meant to be used with the JSON Web Signature (JWS),
>>            JSON Web Encryption (JWE), JSON Web Token (JWT), and JSON
>>            Web Key (JWK) specifications. For example, when specifying
>>            an encryption algorithm, a JSON key/value pair that has alg
>>            as the key may have HS256 as the value, which means HMAC
>>            using the SHA-256 hash algorithm.
>>
>>     [6]JSON Web Key (JWK)
>>            Details a data structure that represents one or more
>>            cryptographic keys. If you need to express one of the many
>>            types of cryptographic key types in use today, this
>>            specification details how you do that in a standard way.
>>
>>     [7]JSON Web Token (JWT)
>>            Defines a way of representing claims such as â€œBob was born
>>            on November 15th, 1984â€³. These claims are digitally signed
>>            and/or encrypted using either the JSON Web Signature (JWS)
>>            or JSON Web Encryption (JWE) specifications.
>>
>>     [8]JSON Web Encryption (JWE)
>>            Defines a way to express encrypted content using JSON-based
>>            data structures. Basically, if you want to encrypt JSON
>>            data so that only the intended receiver can read the data,
>>            this specification tells you how to do it in an
>>            interoperable way.
>>
>>     [9]JSON Web Signature (JWS)
>>            Defines a way to digitally sign JSON data structures. If
>>            your application needs to be able to verify the creator of
>>            a JSON data structure, you can use this specification to do
>>            so.
>>
>>     The W3C Web Payments group is actively standardizing a similar
>>     specification for the purpose of adding message security to JSON
>>     messages:
>>
>>     [10]Secure Messaging (code named: HTTP Keys)
>>            Describes a simple, decentralized security infrastructure
>>            for the Web based on JSON, Linked Data, and public key
>>            cryptography. This system enables Web applications to
>>            establish identities for agents on the Web, associate
>>            security credentials with those identities, and then use
>>            those security credentials to send and receive messages
>>            that are both encrypted and verifiable via digital
>>            signatures.
>>
>>     Both groups are relying on technology that has existed and been
>>     used for over a decade to achieve secure communications on the
>>     Internet (symmetric and asymmetric cryptography, public key
>>     infrastructure, X509 certificates, etc.). The key differences
>>     between the two have to do more with flexibility, implementation
>>     complexity, and how the data is published on the Web and used
>>     between systems.
>>
>> Basic Differences
>>
>>     In general, the JOSE group is attempting to create a
>>     flexible/generalized way of expressing cryptography parameters in
>>     JSON. They are then using that information and encrypting or
>>     signing specific data (called claims in the specifications).
>>
>>     The Web Payments groupâ€™s specification achieves the same thing,
>>     but while not trying to be as generalized as the JOSE group.
>>     Flexibility and generalization tends to 1) make the ecosystem more
>>     complex than it needs to be for 95% of the use cases, 2) make
>>     implementations harder to security audit, and 3) make it more
>>     difficult to achieve interoperability between all implementations.
>>     The Secure Messaging specification attempts to outline a single
>>     best practice that will work for 95% of the applications out
>>     there. The 5% of Web applications that need to do more than the
>>     Secure Messaging spec can use the JOSE specifications. The Secure
>>     Messaging specification is also more Web-y. The more Web-y nature
>>     of the spec gives us a number of benefits, such as giving us a
>>     Web-scale public key infrastructure as a pleasant side-effect,
>>     that we will get into below.
>>
>> JSON-LD Advantages over JSON
>>
>>     Fundamentally, the Secure Messaging specification relies on the
>>     Web and [11]Linked Data to remove some of the complexity that
>>     exists in the JOSE specs while also achieving greater flexibility
>>     from a data model perspective. Specifically, the Secure Messaging
>>     specification utilizes Linked Data via a new standards-track
>>     technology called [12]JSON-LD to allow anyone to build on top of
>>     the core protocol in a decentralized way. JSON-LD data is
>>     fundamentally more Web-y than JSON data. Here are the benefits of
>>     using JSON-LD over regular JSON:
>>       * A universal identifier mechanism for JSON objects via the use
>>         of URLs.
>>       * A way to disambiguate JSON keys shared among different JSON
>>         documents by mapping them to URLs via a [13]context.
>>       * A standard mechanism in which a value in a JSON object may
>>         refer to a JSON object on a different document or site on the
>>         Web.
>>       * A way to associate datatypes with values such as dates and
>>         times.
>>       * The ability to annotate strings with their language. For
>>         example, the word â€˜chatâ€™ means something different in English
>>         and French and it helps to know which language was used when
>>         expressing the text.
>>       * A facility to express one or more directed graphs, such as a
>>         social network, in a single document. Graphs are the native
>>         data structure of the Web.
>>       * A standard way to map external JSON application data to your
>>         application data domain.
>>       * A deterministic way to generate a hash on JSON data, which is
>>         helpful when attempting to figure out if two data sources are
>>         expressing the same information.
>>       * A standard way to digitally sign JSON data.
>>       * A deterministic way to merge JSON data from multiple data
>>         sources.
>>
>>     Plain old JSON, while incredibly useful, does not allow you to do
>>     the things mentioned above in a standard way. There is a valid
>>     argument that applications may not need this amount of
>>     flexibility, and for those applications, JSON-LD does not require
>>     any of the features above to be used and does not require the JSON
>>     data to be modified in any way. So people that want to remain in
>>     the plain â€˜ol JSON bucket can do so without the need to jump into
>>     the JSON-LD bucket with both feet.
>>
>> JSON Web Algorithms vs. Secure Messaging
>>
>>     The JSON Web Algorithms specification details the cryptographic
>>     algorithms and identifiers that are meant to be used with the JSON
>>     Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Token
>>     (JWT), and JSON Web Key (JWK) specifications. For example, when
>>     specifying an encryption algorithm, a JSON key/value pair that has
>>     alg as the key may have HS256 as the value, which means HMAC using
>>     the SHA-256 hash algorithm. The specification is 70 pages long and
>>     is effectively just a collection of what values are allowed for
>>     each key used in JOSE-based JSON documents. The design approach
>>     taken for the JOSE specifications requires that such a document
>>     exists.
>>
>>     The Secure Messaging specification takes a different approach.
>>     Rather than declare all of the popular algorithms and cryptography
>>     schemes in use today, it defines just one digital signature scheme
>>     ([14]RSA encryption with a SHA-256 hashing scheme), one encryption
>>     scheme ([15]128-bit AES with cyclic block chaining), and one way
>>     of expressing keys (as [16]PEM-formatted data). If placed into a
>>     single specification, like the JWA spec, it would be just a few
>>     pages long (really, just 1 page of actual content).
>>
>>     The most common argument against the Secure Messaging spec, with
>>     respect to the JWA specification, is that it lacks the same amount
>>     of [17]cryptographic algorithm agility that the JWA specification
>>     provides. While this may seem like a valid argument on the
>>     surface, keep in mind that the core algorithms used by the Secure
>>     Messaging specification can be changed at any point to any other
>>     set of algorithms. So, the specification achieves algorithm
>>     agility while greatly reducing the need for a large 70-page
>>     specification detailing the allowable values for the various
>>     cryptographic algorithms. The other benefit is that since the
>>     cryptography parameters are outlined in a Linked Data vocabulary,
>>     instead of a process-heavy specification, that they can be added
>>     to at any point as long as there is community consensus. Note that
>>     while the vocabulary can be added to, thus providing algorithm
>>     agility if a particular cryptography scheme is weakened or broken,
>>     already defined cryptography schemes in the vocabulary must not be
>>     changed once the cryptography vocabulary terms become widely used
>>     to ensure that production deployments that use the older mechanism
>>     arenâ€™t broken.
>>
>>     Providing just one way, the best practice at the time, to do
>>     digital signatures, encryption, and key publishing reduces
>>     implementation complexity. Reducing implementation complexity
>>     makes it easier to perform security audits on implementations.
>>     Reducing implementation complexity also helps ensure better
>>     interoperability and more software library implementations, as the
>>     barrier to creating a fully conforming implementation is greatly
>>     reduced.
>>
>>     The Web Payments group believes that new digital signature and
>>     encryption schemes will have to be updated every 5-7 years. It is
>>     better to delay the decision to switch to another primary
>>     algorithm as long as as possible (and as long as it is safe to do
>>     so). Delaying the cryptographic algorithm decision ensures that
>>     the group will be able to make a more educated decision than
>>     attempting to predict which cryptographic algorithms may be the
>>     successors to currently deployed algorithms.
>>
>>     Bottom line: The Secure Messaging specification utilizes a much
>>     simpler approach than the JWA specification while supporting the
>>     same level of algorithm agility.
>>
>> JSON Web Key vs. Secure Messaging
>>
>>     The JSON Web Key (JWK) specification details a data structure that
>>     is capable of representing one or more cryptographic keys. If you
>>     need to express one of the many types of cryptographic key types
>>     in use today, JWK details how you do that in an standard way. A
>>     typical RSA public key looks like the following using the JWK
>>     specification:
>> {
>>    "keys": [{
>>      "kty":"RSA",
>>      "n": "0vx7agoe ... DKgw",
>>      "e":"AQAB",
>>      "alg":"RS256",
>>      "kid":"2011-04-29"
>>    }]
>> }
>>
>>     A similar RSA public key looks like the following using the Secure
>>     Messaging specification:
>> {
>>    "@context": "https://w3id.org/security/v1",
>>    "@id": "https://example.com/i/bob/keys/1",
>>    "@type": "Key",
>>    "owner": "https://example.com/i/bob",
>>    "publicKeyPem": "-----BEGIN PRIVATE
>> KEY-----\nMIIBG0BA...OClDQAB\n-----END PRIVATE KEY-----\n"
>> }
>>
>>     There are a number of differences between the two key formats.
>>     Specifically:
>>      1. The JWK format expresses key information by specifying the key
>>         parameters directly. The Secure Messaging format places all of
>>         the key parameters into a PEM-encoded blob. This approach was
>>         taken because it is easier for developers to use the PEM data
>>         without introducing errors. Since most Web developers do not
>>         understand what variables like dq (the second factor Chinese
>>         Remainder Theorem exponent parameter) or d (the Elliptic Curve
>>         private key parameter) are, the likelihood of transporting and
>>         publishing that sort of data without error is lower than
>>         placing all parameters in an opaque blob of information that
>>         has a clear beginning and end (-----BEGIN RSA PRIVATE
>>         KEY-----, and --- END RSA PRIVATE KEY ---)
>>      2. In the general case, the Secure Messaging key format assigns
>>         URL identifiers to keys and publishes them on the Web as
>>         JSON-LD, and optionally as RDFa. This means that public key
>>         information is discoverable and human and machine-readable by
>>         default, which means that all of the key parameters can be
>>         read from the Web. The JWK mechanism does assign a key ID to
>>         keys, but does not require that they are published to the Web
>>         if they are to be used in message exchanges. The JWK
>>         specification could be extended to enable this, but by
>>         default, doesnâ€™t provide this functionality.
>>      3. The Secure Messaging format is also capable of specifying an
>>         identity that owns the key, which allows a key to be tied to
>>         an identity and that identity to be used for thinks like
>>         Access Control to Web resources and REST APIs. The JWK format
>>         has no such mechanism outlined in the specification.
>>
>>     Bottom line: The Secure Messaging specification provides four
>>     major advantages over the JWK format: 1) the key information is
>>     expressed at a higher level, which makes it easier to work with
>>     for Web developers, 2) it allows key information to be discovered
>>     by deferencing the key ID, 3) the key information can be published
>>     (and extended) in a variety of Linked Data formats, and 4) it
>>     provides the ability to assign ownership information to keys.
>>
>> JSON Web Tokens vs. Secure Messaging
>>
>>     The JSON Web Tokens (JWT) specification defines a way of
>>     representing claims such as â€œBob was born on November 15th, 1984â€³.
>>     These claims are digitally signed and/or encrypted using either
>>     the JSON Web Signature (JWS) or JSON Web Encryption (JWE)
>>     specifications. Here is an example of a JWT document:
>> {
>>    "iss": "joe",
>>    "exp": 1300819380,
>>    "http://example.com/is_root": true
>> }
>>
>>     JWT documents contain keys that are public, such as iss and exp
>>     above, and keys that are private (which could conflict with keys
>>     from the JWT specification). The data format is fairly free-form,
>>     meaning that any data can be placed inside a JWT Claims Set like
>>     the one above.
>>
>>     Since the Secure Messaging specification utilizes JSON-LD for its
>>     data expression mechanism, it takes a fundamentally different
>>     approach. There are no headers or claims sets in the Secure
>>     Messaging specification, just data. For example, the data below is
>>     effectively a JWT claims set expressed in JSON-LD:
>> {
>>    "@context": "http://json-ld.org/contexts/person",
>>    "@type": "Person",
>>    "name": "Manu Sporny",
>>    "gender": "male",
>>    "homepage": "http://manu.sporny.org/"
>> }
>>
>>     Note that there are no keywords specific to the Secure Messaging
>>     specification, just keys that are mapped to URLs (to prevent
>>     collisions) and data. In JSON-LD, these keys and data are
>>     machine-interpretable in a standards-compliant manner (unlike JWT
>>     data), and can be merged with other data sources without the
>>     danger of data being overwritten or colliding with other
>>     application data.
>>
>>     Bottom line: The Secure Messaging specifications use of a native
>>     Linked Data format removes the requirement for a specification
>>     like JWT. As far as the Secure Messaging specification is
>>     concerned, there is just data, which you can then digitally sign
>>     and encrypt. This makes the data easier to work with for Web
>>     developers as they can continue to use their application data
>>     as-is instead of attempting to restructure it into a JWT.
>>
>> JSON Web Encryption vs. Secure Messaging
>>
>>     The JSON Web Encryption (JWE) specification defines a way to
>>     express encrypted content using JSON-based data structures.
>>     Basically, if you want to encrypt JSON data so that only the
>>     intended receiver can read the data, this specification tells you
>>     how to do it in an interoperable way. A JWE-encrypted message
>>     looks like this:
>> {
>>    "protected": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0",
>>    "unprotected": {"jku": "https://server.example.com/keys.jwks"},
>>    "recipients": [{
>>      "header": {
>>        "alg":"RSA1_5"
>>          "kid":"2011-04-29",
>>          "enc":"A128CBC-HS256",
>>          "jku":"https://server.example.com/keys.jwks"
>>        },
>>        "encrypted_key": "UGhIOgu ... MR4gp_A"
>>      }]
>>    }],
>>    "iv": "AxY8DCtDaGlsbGljb3RoZQ",
>>    "ciphertext": "KDlTtXchhZTGufMYmOYGS4HffxPSUrfmqCHXaI9wOGY",
>>    "tag": "Mz-VPPyU4RlcuYv1IwIvzw"
>> }
>>
>>     To decrypt this information, an application would retrieve the
>>     private key associated with the recipients[0].header, and then
>>     decrypt the encrypted_key. Using the decrypted encrypted_key
>>     value, it would then use the iv to decrypt the protected header.
>>     Using the algorithm provided in the protected header, it would
>>     then use the decrypted encrypted_key, iv, the algorithm specified
>>     in the protected header, and the ciphertext to retrieve the
>>     original message as a result.
>>
>>     For comparison purposes, a Secure Messaging encrypted message
>>     looks like this:
>> {
>>    "@context": "https://w3id.org/security/v1",
>>    "@type": "EncryptedMessage2012",
>>    "data": "VTJGc2RH ... Fb009Cg==",
>>    "encryptionKey": "uATte ... HExjXQE=",
>>    "iv": "vcDU1eWTy8vVGhNOszREhSblFVqVnGpBUm0zMTRmcWtMrRX==",
>>    "publicKey": "https://example.com/people/john/keys/23"
>> }
>>
>>     To decrypt this information, an application would use the private
>>     key associated with the publicKey to decrypt the encryptionKey and
>>     iv. It would then use the decrypted encryptionKey and iv to
>>     decrypt the value in data, retrieving the original message as a
>>     result.
>>
>>     The Secure Messaging encryption protocol is simpler than the JWE
>>     protocol for three major reasons:
>>      1. The @type of the message, EncryptedMessage2012, encapsulates
>>         all of the cryptographic algorithm information in a
>>         machine-readable way (that can also be hard-coded in
>>         implementations). The JWE specification utilizes the protected
>>         field to express the same sort of information, which is
>>         allowed to get far more complicated than the Secure Messaging
>>         equivalent, leading to more complexity.
>>      2. Key information is expressed in one entry, the publicKey
>>         entry, which is a link to a machine-readable document that can
>>         express not only the public key information, but who owns the
>>         key, the name of the key, creation and revocation dates for
>>         the key, as well as a number of other Linked Data values that
>>         result in a full-fledged Web-based PKI system. Not only is
>>         Secure Messaging encryption simpler than JWE, but it also
>>         enables many more types of extensibility.
>>      3. The key data is expressed in a PEM-encoded format, which is
>>         expressed as a base-64 encoded blob of information. This
>>         approach was taken because it is easier for developers to use
>>         the data without introducing errors. Since most Web developers
>>         do not understand what variables like dq (the second factor
>>         Chinese Remainder Theorem exponent parameter) or d (the
>>         Elliptic Curve private key parameter) are, the likelihood of
>>         transporting and publishing that sort of data without error is
>>         lower than placing all parameters in an opaque blob of
>>         information that has a clear beginning and end (-----BEGIN RSA
>>         PRIVATE KEY-----, and --- END RSA PRIVATE KEY ---).
>>
>>     The rest of the entries in the JSON are typically required for the
>>     encryption method selected to secure the message. There is not a
>>     great deal of difference between the two specifications when it
>>     comes to the parameters that are needed for the encryption
>>     algorithm.
>>
>>     Bottom line: The major difference between the Secure Messaging and
>>     JWE specification has to do with how the encryption parameters are
>>     specified as well as how many of them there can be. The Secure
>>     Messaging specification expresses only one encryption mechanism
>>     and outlines the algorithms and keys external to the message,
>>     which leads to a reduction in complexity. The JWE specification
>>     allows many more types of encryption schemes to be used, at the
>>     expense of added complexity.
>>
>> JSON Web Signatures vs. Secure Messaging
>>
>>     The JSON Web Signatures (JWS) specification defines a way to
>>     digitally sign JSON data structures. If your application needs to
>>     be able to verify the creator of a JSON data structure, you can
>>     use this specification to do so. A JWS digital signature looks
>>     like the following:
>> {
>>    "payload": "eyJpc ... VlfQ",
>>    "signatures":[{
>>      "protected":"eyJhbGciOiJSUzI1NiJ9",
>>      "header": {
>>        "kid":"2010-12-29"
>>      },
>>      "signature": "cC4hi ... 77Rw"
>>    }]
>> }
>>
>>     For the purposes of comparison, a Secure Messaging message and
>>     signature looks like the following:
>> {
>>    "@context": ["https://w3id.org/security/v1",
>>                 "http://json-ld.org/contexts/person"]
>>    "@type": "Person",
>>    "name": "Manu Sporny",
>>    "homepage": "http://manu.sporny.org/",
>>    "signature":
>>    {
>>      "@type": "GraphSignature2012",
>>      "creator": "http://example.org/manu/keys/5",
>>      "created": "2013-08-04T17:39:53Z",
>>      "signatureValue": "OGQzN ... IyZTk="
>>    }
>> }
>>
>>     There are a number of stark differences between the two
>>     specifications when it comes to digital signatures:
>>      1. The Secure Messaging specification does not need to base-64
>>         encode the payload being signed. This makes it easier for a
>>         developer to see (and work with) the data that was digitally
>>         signed. Debugging signed messages is also simplified as
>>         special tools to decode the payload are unnecessary.
>>      2. The Secure Messaging specification does not require any header
>>         parameters for the payload, which reduces the number of things
>>         that can go wrong when verifying digitally signed messages.
>>         One could argue that this also reduces flexibility. The
>>         counter-argument is that different signature schemes can
>>         always be switched in by just changing the @type of the
>>         signature.
>>      3. The signerâ€™s public key is available via a URL. This means
>>         that, in general, all Secure Messaging signatures can be
>>         verified by dereferencing the creator URL and utilizing the
>>         published key data to verify the signature.
>>      4. The Secure Messaging specification depends on a normalization
>>         algorithm that is applied to the message. This algorithm is
>>         non-trivial, typically implemented behind a JSON-LD library
>>         .normalize() method call. JWS does not require data
>>         normalization. The trade-off is simplicity at the expense of
>>         requiring your data to always be encapsulated in the message.
>>         For example, the Secure Messaging specification is capable of
>>         pointing to a digital signature expressed in RDFa on a website
>>         using a URL. An application can then dereference that URL,
>>         convert the data to JSON-LD, and verify the digital signature.
>>         This mechanism is useful, for example, when you want to
>>         publish items for sale along with their prices on a Web page
>>         in a machine-readable way. This sort of use case is not
>>         achievable with the JWS specification. All data is required to
>>         be in the message. In other words, Secure Messaging performs a
>>         signature on information that could exist on the Web where the
>>         JWS specification performs a signature on a string of text in
>>         a message.
>>      5. The JWS mechanism enables HMAC-based signatures while the
>>         Secure Messaging mechanism avoids the use of HMAC altogether,
>>         taking the position that shared secrets are typically a bad
>>         practice.
>>
>>     Bottom line: The Secure Messaging specification does not need to
>>     encode its payloads, but does require a rather complex
>>     normalization algorithm. It supports discovery of signature key
>>     data so that signatures can be verified using standard Web
>>     protocols. The JWS specification is more flexible from an
>>     algorithmic standpoint and simpler from a signature verification
>>     standpoint. The downside is that the only data input format must
>>     be from the message itself and canâ€™t be from an external Linked
>>     Data source, like an HTML+RDFa web page listing items for sale.
>>
>> Conclusion
>>
>>     The Secure Messaging and JOSE designs, while attempting to achieve
>>     the same basic goals, deviate in the approaches taken to
>>     accomplish those goals. The Secure Messaging specification
>>     leverages more of the Web with its use of a Linked Data format and
>>     URLs for identifying and verifying identity and keys. It also
>>     attempts to encapsulate a single best practice that will work for
>>     the vast majority of Web applications in use today. The JOSE
>>     specifications are more flexible in the type of cryptographic
>>     algorithms that can be used which results in more low-level
>>     primitives used in the protocol, increasing complexity for
>>     developers that must create interoperable JOSE-based applications.
>>
>>     From a specification size standpoint, the JOSE specs weigh in at
>>     225 pages, the Secure Messaging specification weighs in at around
>>     20 pages. This is rarely a good way to compare specifications, and
>>     doesnâ€™t always result in an apples to apples comparison. It does,
>>     however, give a general idea of the amount of text required to
>>     explain the details of each approach, and thus a ballpark idea of
>>     the complexity associated with each specification. Like all
>>     specifications, picking one depends on the use cases that an
>>     application is attempting to support. The goal with the Secure
>>     Messaging specification is that it will be good enough for 95% of
>>     Web developers out there, and for the remaining 5%, there is the
>>     JOSE stack.
>>
>> References
>>
>>     1. http://www.w3.org/community/webpayments/
>>     2. https://wiki.mozilla.org/WebAPI/WebPayment
>>     3. http://manu.sporny.org/2013/mozpay-analysis/
>>     4. http://tools.ietf.org/wg/jose/
>>     5. http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms
>>     6. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-key/
>>     7. http://tools.ietf.org/html/draft-ietf-oauth-json-web-token
>>     8. http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption
>>     9. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-signature/
>>    10. https://payswarm.com/specs/source/http-keys/
>>    11. http://www.youtube.com/watch?v=4x_xzT5eF5Q
>>    12. http://www.youtube.com/watch?v=vioCbTo3C-4
>>    13. http://json-ld.org/spec/latest/json-ld/#the-context
>>    14. 
>> https://payswarm.com/specs/source/vocabs/security#GraphSignature2012
>>    15. 
>> https://payswarm.com/specs/source/vocabs/security#EncryptedMessage
>>    16. https://payswarm.com/specs/source/vocabs/security#privateKeyPem
>>    17. http://msdn.microsoft.com/en-us/magazine/ee321570.aspx
>>
>> -- manu
>>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


From lukeh@padl.com  Wed Dec 11 17:00:40 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 654B61AE187 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 17:00:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level: 
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NFzYJFFM7TVA for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 17:00:39 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id E6CC21AE0A7 for <jose@ietf.org>; Wed, 11 Dec 2013 17:00:38 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBC10DHF030247; Wed, 11 Dec 2013 20:00:17 -0500
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <52A8DCBC.6030801@digitalbazaar.com>
Date: Thu, 12 Dec 2013 12:00:14 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <2D264A57-D7DE-426F-9CBD-9DE1F82CE2FE@padl.com>
References: <52A8DCBC.6030801@digitalbazaar.com>
To: Manu Sporny <msporny@digitalbazaar.com>
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: JOSE WG <jose@ietf.org>
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 01:00:40 -0000

On 12 Dec 2013, at 8:44 am, Manu Sporny <msporny@digitalbazaar.com> =
wrote:

>   The Web Payments group believes that new digital signature and
>   encryption schemes will have to be updated every 5-7 years. It is
>   better to delay the decision to switch to another primary
>   algorithm as long as as possible (and as long as it is safe to do
>   so). Delaying the cryptographic algorithm decision ensures that
>   the group will be able to make a more educated decision than
>   attempting to predict which cryptographic algorithms may be the
>   successors to currently deployed algorithms.

I'd rather have algorithm agility in the spec and a separate profile for =
a particular use case (which can, say, require only one algorithm being =
mandatory to implement) than baking the algorithm in the spec. And =
PEM-inside-JSON just seems a bit ugly to me -- I don't really buy the =
implementation complexity argument when there are already plenty of =
libraries that will do the heavy lifting for you.

Just my 2c.

-- Luke=

From ve7jtb@ve7jtb.com  Wed Dec 11 17:39:06 2013
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE1831AE0B8 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 17:39:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.991
X-Spam-Level: 
X-Spam-Status: No, score=-1.991 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_44=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0-8K805OWMqI for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 17:39:00 -0800 (PST)
Received: from mail-qe0-f42.google.com (mail-qe0-f42.google.com [209.85.128.42]) by ietfa.amsl.com (Postfix) with ESMTP id 54DA61AE018 for <jose@ietf.org>; Wed, 11 Dec 2013 17:39:00 -0800 (PST)
Received: by mail-qe0-f42.google.com with SMTP id b4so6216832qen.15 for <jose@ietf.org>; Wed, 11 Dec 2013 17:38:54 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=Bosx1hge1o7zaxs3fHxokDuW9fD0qmNzyOkuAdSpwaU=; b=QujcWf/hdeVxOnAonS1ItZ+/16XlY+URE3socLKe/ebNn77FO2Xw1hYA0gQGbmrecU LgnyyF8Kg53d7ESTmZSmUQuQP4sZofdR3BDeSUdEGcdDT1+BE9GWkpM2VTC58yLVNW4F 5I9UnofawiAQ/SiXFpNa34/DbHXcxWLE63VjEkjM/w3bVsP7b96oxQlrokyD++C+ymTI 3qL0AFfGXJ1w1/XBWw/seyPZy7Ci5ooFWEbAofDh83oxME34xt+nMBrXDGwnNc6Wjq8F QqJCmcIUxVc3I9BlkfOHSCgVuU6agQpgxO+XcPT4sPfEmu2S+wOnx/GQkLusNu4DzgxY 5wBQ==
X-Gm-Message-State: ALoCoQmHyOHKeuRcAU1F5RqCBn2VQm7Y6Xd6+qh0y6dBWvzAALFDTKykri+5V/7beRR6q/3tG0ye
X-Received: by 10.49.35.112 with SMTP id g16mr8506711qej.13.1386812334199; Wed, 11 Dec 2013 17:38:54 -0800 (PST)
Received: from [192.168.1.217] (190-20-10-16.baf.movistar.cl. [190.20.10.16]) by mx.google.com with ESMTPSA id z16sm50866626qab.3.2013.12.11.17.38.36 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 17:38:53 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_AF9699BC-FBE0-4D93-BCF2-E3FDDFAB071A"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <52A8FE9A.70802@isoc.org>
Date: Wed, 11 Dec 2013 22:38:19 -0300
Message-Id: <931AD4DB-2479-46B2-A641-C56B923DCA2C@ve7jtb.com>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <52A8FE9A.70802@isoc.org>
To: Karen Odonoghue <odonoghue@isoc.org>
X-Mailer: Apple Mail (2.1822)
Cc: Wendy Seltzer <wseltzer@w3.org>, Harry Halpin <hhalpin@w3.org>, Manu Sporny <msporny@digitalbazaar.com>, jose@ietf.org
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 01:39:07 -0000

--Apple-Mail=_AF9699BC-FBE0-4D93-BCF2-E3FDDFAB071A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Some of the comments are based on earlier drafts.

As an example JWK supports PEM encoded certificates and certificate =
chains as well as raw keys.  They can both share the same "kid" as =
alternate representations.

There are issues with using x.509 certificate representations in some =
circumstances where you are using self signed keys rather than a pkix =
trust model. =20
Some will likely observer that making PEM the only format and relying on =
certificate processing is fine if you are in a pkix/ca world like the =
payment industry.  =20
Others may not find that path as attractive.

It is interesting feedback, I understand the argument for simplicity, =
however the desire to serve broad communities is something that needs to =
be strongly considered.

I also didn't see anything on requiring integrity for encryption in the =
comparison, but I can't imagine that they would only support AES-CBC =
with it's well understood security problems as the ony encryption =
option.   I will need to look at the actual spec.

There are ways to do a number of things to support the SM trust model in =
JOSE.
"jku":"http://example.org/manu/keys/5"   vs "creator": =
"http://example.org/manu/keys/5"

In JOSE there is a logical separation between the identity of the signer =
and the location of the key.  In SM for simplicity identity and location =
may the same thing.

John B.

On Dec 11, 2013, at 9:08 PM, Karen O'Donoghue <odonoghue@isoc.org> =
wrote:

> Also as a clarification, this topic came up at the Shenzhen W3C =
meeting. Following an additional conversation after the TPAC, Richard =
Barnes and I asked Manu to post his discussion to the JOSE WG mailing =
list for further discussion by the community.
>=20
> Karen
>=20
> On 12/11/13 6:05 PM, Harry Halpin wrote:
>> Just to be clear, while we at W3C appreciate Manu's very hard work as =
a chair and editor (and very active volunteer), these comments are not =
authorized by as "official" W3C comments, as he represents himself and =
his Blacksburg, Virginia-based startup, Digital Bazaar.
>>=20
>> To be precise, Manu is chair of the Web Payments Community Group =
where he represents Digital Bazaar, and the Community Group may have =
also endorsed these comments (although W3C defines no process for this). =
These Community Groups are *not* Working Groups, that go through W3C =
management approval and have to be voted on by the Advisory Committee of =
W3C members. Anyone with three individual supporters can create a =
Community Group on any topic they desire without permission of the W3C =
[1]. We consider Community Groups ways to harvest ideas that could be =
useful for Recommendations later down than the line.  Manu is also =
authorized chair of the RDFa Working Group and JSON-LD is a =
serialization from the RDF Working Group, where he is authorized as one =
of the editors of the JSON-LD specification.
>>=20
>> The W3C has in not endorsed the Web Payments Community Group's specs =
as any kind of recommendation, and in particular the W3C has not =
endorsed the specs on Secure Messaging and HTTP Signatures mentioned =
below. This does not preclude endorsement in the future, although so far =
we have in Rec-track worked aligned with the IETF.  Persona is Mozilla =
work. The two specs he mentions that the W3C has endorsed are both =
Semantic Web specifications:   JSON-LD, which is currently a Proposed =
Recommendation, which is useful to the Semantic Web community so that =
the achieve interoperability with JSON, as well as RDFa, which is a =
Recommendation for embedding the Semantic Web format RDF into HTML.
>>=20
>> In my authorized role as Web Crypto staff contact, we are aligning =
Web Crypto with JOSE keys and using standard JSON, not yet JSON-LD, to =
pass around data in the Web Crypto API. The future of Web Payments will =
be discussed at a workshop that everyone is invited to in March in Paris =
where representation from the JOSE WG would be appreciated, and I =
believe Manu will be there as well [3]
>>=20
>> Just to clarify any confusion as regards Manu's relationship with the =
W3C. I do hope you can respond to his comments.
>>=20
>>  cheers,
>>     harry
>>=20
>>=20
>> [1] http://www.w3.org/community/
>> [2] http://www.w3.org/TR/json-ld/
>> [3] http://www.w3.org/2013/10/payments/
>>=20
>> On 12/11/2013 10:44 PM, Manu Sporny wrote:
>>> Hi all,
>>>=20
>>> These are review comments on the JOSE stack of specifications before
>>> they enter Last Call. The purpose of these comments is to try and =
figure
>>> out if we can align multiple security, identity, and digital =
signature
>>> initiatives.
>>>=20
>>> My name is Manu Sporny, I'm the current chair at W3C for the RDFa,
>>> JSON-LD, and Web Payments groups. I'm also a specification editor =
for
>>> multiple Linked Data, Security, Identity, and JSON-based digital
>>> signature specifications.
>>>=20
>>> A few months ago, a number of the groups I'm involved with did a =
full
>>> review the JOSE stack of specifications to ensure that we were not
>>> duplicating work performed by the JOSE group. The result of that =
review
>>> is available here:
>>>=20
>>> http://manu.sporny.org/2013/sm-vs-jose/
>>>=20
>>> A number of implementers involved in the Linked Data and Web =
Payments
>>> work at W3C have chosen a different authentication, authorization, =
and
>>> digital signature stack than the one that is being created here. =
This
>>> decision came after much hand wringing and implementation feedback. =
We
>>> used to be based on OpenID, and were headed down the JOSE route =
before
>>> deciding to create an ecosystem that we believe is going to be =
simpler
>>> for Web Developers to work with.
>>>=20
>>> To be clear, this is not to imply that the JOSE or OpenID work is =
not
>>> useful to a number of communities, but rather that it is not a stack
>>> that lends itself well to the work we're doing in various groups at =
the
>>> W3C and IETF. To give a very high-level outline of the different =
choices
>>> we have made:
>>>=20
>>> * JSON-LD spec for message format (instead of pure JSON)
>>> * Secure Messaging spec for digital signatures (instead of JOSE)
>>> * Persona for authn (instead of OpenID)
>>> * HTTP Signatures & Secure Messaging for authz (instead of OpenID)
>>>=20
>>> I don't want this to come across as some sort of attack on JOSE or
>>> OpenID. It's not meant to be that at all. It's constructive =
criticism,
>>> and we expect much of that to be returned on the spec stack that we =
have
>>> proposed. We're not claiming to have all of the answers, we don't =
know
>>> if the spec stack we've designed will stand the test of adoption =
over time.
>>>=20
>>> What we do know is that our spec stack seems to be working better =
for
>>> our use cases than the one we had designed previously based on
>>> OpenID/JOSE. Keep in mind that there are a number of implementations
>>> behind the technology that is described in the link above and the =
text
>>> below, so these comments are not naive armchair commentary. :)
>>>=20
>>> My hope is not that the JOSE/OpenID stack will be radically altered, =
but
>>> that we'll be able to figure out where the points of integration are
>>> between all of the specifications. For example, the Secure Messaging
>>> specification expresses key data as PEM-encoded values. There is an
>>> argument there to use the JWK key format instead.
>>>=20
>>> I'll leave it there and look forward to responding to comments on =
this
>>> thread.
>>>=20
>>> The full-text of the review is listed below, for the purposes of =
long
>>> term archival at the IETF and for those that want to respond inline.
>>>=20
>>> ------------------------------------------------------------------
>>> Secure Messaging vs. Javascript Object Signing and Encryption
>>>=20
>>>    The [1]Web Payments group at the World Wide Web Consortium (W3C)
>>>    is currently performing a thorough analysis on the [2]MozPay API.
>>>    The [3]first part of the analysis examined the contents of the
>>>    payment messages . This is the second part of the analysis, which
>>>    will focus on whether the use of the [4]Javascript Object Signing
>>>    and Encryption (JOSE) group=E2=80=99s solutions to achieve =
message
>>>    security is adequate, or if the Web Payment group=E2=80=99s =
solutions
>>>    should be used instead.
>>>=20
>>> The Contenders
>>>=20
>>>    The IETF JOSE Working Group is actively standardizing the
>>>    following specifications for the purposes of adding message
>>>    security to JSON:
>>>=20
>>>    [5]JSON Web Algorithms (JWA)
>>>           Details the cryptographic algorithms and identifiers that
>>>           are meant to be used with the JSON Web Signature (JWS),
>>>           JSON Web Encryption (JWE), JSON Web Token (JWT), and JSON
>>>           Web Key (JWK) specifications. For example, when specifying
>>>           an encryption algorithm, a JSON key/value pair that has =
alg
>>>           as the key may have HS256 as the value, which means HMAC
>>>           using the SHA-256 hash algorithm.
>>>=20
>>>    [6]JSON Web Key (JWK)
>>>           Details a data structure that represents one or more
>>>           cryptographic keys. If you need to express one of the many
>>>           types of cryptographic key types in use today, this
>>>           specification details how you do that in a standard way.
>>>=20
>>>    [7]JSON Web Token (JWT)
>>>           Defines a way of representing claims such as =E2=80=9CBob =
was born
>>>           on November 15th, 1984=E2=80=B3. These claims are =
digitally signed
>>>           and/or encrypted using either the JSON Web Signature (JWS)
>>>           or JSON Web Encryption (JWE) specifications.
>>>=20
>>>    [8]JSON Web Encryption (JWE)
>>>           Defines a way to express encrypted content using =
JSON-based
>>>           data structures. Basically, if you want to encrypt JSON
>>>           data so that only the intended receiver can read the data,
>>>           this specification tells you how to do it in an
>>>           interoperable way.
>>>=20
>>>    [9]JSON Web Signature (JWS)
>>>           Defines a way to digitally sign JSON data structures. If
>>>           your application needs to be able to verify the creator of
>>>           a JSON data structure, you can use this specification to =
do
>>>           so.
>>>=20
>>>    The W3C Web Payments group is actively standardizing a similar
>>>    specification for the purpose of adding message security to JSON
>>>    messages:
>>>=20
>>>    [10]Secure Messaging (code named: HTTP Keys)
>>>           Describes a simple, decentralized security infrastructure
>>>           for the Web based on JSON, Linked Data, and public key
>>>           cryptography. This system enables Web applications to
>>>           establish identities for agents on the Web, associate
>>>           security credentials with those identities, and then use
>>>           those security credentials to send and receive messages
>>>           that are both encrypted and verifiable via digital
>>>           signatures.
>>>=20
>>>    Both groups are relying on technology that has existed and been
>>>    used for over a decade to achieve secure communications on the
>>>    Internet (symmetric and asymmetric cryptography, public key
>>>    infrastructure, X509 certificates, etc.). The key differences
>>>    between the two have to do more with flexibility, implementation
>>>    complexity, and how the data is published on the Web and used
>>>    between systems.
>>>=20
>>> Basic Differences
>>>=20
>>>    In general, the JOSE group is attempting to create a
>>>    flexible/generalized way of expressing cryptography parameters in
>>>    JSON. They are then using that information and encrypting or
>>>    signing specific data (called claims in the specifications).
>>>=20
>>>    The Web Payments group=E2=80=99s specification achieves the same =
thing,
>>>    but while not trying to be as generalized as the JOSE group.
>>>    Flexibility and generalization tends to 1) make the ecosystem =
more
>>>    complex than it needs to be for 95% of the use cases, 2) make
>>>    implementations harder to security audit, and 3) make it more
>>>    difficult to achieve interoperability between all =
implementations.
>>>    The Secure Messaging specification attempts to outline a single
>>>    best practice that will work for 95% of the applications out
>>>    there. The 5% of Web applications that need to do more than the
>>>    Secure Messaging spec can use the JOSE specifications. The Secure
>>>    Messaging specification is also more Web-y. The more Web-y nature
>>>    of the spec gives us a number of benefits, such as giving us a
>>>    Web-scale public key infrastructure as a pleasant side-effect,
>>>    that we will get into below.
>>>=20
>>> JSON-LD Advantages over JSON
>>>=20
>>>    Fundamentally, the Secure Messaging specification relies on the
>>>    Web and [11]Linked Data to remove some of the complexity that
>>>    exists in the JOSE specs while also achieving greater flexibility
>>>    from a data model perspective. Specifically, the Secure Messaging
>>>    specification utilizes Linked Data via a new standards-track
>>>    technology called [12]JSON-LD to allow anyone to build on top of
>>>    the core protocol in a decentralized way. JSON-LD data is
>>>    fundamentally more Web-y than JSON data. Here are the benefits of
>>>    using JSON-LD over regular JSON:
>>>      * A universal identifier mechanism for JSON objects via the use
>>>        of URLs.
>>>      * A way to disambiguate JSON keys shared among different JSON
>>>        documents by mapping them to URLs via a [13]context.
>>>      * A standard mechanism in which a value in a JSON object may
>>>        refer to a JSON object on a different document or site on the
>>>        Web.
>>>      * A way to associate datatypes with values such as dates and
>>>        times.
>>>      * The ability to annotate strings with their language. For
>>>        example, the word =E2=80=98chat=E2=80=99 means something =
different in English
>>>        and French and it helps to know which language was used when
>>>        expressing the text.
>>>      * A facility to express one or more directed graphs, such as a
>>>        social network, in a single document. Graphs are the native
>>>        data structure of the Web.
>>>      * A standard way to map external JSON application data to your
>>>        application data domain.
>>>      * A deterministic way to generate a hash on JSON data, which is
>>>        helpful when attempting to figure out if two data sources are
>>>        expressing the same information.
>>>      * A standard way to digitally sign JSON data.
>>>      * A deterministic way to merge JSON data from multiple data
>>>        sources.
>>>=20
>>>    Plain old JSON, while incredibly useful, does not allow you to do
>>>    the things mentioned above in a standard way. There is a valid
>>>    argument that applications may not need this amount of
>>>    flexibility, and for those applications, JSON-LD does not require
>>>    any of the features above to be used and does not require the =
JSON
>>>    data to be modified in any way. So people that want to remain in
>>>    the plain =E2=80=98ol JSON bucket can do so without the need to =
jump into
>>>    the JSON-LD bucket with both feet.
>>>=20
>>> JSON Web Algorithms vs. Secure Messaging
>>>=20
>>>    The JSON Web Algorithms specification details the cryptographic
>>>    algorithms and identifiers that are meant to be used with the =
JSON
>>>    Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Token
>>>    (JWT), and JSON Web Key (JWK) specifications. For example, when
>>>    specifying an encryption algorithm, a JSON key/value pair that =
has
>>>    alg as the key may have HS256 as the value, which means HMAC =
using
>>>    the SHA-256 hash algorithm. The specification is 70 pages long =
and
>>>    is effectively just a collection of what values are allowed for
>>>    each key used in JOSE-based JSON documents. The design approach
>>>    taken for the JOSE specifications requires that such a document
>>>    exists.
>>>=20
>>>    The Secure Messaging specification takes a different approach.
>>>    Rather than declare all of the popular algorithms and =
cryptography
>>>    schemes in use today, it defines just one digital signature =
scheme
>>>    ([14]RSA encryption with a SHA-256 hashing scheme), one =
encryption
>>>    scheme ([15]128-bit AES with cyclic block chaining), and one way
>>>    of expressing keys (as [16]PEM-formatted data). If placed into a
>>>    single specification, like the JWA spec, it would be just a few
>>>    pages long (really, just 1 page of actual content).
>>>=20
>>>    The most common argument against the Secure Messaging spec, with
>>>    respect to the JWA specification, is that it lacks the same =
amount
>>>    of [17]cryptographic algorithm agility that the JWA specification
>>>    provides. While this may seem like a valid argument on the
>>>    surface, keep in mind that the core algorithms used by the Secure
>>>    Messaging specification can be changed at any point to any other
>>>    set of algorithms. So, the specification achieves algorithm
>>>    agility while greatly reducing the need for a large 70-page
>>>    specification detailing the allowable values for the various
>>>    cryptographic algorithms. The other benefit is that since the
>>>    cryptography parameters are outlined in a Linked Data vocabulary,
>>>    instead of a process-heavy specification, that they can be added
>>>    to at any point as long as there is community consensus. Note =
that
>>>    while the vocabulary can be added to, thus providing algorithm
>>>    agility if a particular cryptography scheme is weakened or =
broken,
>>>    already defined cryptography schemes in the vocabulary must not =
be
>>>    changed once the cryptography vocabulary terms become widely used
>>>    to ensure that production deployments that use the older =
mechanism
>>>    aren=E2=80=99t broken.
>>>=20
>>>    Providing just one way, the best practice at the time, to do
>>>    digital signatures, encryption, and key publishing reduces
>>>    implementation complexity. Reducing implementation complexity
>>>    makes it easier to perform security audits on implementations.
>>>    Reducing implementation complexity also helps ensure better
>>>    interoperability and more software library implementations, as =
the
>>>    barrier to creating a fully conforming implementation is greatly
>>>    reduced.
>>>=20
>>>    The Web Payments group believes that new digital signature and
>>>    encryption schemes will have to be updated every 5-7 years. It is
>>>    better to delay the decision to switch to another primary
>>>    algorithm as long as as possible (and as long as it is safe to do
>>>    so). Delaying the cryptographic algorithm decision ensures that
>>>    the group will be able to make a more educated decision than
>>>    attempting to predict which cryptographic algorithms may be the
>>>    successors to currently deployed algorithms.
>>>=20
>>>    Bottom line: The Secure Messaging specification utilizes a much
>>>    simpler approach than the JWA specification while supporting the
>>>    same level of algorithm agility.
>>>=20
>>> JSON Web Key vs. Secure Messaging
>>>=20
>>>    The JSON Web Key (JWK) specification details a data structure =
that
>>>    is capable of representing one or more cryptographic keys. If you
>>>    need to express one of the many types of cryptographic key types
>>>    in use today, JWK details how you do that in an standard way. A
>>>    typical RSA public key looks like the following using the JWK
>>>    specification:
>>> {
>>>   "keys": [{
>>>     "kty":"RSA",
>>>     "n": "0vx7agoe ... DKgw",
>>>     "e":"AQAB",
>>>     "alg":"RS256",
>>>     "kid":"2011-04-29"
>>>   }]
>>> }
>>>=20
>>>    A similar RSA public key looks like the following using the =
Secure
>>>    Messaging specification:
>>> {
>>>   "@context": "https://w3id.org/security/v1",
>>>   "@id": "https://example.com/i/bob/keys/1",
>>>   "@type": "Key",
>>>   "owner": "https://example.com/i/bob",
>>>   "publicKeyPem": "-----BEGIN PRIVATE
>>> KEY-----\nMIIBG0BA...OClDQAB\n-----END PRIVATE KEY-----\n"
>>> }
>>>=20
>>>    There are a number of differences between the two key formats.
>>>    Specifically:
>>>     1. The JWK format expresses key information by specifying the =
key
>>>        parameters directly. The Secure Messaging format places all =
of
>>>        the key parameters into a PEM-encoded blob. This approach was
>>>        taken because it is easier for developers to use the PEM data
>>>        without introducing errors. Since most Web developers do not
>>>        understand what variables like dq (the second factor Chinese
>>>        Remainder Theorem exponent parameter) or d (the Elliptic =
Curve
>>>        private key parameter) are, the likelihood of transporting =
and
>>>        publishing that sort of data without error is lower than
>>>        placing all parameters in an opaque blob of information that
>>>        has a clear beginning and end (-----BEGIN RSA PRIVATE
>>>        KEY-----, and --- END RSA PRIVATE KEY ---)
>>>     2. In the general case, the Secure Messaging key format assigns
>>>        URL identifiers to keys and publishes them on the Web as
>>>        JSON-LD, and optionally as RDFa. This means that public key
>>>        information is discoverable and human and machine-readable by
>>>        default, which means that all of the key parameters can be
>>>        read from the Web. The JWK mechanism does assign a key ID to
>>>        keys, but does not require that they are published to the Web
>>>        if they are to be used in message exchanges. The JWK
>>>        specification could be extended to enable this, but by
>>>        default, doesn=E2=80=99t provide this functionality.
>>>     3. The Secure Messaging format is also capable of specifying an
>>>        identity that owns the key, which allows a key to be tied to
>>>        an identity and that identity to be used for thinks like
>>>        Access Control to Web resources and REST APIs. The JWK format
>>>        has no such mechanism outlined in the specification.
>>>=20
>>>    Bottom line: The Secure Messaging specification provides four
>>>    major advantages over the JWK format: 1) the key information is
>>>    expressed at a higher level, which makes it easier to work with
>>>    for Web developers, 2) it allows key information to be discovered
>>>    by deferencing the key ID, 3) the key information can be =
published
>>>    (and extended) in a variety of Linked Data formats, and 4) it
>>>    provides the ability to assign ownership information to keys.
>>>=20
>>> JSON Web Tokens vs. Secure Messaging
>>>=20
>>>    The JSON Web Tokens (JWT) specification defines a way of
>>>    representing claims such as =E2=80=9CBob was born on November =
15th, 1984=E2=80=B3.
>>>    These claims are digitally signed and/or encrypted using either
>>>    the JSON Web Signature (JWS) or JSON Web Encryption (JWE)
>>>    specifications. Here is an example of a JWT document:
>>> {
>>>   "iss": "joe",
>>>   "exp": 1300819380,
>>>   "http://example.com/is_root": true
>>> }
>>>=20
>>>    JWT documents contain keys that are public, such as iss and exp
>>>    above, and keys that are private (which could conflict with keys
>>>    from the JWT specification). The data format is fairly free-form,
>>>    meaning that any data can be placed inside a JWT Claims Set like
>>>    the one above.
>>>=20
>>>    Since the Secure Messaging specification utilizes JSON-LD for its
>>>    data expression mechanism, it takes a fundamentally different
>>>    approach. There are no headers or claims sets in the Secure
>>>    Messaging specification, just data. For example, the data below =
is
>>>    effectively a JWT claims set expressed in JSON-LD:
>>> {
>>>   "@context": "http://json-ld.org/contexts/person",
>>>   "@type": "Person",
>>>   "name": "Manu Sporny",
>>>   "gender": "male",
>>>   "homepage": "http://manu.sporny.org/"
>>> }
>>>=20
>>>    Note that there are no keywords specific to the Secure Messaging
>>>    specification, just keys that are mapped to URLs (to prevent
>>>    collisions) and data. In JSON-LD, these keys and data are
>>>    machine-interpretable in a standards-compliant manner (unlike JWT
>>>    data), and can be merged with other data sources without the
>>>    danger of data being overwritten or colliding with other
>>>    application data.
>>>=20
>>>    Bottom line: The Secure Messaging specifications use of a native
>>>    Linked Data format removes the requirement for a specification
>>>    like JWT. As far as the Secure Messaging specification is
>>>    concerned, there is just data, which you can then digitally sign
>>>    and encrypt. This makes the data easier to work with for Web
>>>    developers as they can continue to use their application data
>>>    as-is instead of attempting to restructure it into a JWT.
>>>=20
>>> JSON Web Encryption vs. Secure Messaging
>>>=20
>>>    The JSON Web Encryption (JWE) specification defines a way to
>>>    express encrypted content using JSON-based data structures.
>>>    Basically, if you want to encrypt JSON data so that only the
>>>    intended receiver can read the data, this specification tells you
>>>    how to do it in an interoperable way. A JWE-encrypted message
>>>    looks like this:
>>> {
>>>   "protected": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2In0",
>>>   "unprotected": {"jku": "https://server.example.com/keys.jwks"},
>>>   "recipients": [{
>>>     "header": {
>>>       "alg":"RSA1_5"
>>>         "kid":"2011-04-29",
>>>         "enc":"A128CBC-HS256",
>>>         "jku":"https://server.example.com/keys.jwks"
>>>       },
>>>       "encrypted_key": "UGhIOgu ... MR4gp_A"
>>>     }]
>>>   }],
>>>   "iv": "AxY8DCtDaGlsbGljb3RoZQ",
>>>   "ciphertext": "KDlTtXchhZTGufMYmOYGS4HffxPSUrfmqCHXaI9wOGY",
>>>   "tag": "Mz-VPPyU4RlcuYv1IwIvzw"
>>> }
>>>=20
>>>    To decrypt this information, an application would retrieve the
>>>    private key associated with the recipients[0].header, and then
>>>    decrypt the encrypted_key. Using the decrypted encrypted_key
>>>    value, it would then use the iv to decrypt the protected header.
>>>    Using the algorithm provided in the protected header, it would
>>>    then use the decrypted encrypted_key, iv, the algorithm specified
>>>    in the protected header, and the ciphertext to retrieve the
>>>    original message as a result.
>>>=20
>>>    For comparison purposes, a Secure Messaging encrypted message
>>>    looks like this:
>>> {
>>>   "@context": "https://w3id.org/security/v1",
>>>   "@type": "EncryptedMessage2012",
>>>   "data": "VTJGc2RH ... Fb009Cg=3D=3D",
>>>   "encryptionKey": "uATte ... HExjXQE=3D",
>>>   "iv": "vcDU1eWTy8vVGhNOszREhSblFVqVnGpBUm0zMTRmcWtMrRX=3D=3D",
>>>   "publicKey": "https://example.com/people/john/keys/23"
>>> }
>>>=20
>>>    To decrypt this information, an application would use the private
>>>    key associated with the publicKey to decrypt the encryptionKey =
and
>>>    iv. It would then use the decrypted encryptionKey and iv to
>>>    decrypt the value in data, retrieving the original message as a
>>>    result.
>>>=20
>>>    The Secure Messaging encryption protocol is simpler than the JWE
>>>    protocol for three major reasons:
>>>     1. The @type of the message, EncryptedMessage2012, encapsulates
>>>        all of the cryptographic algorithm information in a
>>>        machine-readable way (that can also be hard-coded in
>>>        implementations). The JWE specification utilizes the =
protected
>>>        field to express the same sort of information, which is
>>>        allowed to get far more complicated than the Secure Messaging
>>>        equivalent, leading to more complexity.
>>>     2. Key information is expressed in one entry, the publicKey
>>>        entry, which is a link to a machine-readable document that =
can
>>>        express not only the public key information, but who owns the
>>>        key, the name of the key, creation and revocation dates for
>>>        the key, as well as a number of other Linked Data values that
>>>        result in a full-fledged Web-based PKI system. Not only is
>>>        Secure Messaging encryption simpler than JWE, but it also
>>>        enables many more types of extensibility.
>>>     3. The key data is expressed in a PEM-encoded format, which is
>>>        expressed as a base-64 encoded blob of information. This
>>>        approach was taken because it is easier for developers to use
>>>        the data without introducing errors. Since most Web =
developers
>>>        do not understand what variables like dq (the second factor
>>>        Chinese Remainder Theorem exponent parameter) or d (the
>>>        Elliptic Curve private key parameter) are, the likelihood of
>>>        transporting and publishing that sort of data without error =
is
>>>        lower than placing all parameters in an opaque blob of
>>>        information that has a clear beginning and end (-----BEGIN =
RSA
>>>        PRIVATE KEY-----, and --- END RSA PRIVATE KEY ---).
>>>=20
>>>    The rest of the entries in the JSON are typically required for =
the
>>>    encryption method selected to secure the message. There is not a
>>>    great deal of difference between the two specifications when it
>>>    comes to the parameters that are needed for the encryption
>>>    algorithm.
>>>=20
>>>    Bottom line: The major difference between the Secure Messaging =
and
>>>    JWE specification has to do with how the encryption parameters =
are
>>>    specified as well as how many of them there can be. The Secure
>>>    Messaging specification expresses only one encryption mechanism
>>>    and outlines the algorithms and keys external to the message,
>>>    which leads to a reduction in complexity. The JWE specification
>>>    allows many more types of encryption schemes to be used, at the
>>>    expense of added complexity.
>>>=20
>>> JSON Web Signatures vs. Secure Messaging
>>>=20
>>>    The JSON Web Signatures (JWS) specification defines a way to
>>>    digitally sign JSON data structures. If your application needs to
>>>    be able to verify the creator of a JSON data structure, you can
>>>    use this specification to do so. A JWS digital signature looks
>>>    like the following:
>>> {
>>>   "payload": "eyJpc ... VlfQ",
>>>   "signatures":[{
>>>     "protected":"eyJhbGciOiJSUzI1NiJ9",
>>>     "header": {
>>>       "kid":"2010-12-29"
>>>     },
>>>     "signature": "cC4hi ... 77Rw"
>>>   }]
>>> }
>>>=20
>>>    For the purposes of comparison, a Secure Messaging message and
>>>    signature looks like the following:
>>> {
>>>   "@context": ["https://w3id.org/security/v1",
>>>                "http://json-ld.org/contexts/person"]
>>>   "@type": "Person",
>>>   "name": "Manu Sporny",
>>>   "homepage": "http://manu.sporny.org/",
>>>   "signature":
>>>   {
>>>     "@type": "GraphSignature2012",
>>>     "creator": "http://example.org/manu/keys/5",
>>>     "created": "2013-08-04T17:39:53Z",
>>>     "signatureValue": "OGQzN ... IyZTk=3D"
>>>   }
>>> }
>>>=20
>>>    There are a number of stark differences between the two
>>>    specifications when it comes to digital signatures:
>>>     1. The Secure Messaging specification does not need to base-64
>>>        encode the payload being signed. This makes it easier for a
>>>        developer to see (and work with) the data that was digitally
>>>        signed. Debugging signed messages is also simplified as
>>>        special tools to decode the payload are unnecessary.
>>>     2. The Secure Messaging specification does not require any =
header
>>>        parameters for the payload, which reduces the number of =
things
>>>        that can go wrong when verifying digitally signed messages.
>>>        One could argue that this also reduces flexibility. The
>>>        counter-argument is that different signature schemes can
>>>        always be switched in by just changing the @type of the
>>>        signature.
>>>     3. The signer=E2=80=99s public key is available via a URL. This =
means
>>>        that, in general, all Secure Messaging signatures can be
>>>        verified by dereferencing the creator URL and utilizing the
>>>        published key data to verify the signature.
>>>     4. The Secure Messaging specification depends on a normalization
>>>        algorithm that is applied to the message. This algorithm is
>>>        non-trivial, typically implemented behind a JSON-LD library
>>>        .normalize() method call. JWS does not require data
>>>        normalization. The trade-off is simplicity at the expense of
>>>        requiring your data to always be encapsulated in the message.
>>>        For example, the Secure Messaging specification is capable of
>>>        pointing to a digital signature expressed in RDFa on a =
website
>>>        using a URL. An application can then dereference that URL,
>>>        convert the data to JSON-LD, and verify the digital =
signature.
>>>        This mechanism is useful, for example, when you want to
>>>        publish items for sale along with their prices on a Web page
>>>        in a machine-readable way. This sort of use case is not
>>>        achievable with the JWS specification. All data is required =
to
>>>        be in the message. In other words, Secure Messaging performs =
a
>>>        signature on information that could exist on the Web where =
the
>>>        JWS specification performs a signature on a string of text in
>>>        a message.
>>>     5. The JWS mechanism enables HMAC-based signatures while the
>>>        Secure Messaging mechanism avoids the use of HMAC altogether,
>>>        taking the position that shared secrets are typically a bad
>>>        practice.
>>>=20
>>>    Bottom line: The Secure Messaging specification does not need to
>>>    encode its payloads, but does require a rather complex
>>>    normalization algorithm. It supports discovery of signature key
>>>    data so that signatures can be verified using standard Web
>>>    protocols. The JWS specification is more flexible from an
>>>    algorithmic standpoint and simpler from a signature verification
>>>    standpoint. The downside is that the only data input format must
>>>    be from the message itself and can=E2=80=99t be from an external =
Linked
>>>    Data source, like an HTML+RDFa web page listing items for sale.
>>>=20
>>> Conclusion
>>>=20
>>>    The Secure Messaging and JOSE designs, while attempting to =
achieve
>>>    the same basic goals, deviate in the approaches taken to
>>>    accomplish those goals. The Secure Messaging specification
>>>    leverages more of the Web with its use of a Linked Data format =
and
>>>    URLs for identifying and verifying identity and keys. It also
>>>    attempts to encapsulate a single best practice that will work for
>>>    the vast majority of Web applications in use today. The JOSE
>>>    specifications are more flexible in the type of cryptographic
>>>    algorithms that can be used which results in more low-level
>>>    primitives used in the protocol, increasing complexity for
>>>    developers that must create interoperable JOSE-based =
applications.
>>>=20
>>>    =46rom a specification size standpoint, the JOSE specs weigh in =
at
>>>    225 pages, the Secure Messaging specification weighs in at around
>>>    20 pages. This is rarely a good way to compare specifications, =
and
>>>    doesn=E2=80=99t always result in an apples to apples comparison. =
It does,
>>>    however, give a general idea of the amount of text required to
>>>    explain the details of each approach, and thus a ballpark idea of
>>>    the complexity associated with each specification. Like all
>>>    specifications, picking one depends on the use cases that an
>>>    application is attempting to support. The goal with the Secure
>>>    Messaging specification is that it will be good enough for 95% of
>>>    Web developers out there, and for the remaining 5%, there is the
>>>    JOSE stack.
>>>=20
>>> References
>>>=20
>>>    1. http://www.w3.org/community/webpayments/
>>>    2. https://wiki.mozilla.org/WebAPI/WebPayment
>>>    3. http://manu.sporny.org/2013/mozpay-analysis/
>>>    4. http://tools.ietf.org/wg/jose/
>>>    5. http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms
>>>    6. http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-key/
>>>    7. http://tools.ietf.org/html/draft-ietf-oauth-json-web-token
>>>    8. http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption
>>>    9. =
http://tools.ietf.org/wg/jose/draft-ietf-jose-json-web-signature/
>>>   10. https://payswarm.com/specs/source/http-keys/
>>>   11. http://www.youtube.com/watch?v=3D4x_xzT5eF5Q
>>>   12. http://www.youtube.com/watch?v=3DvioCbTo3C-4
>>>   13. http://json-ld.org/spec/latest/json-ld/#the-context
>>>   14. =
https://payswarm.com/specs/source/vocabs/security#GraphSignature2012
>>>   15. =
https://payswarm.com/specs/source/vocabs/security#EncryptedMessage
>>>   16. =
https://payswarm.com/specs/source/vocabs/security#privateKeyPem
>>>   17. http://msdn.microsoft.com/en-us/magazine/ee321570.aspx
>>>=20
>>> -- manu
>>>=20
>>=20
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_AF9699BC-FBE0-4D93-BCF2-E3FDDFAB071A
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFy
dENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAMsohUWcASz7GfKrpTOMKqANy9BV7V0igWdGxA8IU77L3aTxErQ+
fcxtDYZ36Z6GH0YFn7fq5RADteP0AYzrCA+EQTfi8q1+kA3m0nwtwXG94M5sIqsvs7lRP1aycBke
/s5g9hJHryZ2acScnzczjBCAo7X1v5G3yw8MDP2m2RCye0KfgZ4nODerZJVzhAlOD9YejvAXZqHk
sw56HzElVIoYSZ3q4+RJuPXXfIoyby+Y2m1E+YzX5iCZXBx05gk6MKAW1vaw4/v2OOLy6FZH3XHH
tOkzUreG//CsFnB9+uaYSlR65cdGzTsmoIK8WH1ygoXhRBm98SD7Hf/r3FELNvUCAwE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AjBgkqhkiG9w0BCQQxFgQU4Ela654P
32kKzKo+faqvjMuVAnAwgaQGCSsGAQQBgjcQBDGBljCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNV
BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xp
ZW50IENBAgIeXDCBpgYLKoZIhvcNAQkQAgsxgZaggZMwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK
Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQQICHlwwDQYJKoZIhvcNAQEBBQAEggEAEPe/mfrDKQHlD8+uUWfP/fdjH8H2yJBr711XKw3a
5Z9achzKqbP9E2dX/hkdER8rcHBpWuanRMPhjkWwrNnB3lXnMUy5rRpg39zb0BC0kGUPZbz8FnGG
ze2HdD+NrQ2vJp75E6AlnwYqoOSqcHOdG785YZ8/vQcsF4V0vP66Kbu/KdPY1m0UAzVQvqlkl9ED
J+mifZW/WJhwIa5AEbLOwo7OWxgXzYFH/JUywE9fWnCi3/NYMxcMXuXXu0GzlXDadhKQ7D+cTH+8
TkXJ5xW995LPG3Z6/RphyVI1pTPK3iB11Q7Wp5CNUMYSV6sKUKGBgR0Ws+wb7qZe5WtGgOXqPAAA
AAAAAA==

--Apple-Mail=_AF9699BC-FBE0-4D93-BCF2-E3FDDFAB071A--


From anders.rundgren.net@gmail.com  Wed Dec 11 20:03:59 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B3431A1F78 for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 20:03:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mr_k3Z5JSAto for <jose@ietfa.amsl.com>; Wed, 11 Dec 2013 20:03:57 -0800 (PST)
Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 219F11AC4A3 for <jose@ietf.org>; Wed, 11 Dec 2013 20:03:56 -0800 (PST)
Received: by mail-wi0-f172.google.com with SMTP id en1so8078333wid.11 for <jose@ietf.org>; Wed, 11 Dec 2013 20:03:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Nm/mUzph9Np4tX5NbkQdDF4rSVe4UQFojbOpt0Ahbkc=; b=R1jED9sxD0eLaQuWVPt0nbQbLpZWUbleSlSPWyuatiNRHDXFuzaERGnsyeGIh/Eq0c GhXKLAm9UOE/EvOXuJBOHPvjzZSBfCHKB2x52+4ne57CMYG7MDdIzq74yMBkoqz/2Tfu Oo9dOC13JpL0gwK8aQHb1a9bKJTFIbXyO/vtRk4uqgsYu5qA8K8tp8RwQcDR6afbpvr/ sdfVgh4il3/D4XQESzT1u6zRv4wte9JIi+HKAO0zwTWb66yOSI6oUSXr82gWCw0AOToo TP0ZEBFp2j2QMcetGq2ya0CU/qmxuER/fGRHkZmzVGjD+fQUgoOQzCEutNUkLBQK21e3 erhA==
X-Received: by 10.194.9.100 with SMTP id y4mr4618493wja.22.1386821030932; Wed, 11 Dec 2013 20:03:50 -0800 (PST)
Received: from [192.168.1.99] (33.50.125.78.rev.sfr.net. [78.125.50.33]) by mx.google.com with ESMTPSA id n6sm20874879wix.3.2013.12.11.20.03.50 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 20:03:50 -0800 (PST)
Message-ID: <52A935A0.9090509@gmail.com>
Date: Thu, 12 Dec 2013 05:03:44 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Manu Sporny <msporny@digitalbazaar.com>, JOSE WG <jose@ietf.org>
References: <52A8DCBC.6030801@digitalbazaar.com>
In-Reply-To: <52A8DCBC.6030801@digitalbazaar.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 04:03:59 -0000

On 2013-12-11 22:44, Manu Sporny wrote:
> Hi all,
> 
> These are review comments on the JOSE stack of specifications before
> they enter Last Call. The purpose of these comments is to try and figure
> out if we can align multiple security, identity, and digital signature
> initiatives.

I have one comment to this.  SM (Secure Messaging) differs from its JOSE
counterpart in several ways. One difference I believe is particularly
significant is SM's ability to sign data "as is" rather than requiring
conversion of the payload to base64.

That is, regardless of the success of the JOSE stack, there will undoubtedly
be important applications relying on information-rich data (like Web payments)
which will deploy clear text signatures.  Completely independent (and unaware)
of Manu's work I recently designed a "brutally" scaled-down JSON-version of
W3C's XML DSig which is another take on this subject:

http://webpki.org/papers/keygen2/doc/jcs.html
https://mobilepki.org/jcs

To get some feeling for its usage you may take a peek at:
https://openkeystore.googlecode.com/svn/resources/trunk/docs/sks-api-arch.pdf#page=23

I can't imagine that anybody developing such a cool system [:-)] would consider
base64-encoded messages unless it was found to be a necessity.  The actual
implementation (which is extremely compact), shows that clear text signatures
can be close to trivial if you design the parser with that in mind from the beginning:
https://code.google.com/p/openkeystore/source/browse/#svn%2Flibrary%2Ftrunk%2Fsrc%2Forg%2Fwebpki%2Fjson

Cheers,
Anders


From djc.ochtman@gmail.com  Thu Dec 12 00:07:00 2013
Return-Path: <djc.ochtman@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C2CC1AD7C5 for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 00:07:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w8BHGvZ2G241 for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 00:06:59 -0800 (PST)
Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 3C6151AE062 for <jose@ietf.org>; Thu, 12 Dec 2013 00:06:59 -0800 (PST)
Received: by mail-pd0-f174.google.com with SMTP id y13so79003pdi.5 for <jose@ietf.org>; Thu, 12 Dec 2013 00:06:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=gh9reXeWJLEvjss0cyEFfzVJ/5wB3wnq5W2m+6ng0cI=; b=uSi5Us5pcA0de69vJGHPLXgIT4N0gMggIM3FvuJZg3CcSYH52z/HHCfHg1nxsIh/wA Xs9t2hUVrSuXpgTf4koUhlXv+GoBBHP066F82s7PVZkHrRk1Xn4UlcG/0OEYxZmHtt0m 0FtRWlNYI5WVaCbiXrRBs05Wztd4MxSfkH6QDW72CWtCgyqgx08eEkgtHJwd5VfL9oxJ 6+aVV4CydNQTq8gf93AIBHqzYopkHv3J8fY7w8s0wDsmm3XduzO8QKK8r4IhL1Bqmtl0 EqfDUF2CiBVSj8Y0VqK+5erlKBe9N3tI5s0iFwx/sliaGTsJ5bSER+SW1+ltnarvinpQ NCRw==
X-Received: by 10.68.29.4 with SMTP id f4mr9485700pbh.85.1386835613438; Thu, 12 Dec 2013 00:06:53 -0800 (PST)
MIME-Version: 1.0
Sender: djc.ochtman@gmail.com
Received: by 10.70.68.40 with HTTP; Thu, 12 Dec 2013 00:06:33 -0800 (PST)
In-Reply-To: <52A8EFA4.80001@w3.org>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org>
From: Dirkjan Ochtman <dirkjan@ochtman.nl>
Date: Thu, 12 Dec 2013 09:06:33 +0100
X-Google-Sender-Auth: l9LADKIu3rtY2RGE6FUYaKmYhqI
Message-ID: <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com>
To: JOSE WG <jose@ietf.org>
Content-Type: text/plain; charset=UTF-8
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 08:07:00 -0000

On Thu, Dec 12, 2013 at 12:05 AM, Harry Halpin <hhalpin@w3.org> wrote:
> Persona is Mozilla work.

Note that Persona *does* build on the JOSE standards, so Web Payments
at least relies on the JOSE work indirectly.

(And thanks for providing some context, Harry.)

Cheers,

Dirkjan

From msporny@digitalbazaar.com  Thu Dec 12 05:57:26 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5276E1AE2B5 for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 05:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iy64QWF5Zvwm for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 05:57:24 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id E618A1ADE8A for <jose@ietf.org>; Thu, 12 Dec 2013 05:57:23 -0800 (PST)
Received: from zoe.digitalbazaar.com ([192.168.0.99] ident=msporny) by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1Vr6lS-0004Th-0P for jose@ietf.org; Thu, 12 Dec 2013 08:57:18 -0500
Message-ID: <52A9C0BD.3050207@digitalbazaar.com>
Date: Thu, 12 Dec 2013 08:57:17 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131005 Icedove/17.0.9
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <2D264A57-D7DE-426F-9CBD-9DE1F82CE2FE@padl.com>
In-Reply-To: <2D264A57-D7DE-426F-9CBD-9DE1F82CE2FE@padl.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 13:57:26 -0000

On 12/11/2013 08:00 PM, Luke Howard wrote:
> I'd rather have algorithm agility in the spec and a separate profile
>  for a particular use case (which can, say, require only one 
> algorithm being mandatory to implement) than baking the algorithm in 
> the spec.

There is the equivalent to algorithm agility in SM, read the comments in
the blog post for details:

http://manu.sporny.org/2013/sm-vs-jose/#comment-2763

> And PEM-inside-JSON just seems a bit ugly to me

Yes, it's ugly, but it also ensures that when Web developers copy/paste
the public keys around (which they will), they won't accidentally
truncate the key data (or if they do, it'll be clear that they did).

This was one of the areas that we could align with the JOSE specs, on
key format. However, it seems as if PEM-encoded keys are less dangerous
to pass around among Web developers than the way they're expressed in JOSE.

> I don't really buy the implementation complexity argument when there 
> are already plenty of libraries that will do the heavy lifting for 
> you.

It's not just implementation complexity for library implementers, which
is bad. It's also implementation complexity for the entire stack, all
the way up to the application layer. It's also cognitive complexity for
the developers using the libraries, they will feel like they have to go
off and understand all of those key parameters when 90%+ of the time,
the defaults will be fine.

The question we asked ourselves wrt. algorithm agility was: Is this
algorithm agility feature buying anything significant?

The answer, each time we asked the question, was no. For 90%+ of the use
cases, there is typically a set of defaults that most developers use.
Look at the way HTTPS is configured on most Web servers - developers and
sysadmins use the defaults 90%+ of the time. The same could easily be
applied to crypto parameters as the only people that truly care about
being able to fiddle with those parameters are security/crypto folks.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Meritora - Web payments commercial launch
http://blog.meritora.com/launch/

From msporny@digitalbazaar.com  Thu Dec 12 08:19:42 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E50C1ADFE0 for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 08:19:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5SLJQek9tY6J for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 08:19:39 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id B908C1ADF5E for <jose@ietf.org>; Thu, 12 Dec 2013 08:19:39 -0800 (PST)
Received: from zoe.digitalbazaar.com ([192.168.0.99] ident=msporny) by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1Vr8z7-0007RQ-Tn for jose@ietf.org; Thu, 12 Dec 2013 11:19:33 -0500
Message-ID: <52A9E215.7010801@digitalbazaar.com>
Date: Thu, 12 Dec 2013 11:19:33 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131005 Icedove/17.0.9
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <52A8FE9A.70802@isoc.org> <931AD4DB-2479-46B2-A641-C56B923DCA2C@ve7jtb.com>
In-Reply-To: <931AD4DB-2479-46B2-A641-C56B923DCA2C@ve7jtb.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 16:19:42 -0000

On 12/11/2013 08:38 PM, John Bradley wrote:
> Some of the comments are based on earlier drafts.

Yes, the blog post was created in August 2013, the research for the post
was done in July 2013, and the latest specs at that time were used.

> There are issues with using x.509 certificate representations in some
> circumstances where you are using self signed keys rather than a pkix
> trust model. Some will likely observer that making PEM the only 
> format and relying on certificate processing is fine if you are in a
>  pkix/ca world like the payment industry.

Keep in mind that the only place we use PEM encoding is for the
expression of public and private keys. We don't use PEM anywhere else in
the stack, IIRC.

> Others may not find that path as attractive.

Others like who? :) I'm sure there are others, and I want to make sure
we're not missing out on a large use case. Let me reiterate that we're
not greatly interested in corner cases with the SM specs. If there are
corner cases that need to be addressed, the JOSE stack is capable of
addressing those corner cases.

> It is interesting feedback, I understand the argument for simplicity,
> however the desire to serve broad communities is something that needs
> to be strongly considered.

I think it would be more productive to understand which "broad
community" isn't being considered with the SM work and whether the
addition of complexity to the specification outweighs the benefit of
supporting that community.

> I also didn't see anything on requiring integrity for encryption in 
> the comparison, but I can't imagine that they would only support 
> AES-CBC with it's well understood security problems as the ony 
> encryption option.   I will need to look at the actual spec.

In general, we will support the minimum set of encryption methods
necessary to make the security community happy (ideally, there would be
one, which would be deprecated and updated every few years).

The exact suite and parameters isn't as important as trying to ensure
that there is just one mechanism every few years. It simplifies the
range of input that applications need to deal with and test. It
simplifies the number of parameters that developers need to deal with
and understand.

> There are ways to do a number of things to support the SM trust model
> in JOSE. "jku":"http://example.org/manu/keys/5"   vs "creator":
> "http://example.org/manu/keys/5"
> 
> In JOSE there is a logical separation between the identity of the 
> signer and the location of the key.  In SM for simplicity identity 
> and location may the same thing.

No, that's not the case in SM. The identity and the keys are logically
separated.

Here's my test identity (curl to get the JSON-LD representation):

https://dev.payswarm.com/i/manu

Here's one of the keys associated with my test identity:

https://dev.payswarm.com/i/manu/keys/17

The reason we use the "creator" terminology is because the entity that
created the signature is the key:

http://dublincore.org/documents/dces/#creator

There is a link from the key to the owner of that key (this command will
give you the JSON-LD representation for that key):

curl "https://dev.payswarm.com/i/manu/keys/17"

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Meritora - Web payments commercial launch
http://blog.meritora.com/launch/

From watsonm@netflix.com  Thu Dec 12 09:17:22 2013
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 934451AE363 for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 09:17:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EgBq4FcYCl1K for <jose@ietfa.amsl.com>; Thu, 12 Dec 2013 09:17:21 -0800 (PST)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 1326C1AE059 for <jose@ietf.org>; Thu, 12 Dec 2013 09:17:20 -0800 (PST)
Received: by mail-wi0-f174.google.com with SMTP id z2so9039718wiv.1 for <jose@ietf.org>; Thu, 12 Dec 2013 09:17:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=t/Bz65nFdMy0H7AQlT5XPpkHcieKSBfRUvKfAa2Ccww=; b=opd+TqDZtHLprXEKSrItvT4KRLFiWbu5KqyGdLOFQhTV5YVFe9eNUdmsVSCqLS5G21 D6cBIpJHv71wsZ38BD49TYCK7B1lJwxwkkd1EljGENE3f7lQF278fFUTSE0bc6wrsoTZ 9lK9AVLCyt40uqrhS56k/Or5xghQtJwVf4aW8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=t/Bz65nFdMy0H7AQlT5XPpkHcieKSBfRUvKfAa2Ccww=; b=h1bfGm/3yst60qb6nZpr3+aMngDO4nFMM+QXBdUEi7mXWVclH0mRRmE1D10cqjEaBV wR8yNeJw2XHq9lOmJbnsZ3ZfXg3wVaZnYAUDzSx3dLKhZRAqcHsmDgWh5kLw8OHVMlvG p2mKyQFexDo//61NYKIhUlPVXPhsWLGY0lDKWNKRDqgf1wix172j3kXT4FklJFmZEVRr hAJEEuVlW3dfrHSCaVuPNy5qzGeseOoU7A55AKVumgIy+WIfVh0D+DHLA2B6ht5kK3cJ 8+AiqhFR81t7FowwvMr2ug2eNU2csPzi4KPoYX9kCENYhFL1mfKgpJur03FtIg361CJ+ LGmw==
X-Gm-Message-State: ALoCoQlg+ZaibwmPgTFxxY7z8LHqMYUUER+ycBdcW/h/bbsApjxf2wHp8pKXLygCzsl64QFA9QPs
MIME-Version: 1.0
X-Received: by 10.194.21.225 with SMTP id y1mr7689764wje.60.1386868634561; Thu, 12 Dec 2013 09:17:14 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Thu, 12 Dec 2013 09:17:14 -0800 (PST)
In-Reply-To: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
Date: Thu, 12 Dec 2013 09:17:14 -0800
Message-ID: <CAEnTvdCxyQA=wv9dfAc5-11GF0K464QSDNjPCJ4vHVtN9NH0wQ@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b5d98ab5048db04ed598408
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2013 17:17:22 -0000

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

Another resend at the request of the list admin. Apologies if you get this
multiple times.

...Mark


On Tue, Dec 10, 2013 at 1:08 PM, Mark Watson <watsonm@netflix.com> wrote:

> All,
>
> Currently, the JWK "use" attribute effectively distinguishes between JWE
> ("enc") and JWA ("sign").
>
> However, additional uses can be added to the registry and the W3C
> WebCrypto group is planning to register use values corresponding to the
> KeyUsage values defined for WebCrypto Key objects. These KeyUsage values
> include, for example, encrypt, decrypt, sign, verify, wrap, unwrap etc.
>
> A WebCrypto Key object may have multiple KeyUsages and so we have a
> question as to how to represent that in JWK.
>
> One proposal is to allow the use string to contain a comma-separated list
> of values. We could register such a scheme directly with IANA.
>
> It would be cleaner, though, since this is JSON, to allow this attribute
> to have Array type where two or more usages are to be represented (it would
> remain a string for the single-usage case). I've also had some negative
> feedback from implemetors about the comma-separated-value idea along
> yet-another-string-parser lines.
>
> Would it be possible to modify the Registry for JWK use values to allow
> data types other than String to be registered ?
>
> ...Mark
>
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Ano=
ther resend at the request of the list admin. Apologies if you get this mul=
tiple times.</div><div class=3D"gmail_default" style=3D"font-size:small"><b=
r></div>
<div class=3D"gmail_default" style=3D"font-size:small">...Mark</div><div cl=
ass=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, Dec 10, 2013=
 at 1:08 PM, Mark Watson <span dir=3D"ltr">&lt;<a href=3D"mailto:watsonm@ne=
tflix.com" target=3D"_blank">watsonm@netflix.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-size:sma=
ll">All,</div><div style=3D"font-size:small"><br></div><div style=3D"font-s=
ize:small">
Currently, the JWK &quot;use&quot; attribute effectively distinguishes betw=
een JWE (&quot;enc&quot;) and JWA (&quot;sign&quot;).<br>
</div><div style=3D"font-size:small"><br></div><div style=3D"font-size:smal=
l">However, additional uses can be added to the registry and the W3C WebCry=
pto group is planning to register use values corresponding to the KeyUsage =
values defined for WebCrypto Key objects. These KeyUsage values include, fo=
r example, encrypt, decrypt, sign, verify, wrap, unwrap etc.</div>

<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">A W=
ebCrypto Key object may have multiple KeyUsages and so we have a question a=
s to how to represent that in JWK.</div>
<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">One=
 proposal is to allow the use string to contain a comma-separated list of v=
alues. We could register such a scheme directly with IANA.</div>
<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">It =
would be cleaner, though, since this is JSON, to allow this attribute to ha=
ve Array type where two or more usages are to be represented (it would rema=
in a string for the single-usage case). I&#39;ve also had some negative fee=
dback from implemetors about the comma-separated-value idea along yet-anoth=
er-string-parser lines.</div>

<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">Wou=
ld it be possible to modify the Registry for JWK use values to allow data t=
ypes other than String to be registered ?</div><span class=3D"HOEnZb"><font=
 color=3D"#888888">
<div style=3D"font-size:small"><br></div><div style=3D"font-size:small">...=
Mark</div><div style=3D"font-size:small"><br></div><div style=3D"font-size:=
small">
<br></div></font></span></div>
</blockquote></div><br></div></div>

--047d7b5d98ab5048db04ed598408--

From trac+jose@trac.tools.ietf.org  Fri Dec 13 09:46:04 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A5221AE363 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:46:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 265Xv3z97NDQ for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:46:02 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 6FDAC1ADF7E for <jose@ietf.org>; Fri, 13 Dec 2013 09:46:02 -0800 (PST)
Received: from localhost ([127.0.0.1]:34388 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrWoB-0005jY-CD; Fri, 13 Dec 2013 18:45:51 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 17:45:51 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/73#comment:1
Message-ID: <076.5c4b4cecc3a87b6101e54748180aae68@trac.tools.ietf.org>
References: <061.584645cf99965c63c773ddc04a85bdc9@trac.tools.ietf.org>
X-Trac-Ticket-ID: 73
In-Reply-To: <061.584645cf99965c63c773ddc04a85bdc9@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #73: Section 3.4 - "kid" (Key ID) Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 17:46:04 -0000

#73: Section 3.4 - "kid" (Key ID) Parameter

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 09:47:45 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38F191ADF7E for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:47:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E8LlzdDzVACE for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:47:44 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id DF1EF1ADE84 for <jose@ietf.org>; Fri, 13 Dec 2013 09:47:43 -0800 (PST)
Received: from localhost ([127.0.0.1]:34486 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrWpq-0003sx-Uy; Fri, 13 Dec 2013 18:47:34 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 17:47:34 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/74#comment:3
Message-ID: <076.2b58b78f900798d22d7035b7a720900f@trac.tools.ietf.org>
References: <061.de6cc989f186d2424013c9673476611e@trac.tools.ietf.org>
X-Trac-Ticket-ID: 74
In-Reply-To: <061.de6cc989f186d2424013c9673476611e@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #74: Section 3.5 - "x5u" (X.509 URL) Header Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 17:47:45 -0000

#74: Section 3.5 - "x5u" (X.509 URL) Header Parameter

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 09:51:28 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B5AB1ADE84 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:51:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y2lekCNDV1uZ for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:51:27 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id C0D721AD7BE for <jose@ietf.org>; Fri, 13 Dec 2013 09:51:26 -0800 (PST)
Received: from localhost ([127.0.0.1]:34697 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrWtS-0004Ii-ID; Fri, 13 Dec 2013 18:51:18 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 17:51:18 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/79#comment:1
Message-ID: <076.0c80bbc48f97edb8f4fed882c7574417@trac.tools.ietf.org>
References: <061.ecd4dc1525e17170ba2bb355e283e0bf@trac.tools.ietf.org>
X-Trac-Ticket-ID: 79
In-Reply-To: <061.ecd4dc1525e17170ba2bb355e283e0bf@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #79: Validation of JWK objects and JWK sets
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 17:51:28 -0000

#79: Validation of JWK objects and JWK sets

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 09:53:20 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 57F2D1AE366 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:53:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mu3Zg3m39LzM for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 09:53:19 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 3D0BE1AE34E for <jose@ietf.org>; Fri, 13 Dec 2013 09:53:17 -0800 (PST)
Received: from localhost ([127.0.0.1]:34759 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrWvC-0004Wj-A2; Fri, 13 Dec 2013 18:53:06 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, michael.jones@microsoft.com,  ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 17:53:06 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/82#comment:4
Message-ID: <076.c095b4433077b5d6a689fa08db22c8c1@trac.tools.ietf.org>
References: <061.ed2dc15f379477074fd266a8f9af62ba@trac.tools.ietf.org>
X-Trac-Ticket-ID: 82
In-Reply-To: <061.ed2dc15f379477074fd266a8f9af62ba@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #82: Section 6. Encrypted JWK and Encrypted JWK Set Format
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 17:53:20 -0000

#82: Section 6. Encrypted JWK and Encrypted JWK Set Format

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:01:50 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 607D71ADF7E for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:01:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id evMcrHHAUIeT for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:01:48 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id A1E8E1ADF77 for <jose@ietf.org>; Fri, 13 Dec 2013 10:01:48 -0800 (PST)
Received: from localhost ([127.0.0.1]:35138 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrX3Q-0000Sc-BE; Fri, 13 Dec 2013 19:01:36 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:01:36 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/69#comment:2
Message-ID: <076.615807f5e863ecd4b8dc013a720489b2@trac.tools.ietf.org>
References: <061.37657b5db32452128b768634914cde03@trac.tools.ietf.org>
X-Trac-Ticket-ID: 69
In-Reply-To: <061.37657b5db32452128b768634914cde03@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #69: Section 3.1 - "kty" (Key Type) Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:01:50 -0000

#69: Section 3.1 - "kty" (Key Type) Parameter

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:03:10 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F4611ADF7E for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:03:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id adhH8_zMLuD5 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:03:09 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id B1E181ADF77 for <jose@ietf.org>; Fri, 13 Dec 2013 10:03:08 -0800 (PST)
Received: from localhost ([127.0.0.1]:35205 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrX4m-0007k3-Eu; Fri, 13 Dec 2013 19:03:00 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:03:00 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/76#comment:2
Message-ID: <076.13e0557afbd598d08e30dc18d4e657ed@trac.tools.ietf.org>
References: <061.e3d6f166ee89f801e772e1e158b12f8d@trac.tools.ietf.org>
X-Trac-Ticket-ID: 76
In-Reply-To: <061.e3d6f166ee89f801e772e1e158b12f8d@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-key@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #76: Seciton 3.6 - "x5t" (X.509 Certificate Thumbprint) Header Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:03:10 -0000

#76: Seciton 3.6 - "x5t" (X.509 Certificate Thumbprint) Header Parameter

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:08:26 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B8F5B1AE375 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:08:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lL9HhTgwf-BF for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:08:25 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 19D111AE393 for <jose@ietf.org>; Fri, 13 Dec 2013 10:08:25 -0800 (PST)
Received: from localhost ([127.0.0.1]:35372 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrX9m-0003yP-W6; Fri, 13 Dec 2013 19:08:10 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:08:10 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/110#comment:1
Message-ID: <076.8272611e85984c9bafde31cd267297a7@trac.tools.ietf.org>
References: <061.dd24c84cb705d6597011c73f95e04104@trac.tools.ietf.org>
X-Trac-Ticket-ID: 110
In-Reply-To: <061.dd24c84cb705d6597011c73f95e04104@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #110: Section 4.1.7 "kid" (Key ID) Header Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:08:27 -0000

#110: Section 4.1.7 "kid" (Key ID) Header Parameter

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:11:47 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E2B51ADF5C for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:11:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M53P1yuGhXLa for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:11:40 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 94D881AD939 for <jose@ietf.org>; Fri, 13 Dec 2013 10:11:40 -0800 (PST)
Received: from localhost ([127.0.0.1]:35466 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXD0-0002L0-B3; Fri, 13 Dec 2013 19:11:30 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:11:30 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/114#comment:3
Message-ID: <076.8f372407351e35f57e3780327d60e502@trac.tools.ietf.org>
References: <061.72a07d6d6528788a71f3544d30717030@trac.tools.ietf.org>
X-Trac-Ticket-ID: 114
In-Reply-To: <061.72a07d6d6528788a71f3544d30717030@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #114: Section 4.1.10 "crit" (Critical) Header Parameter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:11:47 -0000

#114: Section 4.1.10 "crit" (Critical) Header Parameter

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:25:15 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99F441AE142 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:25:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wRSJoV5oWJI9 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:25:13 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 8A0981AE10A for <jose@ietf.org>; Fri, 13 Dec 2013 10:25:13 -0800 (PST)
Received: from localhost ([127.0.0.1]:36432 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXQ1-0005GN-EU; Fri, 13 Dec 2013 19:24:57 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:24:57 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/115#comment:1
Message-ID: <076.fa392768f8f6b16b85beeb0692308158@trac.tools.ietf.org>
References: <061.6dec31e3a65707ca51832e102bca61fa@trac.tools.ietf.org>
X-Trac-Ticket-ID: 115
In-Reply-To: <061.6dec31e3a65707ca51832e102bca61fa@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #115: Section 5.1. Message Signing or MACin
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:25:15 -0000

#115: Section 5.1. Message Signing or MACin

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:48:04 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8D161ADFE5 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:48:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QOoDOz-67dMM for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:48:02 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id A6EF31AD939 for <jose@ietf.org>; Fri, 13 Dec 2013 10:48:02 -0800 (PST)
Received: from localhost ([127.0.0.1]:37227 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXm7-000066-4w; Fri, 13 Dec 2013 19:47:47 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:47:47 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/116#comment:1
Message-ID: <076.f115febdc56957a3bb0f4ea9a2c99af7@trac.tools.ietf.org>
References: <061.69c5cf506d25340598d1b263cfb10771@trac.tools.ietf.org>
X-Trac-Ticket-ID: 116
In-Reply-To: <061.69c5cf506d25340598d1b263cfb10771@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #116: Section 5.2. Message Signature or MAC Validation
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:48:04 -0000

#116: Section 5.2. Message Signature or MAC Validation

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:48:59 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3AC81ADFE5 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:48:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fDKVccZepgIv for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:48:55 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 46EF71AD939 for <jose@ietf.org>; Fri, 13 Dec 2013 10:48:55 -0800 (PST)
Received: from localhost ([127.0.0.1]:37249 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXn4-0002Ak-8g; Fri, 13 Dec 2013 19:48:46 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:48:46 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/117#comment:1
Message-ID: <076.28f300866ff7f37a81dd662a6c8a8684@trac.tools.ietf.org>
References: <061.f35b1c196882c7500da9bf23c682a1cc@trac.tools.ietf.org>
X-Trac-Ticket-ID: 117
In-Reply-To: <061.f35b1c196882c7500da9bf23c682a1cc@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #117: Section 5.3. String Comparison Rules
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:48:59 -0000

#117: Section 5.3. String Comparison Rules

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:50:12 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C5551AE6E8 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:50:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zSwONX1oVpZf for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:50:11 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 1C4281ADFE5 for <jose@ietf.org>; Fri, 13 Dec 2013 10:50:10 -0800 (PST)
Received: from localhost ([127.0.0.1]:37261 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXoG-0004uI-CH; Fri, 13 Dec 2013 19:50:00 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:50:00 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/119#comment:2
Message-ID: <076.a3bcf77f554b30a25eae503c9b0e776b@trac.tools.ietf.org>
References: <061.f8d044206f0c93f6c4d37595a8d80407@trac.tools.ietf.org>
X-Trac-Ticket-ID: 119
In-Reply-To: <061.f8d044206f0c93f6c4d37595a8d80407@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #119: Section 7. Serializations
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:50:12 -0000

#119: Section 7. Serializations

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 10:52:44 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BEC71ADFE5 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:52:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qlm7R-YoN0dA for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 10:52:43 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id E337E1AD939 for <jose@ietf.org>; Fri, 13 Dec 2013 10:52:42 -0800 (PST)
Received: from localhost ([127.0.0.1]:37352 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXqh-0000Cu-Up; Fri, 13 Dec 2013 19:52:31 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 18:52:31 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/120#comment:2
Message-ID: <076.0e00910d9fb6d14dd67b318edb9c730d@trac.tools.ietf.org>
References: <061.1fada2d389355a2bfc6ff211e3465dfa@trac.tools.ietf.org>
X-Trac-Ticket-ID: 120
In-Reply-To: <061.1fada2d389355a2bfc6ff211e3465dfa@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #120: Section 7.1. JWS Compact Serialization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 18:52:44 -0000

#120: Section 7.1. JWS Compact Serialization

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:00:25 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E13F11AE3A3 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:00:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kh73Nd4vYdTP for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:00:23 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id D99511ADEBA for <jose@ietf.org>; Fri, 13 Dec 2013 11:00:22 -0800 (PST)
Received: from localhost ([127.0.0.1]:37612 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrXy9-00034m-UL; Fri, 13 Dec 2013 20:00:13 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:00:13 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/129#comment:2
Message-ID: <076.718f650903a4dc68498ffa5ef45cde7d@trac.tools.ietf.org>
References: <061.f3c8996ad6e2e21f7fbacac9a2729ddf@trac.tools.ietf.org>
X-Trac-Ticket-ID: 129
In-Reply-To: <061.f3c8996ad6e2e21f7fbacac9a2729ddf@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #129: Section 3.2 MAC with HMAC SHA-2 Functions
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:00:26 -0000

#129: Section 3.2 MAC with HMAC SHA-2 Functions

Changes (by ietf@augustcellars.com):

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


Comment:

 No reference for bullet C to the security considerations, but the details
 are present there.

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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:03:19 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A98FB1AE3B8 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:03:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fHRS-suehNDO for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:03:18 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 433FF1AE3A3 for <jose@ietf.org>; Fri, 13 Dec 2013 11:03:18 -0800 (PST)
Received: from localhost ([127.0.0.1]:37711 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrY0y-0006HS-2v; Fri, 13 Dec 2013 20:03:08 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:03:08 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/134#comment:4
Message-ID: <076.ee7131f56bb0f697a04505b720422d25@trac.tools.ietf.org>
References: <061.a82cc1dda0c5aca239fdd7e55d74b2ca@trac.tools.ietf.org>
X-Trac-Ticket-ID: 134
In-Reply-To: <061.a82cc1dda0c5aca239fdd7e55d74b2ca@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #134: Section 4.1 "alg" (Algorithm) Header Parameter Values for JWE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:03:20 -0000

#134: Section 4.1 "alg" (Algorithm) Header Parameter Values for JWE

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:04:36 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E45C1ADFE1 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:04:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A06k-2XIZyJc for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:04:35 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id BBD341ADF80 for <jose@ietf.org>; Fri, 13 Dec 2013 11:04:34 -0800 (PST)
Received: from localhost ([127.0.0.1]:37735 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrY2E-00039E-94; Fri, 13 Dec 2013 20:04:26 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:04:26 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/135#comment:1
Message-ID: <076.11ae287dde26bd99905c0c499a61c172@trac.tools.ietf.org>
References: <061.b151fb531eeeb52c5aec54c12a63dc8d@trac.tools.ietf.org>
X-Trac-Ticket-ID: 135
In-Reply-To: <061.b151fb531eeeb52c5aec54c12a63dc8d@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #135: Separate key management and content encryption algorithsm to separate top level sections
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:04:36 -0000

#135: Separate key management and content encryption algorithsm to separate top
level sections

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:14:39 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EEE21ADFEC for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:14:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jaRnIY9GDSTG for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:14:37 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 364DB1ADFD1 for <jose@ietf.org>; Fri, 13 Dec 2013 11:14:37 -0800 (PST)
Received: from localhost ([127.0.0.1]:38072 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYBw-0007p9-GP; Fri, 13 Dec 2013 20:14:28 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:14:28 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/158#comment:2
Message-ID: <076.a2856e42247314b2b423fac0bbb743ed@trac.tools.ietf.org>
References: <061.3c673ad4841c1cc6c7ff45f10da106b1@trac.tools.ietf.org>
X-Trac-Ticket-ID: 158
In-Reply-To: <061.3c673ad4841c1cc6c7ff45f10da106b1@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #158: Section 7. Security Considerations
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:14:39 -0000

#158: Section 7. Security Considerations

Description changed by ietf@augustcellars.com:

Old description:

> A.  DSS does not appear to have a security considerations section.  It is
> not clear the entire list of documents has any good reason to be
> considered in this list.  This appears to just be a shotgun approach
> rather than a considered approach.
>
> B.  Algorithms will be deprecated in the registry rather than removed
> from this specification
>
> C.  Where do I find the security considerations for use of the algorithms
> in this document?  The general statement without pointers is going to
> mean it is ignored.
>
> * FIXED
>
> D.  Is the recommendation for matching the key size of the wrapped key
> and the wrapping key in the body of the text or is it just here?
>
> * FIXED

New description:

 A.  DSS does not appear to have a security considerations section.  It is
 not clear the entire list of documents has any good reason to be
 considered in this list.  This appears to just be a shotgun approach
 rather than a considered approach.

 * REVIEW as part of Last Call

 B.  Algorithms will be deprecated in the registry rather than removed from
 this specification

 * FIXED

 C.  Where do I find the security considerations for use of the algorithms
 in this document?  The general statement without pointers is going to mean
 it is ignored.

 * FIXED

 D.  Is the recommendation for matching the key size of the wrapped key and
 the wrapping key in the body of the text or is it just here?

 * FIXED

--

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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:20:01 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E12DD1AE3D8 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:20:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TJYzXki1ahgS for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:20:00 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 5B6F21AE3D7 for <jose@ietf.org>; Fri, 13 Dec 2013 11:20:00 -0800 (PST)
Received: from localhost ([127.0.0.1]:38518 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYH9-00077i-DH; Fri, 13 Dec 2013 20:19:51 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:19:51 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/161#comment:3
Message-ID: <076.c6d23a5a86e3dad81e2b627df55dce64@trac.tools.ietf.org>
References: <061.6ba88815f352145268090ad0642c3ee3@trac.tools.ietf.org>
X-Trac-Ticket-ID: 161
In-Reply-To: <061.6ba88815f352145268090ad0642c3ee3@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #161: 7.8 Password Considerations
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:20:02 -0000

#161: 7.8 Password Considerations

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:31:48 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E5C01AE0F3 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:31:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KX8o0YjH28bQ for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:31:46 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 319DA1ADF74 for <jose@ietf.org>; Fri, 13 Dec 2013 11:31:46 -0800 (PST)
Received: from localhost ([127.0.0.1]:39152 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYSM-0000tm-70; Fri, 13 Dec 2013 20:31:26 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:31:26 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/174#comment:1
Message-ID: <076.3281c3c56a40478c87fa8e722f31c5d5@trac.tools.ietf.org>
References: <061.293bb772c281da6f46a5715046ec44c9@trac.tools.ietf.org>
X-Trac-Ticket-ID: 174
In-Reply-To: <061.293bb772c281da6f46a5715046ec44c9@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ekr@rtfm.com, jhildebr@cisco.com, mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #174: Section 5.1 Message Enryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:31:48 -0000

#174: Section 5.1 Message Enryption

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:54:36 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0831B1AE110 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:54:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pzirry05mFS3 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:54:34 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id F1A9B1AE17A for <jose@ietf.org>; Fri, 13 Dec 2013 11:54:33 -0800 (PST)
Received: from localhost ([127.0.0.1]:39795 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYoV-0001aL-Pe; Fri, 13 Dec 2013 20:54:19 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:54:19 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/175#comment:1
Message-ID: <076.574bcb8e1b3a280ed95341a06f429b68@trac.tools.ietf.org>
References: <061.fe106c20f7f9a1834123ea6d5e0586b1@trac.tools.ietf.org>
X-Trac-Ticket-ID: 175
In-Reply-To: <061.fe106c20f7f9a1834123ea6d5e0586b1@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ekr@rtfm.com, jhildebr@cisco.com, mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #175: Section 5.2. Message Decryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:54:36 -0000

#175: Section 5.2. Message Decryption

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:55:21 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71D0D1AE110 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:55:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KjzDv7myxks4 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:55:19 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id B0B431AE6D4 for <jose@ietf.org>; Fri, 13 Dec 2013 11:55:19 -0800 (PST)
Received: from localhost ([127.0.0.1]:39831 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYpK-0007Sr-11; Fri, 13 Dec 2013 20:55:10 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:55:10 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/176#comment:2
Message-ID: <076.724d49fe94481c22dd97c6f62d6b99ad@trac.tools.ietf.org>
References: <061.c3a83317e481f5db54ec192392732851@trac.tools.ietf.org>
X-Trac-Ticket-ID: 176
In-Reply-To: <061.c3a83317e481f5db54ec192392732851@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ekr@rtfm.com, jhildebr@cisco.com, mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #176: Section 7 - Serializations
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:55:21 -0000

#176: Section 7 - Serializations

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:56:08 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 672F11AE3DA for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:56:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b-666KUkhien for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:56:06 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id E205C1AE6EB for <jose@ietf.org>; Fri, 13 Dec 2013 11:56:05 -0800 (PST)
Received: from localhost ([127.0.0.1]:39871 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYq3-0003eZ-As; Fri, 13 Dec 2013 20:55:55 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:55:55 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/177#comment:1
Message-ID: <076.f443638f3f8b0924cf0ae37f5e87db86@trac.tools.ietf.org>
References: <061.6ca0a3c7d384294d29942b4d1692d03e@trac.tools.ietf.org>
X-Trac-Ticket-ID: 177
In-Reply-To: <061.6ca0a3c7d384294d29942b4d1692d03e@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ekr@rtfm.com, jhildebr@cisco.com, mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #177: Section 7.1 JWE Compact Serialization
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:56:09 -0000

#177: Section 7.1 JWE Compact Serialization

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 11:58:25 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E63581ADF6B for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:58:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GFRsBjnnerCz for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 11:58:24 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 503DD1AD8D5 for <jose@ietf.org>; Fri, 13 Dec 2013 11:58:24 -0800 (PST)
Received: from localhost ([127.0.0.1]:39932 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYsH-0000dI-Hj; Fri, 13 Dec 2013 20:58:13 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 19:58:13 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/179#comment:3
Message-ID: <076.d2706df68a2beb4f3ec98e76f1aa2271@trac.tools.ietf.org>
References: <061.fb826b8ba7bec1ec000efdf9636ac43d@trac.tools.ietf.org>
X-Trac-Ticket-ID: 179
In-Reply-To: <061.fb826b8ba7bec1ec000efdf9636ac43d@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-encryption@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ekr@rtfm.com, jhildebr@cisco.com, mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #179: Section 8 Distingusihng between JWS and JWE objects
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 19:58:26 -0000

#179: Section 8 Distingusihng between JWS and JWE objects

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 12:00:46 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1AE11AE716 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 12:00:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xULr7QMQQUaa for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 12:00:44 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id C99E71AE6FF for <jose@ietf.org>; Fri, 13 Dec 2013 12:00:37 -0800 (PST)
Received: from localhost ([127.0.0.1]:40008 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VrYuP-0007A4-28; Fri, 13 Dec 2013 21:00:25 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-encryption@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 20:00:25 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/180#comment:2
Message-ID: <076.25aeae8a772315478f6351cb3ac5e599@trac.tools.ietf.org>
References: <061.8a900bad714c22afc90945dd9968dd4b@trac.tools.ietf.org>
X-Trac-Ticket-ID: 180
In-Reply-To: <061.8a900bad714c22afc90945dd9968dd4b@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-encryption@tools.ietf.org, michael.jones@microsoft.com, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ekr@rtfm.com, jhildebr@cisco.com, mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #180: Section 10. Security considerations
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 20:00:47 -0000

#180: Section 10. Security considerations

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 13:40:26 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C47381AE1B2 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:40:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ueocSmBAEyCp for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:40:24 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id EC7671AE052 for <jose@ietf.org>; Fri, 13 Dec 2013 13:40:23 -0800 (PST)
Received: from localhost ([127.0.0.1]:44855 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VraSW-0006b4-Nd; Fri, 13 Dec 2013 22:39:44 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 21:39:44 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/184#comment:1
Message-ID: <076.06fddb06612b1768710baabf562da8ab@trac.tools.ietf.org>
References: <061.6044218097d4ab1bc9ff200ae3b0113e@trac.tools.ietf.org>
X-Trac-Ticket-ID: 184
In-Reply-To: <061.6044218097d4ab1bc9ff200ae3b0113e@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-signature@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com, n-sakimura@nri.co.jp, ve7jtb@ve7jtb.com
Cc: jose@ietf.org
Subject: Re: [jose] #184: Parsing for application/ in ctyp field
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 21:40:27 -0000

#184: Parsing for application/ in ctyp field

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 13:43:55 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 214401AE327 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:43:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oh9e0LoKgxnz for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:43:53 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id 8E5231AE03B for <jose@ietf.org>; Fri, 13 Dec 2013 13:43:53 -0800 (PST)
Received: from localhost ([127.0.0.1]:44962 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VraWO-0008CN-VE; Fri, 13 Dec 2013 22:43:44 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 21:43:44 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/185#comment:1
Message-ID: <075.2761c8849e2871973561c99342ff4b36@trac.tools.ietf.org>
References: <060.23680e624f514a750cf6a45deebf4553@trac.tools.ietf.org>
X-Trac-Ticket-ID: 185
In-Reply-To: <060.23680e624f514a750cf6a45deebf4553@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-json-web-algorithms@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mbj@microsoft.com
Cc: jose@ietf.org
Subject: Re: [jose] #185: JWA Appendix A: Add missing JCA identifiers for PS256, RS384 and PS512
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 21:43:55 -0000

#185: JWA Appendix A: Add missing JCA identifiers for PS256, RS384 and PS512

Changes (by ietf@augustcellars.com):

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


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

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


From trac+jose@trac.tools.ietf.org  Fri Dec 13 13:47:15 2013
Return-Path: <trac+jose@trac.tools.ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 574921AE03B for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:47:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P9OtxrmAD3MO for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:47:14 -0800 (PST)
Received: from grenache.tools.ietf.org (grenache.tools.ietf.org [IPv6:2a01:3f0:1:2::30]) by ietfa.amsl.com (Postfix) with ESMTP id D37B01ADF6C for <jose@ietf.org>; Fri, 13 Dec 2013 13:47:13 -0800 (PST)
Received: from localhost ([127.0.0.1]:45101 helo=grenache.tools.ietf.org ident=www-data) by grenache.tools.ietf.org with esmtp (Exim 4.80) (envelope-from <trac+jose@trac.tools.ietf.org>) id 1VraZd-0008Aq-3u; Fri, 13 Dec 2013 22:47:05 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "jose issue tracker" <trac+jose@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-jose-cookbook@tools.ietf.org, ietf@augustcellars.com
X-Trac-Project: jose
Date: Fri, 13 Dec 2013 21:47:04 -0000
X-URL: http://tools.ietf.org/jose/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/jose/trac/ticket/181#comment:2
Message-ID: <076.04748fafdd521d8938c578276a7a5b42@trac.tools.ietf.org>
References: <061.59d29694a11e22ba6c1945a7ec434561@trac.tools.ietf.org>
X-Trac-Ticket-ID: 181
In-Reply-To: <061.59d29694a11e22ba6c1945a7ec434561@trac.tools.ietf.org>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Rcpt-To: draft-ietf-jose-cookbook@tools.ietf.org, ietf@augustcellars.com, jose@ietf.org
X-SA-Exim-Mail-From: trac+jose@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on grenache.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: mamille2@cisco.com
Cc: jose@ietf.org
Subject: Re: [jose] #181: Examples
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 21:47:15 -0000

#181: Examples

Changes (by ietf@augustcellars.com):

 * owner:  draft-ietf-jose-json-web-encryption@tools.ietf.org => draft-ietf-
     jose-cookbook@tools.ietf.org
 * component:  json-web-encryption => cookbook


-- 
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  draft-ietf-jose-
  ietf@augustcellars.com |  cookbook@tools.ietf.org
     Type:  defect       |      Status:  new
 Priority:  Editorial    |   Milestone:
Component:  cookbook     |     Version:
 Severity:  -            |  Resolution:
 Keywords:               |
-------------------------+-------------------------------------------------

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


From ietf-secretariat-reply@ietf.org  Fri Dec 13 13:47:58 2013
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 363931AE03B for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:47:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dNI6sWU_GHYq for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:47:57 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 284FE1AE31C for <jose@ietf.org>; Fri, 13 Dec 2013 13:47:56 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
To: jose@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.83.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131213214756.28268.32558.idtracker@ietfa.amsl.com>
Date: Fri, 13 Dec 2013 13:47:56 -0800
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Subject: [jose] Milestones changed for jose WG
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 21:47:58 -0000

Changed milestone "Submit JSON "cookbook" as a WG document.", resolved
as "Done".

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

From ietf-secretariat-reply@ietf.org  Fri Dec 13 13:53:02 2013
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D9A51AE3AB for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:53:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F_JnQCPN4FEv for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 13:53:01 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id DDFD01AE401 for <jose@ietf.org>; Fri, 13 Dec 2013 13:52:59 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
To: jose@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.83.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131213215259.20095.56144.idtracker@ietfa.amsl.com>
Date: Fri, 13 Dec 2013 13:52:59 -0800
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Subject: [jose] Milestones changed for jose WG
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 21:53:02 -0000

Changed milestone "Submit JSON "cookbook" as a WG document.", added
draft-ietf-jose-cookbook to milestone.

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

From ietf@augustcellars.com  Fri Dec 13 17:02:34 2013
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B34FD1AE173 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 17:02:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gl-TQ9Sdecl8 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 17:02:32 -0800 (PST)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id 5DC731AE14B for <jose@ietf.org>; Fri, 13 Dec 2013 17:02:32 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 0888F38F5C for <jose@ietf.org>; Fri, 13 Dec 2013 17:02:25 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Fri, 13 Dec 2013 17:00:57 -0800
Message-ID: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_05AD_01CEF824.E49FC4B0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac74Z+bCYNJ7WFSNQ0ydbBlOETrQaA==
Content-Language: en-us
Subject: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2013 01:02:35 -0000

This is a multipart message in MIME format.

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

Minor question before I close this bug.  

 

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

 

Jim

 


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Minor =
question before I close this bug.&nbsp; <o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Is there any =
sentiment to use a term that is not quite as &#8220;nasty&#8221; as =
&#8220;Prohibited&#8221; in the registration record.&nbsp;&nbsp; =
Specifically something along the lines of &#8220;Key Transport =
Only&#8221;.<o:p></o:p></p><p class=3DMsoNormal><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_05AD_01CEF824.E49FC4B0--


From watsonm@netflix.com  Fri Dec 13 17:43:31 2013
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 479CF1AE423 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 17:43:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oj0HLssttzix for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 17:43:30 -0800 (PST)
Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id CF42C1AE180 for <jose@ietf.org>; Fri, 13 Dec 2013 17:43:29 -0800 (PST)
Received: by mail-we0-f169.google.com with SMTP id w61so2624506wes.14 for <jose@ietf.org>; Fri, 13 Dec 2013 17:43:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8geO4YBRAkHyavPp4bD5DPZ2njFM38ebSaKWzOmdKeU=; b=c29V9FMyLi8TlxQxTTFIHp/snGHIO8RX5f574x9KsS/CR5b3VgtUw0NhOZsRbPS+xm Exwb1zt+ypMjLliW8hvInCiCfy2wkr65iwLya4IUVHT3DuUgr3QJc9RuCKcAQN4uCk+l y74NFUrvoWkezlQeMHaAinyqtri/EKAh+whsU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8geO4YBRAkHyavPp4bD5DPZ2njFM38ebSaKWzOmdKeU=; b=g5uD718jFjEmxaiEa+S7rp6u6vo7lwSU0VKcXzeZ+g6cE7AOzhiT1UWmQ16ZhePXKo 7dRmW0B1rQJbRsBwntR1cNGfHUl/T/e063eBLqlvAuXzJNwxLzqWa4StbWl1tg6S7twN NEJpUsKLbDWMa6ZYPKsCusQbuOoPcLG1MJV/00isD3FlQVIx9xVyPk4g1VSooNrQ99No jhWDSqxcRChDyWhZmkpKpUpWagTq+ZJ93WL0Anay0YIjOQG42g7iQ8v1qti3+bnd/dof BZJRgAM1fF+/nuCJSFHZZRtmidRlSRnewLrWNjWrp5Nnp7zwf3Dx84eAu7FFd7LeE8Mm QPdg==
X-Gm-Message-State: ALoCoQmXyHXiwZfCvopOv9oZNb3YAKcGltq8Xc13pRiDN14aRbJxPXLfS0kYiVijquVLa/qCBF03
MIME-Version: 1.0
X-Received: by 10.180.13.139 with SMTP id h11mr4684706wic.3.1386985402445; Fri, 13 Dec 2013 17:43:22 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Fri, 13 Dec 2013 17:43:22 -0800 (PST)
In-Reply-To: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com>
Date: Fri, 13 Dec 2013 17:43:22 -0800
Message-ID: <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: Jim Schaad <ietf@augustcellars.com>
Content-Type: multipart/alternative; boundary=001a11c2444838c7cf04ed74b401
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2013 01:43:31 -0000

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

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

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

...Mark


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

> Minor question before I close this bug.
>
>
>
> Is there any sentiment to use a term that is not quite as =93nasty=94 as
> =93Prohibited=94 in the registration record.   Specifically something alo=
ng the
> lines of =93Key Transport Only=94.
>
>
>
> Jim
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Yes=
, I think it would be clearer to change or quality the term. &quot;JWK only=
&quot; or &quot;Key Transport Only&quot; or &quot;Prohibited for JWE/JWS&qu=
ot; could all work.</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">FYI, the WebCrypto registratio=
ns are not in the Editor&#39;s Draft at=A0<a href=3D"https://dvcs.w3.org/hg=
/webcrypto-api/raw-file/tip/spec/Overview.html">https://dvcs.w3.org/hg/webc=
rypto-api/raw-file/tip/spec/Overview.html</a>, though there remains the que=
stion of whether we could register an Array format instead of a string for =
JWK, as per my earlier mail (comments please!).</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">...Mark</div></div><div class=
=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Fri, Dec 13, 2013 at=
 5:00 PM, Jim Schaad <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf@augustcel=
lars.com" target=3D"_blank">ietf@augustcellars.com</a>&gt;</span> wrote:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"p=
urple"><div><p class=3D"MsoNormal">Minor question before I close this bug.=
=A0 <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p><p class=3D"MsoNormal">Is there=
 any sentiment to use a term that is not quite as =93nasty=94 as =93Prohibi=
ted=94 in the registration record.=A0=A0 Specifically something along the l=
ines of =93Key Transport Only=94.<span class=3D"HOEnZb"><font color=3D"#888=
888"><u></u><u></u></font></span></p>
<span class=3D"HOEnZb"><font color=3D"#888888"><p class=3D"MsoNormal"><u></=
u>=A0<u></u></p><p class=3D"MsoNormal">Jim<u></u><u></u></p><p class=3D"Mso=
Normal"><u></u>=A0<u></u></p></font></span></div></div><br>________________=
_______________________________<br>

jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
<br></blockquote></div><br></div>

--001a11c2444838c7cf04ed74b401--

From Michael.Jones@microsoft.com  Fri Dec 13 20:54:34 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EFB111AE1AB for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 20:54:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iDeWw9qEdUcH for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 20:54:29 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0157.outbound.protection.outlook.com [207.46.163.157]) by ietfa.amsl.com (Postfix) with ESMTP id AAD7B1AE1BE for <jose@ietf.org>; Fri, 13 Dec 2013 20:54:28 -0800 (PST)
Received: from DM2PR03CA005.namprd03.prod.outlook.com (10.141.52.153) by BY2PR03MB060.namprd03.prod.outlook.com (10.255.241.152) with Microsoft SMTP Server (TLS) id 15.0.847.9; Sat, 14 Dec 2013 04:54:20 +0000
Received: from BL2FFO11FD014.protection.gbl (2a01:111:f400:7c09::101) by DM2PR03CA005.outlook.office365.com (2a01:111:e400:2414::25) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sat, 14 Dec 2013 04:54:20 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD014.mail.protection.outlook.com (10.173.160.222) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 14 Dec 2013 04:54:19 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0158.002; Sat, 14 Dec 2013 04:53:36 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Mark Watson <watsonm@netflix.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
Thread-Index: AQHO+G3+K+DD7oIuB02zR4Md/olSWppTHgjg
Date: Sat, 14 Dec 2013 04:53:35 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com>
In-Reply-To: <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.37]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD48B0CTK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(5383001)(377454003)(199002)(189002)(24454002)(69234005)(54356001)(53806001)(85306002)(16236675002)(15975445006)(81816001)(81686001)(19580395003)(76482001)(19580405001)(83322001)(44976005)(63696002)(84326002)(85806002)(69226001)(51856001)(6806004)(19300405004)(2656002)(81542001)(50986001)(81342001)(87936001)(76796001)(76786001)(46102001)(49866001)(74706001)(74366001)(80976001)(74876001)(47976001)(47736001)(71186001)(4396001)(87266001)(83072002)(74662001)(74502001)(15202345003)(31966008)(16297215004)(85852003)(47446002)(66066001)(80022001)(512954002)(65816001)(20776003)(33656001)(56816005)(79102001)(77096001)(55846006)(54316002)(56776001)(59766001)(77982001)(90146001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB060; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00603B7EEF
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2013 04:54:34 -0000

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

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

I don't think a change is needed.

                                                            -- Mike

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

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

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

...Mark

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

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

Jim


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


--_000_4E1F6AAD24975D4BA5B16804296739437CD48B0CTK5EX14MBXC286r_
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:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
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.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
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;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The meaning of &#8220;Pro=
hibited&#8221; is already clear.&nbsp;
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-1=
8#section-7.1.1">
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7=
.1.1</a> says:<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Any identifiers registered for non-authenticated encryption algorithms<o=
:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; or other algorithms that are otherwise unsuitable for direct use<o:p></o=
:p></span></p>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; as JWS or JWE algorithms must be registered as &quot;Prohibited&quot;.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I don&#8217;t think a cha=
nge is needed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Friday, December 13, 2013 5:43 PM<br>
<b>To:</b> Jim Schaad<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] Issue #187 - Allow registration of non-JWE/JWS a=
lgorithms for JWK<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">Yes, I think it would be clearer to change or qualit=
y the term. &quot;JWK only&quot; or &quot;Key Transport Only&quot; or &quot=
;Prohibited for JWE/JWS&quot; could all work.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">FYI, the WebCrypto registrations are not in the Edit=
or's Draft at&nbsp;<a href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file=
/tip/spec/Overview.html">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/=
spec/Overview.html</a>, though there remains
 the question of whether we could register an Array format instead of a str=
ing for JWK, as per my earlier mail (comments please!).<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad &lt;<a h=
ref=3D"mailto:ietf@augustcellars.com" target=3D"_blank">ietf@augustcellars.=
com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Minor question before I close this bug.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Is there any sentiment to use a term that is not quite as &#8220;n=
asty&#8221; as &#8220;Prohibited&#8221; in the registration record.&nbsp;&n=
bsp; Specifically something along the lines of &#8220;Key Transport Only&#8=
221;.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">Jim<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"color:#888888">&nbsp;<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD48B0CTK5EX14MBXC286r_--

From Michael.Jones@microsoft.com  Fri Dec 13 21:04:31 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5BF001AE477 for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 21:04:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uHwrFx-OG29g for <jose@ietfa.amsl.com>; Fri, 13 Dec 2013 21:04:19 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0156.outbound.protection.outlook.com [207.46.163.156]) by ietfa.amsl.com (Postfix) with ESMTP id CB4611ADFEE for <jose@ietf.org>; Fri, 13 Dec 2013 21:04:18 -0800 (PST)
Received: from BY2PR03CA031.namprd03.prod.outlook.com (10.242.234.152) by BY2PR03MB128.namprd03.prod.outlook.com (10.242.36.28) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sat, 14 Dec 2013 05:04:10 +0000
Received: from BY2FFO11FD038.protection.gbl (2a01:111:f400:7c0c::177) by BY2PR03CA031.outlook.office365.com (2a01:111:e400:2c2c::24) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 14 Dec 2013 05:04:10 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD038.mail.protection.outlook.com (10.1.14.223) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 14 Dec 2013 05:04:10 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.03.0158.002; Sat, 14 Dec 2013 05:03:35 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Mark Watson <watsonm@netflix.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] JWK "use" attribute and multiple uses
Thread-Index: AQHO9ewSK3tMgaqIV02ikBzf7vYaQZpTJfuw
Date: Sat, 14 Dec 2013 05:03:33 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD48B48@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
In-Reply-To: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.37]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD48B48TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(51884002)(377454003)(199002)(189002)(66066001)(80022001)(512954002)(85852003)(74662001)(74502001)(31966008)(47446002)(15202345003)(59766001)(77982001)(54316002)(56776001)(561944002)(55846006)(90146001)(20776003)(65816001)(56816005)(77096001)(33656001)(79102001)(69226001)(83322001)(63696002)(19580405001)(19300405004)(19580395003)(44976005)(76482001)(6806004)(51856001)(84326002)(85806002)(85306002)(53806001)(54356001)(16236675002)(15975445006)(81686001)(81816001)(74706001)(74366001)(80976001)(74876001)(83072002)(49866001)(71186001)(47976001)(4396001)(47736001)(81542001)(50986001)(2656002)(81342001)(87936001)(46102001)(87266001)(76796001)(76786001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB128; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00603B7EEF
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2013 05:04:31 -0000

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

As already fairly extensively discussed, many in the JOSE working group bel=
ieve that it is a security problem to use the same key for multiple uses.  =
Therefore, "use" is, and I believe should remain, single-valued.

Also, as discussed on the list, if WebCrypto wants to record additional key=
 properties in a JWK, that's no problem.  Just register a new key parameter=
 and use it.  For instance, you could register "webcrypto_uses" and use exa=
ctly the same key uses parameters that WebCrypto uses.  Use of "use" is opt=
ional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY also b=
e used for WebCrypto keys.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Tuesday, December 10, 2013 1:09 PM
To: jose@ietf.org
Subject: [jose] JWK "use" attribute and multiple uses

All,

Currently, the JWK "use" attribute effectively distinguishes between JWE ("=
enc") and JWA ("sign").

However, additional uses can be added to the registry and the W3C WebCrypto=
 group is planning to register use values corresponding to the KeyUsage val=
ues defined for WebCrypto Key objects. These KeyUsage values include, for e=
xample, encrypt, decrypt, sign, verify, wrap, unwrap etc.

A WebCrypto Key object may have multiple KeyUsages and so we have a questio=
n as to how to represent that in JWK.

One proposal is to allow the use string to contain a comma-separated list o=
f values. We could register such a scheme directly with IANA.

It would be cleaner, though, since this is JSON, to allow this attribute to=
 have Array type where two or more usages are to be represented (it would r=
emain a string for the single-usage case). I've also had some negative feed=
back from implemetors about the comma-separated-value idea along yet-anothe=
r-string-parser lines.

Would it be possible to modify the Registry for JWK use values to allow dat=
a types other than String to be registered ?

...Mark



--_000_4E1F6AAD24975D4BA5B16804296739437CD48B48TK5EX14MBXC286r_
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:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As already fairly extensi=
vely discussed, many in the JOSE working group believe that it is a securit=
y problem to use the same key for multiple uses.&nbsp; Therefore,
 &#8220;use&#8221; is, and I believe should remain, single-valued.<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Also, as discussed on the=
 list, if WebCrypto wants to record additional key properties in a JWK, tha=
t&#8217;s no problem.&nbsp; Just register a new key parameter and use
 it.&nbsp; For instance, you could register &#8220;webcrypto_uses&#8221; an=
d use exactly the same key uses parameters that WebCrypto uses.&nbsp; Use o=
f &#8220;use&#8221; is optional, and WebCrypto could specify whether it MUS=
T, MUST NOT, or MAY also be used for WebCrypto keys.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Tuesday, December 10, 2013 1:09 PM<br>
<b>To:</b> jose@ietf.org<br>
<b>Subject:</b> [jose] JWK &quot;use&quot; attribute and multiple uses<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">All,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Currently, the JWK &quot;use&quot; attribute effecti=
vely distinguishes between JWE (&quot;enc&quot;) and JWA (&quot;sign&quot;)=
.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">However, additional uses can be added to the registr=
y and the W3C WebCrypto group is planning to register use values correspond=
ing to the KeyUsage values defined for WebCrypto Key objects. These KeyUsag=
e values include, for example, encrypt,
 decrypt, sign, verify, wrap, unwrap etc.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A WebCrypto Key object may have multiple KeyUsages a=
nd so we have a question as to how to represent that in JWK.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">One proposal is to allow the use string to contain a=
 comma-separated list of values. We could register such a scheme directly w=
ith IANA.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">It would be cleaner, though, since this is JSON, to =
allow this attribute to have Array type where two or more usages are to be =
represented (it would remain a string for the single-usage case). I've also=
 had some negative feedback from implemetors
 about the comma-separated-value idea along yet-another-string-parser lines=
.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Would it be possible to modify the Registry for JWK =
use values to allow data types other than String to be registered ?<o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD48B48TK5EX14MBXC286r_--

From watsonm@netflix.com  Sat Dec 14 00:37:04 2013
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4330D1AE513 for <jose@ietfa.amsl.com>; Sat, 14 Dec 2013 00:37:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9qg8ZJc5A60b for <jose@ietfa.amsl.com>; Sat, 14 Dec 2013 00:37:01 -0800 (PST)
Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by ietfa.amsl.com (Postfix) with ESMTP id 2608A1AE0CB for <jose@ietf.org>; Sat, 14 Dec 2013 00:37:00 -0800 (PST)
Received: by mail-we0-f181.google.com with SMTP id x55so2716578wes.26 for <jose@ietf.org>; Sat, 14 Dec 2013 00:36:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=references:from:mime-version:in-reply-to:date:message-id:subject:to :cc:content-type; bh=mPJLfV6ouw+U+SH1alAjorp2C4ZRYSFsdS3oFYz+vp4=; b=TcZ/NV3F3AfckDoBQ6zqfrPFQ/iUQpRshkc4aZ1oqTTOpSMdMi+PK9uFx7eFzZsH17 91kHkRKsTeVuVSgyJrCGsZZ5LdORPp8rSF7a3FZ/PkFhXopPu+I/KhhFGOVAWH3Zo73i zoEzYx5/95c7y7CoDs14yj5NuKsLA0nQ5lPYI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:from:mime-version:in-reply-to:date :message-id:subject:to:cc:content-type; bh=mPJLfV6ouw+U+SH1alAjorp2C4ZRYSFsdS3oFYz+vp4=; b=V353Jd0PD1rzoKR8dpUSzOKJMmbdE/Nu77g+GYBdbcz+nw1lDMn62ioIdZ6cVssJm6 DIEWGMoAb8U4+Sv8KW967H8nTPBZ/JxWKWy8Kuv6wN4XAFjnReoorYXEIXvzvQVqZ5cn S+28q+S4WfYavcMl1FKDnPQ4KBdUEMCz6xFeH00qxSTrottxkUkjGI8Y9E/3xZNlwTxc 50RnZorUG3VM3XVt/heU8YuUUNutEIJ8ftw2jxu+CGAlrtuEXYdmdipFzFage5Dw4apn 7DKP3svnBCXpnOT7KAfcYRAyJRHNuPb1fLUqUsl4P90bZxOX6NZdCr/u2OziO6g+h79x QhDg==
X-Gm-Message-State: ALoCoQm32+xDnHjLx3WKrmp67Fm0H4AH6aQzSAu1mtZmnHomXwU8nJ+Fw2hmt0NV/b2zE/eQLAch
X-Received: by 10.180.37.112 with SMTP id x16mr6032595wij.48.1387010214104; Sat, 14 Dec 2013 00:36:54 -0800 (PST)
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B48@TK5EX14MBXC286.redmond.corp.microsoft.com>
From: Mark Watson <watsonm@netflix.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD48B48@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Sat, 14 Dec 2013 00:36:50 -0800
Message-ID: <-4792436572330998828@unknownmsgid>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=e89a8f50347c1cabce04ed7a7b12
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2013 08:37:04 -0000

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

Sent from my iPhone

On Dec 13, 2013, at 9:04 PM, Mike Jones <Michael.Jones@microsoft.com> wrote=
:

  As already fairly extensively discussed, many in the JOSE working group
believe that it is a security problem to use the same key for multiple
uses.  Therefore, =93use=94 is, and I believe should remain, single-valued.


Well, this is in complete contradiction to the existing use values which
each encompass multiple actual uses (enc =3D encrypt, decrypt, wrap, unwrap
for example). I agree with the principle, but the current use definition in
JOSE doesn't.



Also, as discussed on the list, if WebCrypto wants to record additional key
properties in a JWK, that=92s no problem.  Just register a new key paramete=
r
and use it.  For instance, you could register =93webcrypto_uses=94 and use
exactly the same key uses parameters that WebCrypto uses.  Use of =93use=94=
 is
optional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY
also be used for WebCrypto keys.


There was strong push-back against registering a new attribute with
overlapping semantics and a preference for extending the existing attribute
defined for this purpose. That is what we have done for the 'single-use'
cases, but there are valid use-cases for multiple uses (e.g. both encrypt
and decrypt).

The only question here is whether we can register an Array type value or
whether we have to register a string value which is a comma-separated list
(with attendant parsing issues). It would be fine for JOSE to just relax
the requirement that use values are strings and allow them to have any
valid JSON value.

...Mark



                                                            -- Mike



*From:* jose [mailto:jose-bounces@ietf.org <jose-bounces@ietf.org>] *On
Behalf Of *Mark Watson
*Sent:* Tuesday, December 10, 2013 1:09 PM
*To:* jose@ietf.org
*Subject:* [jose] JWK "use" attribute and multiple uses



All,



Currently, the JWK "use" attribute effectively distinguishes between JWE
("enc") and JWA ("sign").



However, additional uses can be added to the registry and the W3C WebCrypto
group is planning to register use values corresponding to the KeyUsage
values defined for WebCrypto Key objects. These KeyUsage values include,
for example, encrypt, decrypt, sign, verify, wrap, unwrap etc.



A WebCrypto Key object may have multiple KeyUsages and so we have a
question as to how to represent that in JWK.



One proposal is to allow the use string to contain a comma-separated list
of values. We could register such a scheme directly with IANA.



It would be cleaner, though, since this is JSON, to allow this attribute to
have Array type where two or more usages are to be represented (it would
remain a string for the single-usage case). I've also had some negative
feedback from implemetors about the comma-separated-value idea along
yet-another-string-parser lines.



Would it be possible to modify the Registry for JWK use values to allow
data types other than String to be registered ?



...Mark

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

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=
=3Dutf-8"></head><body dir=3D"auto"><div><br><br>Sent from my iPhone</div><=
div><br>On Dec 13, 2013, at 9:04 PM, Mike Jones &lt;<a href=3D"mailto:Micha=
el.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&gt; wrote:<br>
<br></div><blockquote type=3D"cite"><div>

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>


<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">As already fairly extensi=
vely discussed, many in the JOSE working group believe that it is a securit=
y problem to use the same key for multiple uses.=A0 Therefore,
 =93use=94 is, and I believe should remain, single-valued.</span></p></div>=
</div></blockquote><div><br></div>Well, this is in complete contradiction t=
o the existing use values which each encompass multiple actual uses (enc =
=3D encrypt, decrypt, wrap, unwrap for example). I agree with the principle=
, but the current use definition in JOSE doesn&#39;t.<div>
<br><blockquote type=3D"cite"><div><div class=3D"WordSection1"><p class=3D"=
MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:#1f497d"></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Also, as discussed on the=
 list, if WebCrypto wants to record additional key properties in a JWK, tha=
t=92s no problem.=A0 Just register a new key parameter and use
 it.=A0 For instance, you could register =93webcrypto_uses=94 and use exact=
ly the same key uses parameters that WebCrypto uses.=A0 Use of =93use=94 is=
 optional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY al=
so be used for WebCrypto keys.</span></p>
</div></div></blockquote><div><br></div><div>There was strong push-back aga=
inst registering a new attribute with overlapping semantics and a preferenc=
e for extending the existing attribute defined for this purpose. That is wh=
at we have done for the &#39;single-use&#39; cases, but there are valid use=
-cases for multiple uses (e.g. both encrypt and decrypt).</div>
<div><br></div><div>The only question here is whether we can register an Ar=
ray type value or whether we have to register a string value which is a com=
ma-separated list (with attendant parsing issues). It would be fine for JOS=
E to just relax the requirement that use values are strings and allow them =
to have any valid JSON value.</div>
<div><br></div><div>...Mark</div><blockquote type=3D"cite"><div><div class=
=3D"WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 -- Mike</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0</span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Tuesday, December 10, 2013 1:09 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] JWK &quot;use&quot; attribute and multiple uses</spa=
n></p>
<p class=3D"MsoNormal">=A0</p>
<div>
<div>
<p class=3D"MsoNormal">All,</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">Currently, the JWK &quot;use&quot; attribute effecti=
vely distinguishes between JWE (&quot;enc&quot;) and JWA (&quot;sign&quot;)=
.</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">However, additional uses can be added to the registr=
y and the W3C WebCrypto group is planning to register use values correspond=
ing to the KeyUsage values defined for WebCrypto Key objects. These KeyUsag=
e values include, for example, encrypt,
 decrypt, sign, verify, wrap, unwrap etc.</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">A WebCrypto Key object may have multiple KeyUsages a=
nd so we have a question as to how to represent that in JWK.</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">One proposal is to allow the use string to contain a=
 comma-separated list of values. We could register such a scheme directly w=
ith IANA.</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">It would be cleaner, though, since this is JSON, to =
allow this attribute to have Array type where two or more usages are to be =
represented (it would remain a string for the single-usage case). I&#39;ve =
also had some negative feedback from implemetors
 about the comma-separated-value idea along yet-another-string-parser lines=
.</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">Would it be possible to modify the Registry for JWK =
use values to allow data types other than String to be registered ?</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">...Mark</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
<div>
<p class=3D"MsoNormal">=A0</p>
</div>
</div>
</div>


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

--e89a8f50347c1cabce04ed7a7b12--

From Michael.Jones@microsoft.com  Sat Dec 14 15:29:22 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A55821ADF59 for <jose@ietfa.amsl.com>; Sat, 14 Dec 2013 15:29:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vIWTlnjPn2RM for <jose@ietfa.amsl.com>; Sat, 14 Dec 2013 15:29:03 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0210.outbound.protection.outlook.com [207.46.163.210]) by ietfa.amsl.com (Postfix) with ESMTP id 34D8B1ADF0E for <jose@ietf.org>; Sat, 14 Dec 2013 14:54:04 -0800 (PST)
Received: from DM2PR03CA005.namprd03.prod.outlook.com (10.141.52.153) by BLUPR03MB247.namprd03.prod.outlook.com (10.255.213.21) with Microsoft SMTP Server (TLS) id 15.0.837.10; Sat, 14 Dec 2013 22:53:49 +0000
Received: from BY2FFO11FD023.protection.gbl (2a01:111:f400:7c0c::178) by DM2PR03CA005.outlook.office365.com (2a01:111:e400:2414::25) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sat, 14 Dec 2013 22:53:48 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD023.mail.protection.outlook.com (10.1.15.212) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 14 Dec 2013 22:53:48 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0158.002; Sat, 14 Dec 2013 22:53:15 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Mark Watson <watsonm@netflix.com>
Thread-Topic: [jose] JWK "use" attribute and multiple uses
Thread-Index: AQHO9ewSK3tMgaqIV02ikBzf7vYaQZpTJfuwgAA9cACAAOzPAA==
Date: Sat, 14 Dec 2013 22:53:14 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD49282@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B48@TK5EX14MBXC286.redmond.corp.microsoft.com> <-4792436572330998828@unknownmsgid>
In-Reply-To: <-4792436572330998828@unknownmsgid>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.37]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD49282TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(24454002)(51884002)(199002)(189002)(59766001)(77982001)(20776003)(63696002)(65816001)(80022001)(66066001)(76482001)(81542001)(76786001)(46102001)(51856001)(53806001)(79102001)(54356001)(76796001)(90146001)(15202345003)(33656001)(56776001)(31966008)(561944002)(47446002)(74502001)(74662001)(81342001)(71186001)(19300405004)(77096001)(69226001)(55846006)(84326002)(85306002)(44976005)(74706001)(85806002)(80976001)(74366001)(83322001)(19580405001)(19580395003)(81816001)(81686001)(2656002)(49866001)(83072002)(4396001)(47736001)(50986001)(47976001)(87266001)(6806004)(16236675002)(54316002)(56816005)(85852003)(15975445006)(512954002)(74876001)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB247; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00603B7EEF
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Dec 2013 23:29:23 -0000
X-List-Received-Date: Sat, 14 Dec 2013 23:29:23 -0000

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

At least from my point of view, the problem here is that WebCrypto unnecess=
arily uses different identifiers for things that can already be distinguish=
ed from context.  For instance with "use":"sig", if you have the private ke=
y, you can do what WebCrypto calls "sign" and if you have the public key, y=
ou can do what WebCrypto calls "verify".  Both are parts of the signature f=
low, and depending upon which key of the key-pair you're using, you can tel=
l which is which.

Likewise, WebCrypto unnecessarily distinguishes between key encryption and =
data encryption, when you can tell from context which you're doing.  If tha=
t's not enough context, then include an "alg" value with the JWK, to limit =
the key use to a specific algorithm.  (The JOSE "alg" values for data encry=
ption and key encryption *are* different.)

And before you bring up symmetric keys, the operations are actually the sam=
e, so WebCrypto is insisting on a distinction without a difference.

Has WebCrypto considered dropping the distinctions such as sign/verify, whi=
ch can be determined from context?

>From my point of view, it would be a lot cleaner to use a different identif=
ier, such as "WebCrypto_uses" than to overload "use" with different, but re=
lated values.  It will hurt interoperation by creating keys that use a comm=
on identifier differently, and in a non-interoperable manner.  Far better t=
o use a different identifier, which can be safely ignored by vanilla JWK im=
plementations, rather than to overload the standard identifier, and potenti=
ally cause JWK implementations to reject the keys.

                                                            -- Mike

From: Mark Watson [mailto:watsonm@netflix.com]
Sent: Saturday, December 14, 2013 12:37 AM
To: Mike Jones
Cc: jose@ietf.org
Subject: Re: [jose] JWK "use" attribute and multiple uses



Sent from my iPhone

On Dec 13, 2013, at 9:04 PM, Mike Jones <Michael.Jones@microsoft.com<mailto=
:Michael.Jones@microsoft.com>> wrote:
As already fairly extensively discussed, many in the JOSE working group bel=
ieve that it is a security problem to use the same key for multiple uses.  =
Therefore, "use" is, and I believe should remain, single-valued.

Well, this is in complete contradiction to the existing use values which ea=
ch encompass multiple actual uses (enc =3D encrypt, decrypt, wrap, unwrap f=
or example). I agree with the principle, but the current use definition in =
JOSE doesn't.



Also, as discussed on the list, if WebCrypto wants to record additional key=
 properties in a JWK, that's no problem.  Just register a new key parameter=
 and use it.  For instance, you could register "webcrypto_uses" and use exa=
ctly the same key uses parameters that WebCrypto uses.  Use of "use" is opt=
ional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY also b=
e used for WebCrypto keys.

There was strong push-back against registering a new attribute with overlap=
ping semantics and a preference for extending the existing attribute define=
d for this purpose. That is what we have done for the 'single-use' cases, b=
ut there are valid use-cases for multiple uses (e.g. both encrypt and decry=
pt).

The only question here is whether we can register an Array type value or wh=
ether we have to register a string value which is a comma-separated list (w=
ith attendant parsing issues). It would be fine for JOSE to just relax the =
requirement that use values are strings and allow them to have any valid JS=
ON value.

...Mark

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Tuesday, December 10, 2013 1:09 PM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: [jose] JWK "use" attribute and multiple uses

All,

Currently, the JWK "use" attribute effectively distinguishes between JWE ("=
enc") and JWA ("sign").

However, additional uses can be added to the registry and the W3C WebCrypto=
 group is planning to register use values corresponding to the KeyUsage val=
ues defined for WebCrypto Key objects. These KeyUsage values include, for e=
xample, encrypt, decrypt, sign, verify, wrap, unwrap etc.

A WebCrypto Key object may have multiple KeyUsages and so we have a questio=
n as to how to represent that in JWK.

One proposal is to allow the use string to contain a comma-separated list o=
f values. We could register such a scheme directly with IANA.

It would be cleaner, though, since this is JSON, to allow this attribute to=
 have Array type where two or more usages are to be represented (it would r=
emain a string for the single-usage case). I've also had some negative feed=
back from implemetors about the comma-separated-value idea along yet-anothe=
r-string-parser lines.

Would it be possible to modify the Registry for JWK use values to allow dat=
a types other than String to be registered ?

...Mark



--_000_4E1F6AAD24975D4BA5B16804296739437CD49282TK5EX14MBXC286r_
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:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">At least from my point of=
 view, the problem here is that WebCrypto unnecessarily uses different iden=
tifiers for things that can already be distinguished from
 context.&nbsp; For instance with &#8220;use&#8221;:&#8221;sig&#8221;, if y=
ou have the private key, you can do what WebCrypto calls &#8220;sign&#8221;=
 and if you have the public key, you can do what WebCrypto calls &#8220;ver=
ify&#8221;.&nbsp; Both are parts of the signature flow, and depending upon =
which key of the
 key-pair you&#8217;re using, you can tell which is which.<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Likewise, WebCrypto unnec=
essarily distinguishes between key encryption and data encryption, when you=
 can tell from context which you&#8217;re doing.&nbsp; If that&#8217;s not
 enough context, then include an &#8220;alg&#8221; value with the JWK, to l=
imit the key use to a specific algorithm.&nbsp; (The JOSE &#8220;alg&#8221;=
 values for data encryption and key encryption *<b>are</b>* different.)<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">And before you bring up s=
ymmetric keys, the operations are actually the same, so WebCrypto is insist=
ing on a distinction without a difference.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Has WebCrypto considered =
dropping the distinctions such as sign/verify, which can be determined from=
 context?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">From my point of view, it=
 would be a lot cleaner to use a different identifier, such as &#8220;WebCr=
ypto_uses&#8221; than to overload &#8220;use&#8221; with different, but rel=
ated
 values.&nbsp; It will hurt interoperation by creating keys that use a comm=
on identifier differently, and in a non-interoperable manner.&nbsp; Far bet=
ter to use a different identifier, which can be safely ignored by vanilla J=
WK implementations, rather than to overload
 the standard identifier, and potentially cause JWK implementations to reje=
ct the keys.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mark Wat=
son [mailto:watsonm@netflix.com]
<br>
<b>Sent:</b> Saturday, December 14, 2013 12:37 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] JWK &quot;use&quot; attribute and multiple uses<=
o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><br>
<br>
Sent from my iPhone<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
On Dec 13, 2013, at 9:04 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones=
@microsoft.com">Michael.Jones@microsoft.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As already fairly extensi=
vely discussed, many in the JOSE working group believe that it is a securit=
y problem to use the same key for multiple uses.&nbsp; Therefore,
 &#8220;use&#8221; is, and I believe should remain, single-valued.</span><o=
:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal">Well, this is in complete contradiction to the exist=
ing use values which each encompass multiple actual uses (enc =3D encrypt, =
decrypt, wrap, unwrap for example). I agree with the principle, but the cur=
rent use definition in JOSE doesn't.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Also, as discussed on the=
 list, if WebCrypto wants to record additional key properties in a JWK, tha=
t&#8217;s no problem.&nbsp; Just register a new key parameter and use
 it.&nbsp; For instance, you could register &#8220;webcrypto_uses&#8221; an=
d use exactly the same key uses parameters that WebCrypto uses.&nbsp; Use o=
f &#8220;use&#8221; is optional, and WebCrypto could specify whether it MUS=
T, MUST NOT, or MAY also be used for WebCrypto keys.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">There was strong push-back against registering a new=
 attribute with overlapping semantics and a preference for extending the ex=
isting attribute defined for this purpose. That is what we have done for th=
e 'single-use' cases, but there are
 valid use-cases for multiple uses (e.g. both encrypt and decrypt).<o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The only question here is whether we can register an=
 Array type value or whether we have to register a string value which is a =
comma-separated list (with attendant parsing issues). It would be fine for =
JOSE to just relax the requirement
 that use values are strings and allow them to have any valid JSON value.<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<o:p></o:p></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [<a=
 href=3D"mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Tuesday, December 10, 2013 1:09 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] JWK &quot;use&quot; attribute and multiple uses</spa=
n><o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">All,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Currently, the JWK &quot;use&quot; attribute effecti=
vely distinguishes between JWE (&quot;enc&quot;) and JWA (&quot;sign&quot;)=
.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">However, additional uses can be added to the registr=
y and the W3C WebCrypto group is planning to register use values correspond=
ing to the KeyUsage values defined for WebCrypto Key objects. These KeyUsag=
e values include, for example, encrypt,
 decrypt, sign, verify, wrap, unwrap etc.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">A WebCrypto Key object may have multiple KeyUsages a=
nd so we have a question as to how to represent that in JWK.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">One proposal is to allow the use string to contain a=
 comma-separated list of values. We could register such a scheme directly w=
ith IANA.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">It would be cleaner, though, since this is JSON, to =
allow this attribute to have Array type where two or more usages are to be =
represented (it would remain a string for the single-usage case). I've also=
 had some negative feedback from implemetors
 about the comma-separated-value idea along yet-another-string-parser lines=
.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Would it be possible to modify the Registry for JWK =
use values to allow data types other than String to be registered ?<o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD49282TK5EX14MBXC286r_--

From watsonm@netflix.com  Mon Dec 16 07:59:49 2013
Return-Path: <watsonm@netflix.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3028C1AE367 for <jose@ietfa.amsl.com>; Mon, 16 Dec 2013 07:59:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FsSMz2zMSKSU for <jose@ietfa.amsl.com>; Mon, 16 Dec 2013 07:59:47 -0800 (PST)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 29DDA1AE363 for <jose@ietf.org>; Mon, 16 Dec 2013 07:59:47 -0800 (PST)
Received: by mail-wi0-f171.google.com with SMTP id bz8so2339520wib.10 for <jose@ietf.org>; Mon, 16 Dec 2013 07:59:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v9retw+7Rm7DyG0KBMhbxvCdfx7CS9//DxGG3Bo0fp4=; b=nOn3TXycqewiPaUO8f8T3XlL7B+w2+9zq8whoNL7xthmPxTlfd5+SAfuB16P0Q/ZLw i16G6LZTCyCt7J12yXCUIXILBl+UqJHGBBQr2hNtkCzB4K6pQPABZZLD+iYsbtUgFLvt djdHrNL21lrLvXj52H4TvsddwnxjFz3MS+nCY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=v9retw+7Rm7DyG0KBMhbxvCdfx7CS9//DxGG3Bo0fp4=; b=UAO+2JMECl5IiL9blSgs6nFn+BnSfCMgPBPp30AJVzhhp4dqCKMmg5lqpicJlj1jsv q+A5bc0Z35dwh3ny039clcs+YlbfFF4WgB0k6ibfvzSrvbdYHDuiIgUutbs7GV8gsI0z RQLq55R9wv/bVZX/fjQ4AQBWs2A7kCPa6ulZZDy5ZZcYHgHedDLoFgTpaRj2+x/0LEpP 0vmcUUiBzD0KJpHwg5tnbRHPjV0rY07WoN0F++UhlCoCyAsF3TCcsz63mrPCcWDoUHsh NCHRkL9d+anjIae/+STAqpyD8fKtIy5q8TIpiV5vbL3zKGeAIaMD322WW6WJOqI4KWrU lQfQ==
X-Gm-Message-State: ALoCoQnERBgu99enbTpg55P2Bt0/KziI8J4X9qQghLQ8+DNu/eUDM9Y6pwb+IE4SFq6oA2NP4At8
MIME-Version: 1.0
X-Received: by 10.194.80.137 with SMTP id r9mr2684108wjx.88.1387209585880; Mon, 16 Dec 2013 07:59:45 -0800 (PST)
Received: by 10.216.192.73 with HTTP; Mon, 16 Dec 2013 07:59:45 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD49282@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B48@TK5EX14MBXC286.redmond.corp.microsoft.com> <-4792436572330998828@unknownmsgid> <4E1F6AAD24975D4BA5B16804296739437CD49282@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 16 Dec 2013 07:59:45 -0800
Message-ID: <CAEnTvdAwG8DcGz-pU3ArDWwSZTgtF0W1o7X72u2io_ZQLyYn0g@mail.gmail.com>
From: Mark Watson <watsonm@netflix.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=047d7bdc8e869889cb04eda8e691
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Dec 2013 15:59:49 -0000

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

On Sat, Dec 14, 2013 at 2:53 PM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

>  At least from my point of view, the problem here is that WebCrypto
> unnecessarily uses different identifiers for things that can already be
> distinguished from context.  For instance with =93use=94:=94sig=94, if yo=
u have the
> private key, you can do what WebCrypto calls =93sign=94 and if you have t=
he
> public key, you can do what WebCrypto calls =93verify=94.  Both are parts=
 of
> the signature flow, and depending upon which key of the key-pair you=92re
> using, you can tell which is which.
>
>
>
> Likewise, WebCrypto unnecessarily distinguishes between key encryption an=
d
> data encryption, when you can tell from context which you=92re doing.  If
> that=92s not enough context, then include an =93alg=94 value with the JWK=
, to
> limit the key use to a specific algorithm.  (The JOSE =93alg=94 values fo=
r data
> encryption and key encryption **are** different.)
>
>
>
> And before you bring up symmetric keys, the operations are actually the
> same, so WebCrypto is insisting on a distinction without a difference.
>

Encryption and decryption are certainly different. As are encryption and
wrapping.

The purpose of the attribute is not to indicate the operation to be
performed (which is indeed clear from context) but to restrict the
operations that are permitted. There are (I am told) good security reasons
for applying such restrictions and for those to be in quite specific
operations ("principle of least privilege).


>
> Has WebCrypto considered dropping the distinctions such as sign/verify,
> which can be determined from context?
>

No, for the reason above. I think there would be strong objections to
that.


>
>
> From my point of view, it would be a lot cleaner to use a different
> identifier, such as =93WebCrypto_uses=94 than to overload =93use=94 with =
different,
> but related values.  It will hurt interoperation by creating keys that us=
e
> a common identifier differently, and in a non-interoperable manner.  Far
> better to use a different identifier, which can be safely ignored by
> vanilla JWK implementations, rather than to overload the standard
> identifier, and potentially cause JWK implementations to reject the keys.
>

This was originally proposed and rejected
https://www.w3.org/Bugs/Public/show_bug.cgi?id=3D23796

Our current draft registers all comma-separated lists of the individual
values, but I think it would be better if we could register an Array type
instead of a new string format which needs to be parsed.

...Mark



>
>
>                                                             -- Mike
>
>
>
> *From:* Mark Watson [mailto:watsonm@netflix.com]
> *Sent:* Saturday, December 14, 2013 12:37 AM
> *To:* Mike Jones
> *Cc:* jose@ietf.org
> *Subject:* Re: [jose] JWK "use" attribute and multiple uses
>
>
>
>
>
> Sent from my iPhone
>
>
> On Dec 13, 2013, at 9:04 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
>
>  As already fairly extensively discussed, many in the JOSE working group
> believe that it is a security problem to use the same key for multiple
> uses.  Therefore, =93use=94 is, and I believe should remain, single-value=
d.
>
>
>
> Well, this is in complete contradiction to the existing use values which
> each encompass multiple actual uses (enc =3D encrypt, decrypt, wrap, unwr=
ap
> for example). I agree with the principle, but the current use definition =
in
> JOSE doesn't.
>
>
>
>
>
> Also, as discussed on the list, if WebCrypto wants to record additional
> key properties in a JWK, that=92s no problem.  Just register a new key
> parameter and use it.  For instance, you could register =93webcrypto_uses=
=94
> and use exactly the same key uses parameters that WebCrypto uses.  Use of
> =93use=94 is optional, and WebCrypto could specify whether it MUST, MUST =
NOT,
> or MAY also be used for WebCrypto keys.
>
>
>
> There was strong push-back against registering a new attribute with
> overlapping semantics and a preference for extending the existing attribu=
te
> defined for this purpose. That is what we have done for the 'single-use'
> cases, but there are valid use-cases for multiple uses (e.g. both encrypt
> and decrypt).
>
>
>
> The only question here is whether we can register an Array type value or
> whether we have to register a string value which is a comma-separated lis=
t
> (with attendant parsing issues). It would be fine for JOSE to just relax
> the requirement that use values are strings and allow them to have any
> valid JSON value.
>
>
>
> ...Mark
>
>
>
>                                                             -- Mike
>
>
>
> *From:* jose [mailto:jose-bounces@ietf.org <jose-bounces@ietf.org>] *On
> Behalf Of *Mark Watson
> *Sent:* Tuesday, December 10, 2013 1:09 PM
> *To:* jose@ietf.org
> *Subject:* [jose] JWK "use" attribute and multiple uses
>
>
>
> All,
>
>
>
> Currently, the JWK "use" attribute effectively distinguishes between JWE
> ("enc") and JWA ("sign").
>
>
>
> However, additional uses can be added to the registry and the W3C
> WebCrypto group is planning to register use values corresponding to the
> KeyUsage values defined for WebCrypto Key objects. These KeyUsage values
> include, for example, encrypt, decrypt, sign, verify, wrap, unwrap etc.
>
>
>
> A WebCrypto Key object may have multiple KeyUsages and so we have a
> question as to how to represent that in JWK.
>
>
>
> One proposal is to allow the use string to contain a comma-separated list
> of values. We could register such a scheme directly with IANA.
>
>
>
> It would be cleaner, though, since this is JSON, to allow this attribute
> to have Array type where two or more usages are to be represented (it wou=
ld
> remain a string for the single-usage case). I've also had some negative
> feedback from implemetors about the comma-separated-value idea along
> yet-another-string-parser lines.
>
>
>
> Would it be possible to modify the Registry for JWK use values to allow
> data types other than String to be registered ?
>
>
>
> ...Mark
>
>
>
>
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small"><br=
></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Sat=
, Dec 14, 2013 at 2:53 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=3D"mail=
to:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@microsoft.c=
om</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">At least from my point of view, the problem =
here is that WebCrypto unnecessarily uses different identifiers for things =
that can already be distinguished from
 context.=A0 For instance with =93use=94:=94sig=94, if you have the private=
 key, you can do what WebCrypto calls =93sign=94 and if you have the public=
 key, you can do what WebCrypto calls =93verify=94.=A0 Both are parts of th=
e signature flow, and depending upon which key of the
 key-pair you=92re using, you can tell which is which.<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Likewise, WebCrypto unnecessarily distinguis=
hes between key encryption and data encryption, when you can tell from cont=
ext which you=92re doing.=A0 If that=92s not
 enough context, then include an =93alg=94 value with the JWK, to limit the=
 key use to a specific algorithm.=A0 (The JOSE =93alg=94 values for data en=
cryption and key encryption *<b>are</b>* different.)<u></u><u></u></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">And before you bring up symmetric keys, the =
operations are actually the same, so WebCrypto is insisting on a distinctio=
n without a difference.</span></p>
</div></div></blockquote><div><br></div><div><div class=3D"gmail_default" s=
tyle=3D"font-size:small">Encryption and decryption are certainly different.=
 As are encryption and wrapping.</div><div class=3D"gmail_default" style=3D=
"font-size:small">
<br></div><div class=3D"gmail_default" style=3D"font-size:small">The purpos=
e of the attribute is not to indicate the operation to be performed (which =
is indeed clear from context) but to restrict the operations that are permi=
tted. There are (I am told) good security reasons for applying such restric=
tions and for those to be in quite specific operations (&quot;principle of =
least privilege).</div>
</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);bord=
er-left-style:solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vli=
nk=3D"purple">
<div><p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calib=
ri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Has WebCrypto considered dropping the distin=
ctions such as sign/verify, which can be determined from context?</span></p=
>
</div></div></blockquote><div><br></div><div><div class=3D"gmail_default" s=
tyle=3D"font-size:small">No, for the reason above. I think there would be s=
trong objections to that.</div></div><div>=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le=
ft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(=
31,73,125)"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">From my point of view, it would be a lot cle=
aner to use a different identifier, such as =93WebCrypto_uses=94 than to ov=
erload =93use=94 with different, but related
 values.=A0 It will hurt interoperation by creating keys that use a common =
identifier differently, and in a non-interoperable manner.=A0 Far better to=
 use a different identifier, which can be safely ignored by vanilla JWK imp=
lementations, rather than to overload
 the standard identifier, and potentially cause JWK implementations to reje=
ct the keys.</span></p></div></div></blockquote><div><br></div><div><div cl=
ass=3D"gmail_default" style=3D"font-size:small">This was originally propose=
d and rejected=A0<a href=3D"https://www.w3.org/Bugs/Public/show_bug.cgi?id=
=3D23796" target=3D"_blank" style=3D"font-family:arial,sans-serif">https://=
www.w3.org/Bugs/Public/show_bug.cgi?id=3D23796</a></div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">Our current draft registers al=
l comma-separated lists of the individual values, but I think it would be b=
etter if we could register an Array type instead of a new string format whi=
ch needs to be parsed.</div>
<div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">...Mark</div><br></div><div>=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-styl=
e:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(=
31,73,125)"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u>=
<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<div>
<div style=3D"border-style:solid none none;border-top-color:rgb(181,196,223=
);border-top-width:1pt;padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10pt;font-family:Tahoma,=
sans-serif">From:</span></b><span style=3D"font-size:10pt;font-family:Tahom=
a,sans-serif"> Mark Watson [mailto:<a href=3D"mailto:watsonm@netflix.com" t=
arget=3D"_blank">watsonm@netflix.com</a>]
<br>
<b>Sent:</b> Saturday, December 14, 2013 12:37 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> Re: [jose] JWK &quot;use&quot; attribute and multiple uses<=
u></u><u></u></span></p>
</div>
</div><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal"><br>
<br>
Sent from my iPhone<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12pt"><br>
On Dec 13, 2013, at 9:04 PM, Mike Jones &lt;<a href=3D"mailto:Michael.Jones=
@microsoft.com" target=3D"_blank">Michael.Jones@microsoft.com</a>&gt; wrote=
:<u></u><u></u></p>
</div>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">As already fairly extensively discussed, man=
y in the JOSE working group believe that it is a security problem to use th=
e same key for multiple uses.=A0 Therefore,
 =93use=94 is, and I believe should remain, single-valued.</span><u></u><u>=
</u></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<p class=3D"MsoNormal">Well, this is in complete contradiction to the exist=
ing use values which each encompass multiple actual uses (enc =3D encrypt, =
decrypt, wrap, unwrap for example). I agree with the principle, but the cur=
rent use definition in JOSE doesn&#39;t.<u></u><u></u></p>

<div>
<p class=3D"MsoNormal"><br>
<br>
<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Also, as discussed on the list, if WebCrypto=
 wants to record additional key properties in a JWK, that=92s no problem.=
=A0 Just register a new key parameter and use
 it.=A0 For instance, you could register =93webcrypto_uses=94 and use exact=
ly the same key uses parameters that WebCrypto uses.=A0 Use of =93use=94 is=
 optional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY al=
so be used for WebCrypto keys.</span><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">There was strong push-back against registering a new=
 attribute with overlapping semantics and a preference for extending the ex=
isting attribute defined for this purpose. That is what we have done for th=
e &#39;single-use&#39; cases, but there are
 valid use-cases for multiple uses (e.g. both encrypt and decrypt).<u></u><=
u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The only question here is whether we can register an=
 Array type value or whether we have to register a string value which is a =
comma-separated list (with attendant parsing issues). It would be fine for =
JOSE to just relax the requirement
 that use values are strings and allow them to have any valid JSON value.<u=
></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<u></u><u></u></p>
</div>
<blockquote style=3D"margin-top:5pt;margin-bottom:5pt">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike</span>=
<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10pt;font-family:Tahoma,=
sans-serif">From:</span></b><span style=3D"font-size:10pt;font-family:Tahom=
a,sans-serif"> jose [<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_bl=
ank">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mark Watson<br>
<b>Sent:</b> Tuesday, December 10, 2013 1:09 PM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> [jose] JWK &quot;use&quot; attribute and multiple uses</spa=
n><u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">All,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Currently, the JWK &quot;use&quot; attribute effecti=
vely distinguishes between JWE (&quot;enc&quot;) and JWA (&quot;sign&quot;)=
.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">However, additional uses can be added to the registr=
y and the W3C WebCrypto group is planning to register use values correspond=
ing to the KeyUsage values defined for WebCrypto Key objects. These KeyUsag=
e values include, for example, encrypt,
 decrypt, sign, verify, wrap, unwrap etc.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">A WebCrypto Key object may have multiple KeyUsages a=
nd so we have a question as to how to represent that in JWK.<u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">One proposal is to allow the use string to contain a=
 comma-separated list of values. We could register such a scheme directly w=
ith IANA.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">It would be cleaner, though, since this is JSON, to =
allow this attribute to have Array type where two or more usages are to be =
represented (it would remain a string for the single-usage case). I&#39;ve =
also had some negative feedback from implemetors
 about the comma-separated-value idea along yet-another-string-parser lines=
.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Would it be possible to modify the Registry for JWK =
use values to allow data types other than String to be registered ?<u></u><=
u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">...Mark<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
</div></div></div>
</div>

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

--047d7bdc8e869889cb04eda8e691--

From James.H.Manger@team.telstra.com  Mon Dec 16 15:35:36 2013
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92B971AD9B7 for <jose@ietfa.amsl.com>; Mon, 16 Dec 2013 15:35:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.202
X-Spam-Level: 
X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RCVD_IN_DNSWL_NONE=-0.0001, RELAY_IS_203=0.994] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XpdhbhNJqXKU for <jose@ietfa.amsl.com>; Mon, 16 Dec 2013 15:35:34 -0800 (PST)
Received: from ipxbvo.tcif.telstra.com.au (ipxbvo.tcif.telstra.com.au [203.35.135.204]) by ietfa.amsl.com (Postfix) with ESMTP id 959F21ADBF7 for <jose@ietf.org>; Mon, 16 Dec 2013 15:35:33 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.95,498,1384261200"; d="scan'208";a="181761809"
Received: from unknown (HELO ipcdvi.tcif.telstra.com.au) ([10.97.217.212]) by ipobvi.tcif.telstra.com.au with ESMTP; 17 Dec 2013 10:35:31 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,7291"; a="181312188"
Received: from wsmsg3755.srv.dir.telstra.com ([172.49.40.196]) by ipcdvi.tcif.telstra.com.au with ESMTP; 17 Dec 2013 10:34:53 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3755.srv.dir.telstra.com ([172.49.40.196]) with mapi; Tue, 17 Dec 2013 10:34:53 +1100
From: "Manger, James" <James.H.Manger@team.telstra.com>
To: Manu Sporny <msporny@digitalbazaar.com>, JOSE WG <jose@ietf.org>
Date: Tue, 17 Dec 2013 10:34:51 +1100
Thread-Topic: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
Thread-Index: Ac72ujILqa0Xnr6bTi+gOly5h3r/AAD+SvZg
Message-ID: <255B9BB34FB7D647A506DC292726F6E115376CFF47@WSMSG3153V.srv.dir.telstra.com>
References: <52A8DCBC.6030801@digitalbazaar.com>
In-Reply-To: <52A8DCBC.6030801@digitalbazaar.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Dec 2013 23:35:36 -0000

VGhlcmUgbWlnaHQgYmUgc29tZ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gKiBQZXJzb25hIGZvciBhdXRobiAoaW5z
dGVhZCBvZiBPcGVuSUQpDQo+ICogSFRUUCBTaWduYXR1cmVzICYgU2VjdXJlIE1lc3NhZ2luZyBm
b3IgYXV0aHogKGluc3RlYWQgb2YgT3BlbklEKQ0KPiANCi4uLg0KPiAgICJwdWJsaWNLZXlQZW0i
OiAiLS0tLS1CRUdJTiBQUklWQVRFDQo+IEtFWS0tLS0tXG5NSUlCRzBCQS4uLk9DbERRQUJcbi0t
LS0tRU5EIFBSSVZBVEUgS0VZLS0tLS1cbiINCj4gfQ0KPiANCi4uLg0KPiAgICAgICAgcGxhY2lu
ZyBhbGwgcGFyYW1ldGVycyBpbiBhbiBvcGFxdWUgYmxvYiBvZiBpbmZvcm1hdGlvbiB0aGF0DQo+
ICAgICAgICBoYXMgYSBjbGVhciBiZWdpbm5pbmcgYW5kIGVuZCAoLS0tLS1CRUdJTiBSU0EgUFJJ
VkFURQ0KPiAgICAgICAgS0VZLS0tLS0sIGFuZCAtLS0gRU5EIFJTQSBQUklWQVRFIEtFWSAtLS0p
DQo=

From anders.rundgren.net@gmail.com  Wed Dec 18 10:18:10 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01B9F1AE0A6 for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 10:18:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k14tzTMN_DfO for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 10:18:07 -0800 (PST)
Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 6BCC91AE005 for <jose@ietf.org>; Wed, 18 Dec 2013 10:18:07 -0800 (PST)
Received: by mail-wg0-f43.google.com with SMTP id k14so13388wgh.10 for <jose@ietf.org>; Wed, 18 Dec 2013 10:18:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=fYvkuoPRVFQPHnkeoZpawzVE96n3hUvidIlBDTwc/E4=; b=KOpHUC+qnsMk1NkmnQcngwQ0L3QyzV18ov9Dzh4uDKKKD/34+6WMf3L85xYJezZJ7R izyXacnZVipHzDQ7dyJXseFdVGrgDO47A0XFw0sXObytDP/CISeq7C9EUm0VD0jOkbBw 3m3ABRpOyJhyEu7foATOUVuFcwcyDEGW77pu4qzAaDgSfzFGPabncIRt7pCQdmegky4V /XmfV1qqJGyuRtwzW7aCCEqZ8XtwU7tCtPaTpibezghSDOmccgpOwT7Vz1u6bPfTcfpz xxtt/WWnR+MgSegw3RWaAUiqWiGvappCsiRKV3JR9LGuWbKXhqknqYavV1kNLnTcqvaI iSRw==
X-Received: by 10.194.59.4 with SMTP id v4mr25551142wjq.52.1387390685559; Wed, 18 Dec 2013 10:18:05 -0800 (PST)
Received: from [192.168.1.99] (157.118.12.109.rev.sfr.net. [109.12.118.157]) by mx.google.com with ESMTPSA id fj8sm5929504wib.1.2013.12.18.10.18.04 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Dec 2013 10:18:05 -0800 (PST)
Message-ID: <52B1E6CE.1080109@gmail.com>
Date: Wed, 18 Dec 2013 19:17:50 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [jose] JSON Cleartext Signature - Non-WGLC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Dec 2013 18:18:10 -0000

https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html

Enjoy!

BTW, this was my first try with HTML5 instead of PDF.  It worked :-)
Well, only if you run an up-to-date browser of course...

Regards,
Anders

Source:
https://code.google.com/p/openkeystore/source/browse/library/trunk/src/org/webpki/json

From ietf@augustcellars.com  Wed Dec 18 12:44:37 2013
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E1091AE2AA for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 12:44:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lkcUtE7kce-B for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 12:44:33 -0800 (PST)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 31FB31AE29D for <jose@ietf.org>; Wed, 18 Dec 2013 12:44:32 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 3ED6B2CA0C; Wed, 18 Dec 2013 12:44:31 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mark Watson'" <watsonm@netflix.com>, "'Mike Jones'" <Michael.Jones@microsoft.com>
References: <CAEnTvdALiOyoh0JdPZWpR9RZa1mhUVTvkmuxpvT14Do1M210Cg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B48@TK5EX14MBXC286.redmond.corp.microsoft.com> <-4792436572330998828@unknownmsgid> <4E1F6AAD24975D4BA5B16804296739437CD49282@TK5EX14MBXC286.redmond.corp.microsoft.com> <CAEnTvdAwG8DcGz-pU3ArDWwSZTgtF0W1o7X72u2io_ZQLyYn0g@mail.gmail.com>
In-Reply-To: <CAEnTvdAwG8DcGz-pU3ArDWwSZTgtF0W1o7X72u2io_ZQLyYn0g@mail.gmail.com>
Date: Wed, 18 Dec 2013 12:42:58 -0800
Message-ID: <041e01cefc31$be0d68f0$3a283ad0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_041F_01CEFBEE.AFF09190"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQMZ7EH4c+04PzmC8FpG+c/H8dbU7QGeAHDUAly95b0CJm/G0gFp/einl4gpsuA=
Content-Language: en-us
Cc: jose@ietf.org
Subject: Re: [jose] JWK "use" attribute and multiple uses
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Dec 2013 20:44:37 -0000

This is a multipart message in MIME format.

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

I have a lot of sympathy for the position that Mark is saying here.

 

This is an example of where it would be useful to be able to be more
specific about what  usage for a key is.

 

I am going to send MAC-ed message between the server and the client, in
order to help in determining origin issues I will be using different keys
for that purpose.  Thus what I want to do is send the following

 

{ keys: [

   {"kty":"oct", "use":"mac-create",
"kid":"foo","alg":"HS256","k":"GawgguFyGrWKav7AX4VKUg"},

   {"kty":"oct","use":"mac-verify", "kid":"foo",
"alg":"HS256","k":"GaWggUfyGRWKAv7Ax6e3fg"}

]}

 

Since they are going to be used on the same channel, using the same kid
value makes sense.  However, allowing for a finer control on the usage means
that it is possible to easily distinguish which key one should be using for
verification of the MAC and which is used for create of the MAC value.

 

You can end up in a similar situation when dealing with AES-GCM - you want
to have different keys for the different directions so that you can manage
the uniqueness of the nonce values locally for the key one would encrypt
with.  This means that one does not need to allocate the nonce space between
the different possible encryption originators.

 

The only real counter argument that I know of is the case of wanting to make
sure that you cannot specify a lot of different things for a key which might
lead to security problems in the future.  This is the argument that for an
RSA key one should not allow for both signing and encryption as a usage on a
single private key value.   However some of our moral high-ground on this
argument is severely undercut by the fact that use is an optional rather
than mandatory field.  Thus by not saying anything all usages are allowed.

 

 

 

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Monday, December 16, 2013 8:00 AM
To: Mike Jones
Cc: jose@ietf.org
Subject: Re: [jose] JWK "use" attribute and multiple uses

 

 

 

On Sat, Dec 14, 2013 at 2:53 PM, Mike Jones <Michael.Jones@microsoft.com>
wrote:

At least from my point of view, the problem here is that WebCrypto
unnecessarily uses different identifiers for things that can already be
distinguished from context.  For instance with "use":"sig", if you have the
private key, you can do what WebCrypto calls "sign" and if you have the
public key, you can do what WebCrypto calls "verify".  Both are parts of the
signature flow, and depending upon which key of the key-pair you're using,
you can tell which is which.

 

Likewise, WebCrypto unnecessarily distinguishes between key encryption and
data encryption, when you can tell from context which you're doing.  If
that's not enough context, then include an "alg" value with the JWK, to
limit the key use to a specific algorithm.  (The JOSE "alg" values for data
encryption and key encryption *are* different.)

 

And before you bring up symmetric keys, the operations are actually the
same, so WebCrypto is insisting on a distinction without a difference.

 

Encryption and decryption are certainly different. As are encryption and
wrapping.

 

The purpose of the attribute is not to indicate the operation to be
performed (which is indeed clear from context) but to restrict the
operations that are permitted. There are (I am told) good security reasons
for applying such restrictions and for those to be in quite specific
operations ("principle of least privilege).

 

 

Has WebCrypto considered dropping the distinctions such as sign/verify,
which can be determined from context?

 

No, for the reason above. I think there would be strong objections to that.

 

 

>From my point of view, it would be a lot cleaner to use a different
identifier, such as "WebCrypto_uses" than to overload "use" with different,
but related values.  It will hurt interoperation by creating keys that use a
common identifier differently, and in a non-interoperable manner.  Far
better to use a different identifier, which can be safely ignored by vanilla
JWK implementations, rather than to overload the standard identifier, and
potentially cause JWK implementations to reject the keys.

 

This was originally proposed and rejected
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=23796>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23796

 

Our current draft registers all comma-separated lists of the individual
values, but I think it would be better if we could register an Array type
instead of a new string format which needs to be parsed.

 

...Mark

 

 

 

                                                            -- Mike

 

From: Mark Watson [mailto:watsonm@netflix.com] 
Sent: Saturday, December 14, 2013 12:37 AM
To: Mike Jones
Cc: jose@ietf.org
Subject: Re: [jose] JWK "use" attribute and multiple uses

 



Sent from my iPhone


On Dec 13, 2013, at 9:04 PM, Mike Jones <Michael.Jones@microsoft.com> wrote:

As already fairly extensively discussed, many in the JOSE working group
believe that it is a security problem to use the same key for multiple uses.
Therefore, "use" is, and I believe should remain, single-valued.

 

Well, this is in complete contradiction to the existing use values which
each encompass multiple actual uses (enc = encrypt, decrypt, wrap, unwrap
for example). I agree with the principle, but the current use definition in
JOSE doesn't.

 

 

Also, as discussed on the list, if WebCrypto wants to record additional key
properties in a JWK, that's no problem.  Just register a new key parameter
and use it.  For instance, you could register "webcrypto_uses" and use
exactly the same key uses parameters that WebCrypto uses.  Use of "use" is
optional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY also
be used for WebCrypto keys.

 

There was strong push-back against registering a new attribute with
overlapping semantics and a preference for extending the existing attribute
defined for this purpose. That is what we have done for the 'single-use'
cases, but there are valid use-cases for multiple uses (e.g. both encrypt
and decrypt).

 

The only question here is whether we can register an Array type value or
whether we have to register a string value which is a comma-separated list
(with attendant parsing issues). It would be fine for JOSE to just relax the
requirement that use values are strings and allow them to have any valid
JSON value.

 

...Mark

 

                                                            -- Mike

 

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mark Watson
Sent: Tuesday, December 10, 2013 1:09 PM
To: jose@ietf.org
Subject: [jose] JWK "use" attribute and multiple uses

 

All,

 

Currently, the JWK "use" attribute effectively distinguishes between JWE
("enc") and JWA ("sign").

 

However, additional uses can be added to the registry and the W3C WebCrypto
group is planning to register use values corresponding to the KeyUsage
values defined for WebCrypto Key objects. These KeyUsage values include, for
example, encrypt, decrypt, sign, verify, wrap, unwrap etc.

 

A WebCrypto Key object may have multiple KeyUsages and so we have a question
as to how to represent that in JWK.

 

One proposal is to allow the use string to contain a comma-separated list of
values. We could register such a scheme directly with IANA.

 

It would be cleaner, though, since this is JSON, to allow this attribute to
have Array type where two or more usages are to be represented (it would
remain a string for the single-usage case). I've also had some negative
feedback from implemetors about the comma-separated-value idea along
yet-another-string-parser lines.

 

Would it be possible to modify the Registry for JWK use values to allow data
types other than String to be registered ?

 

...Mark

 

 

 


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I have a lot of sympathy for the position that Mark is saying =
here.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>This is an example of where it would be useful to be able to be more =
specific about what&nbsp; usage for a key is.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I am going to send MAC-ed message between the server and the client, =
in order to help in determining origin issues I will be using different =
keys for that purpose.&nbsp; Thus what I want to do is send the =
following<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>{ keys: [<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; {&#8220;kty&#8221;:&#8221;oct&#8221;, =
&#8220;use&#8221;:&#8221;mac-create&#8221;, =
&#8220;kid&#8221;:&#8221;foo&#8221;,&#8221;alg&#8221;:&#8221;HS256&#8221;=
,&quot;k&quot;:&quot;GawgguFyGrWKav7AX4VKUg&quot;},<o:p></o:p></span></p>=
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp; =
&nbsp;{&#8220;kty&#8221;:&#8221;oct&#8221;,&#8221;use&#8221;:&#8221;mac-v=
erify&#8221;, &#8220;kid&#8221;:&#8221;foo&#8221;, =
&#8221;alg&#8221;:&#8221;HS256&#8221;,&quot;k&quot;:&quot;GaWggUfyGRWKAv7=
Ax6e3fg&quot;}<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>]}<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Since they are going to be used on the same channel, using the same =
kid value makes sense.&nbsp; However, allowing for a finer control on =
the usage means that it is possible to easily distinguish which key one =
should be using for verification of the MAC and which is used for create =
of the MAC value.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>You can end up in a similar situation when dealing with AES-GCM =
&#8211; you want to have different keys for the different directions so =
that you can manage the uniqueness of the nonce values locally for the =
key one would encrypt with.&nbsp; This means that one does not need to =
allocate the nonce space between the different possible encryption =
originators.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The only real counter argument that I know of is the case of wanting =
to make sure that you cannot specify a lot of different things for a key =
which might lead to security problems in the future.&nbsp; This is the =
argument that for an RSA key one should not allow for both signing and =
encryption as a usage on a single private key value.&nbsp; &nbsp;However =
some of our moral high-ground on this argument is severely undercut by =
the fact that use is an optional rather than mandatory field.&nbsp; Thus =
by not saying anything all usages are allowed.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [mailto:jose-bounces@ietf.org] <b>On Behalf Of </b>Mark =
Watson<br><b>Sent:</b> Monday, December 16, 2013 8:00 AM<br><b>To:</b> =
Mike Jones<br><b>Cc:</b> jose@ietf.org<br><b>Subject:</b> Re: [jose] JWK =
&quot;use&quot; attribute and multiple =
uses<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal>On Sat, Dec 14, 2013 at 2:53 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank">Michael.Jones@microsoft.com</a>&gt; =
wrote:<o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>At least from my point of view, the problem here is that WebCrypto =
unnecessarily uses different identifiers for things that can already be =
distinguished from context.&nbsp; For instance with =
&#8220;use&#8221;:&#8221;sig&#8221;, if you have the private key, you =
can do what WebCrypto calls &#8220;sign&#8221; and if you have the =
public key, you can do what WebCrypto calls &#8220;verify&#8221;.&nbsp; =
Both are parts of the signature flow, and depending upon which key of =
the key-pair you&#8217;re using, you can tell which is =
which.</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Likewise, WebCrypto unnecessarily distinguishes between key =
encryption and data encryption, when you can tell from context which =
you&#8217;re doing.&nbsp; If that&#8217;s not enough context, then =
include an &#8220;alg&#8221; value with the JWK, to limit the key use to =
a specific algorithm.&nbsp; (The JOSE &#8220;alg&#8221; values for data =
encryption and key encryption *<b>are</b>* =
different.)</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>And before you bring up symmetric keys, the operations are actually =
the same, so WebCrypto is insisting on a distinction without a =
difference.</span><o:p></o:p></p></div></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p =
class=3DMsoNormal>Encryption and decryption are certainly different. As =
are encryption and wrapping.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>The purpose of the attribute is not to indicate the =
operation to be performed (which is indeed clear from context) but to =
restrict the operations that are permitted. There are (I am told) good =
security reasons for applying such restrictions and for those to be in =
quite specific operations (&quot;principle of least =
privilege).<o:p></o:p></p></div></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><blockquote =
style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in =
6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Has WebCrypto considered dropping the distinctions such as =
sign/verify, which can be determined from =
context?</span><o:p></o:p></p></div></div></blockquote><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p =
class=3DMsoNormal>No, for the reason above. I think there would be =
strong objections to that.<o:p></o:p></p></div></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><blockquote =
style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in =
6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>From my point of view, it would be a lot cleaner to use a different =
identifier, such as &#8220;WebCrypto_uses&#8221; than to overload =
&#8220;use&#8221; with different, but related values.&nbsp; It will hurt =
interoperation by creating keys that use a common identifier =
differently, and in a non-interoperable manner.&nbsp; Far better to use =
a different identifier, which can be safely ignored by vanilla JWK =
implementations, rather than to overload the standard identifier, and =
potentially cause JWK implementations to reject the =
keys.</span><o:p></o:p></p></div></div></blockquote><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p =
class=3DMsoNormal>This was originally proposed and rejected&nbsp;<a =
href=3D"https://www.w3.org/Bugs/Public/show_bug.cgi?id=3D23796" =
target=3D"_blank"><span =
style=3D'font-family:"Arial","sans-serif"'>https://www.w3.org/Bugs/Public=
/show_bug.cgi?id=3D23796</span></a><o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Our current draft registers all comma-separated lists =
of the individual values, but I think it would be better if we could =
register an Array type instead of a new string format which needs to be =
parsed.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>...Mark<o:p></o:p></p></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><blockquote =
style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in =
6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Mark Watson [mailto:<a href=3D"mailto:watsonm@netflix.com" =
target=3D"_blank">watsonm@netflix.com</a>] <br><b>Sent:</b> Saturday, =
December 14, 2013 12:37 AM<br><b>To:</b> Mike Jones<br><b>Cc:</b> <a =
href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br><b>Subject:</b> Re: [jose] JWK =
&quot;use&quot; attribute and multiple =
uses</span><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br>Sent=
 from my iPhone<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>On Dec 13, =
2013, at 9:04 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank">Michael.Jones@microsoft.com</a>&gt; =
wrote:<o:p></o:p></p></div><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>As already fairly extensively discussed, many in the JOSE working =
group believe that it is a security problem to use the same key for =
multiple uses.&nbsp; Therefore, &#8220;use&#8221; is, and I believe =
should remain, =
single-valued.</span><o:p></o:p></p></div></blockquote><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Well, this =
is in complete contradiction to the existing use values which each =
encompass multiple actual uses (enc =3D encrypt, decrypt, wrap, unwrap =
for example). I agree with the principle, but the current use definition =
in JOSE doesn't.<o:p></o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><o:p>&nbsp;</o:p><=
/p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Also, as discussed on the list, if WebCrypto wants to record =
additional key properties in a JWK, that&#8217;s no problem.&nbsp; Just =
register a new key parameter and use it.&nbsp; For instance, you could =
register &#8220;webcrypto_uses&#8221; and use exactly the same key uses =
parameters that WebCrypto uses.&nbsp; Use of &#8220;use&#8221; is =
optional, and WebCrypto could specify whether it MUST, MUST NOT, or MAY =
also be used for WebCrypto keys.</span><o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>There was =
strong push-back against registering a new attribute with overlapping =
semantics and a preference for extending the existing attribute defined =
for this purpose. That is what we have done for the 'single-use' cases, =
but there are valid use-cases for multiple uses (e.g. both encrypt and =
decrypt).<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The only =
question here is whether we can register an Array type value or whether =
we have to register a string value which is a comma-separated list (with =
attendant parsing issues). It would be fine for JOSE to just relax the =
requirement that use values are strings and allow them to have any valid =
JSON value.<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>...Mark<o:p>=
</o:p></p></div><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
jose [<a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">mailto:jose-bounces@ietf.org</a>] <b>On Behalf Of =
</b>Mark Watson<br><b>Sent:</b> Tuesday, December 10, 2013 1:09 =
PM<br><b>To:</b> <a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br><b>Subject:</b> [jose] JWK =
&quot;use&quot; attribute and multiple uses</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>All,<o:p></o=
:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Currently, =
the JWK &quot;use&quot; attribute effectively distinguishes between JWE =
(&quot;enc&quot;) and JWA =
(&quot;sign&quot;).<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>However, =
additional uses can be added to the registry and the W3C WebCrypto group =
is planning to register use values corresponding to the KeyUsage values =
defined for WebCrypto Key objects. These KeyUsage values include, for =
example, encrypt, decrypt, sign, verify, wrap, unwrap =
etc.<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>A WebCrypto =
Key object may have multiple KeyUsages and so we have a question as to =
how to represent that in JWK.<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>One =
proposal is to allow the use string to contain a comma-separated list of =
values. We could register such a scheme directly with =
IANA.<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>It would be =
cleaner, though, since this is JSON, to allow this attribute to have =
Array type where two or more usages are to be represented (it would =
remain a string for the single-usage case). I've also had some negative =
feedback from implemetors about the comma-separated-value idea along =
yet-another-string-parser lines.<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Would it be =
possible to modify the Registry for JWK use values to allow data types =
other than String to be registered ?<o:p></o:p></p></div><div><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>...Mark<o:p>=
</o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div></div></blockquote></div></div></div></div></div></b=
lockquote></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></body></h=
tml>
------=_NextPart_000_041F_01CEFBEE.AFF09190--


From odonoghue@isoc.org  Wed Dec 18 13:42:46 2013
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA5DB1ACB4E for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 13:42:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wj0-MwCrUzN2 for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 13:42:44 -0800 (PST)
Received: from smtp206.dfw.emailsrvr.com (smtp206.dfw.emailsrvr.com [67.192.241.206]) by ietfa.amsl.com (Postfix) with ESMTP id 850001AE192 for <jose@ietf.org>; Wed, 18 Dec 2013 13:42:44 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp10.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 2A9E51B89B6 for <jose@ietf.org>; Wed, 18 Dec 2013 16:42:42 -0500 (EST)
X-Virus-Scanned: OK
Received: by smtp10.relay.dfw1a.emailsrvr.com (Authenticated sender: odonoghue-AT-isoc.org) with ESMTPSA id D18CC1B8994 for <jose@ietf.org>; Wed, 18 Dec 2013 16:42:41 -0500 (EST)
Message-ID: <52B216D1.3030505@isoc.org>
Date: Wed, 18 Dec 2013 16:42:41 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
Organization: ISOC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: jose@ietf.org
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com>
Content-Type: multipart/alternative; boundary="------------030908050506090008080407"
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: odonoghue@isoc.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Dec 2013 21:42:47 -0000

This is a multi-part message in MIME format.
--------------030908050506090008080407
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

Karen

On 12/13/13 11:53 PM, Mike Jones wrote:
>
> The meaning of "Prohibited" is already clear. 
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.1.1 
> says:
>
> Any identifiers registered for non-authenticated encryption algorithms
>
> or other algorithms that are otherwise unsuitable for direct use
>
> as JWS or JWE algorithms must be registered as "Prohibited".
>
> I don't think a change is needed.
>
> -- Mike
>
> *From:*jose [mailto:jose-bounces@ietf.org] *On Behalf Of *Mark Watson
> *Sent:* Friday, December 13, 2013 5:43 PM
> *To:* Jim Schaad
> *Cc:* jose@ietf.org
> *Subject:* Re: [jose] Issue #187 - Allow registration of non-JWE/JWS 
> algorithms for JWK
>
> Yes, I think it would be clearer to change or quality the term. "JWK 
> only" or "Key Transport Only" or "Prohibited for JWE/JWS" could all work.
>
> FYI, the WebCrypto registrations are not in the Editor's Draft at 
> https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html, 
> though there remains the question of whether we could register an 
> Array format instead of a string for JWK, as per my earlier mail 
> (comments please!).
>
> ...Mark
>
> On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com 
> <mailto:ietf@augustcellars.com>> wrote:
>
> Minor question before I close this bug.
>
> Is there any sentiment to use a term that is not quite as "nasty" as 
> "Prohibited" in the registration record. Specifically something along 
> the lines of "Key Transport Only".
>
> Jim
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org <mailto:jose@ietf.org>
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


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

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">True, but, is there any harm in making
      the term clearer as well? I don't see one...<br>
      <br>
      Karen<br>
      <br>
      On 12/13/13 11:53 PM, Mike Jones wrote:<br>
    </div>
    <blockquote
cite="mid:4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
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.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
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;}
@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="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The
            meaning of &#8220;Prohibited&#8221; is already clear.&nbsp;
            <a moz-do-not-send="true"
href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.1.1">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.1.1</a>
            says:<o:p></o:p></span></p>
        <p class="MsoNormal" style="page-break-before:always"><span
            style="font-family:&quot;Courier New&quot;" lang="EN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            Any identifiers registered for non-authenticated encryption
            algorithms<o:p></o:p></span></p>
        <p class="MsoNormal" style="page-break-before:always"><span
            style="font-family:&quot;Courier New&quot;" lang="EN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            or other algorithms that are otherwise unsuitable for direct
            use<o:p></o:p></span></p>
        <p class="MsoNormal" style="page-break-before:always"><span
            style="font-family:&quot;Courier New&quot;" lang="EN">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            as JWS or JWE algorithms must be registered as "Prohibited".<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            don&#8217;t think a change is needed.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            -- Mike<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
            jose [<a class="moz-txt-link-freetext" href="mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
            <b>On Behalf Of </b>Mark Watson<br>
            <b>Sent:</b> Friday, December 13, 2013 5:43 PM<br>
            <b>To:</b> Jim Schaad<br>
            <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:jose@ietf.org">jose@ietf.org</a><br>
            <b>Subject:</b> Re: [jose] Issue #187 - Allow registration
            of non-JWE/JWS algorithms for JWK<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <div>
          <div>
            <p class="MsoNormal">Yes, I think it would be clearer to
              change or quality the term. "JWK only" or "Key Transport
              Only" or "Prohibited for JWE/JWS" could all work.<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          </div>
          <div>
            <p class="MsoNormal">FYI, the WebCrypto registrations are
              not in the Editor's Draft at&nbsp;<a moz-do-not-send="true"
href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html</a>,
              though there remains the question of whether we could
              register an Array format instead of a string for JWK, as
              per my earlier mail (comments please!).<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          </div>
          <div>
            <p class="MsoNormal">...Mark<o:p></o:p></p>
          </div>
        </div>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
          <div>
            <p class="MsoNormal">On Fri, Dec 13, 2013 at 5:00 PM, Jim
              Schaad &lt;<a moz-do-not-send="true"
                href="mailto:ietf@augustcellars.com" target="_blank">ietf@augustcellars.com</a>&gt;
              wrote:<o:p></o:p></p>
            <div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Minor
                  question before I close this bug.&nbsp;
                  <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Is
                  there any sentiment to use a term that is not quite as
                  &#8220;nasty&#8221; as &#8220;Prohibited&#8221; in the registration record.&nbsp;&nbsp;
                  Specifically something along the lines of &#8220;Key
                  Transport Only&#8221;.<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    style="color:#888888">&nbsp;<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    style="color:#888888">Jim<o:p></o:p></span></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                    style="color:#888888">&nbsp;<o:p></o:p></span></p>
              </div>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
              _______________________________________________<br>
              jose mailing list<br>
              <a moz-do-not-send="true" href="mailto:jose@ietf.org">jose@ietf.org</a><br>
              <a moz-do-not-send="true"
                href="https://www.ietf.org/mailman/listinfo/jose"
                target="_blank">https://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
          </div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
jose mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jose@ietf.org">jose@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/jose">https://www.ietf.org/mailman/listinfo/jose</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------030908050506090008080407--

From rlb@ipv.sx  Wed Dec 18 15:41:44 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 635051AE277 for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 15:41:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dR3-4dn5yYcA for <jose@ietfa.amsl.com>; Wed, 18 Dec 2013 15:41:39 -0800 (PST)
Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by ietfa.amsl.com (Postfix) with ESMTP id 67DA01AE265 for <jose@ietf.org>; Wed, 18 Dec 2013 15:41:39 -0800 (PST)
Received: by mail-oa0-f50.google.com with SMTP id n16so427660oag.23 for <jose@ietf.org>; Wed, 18 Dec 2013 15:41:37 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/bY5qHPORM3DTQ2CnT7X0f8odcUEz6KGGPplQ+UsRPM=; b=WtmQmac57//0yRflQclqt+F2D80pucJg49twW3M/VfGIkqGyUEG00bQmHEFEzxDiok hTzhVxb8y3/O6qaRcCi9cyqoalNweA21/fr4UL3NXv9yY57qkwmqYcQNNG6hFS/K2Noq Vm1U52LWDOQ8xaEV4ho2qrUxoSctNmFA16abcj3yILXTRI2wwGH1trVyvv1zQ9iK8++l cTcg7roZnMZuhvHfzp6woj6Qvi0qfkLIoDi+cB58LnWN6u0eg9OmtYvHRxmIWs0BrZIh JeJGSBCUfJ9O+W716qzBGyG/BLOs/L+SkOBDettpTmZlpHk9e7I2pP+mQnqwBUQZY4ik TwJg==
X-Gm-Message-State: ALoCoQnEeAHHKzKioozHmU10YjzuZp7EowzdCA4pY6mVHNCqBlABfaFB60OJHYR9UTAF2PQIBYu+
MIME-Version: 1.0
X-Received: by 10.60.47.116 with SMTP id c20mr14135069oen.60.1387410097685; Wed, 18 Dec 2013 15:41:37 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Wed, 18 Dec 2013 15:41:37 -0800 (PST)
In-Reply-To: <52B216D1.3030505@isoc.org>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com> <52B216D1.3030505@isoc.org>
Date: Wed, 18 Dec 2013 18:41:37 -0500
Message-ID: <CAL02cgSRp90z5S-znoy4LA1rmh=Jdo6c52s7K+8kVTMFLX_kFg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Karen ODonoghue <odonoghue@isoc.org>
Content-Type: multipart/alternative; boundary=047d7b450dc007da6d04edd7966f
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Dec 2013 23:41:44 -0000

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

I'm with Jim and Karen on this one.


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

>  True, but, is there any harm in making the term clearer as well? I don't
> see one...
>
> Karen
>
>
> On 12/13/13 11:53 PM, Mike Jones wrote:
>
>  The meaning of =93Prohibited=94 is already clear.
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section=
-7.1.1says:
>
>       Any identifiers registered for non-authenticated encryption
> algorithms
>
>       or other algorithms that are otherwise unsuitable for direct use
>
>       as JWS or JWE algorithms must be registered as "Prohibited".
>
>
>
> I don=92t think a change is needed.
>
>
>
>                                                             -- Mike
>
>
>
> *From:* jose [mailto:jose-bounces@ietf.org <jose-bounces@ietf.org>] *On
> Behalf Of *Mark Watson
> *Sent:* Friday, December 13, 2013 5:43 PM
> *To:* Jim Schaad
> *Cc:* jose@ietf.org
> *Subject:* Re: [jose] Issue #187 - Allow registration of non-JWE/JWS
> algorithms for JWK
>
>
>
> Yes, I think it would be clearer to change or quality the term. "JWK only=
"
> or "Key Transport Only" or "Prohibited for JWE/JWS" could all work.
>
>
>
> FYI, the WebCrypto registrations are not in the Editor's Draft at
> https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html,
> though there remains the question of whether we could register an Array
> format instead of a string for JWK, as per my earlier mail (comments
> please!).
>
>
>
> ...Mark
>
>
>
> On Fri, Dec 13, 2013 at 5:00 PM, Jim Schaad <ietf@augustcellars.com>
> wrote:
>
> Minor question before I close this bug.
>
>
>
> Is there any sentiment to use a term that is not quite as =93nasty=94 as
> =93Prohibited=94 in the registration record.   Specifically something alo=
ng the
> lines of =93Key Transport Only=94.
>
>
>
> Jim
>
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>
>
>
> _______________________________________________
> jose mailing listjose@ietf.orghttps://www.ietf.org/mailman/listinfo/jose
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>

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

<div dir=3D"ltr">I&#39;m with Jim and Karen on this one.</div><div class=3D=
"gmail_extra"><br><br><div class=3D"gmail_quote">On Wed, Dec 18, 2013 at 4:=
42 PM, Karen O&#39;Donoghue <span dir=3D"ltr">&lt;<a href=3D"mailto:odonogh=
ue@isoc.org" target=3D"_blank">odonoghue@isoc.org</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>True, but, is there any harm in making
      the term clearer as well? I don&#39;t see one...<span class=3D"HOEnZb=
"><font color=3D"#888888"><br>
      <br>
      Karen</font></span><div><div class=3D"h5"><br>
      <br>
      On 12/13/13 11:53 PM, Mike Jones wrote:<br>
    </div></div></div><div><div class=3D"h5">
    <blockquote type=3D"cite">
     =20
     =20
     =20
      <div>
        <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">The
            meaning of =93Prohibited=94 is already clear.=A0
            <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-=
algorithms-18#section-7.1.1" target=3D"_blank">http://tools.ietf.org/html/d=
raft-ietf-jose-json-web-algorithms-18#section-7.1.1</a>
            says:<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New=
&quot;" lang=3D"EN">=A0=A0=A0=A0=A0
            Any identifiers registered for non-authenticated encryption
            algorithms<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New=
&quot;" lang=3D"EN">=A0=A0=A0=A0=A0
            or other algorithms that are otherwise unsuitable for direct
            use<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New=
&quot;" lang=3D"EN">=A0=A0=A0=A0=A0
            as JWS or JWE algorithms must be registered as &quot;Prohibited=
&quot;.<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u>=
</span></p>
        <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I
            don=92t think a change is needed.<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u>=
</span></p>
        <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0
            -- Mike<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u>=
</span></p>
        <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-fami=
ly:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=
=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"=
>
            jose [<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank=
">mailto:jose-bounces@ietf.org</a>]
            <b>On Behalf Of </b>Mark Watson<br>
            <b>Sent:</b> Friday, December 13, 2013 5:43 PM<br>
            <b>To:</b> Jim Schaad<br>
            <b>Cc:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">j=
ose@ietf.org</a><br>
            <b>Subject:</b> Re: [jose] Issue #187 - Allow registration
            of non-JWE/JWS algorithms for JWK<u></u><u></u></span></p>
        <p class=3D"MsoNormal"><u></u>=A0<u></u></p>
        <div>
          <div>
            <p class=3D"MsoNormal">Yes, I think it would be clearer to
              change or quality the term. &quot;JWK only&quot; or &quot;Key=
 Transport
              Only&quot; or &quot;Prohibited for JWE/JWS&quot; could all wo=
rk.<u></u><u></u></p>
          </div>
          <div>
            <p class=3D"MsoNormal"><u></u>=A0<u></u></p>
          </div>
          <div>
            <p class=3D"MsoNormal">FYI, the WebCrypto registrations are
              not in the Editor&#39;s Draft at=A0<a href=3D"https://dvcs.w3=
.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html" target=3D"_blank">ht=
tps://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html</a>,
              though there remains the question of whether we could
              register an Array format instead of a string for JWK, as
              per my earlier mail (comments please!).<u></u><u></u></p>
          </div>
          <div>
            <p class=3D"MsoNormal"><u></u>=A0<u></u></p>
          </div>
          <div>
            <p class=3D"MsoNormal">...Mark<u></u><u></u></p>
          </div>
        </div>
        <div>
          <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>=A0<=
u></u></p>
          <div>
            <p class=3D"MsoNormal">On Fri, Dec 13, 2013 at 5:00 PM, Jim
              Schaad &lt;<a href=3D"mailto:ietf@augustcellars.com" target=
=3D"_blank">ietf@augustcellars.com</a>&gt;
              wrote:<u></u><u></u></p>
            <div>
              <div>
                <p class=3D"MsoNormal">Minor
                  question before I close this bug.=A0
                  <u></u><u></u></p>
                <p class=3D"MsoNormal">=A0<u></u><u></u></p>
                <p class=3D"MsoNormal">Is
                  there any sentiment to use a term that is not quite as
                  =93nasty=94 as =93Prohibited=94 in the registration recor=
d.=A0=A0
                  Specifically something along the lines of =93Key
                  Transport Only=94.<u></u><u></u></p>
                <p class=3D"MsoNormal"><span style=3D"color:#888888">=A0<u>=
</u><u></u></span></p>
                <p class=3D"MsoNormal"><span style=3D"color:#888888">Jim<u>=
</u><u></u></span></p>
                <p class=3D"MsoNormal"><span style=3D"color:#888888">=A0<u>=
</u><u></u></span></p>
              </div>
            </div>
            <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
              _______________________________________________<br>
              jose mailing list<br>
              <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.=
org</a><br>
              <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><u></u><u></u></p=
>
          </div>
          <p class=3D"MsoNormal"><u></u>=A0<u></u></p>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
jose mailing list
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
<br></blockquote></div><br></div>

--047d7b450dc007da6d04edd7966f--

From Michael.Jones@microsoft.com  Thu Dec 19 00:02:20 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEFCD1AE168 for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 00:02:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tMWNxEYo3lLa for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 00:02:17 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0238.outbound.protection.outlook.com [207.46.163.238]) by ietfa.amsl.com (Postfix) with ESMTP id 9E3881AE02C for <jose@ietf.org>; Thu, 19 Dec 2013 00:02:17 -0800 (PST)
Received: from BL2PR03CA013.namprd03.prod.outlook.com (10.141.66.21) by BL2PR03MB244.namprd03.prod.outlook.com (10.255.231.26) with Microsoft SMTP Server (TLS) id 15.0.842.7; Thu, 19 Dec 2013 08:02:12 +0000
Received: from BN1BFFO11FD023.protection.gbl (2a01:111:f400:7c10::1:117) by BL2PR03CA013.outlook.office365.com (2a01:111:e400:c1b::21) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Thu, 19 Dec 2013 08:02:12 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD023.mail.protection.outlook.com (10.58.144.86) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Thu, 19 Dec 2013 08:02:12 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id 14.03.0158.002; Thu, 19 Dec 2013 08:01:35 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Richard Barnes <rlb@ipv.sx>, Karen ODonoghue <odonoghue@isoc.org>
Thread-Topic: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
Thread-Index: AQHO+G3+K+DD7oIuB02zR4Md/olSWppTHgjggAdlQ4CAACE7gIAAiYAg
Date: Thu, 19 Dec 2013 08:01:34 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD4E00E@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com> <52B216D1.3030505@isoc.org> <CAL02cgSRp90z5S-znoy4LA1rmh=Jdo6c52s7K+8kVTMFLX_kFg@mail.gmail.com>
In-Reply-To: <CAL02cgSRp90z5S-znoy4LA1rmh=Jdo6c52s7K+8kVTMFLX_kFg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.37]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD4E00ETK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(189002)(199002)(5383001)(24454002)(479174003)(69234005)(377454003)(31966008)(74502001)(76786001)(49866001)(74662001)(47446002)(15202345003)(76482001)(71186001)(47736001)(47976001)(50986001)(81816001)(81342001)(74366001)(90146001)(16236675002)(85806002)(81542001)(19580405001)(15975445006)(19580395003)(56816005)(85306002)(84326002)(77096001)(2656002)(44976005)(46102001)(87266001)(65816001)(83322001)(56776001)(74876001)(81686001)(79102001)(55846006)(54316002)(53806001)(54356001)(63696002)(83072002)(66066001)(80022001)(85326001)(76796001)(6806004)(74706001)(4396001)(77982001)(33656001)(512954002)(80976001)(87936001)(51856001)(69226001)(20776003)(85852003)(19300405004)(59766001)(16297215004); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB244; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 006546F32A
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2013 08:02:20 -0000

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

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

This wouldn't just affect "Prohibited".

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

                                                            -- Mike

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

I'm with Jim and Karen on this one.

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

Karen


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

I don't think a change is needed.

                                                            -- Mike

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

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

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

...Mark

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

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

Jim


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



_______________________________________________

jose mailing list

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

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


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


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

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

--_000_4E1F6AAD24975D4BA5B16804296739437CD4E00ETK5EX14MBXC286r_--

From ietf@augustcellars.com  Thu Dec 19 11:45:31 2013
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6FDE1AE670 for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 11:45:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kPGd5ekhbhH for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 11:45:29 -0800 (PST)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) by ietfa.amsl.com (Postfix) with ESMTP id BBFB61AE669 for <jose@ietf.org>; Thu, 19 Dec 2013 11:45:28 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 8AB3038EA2; Thu, 19 Dec 2013 11:45:24 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, "'Richard Barnes'" <rlb@ipv.sx>, "'Karen ODonoghue'" <odonoghue@isoc.org>
References: <05ac01cef867$f2c21a50$d8464ef0$@augustcellars.com> <CAEnTvdC+n1jJArjek+mSWWhqpZFcBT0T2SgV16TaKB_gdw3=hQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD48B0C@TK5EX14MBXC286.redmond.corp.microsoft.com> <52B216D1.3030505@isoc.org> <CAL02cgSRp90z5S-znoy4LA1rmh=Jdo6c52s7K+8kVTMFLX_kFg@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD4E00E@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD4E00E@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Thu, 19 Dec 2013 11:43:50 -0800
Message-ID: <055d01cefcf2$a7143e50$f53cbaf0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_055E_01CEFCAF.98F459B0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHuQ95RQ7VOC8oRepS4zehtffgQwgDisiTvAocTvrcBL3D1lAHa6QKeAUiAlYuZ33f2AA==
Content-Language: en-us
Cc: jose@ietf.org
Subject: Re: [jose] Issue #187 - Allow registration of non-JWE/JWS algorithms for JWK
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2013 19:45:32 -0000

This is a multipart message in MIME format.

------=_NextPart_000_055E_01CEFCAF.98F459B0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Mike,

 

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

 

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

 

Jim

 

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

 

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

 

This wouldn't just affect "Prohibited".

 

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

 

                                                            -- Mike

 

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

 

I'm with Jim and Karen on this one.

 

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

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

Karen



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

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

      Any identifiers registered for non-authenticated encryption algorithms

      or other algorithms that are otherwise unsuitable for direct use

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

 

I don't think a change is needed.

 

                                                            -- Mike

 

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

 

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

 

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

 

...Mark

 

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

Minor question before I close this bug.  

 

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

 

Jim

 


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

 

 

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

 


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

 


------=_NextPart_000_055E_01CEFCAF.98F459B0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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


From ietf@augustcellars.com  Thu Dec 19 12:27:13 2013
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F7581AE7A9 for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 12:27:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JrbyUnMK48FS for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 12:27:12 -0800 (PST)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id F0FC71AE7A8 for <jose@ietf.org>; Thu, 19 Dec 2013 12:27:11 -0800 (PST)
Received: from Philemon (c-24-17-142-118.hsd1.wa.comcast.net [24.17.142.118]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 0C8352C9F8 for <jose@ietf.org>; Thu, 19 Dec 2013 12:27:09 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <jose@ietf.org>
Date: Thu, 19 Dec 2013 12:25:37 -0800
Message-ID: <057401cefcf8$7b271190$717534b0$@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: Ac7896los6PifIlkSbGAlg29WonlGA==
Content-Language: en-us
Subject: [jose] JWK use in the absense of an algorithm value
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2013 20:27:13 -0000

In trying to go through the issues with the WebCrypto group and the JOSE WG
dealing with the content of the use field.  I ended up with a problem that I
had not recognized as being an issue when talking to John in Berlin.  I want
to bring this issue up and see if anybody other myself is worried about it.

Consider the JWK

{'typ':'oct', 'use':'enc',"k":"GawgguFyGrWKav7AX4VKUg" }

We have stated that the value of 'enc' in this case can only be correctly
interpreted in the content of an algorithm restriction in the JWK as well.
In this case it is not possible for an importing function to change the
external 'enc' value to either 'encryption' or 'key-wrapping'.  This means
that an implementation that imports the key and does not keep it in a JWK
formation will potentially reject the key as being mal-formed.  Note that
this would not be an issue if we had both 'enc' and 'wrap' as key usages
because it would be unambigious.

Jim




From Michael.Jones@microsoft.com  Thu Dec 19 13:12:01 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 980931AE86A for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 13:12:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TQ2u3tQGde-e for <jose@ietfa.amsl.com>; Thu, 19 Dec 2013 13:11:59 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0151.outbound.protection.outlook.com [207.46.163.151]) by ietfa.amsl.com (Postfix) with ESMTP id 54B8B1AD694 for <jose@ietf.org>; Thu, 19 Dec 2013 13:11:59 -0800 (PST)
Received: from BLUPR03CA028.namprd03.prod.outlook.com (10.141.30.21) by BLUPR03MB136.namprd03.prod.outlook.com (10.255.212.27) with Microsoft SMTP Server (TLS) id 15.0.842.7; Thu, 19 Dec 2013 21:11:56 +0000
Received: from BN1AFFO11FD040.protection.gbl (2a01:111:f400:7c10::147) by BLUPR03CA028.outlook.office365.com (2a01:111:e400:879::21) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Thu, 19 Dec 2013 21:11:56 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD040.mail.protection.outlook.com (10.58.52.251) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Thu, 19 Dec 2013 21:11:55 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0158.002; Thu, 19 Dec 2013 21:11:14 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] JWK use in the absense of an algorithm value
Thread-Index: Ac7896los6PifIlkSbGAlg29WonlGAABrHiw
Date: Thu, 19 Dec 2013 21:11:14 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD4EB65@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <057401cefcf8$7b271190$717534b0$@augustcellars.com>
In-Reply-To: <057401cefcf8$7b271190$717534b0$@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
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(52314003)(13464003)(189002)(199002)(85306002)(76786001)(47776003)(20776003)(77096001)(79102001)(83072002)(85852003)(90146001)(47736001)(33656001)(56816005)(65816001)(66066001)(23726002)(80022001)(76796001)(63696002)(74366001)(49866001)(4396001)(6806004)(54356001)(53806001)(51856001)(46102001)(50466002)(74706001)(76482001)(50986001)(47976001)(83322001)(44976005)(19580395003)(19580405001)(59766001)(77982001)(56776001)(55846006)(54316002)(81816001)(69226001)(80976001)(31966008)(74876001)(81686001)(81542001)(2656002)(46406003)(15975445006)(81342001)(87266001)(74662001)(74502001)(47446002)(87936001)(85806002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB136; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 006546F32A
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] JWK use in the absense of an algorithm value
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2013 21:12:01 -0000

If you're importing a key into a context where you don't know the algorithm=
 to be used from context, then I'd recommend including an "alg" field.  (Th=
is isn't required, because sometimes you do know this from context.)  Do yo=
u have a specific scenario in mind where this approach wouldn't work?

Anyway, count me as not worried.

				-- Mike

-----Original Message-----
From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Thursday, December 19, 2013 12:26 PM
To: jose@ietf.org
Subject: [jose] JWK use in the absense of an algorithm value

In trying to go through the issues with the WebCrypto group and the JOSE WG=
 dealing with the content of the use field.  I ended up with a problem that=
 I had not recognized as being an issue when talking to John in Berlin.  I =
want to bring this issue up and see if anybody other myself is worried abou=
t it.

Consider the JWK

{'typ':'oct', 'use':'enc',"k":"GawgguFyGrWKav7AX4VKUg" }

We have stated that the value of 'enc' in this case can only be correctly i=
nterpreted in the content of an algorithm restriction in the JWK as well.
In this case it is not possible for an importing function to change the ext=
ernal 'enc' value to either 'encryption' or 'key-wrapping'.  This means tha=
t an implementation that imports the key and does not keep it in a JWK form=
ation will potentially reject the key as being mal-formed.  Note that this =
would not be an issue if we had both 'enc' and 'wrap' as key usages because=
 it would be unambigious.

Jim



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

From msporny@digitalbazaar.com  Mon Dec 23 13:30:34 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C6FA1AE2C0 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 13:30:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.596
X-Spam-Level: ***
X-Spam-Status: No, score=3.596 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gzIkeg9I5BPx for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 13:30:33 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id 3BE001AE27D for <jose@ietf.org>; Mon, 23 Dec 2013 13:30:32 -0800 (PST)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1VvD50-0007Hx-NY for jose@ietf.org; Mon, 23 Dec 2013 16:30:28 -0500
Message-ID: <52B8AB6D.5090907@digitalbazaar.com>
Date: Mon, 23 Dec 2013 16:30:21 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <52A935A0.9090509@gmail.com>
In-Reply-To: <52A935A0.9090509@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Dec 2013 21:30:34 -0000

On 12/11/2013 11:03 PM, Anders Rundgren wrote:
> I have one comment to this.  SM (Secure Messaging) differs from its
> JOSE counterpart in several ways. One difference I believe is
> particularly significant is SM's ability to sign data "as is" rather
> than requiring conversion of the payload to base64.

Good point, as we found base64 encoding the payload (while an easier
solution) to be more difficult to debug when dealing with typical Web
stack debugging tools and messages. That is, this pushes the burden onto
the Web developer when the burden should be on the implementers of the
digital signature mechanism (SM / JOSE).

For example, when transmitting and receiving signed data, a developer
would have to do an extra step of base64 decoding the payload to see the
data that was sent while trying to debug an issue with the contents of
the payload. While this sounds like a fairly benign issue, the process
would have to be done many, many times throughout the day leading to
mental fatigue.

You could make the argument that tools will be developed for this
requirement. The counter-argument being that it would be better to
eliminate the tool than require more applications to be added to the
stack of tools required to do Web development.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Worlds First Web Payments Workshop
http://www.w3.org/2013/10/payments/

From msporny@digitalbazaar.com  Mon Dec 23 13:32:41 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 553901AE2D3 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 13:32:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.296
X-Spam-Level: **
X-Spam-Status: No, score=2.296 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1rzetzrJpRJF for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 13:32:40 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id 4D1EE1AE2D1 for <jose@ietf.org>; Mon, 23 Dec 2013 13:32:40 -0800 (PST)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1VvD75-0007IJ-HZ for jose@ietf.org; Mon, 23 Dec 2013 16:32:36 -0500
Message-ID: <52B8ABED.6020400@digitalbazaar.com>
Date: Mon, 23 Dec 2013 16:32:29 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com>
In-Reply-To: <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Dec 2013 21:32:41 -0000

On 12/12/2013 03:06 AM, Dirkjan Ochtman wrote:
> On Thu, Dec 12, 2013 at 12:05 AM, Harry Halpin <hhalpin@w3.org>
> wrote:
>> Persona is Mozilla work.
> 
> Note that Persona *does* build on the JOSE standards, so Web
> Payments at least relies on the JOSE work indirectly.

We're considering dropping support for the use of JOSE in the Persona
implementations that we're going to do for the Web Payments work. We are
probably going to support both in the beginning, but see if folks will
want to migrate to SM in the long run for the Web Payments use cases.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Worlds First Web Payments Workshop
http://www.w3.org/2013/10/payments/

From msporny@digitalbazaar.com  Mon Dec 23 14:31:26 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7498E1AE229 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 14:31:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VrQP-I4Q2M8G for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 14:31:25 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id 0A1AE1AE0B0 for <jose@ietf.org>; Mon, 23 Dec 2013 14:31:25 -0800 (PST)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1VvE1v-00005U-RZ for jose@ietf.org; Mon, 23 Dec 2013 17:31:21 -0500
Message-ID: <52B8B9B2.1040309@digitalbazaar.com>
Date: Mon, 23 Dec 2013 17:31:14 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: JOSE WG <jose@ietf.org>
References: <52A8DCBC.6030801@digitalbazaar.com> <255B9BB34FB7D647A506DC292726F6E115376CFF47@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E115376CFF47@WSMSG3153V.srv.dir.telstra.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Dec 2013 22:31:26 -0000

On 12/16/2013 06:34 PM, Manger, James wrote:
> There might be some nice ideas in the JSON-LD-based Secure
> Messaging. However, a crypto spec that uses encryption without
> authentication (no AEAD), uses raw CBC mode,

The spec has been updated, it uses GCM now.

We thought picking the final authenc algorithm now would be premature.
We had considered that the side-channel attacks would be a problem for
reviewers but hadn't updated the spec because we wanted to have a more
detailed discussion w/ the security community before picking an authenc
algorithm. We may not pick GCM in the end, but just picked that one
right now so that this wouldn't continue to be a distraction.

The spec is rough, implementations lead it by many months. What we're
trying to get feedback on right now is the overall approach. We'll put
more work into polishing up the spec as soon as we've determined that
there are no serious issues with the approach.

> thinks CBC stands for *cyclic* block chaining,

A typo in the spec, fixed.

> puts "BEGIN *PRIVATE* KEY" in a field named publicKeyPem,

A typo in the blog post, fixed.

> requires RDF Graph Normalization that seems far removed from JSON,

We actually started out with a JSON-based normalization algorithm. We
quickly discovered that we could generalize the normalization to not
just JSON, but a general graph-based data model. This is useful when
you're exchanging Linked Data like the Web Payments work does. We are
able to use the same normalization scheme for a variety of Linked Data
languages (JSON-LD, RDFa, Microdata, Turtle, NQuads, etc.). So, one
could express the data in HTML5+RDFa (via a web page) or JSON-LD (via a
REST API) and share the same digital signature since the sig is on the
information and not the structure of the JSON message.

That's not to say that the normalization algorithm couldn't be switched
out pretty easily, but to date we haven't had a need for another one
that is JSON specific. If that need arises, the only modification to the
Secure Messaging spec that would be needed would be to define the @type
of that normalization algorithm. For example:

"signature":
{
  "@type": "JsonSignature2014", <-- this is the only change necessary
  "creator": "http://example.org/manu/keys/5",
  "created": "2013-08-04T17:39:53Z",
  "signatureValue": "OGQzN ... IyZTk="
}

JSON-LD[1] expresses Linked Data[2]. The data model is a graph of
information (like the Web). We digitally sign that information at the
data model layer, not the JSON syntax layer. Doing so allows us to use
the same digital signature across a variety of syntaxes. It's more
flexible than just hard coding the normalization algorithm to JSON.

-- manu

[1] http://www.youtube.com/watch?v=vioCbTo3C-4
[2] http://www.youtube.com/watch?v=4x_xzT5eF5Q

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Worlds First Web Payments Workshop
http://www.w3.org/2013/10/payments/

From lukeh@padl.com  Mon Dec 23 14:37:40 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 614A61AE248 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 14:37:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.04
X-Spam-Level: 
X-Spam-Status: No, score=-1.04 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RP_MATCHES_RCVD=-0.538, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Raf87nufV1Qx for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 14:37:39 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id D6F421AE229 for <jose@ietf.org>; Mon, 23 Dec 2013 14:37:38 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBNMbL7b007446; Mon, 23 Dec 2013 17:37:25 -0500
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <52B8ABED.6020400@digitalbazaar.com>
Date: Tue, 24 Dec 2013 09:37:30 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com>
To: Manu Sporny <msporny@digitalbazaar.com>
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: JOSE WG <jose@ietf.org>
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Dec 2013 22:37:40 -0000

On 24 Dec 2013, at 8:32 am, Manu Sporny <msporny@digitalbazaar.com> =
wrote:

> We're considering dropping support for the use of JOSE in the Persona
> implementations that we're going to do for the Web Payments work. We =
are
> probably going to support both in the beginning, but see if folks will
> want to migrate to SM in the long run for the Web Payments use cases.

Forking the Persona specification and code because base64 is putatively =
harder to debug seems a high price to pay -- just my 2c.

-- Luke=

From anders.rundgren.net@gmail.com  Mon Dec 23 15:22:59 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A3F41AE333 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 15:22:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D_pWBVyOCRHp for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 15:22:58 -0800 (PST)
Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by ietfa.amsl.com (Postfix) with ESMTP id A46C51AE0B8 for <jose@ietf.org>; Mon, 23 Dec 2013 15:22:55 -0800 (PST)
Received: by mail-we0-f181.google.com with SMTP id x55so5366385wes.40 for <jose@ietf.org>; Mon, 23 Dec 2013 15:22:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=xApS88FUN6CstfaDUvG+XaVBzDCE5fDASQ871x6UQxw=; b=ue4xn1ukhbmkob8aKm7mT0Ilnvm1NMiFui+HTf1RbrtuHUdI0Q2212O+YUxuCmZFoN KOqRks08goTJR5ZUbDAYIUsNqyWO/9XngxvMKDY7sOR9Xbx2ZJRFhsfUbcH52v9oFrcP O9gjxmc1DnJ/0TDVa+qxjezN8CStck1UP7vcE/7sJiY5Ogn/UGowGVLpnOWtBYbjdxZK siyvMWdH6HE2BNUahkdKfIo29ElymvZ1d3CavtnmIE4GNEaQAHuQf34S/33PDS8g0ZYX gbHdwNDtVhSOVH2Gg2jZhI5dBIDujGg8JSjW3oXniSY2bc0uXoGhQx+HXja4DjRP7G43 c5qg==
X-Received: by 10.180.12.3 with SMTP id u3mr7436144wib.27.1387840970964; Mon, 23 Dec 2013 15:22:50 -0800 (PST)
Received: from [192.168.1.99] (157.118.12.109.rev.sfr.net. [109.12.118.157]) by mx.google.com with ESMTPSA id at5sm20306405wic.1.2013.12.23.15.22.50 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Dec 2013 15:22:50 -0800 (PST)
Message-ID: <52B8C5C9.9000508@gmail.com>
Date: Tue, 24 Dec 2013 00:22:49 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Luke Howard <lukeh@padl.com>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com>
In-Reply-To: <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: JOSE WG <jose@ietf.org>
Subject: [jose] Base64-encoded signed data sux big-time. Was: Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Dec 2013 23:22:59 -0000

On 2013-12-23 23:37, Luke Howard wrote:
> 
> On 24 Dec 2013, at 8:32 am, Manu Sporny <msporny@digitalbazaar.com> wrote:
> 
>> We're considering dropping support for the use of JOSE in the Persona
>> implementations that we're going to do for the Web Payments work. We are
>> probably going to support both in the beginning, but see if folks will
>> want to migrate to SM in the long run for the Web Payments use cases.
> 
> Forking the Persona specification and code because base64 is putatively harder to debug seems a high price to pay -- just my 2c.

I can't imagine base64-encoding cool messages like the following (unless it was absolutely necessary):

https://openkeystore.googlecode.com/svn/resources/trunk/docs/keygen2.html#Sample.ProvisioningInitializationResponse

It is proven beyond doubt that JSON canonicalization can be a breeze using a _proper_ parser where this was taken in consideration from the start.

My parser is less than 400 lines:
https://code.google.com/p/openkeystore/source/browse/library/trunk/src/org/webpki/json/JSONParser.java

Anders

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


From msporny@digitalbazaar.com  Mon Dec 23 17:13:39 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA4AC1AE102 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 17:13:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mSnTq_AbMx3B for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 17:13:38 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id 83FF11AE359 for <jose@ietf.org>; Mon, 23 Dec 2013 17:13:38 -0800 (PST)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1VvGYv-0003Rz-JL for jose@ietf.org; Mon, 23 Dec 2013 20:13:34 -0500
Message-ID: <52B8DFB7.9020901@digitalbazaar.com>
Date: Mon, 23 Dec 2013 20:13:27 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com>
In-Reply-To: <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Dec 2013 01:13:40 -0000

On 12/23/2013 05:37 PM, Luke Howard wrote:
>> We're considering dropping support for the use of JOSE in the 
>> Persona implementations that we're going to do for the Web Payments
>> work. We are probably going to support both in the beginning, but
>> see if folks will want to migrate to SM in the long run for the Web
>> Payments use cases.
> 
> Forking the Persona specification and code because base64 is 
> putatively harder to debug seems a high price to pay -- just my 2c.

If the base64 issue was the only issue, I'd agree with you. However, the
review that was done outlined a number of other issues[1] that IMHO,
when combined with the goals of Persona, make JOSE a questionable fit.
JOSE was picked at the time because there really wasn't a viable
alternative. Now that there may be one, things might change.

Persona doesn't seem to need any of the more complex functionality
brought by JOSE (resulting in unnecessarily complex and hard to debug
messages). Secure Messaging could achieve the same level of
functionality, more simply, for Web developers.

-- manu

[1] http://manu.sporny.org/2013/sm-vs-jose/

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Worlds First Web Payments Workshop
http://www.w3.org/2013/10/payments/

From lukeh@padl.com  Mon Dec 23 17:59:51 2013
Return-Path: <lukeh@padl.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA12F1AE367 for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 17:59:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.44
X-Spam-Level: 
X-Spam-Status: No, score=-2.44 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.538, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w2AvF3Yzt8Ur for <jose@ietfa.amsl.com>; Mon, 23 Dec 2013 17:59:50 -0800 (PST)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id 747DB1AE2DD for <jose@ietf.org>; Mon, 23 Dec 2013 17:59:50 -0800 (PST)
Received: by us.padl.com  with ESMTP id rBO1xXeY017443; Mon, 23 Dec 2013 20:59:36 -0500
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <52B8DFB7.9020901@digitalbazaar.com>
Date: Tue, 24 Dec 2013 12:59:42 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com>
To: Manu Sporny <msporny@digitalbazaar.com>
X-Mailer: Apple Mail (2.1822)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: JOSE WG <jose@ietf.org>
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Dec 2013 01:59:51 -0000

On 24 Dec 2013, at 12:13 pm, Manu Sporny <msporny@digitalbazaar.com> =
wrote:

> If the base64 issue was the only issue, I'd agree with you. However, =
the
> review that was done outlined a number of other issues[1] that IMHO,
> when combined with the goals of Persona, make JOSE a questionable fit.
> JOSE was picked at the time because there really wasn't a viable
> alternative. Now that there may be one, things might change.

Off-topic for this mailing list, but I'd certainly be interested to see =
a discussion on dev-identity about this, particularly as the Persona =
team are (last I heard) busy aligning with the current JOSE data =
formats.

> Persona doesn't seem to need any of the more complex functionality
> brought by JOSE (resulting in unnecessarily complex and hard to debug
> messages). Secure Messaging could achieve the same level of
> functionality, more simply, for Web developers.

In the document you refer to, it's unclear where the signature for =
EncryptedMessage2012 is placed -- is there a specification for this?

-- Luke

From ignisvulpis@gmail.com  Tue Dec 24 00:20:28 2013
Return-Path: <ignisvulpis@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 953821AD8F4 for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 00:20:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id imZqzT0SX-v3 for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 00:20:26 -0800 (PST)
Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id 7288B1AD8EC for <jose@ietf.org>; Tue, 24 Dec 2013 00:20:26 -0800 (PST)
Received: by mail-qc0-f179.google.com with SMTP id i8so5779262qcq.24 for <jose@ietf.org>; Tue, 24 Dec 2013 00:20:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BwlPvDLCb2VLkDclIVSFXfsE4VsICvUEXAkOuELiNDo=; b=YvCgPOF/qeweu0GvjwQnEoeGKYPA7RFZgKiY5vet6WEtyILeyGpFJkKXqmG6B11adV XvevXzAnhqrNf6Pa+TFPHlsimjjCN46gm6aDxFafjYn0xTx1hKhAJhunkVj6sqzTJLPS lBLGv86u9Nn7wm6KQgiM0I9+MvssufZxoJBAgHHF2PLZ1Gm2OfARnhY+/tUj7yNDJP77 /SxWEGei6z6bEum7tpzaCZAvEFrP/gDNz19vRGU3EGn32BlYzCUV+/6/0FzEVZg3r8OJ OU/FyFY38ONp4zrbnkb4qzFpdoxq6OqX3HBzVwW9NtFei6wj36VJw/wZreLuTL8WW60N zaUg==
MIME-Version: 1.0
X-Received: by 10.49.116.5 with SMTP id js5mr50707495qeb.36.1387873222737; Tue, 24 Dec 2013 00:20:22 -0800 (PST)
Received: by 10.229.205.194 with HTTP; Tue, 24 Dec 2013 00:20:22 -0800 (PST)
In-Reply-To: <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com>
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com> <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com>
Date: Tue, 24 Dec 2013 09:20:22 +0100
Message-ID: <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com>
From: Axel Nennker <ignisvulpis@gmail.com>
To: "jose@ietf.org" <jose@ietf.org>, Luke Howard <lukeh@padl.com>, msporny@digitalbazaar.com
Content-Type: multipart/alternative; boundary=047d7b677d606f430504ee436a5d
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Dec 2013 08:20:28 -0000

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

Hi,
this document describes the current Persona formats and the differences to
JOSE.
My understanding from the dev-identity emails is that Persona and FxA want
to align with JOSE and get rid of the differences:
https://github.com/djc/id-specs/blob/prod/browserid/json-formats.md

As a developer I don't buy the Anti-base64-encoding / simplicity argument
because I only have to output the decoded message to my payment-server's
logs. I never sniff the messages from the wire which  would be much harder
because they come through an SSL channel anyway.

I think that canonicalization / normalization of the to-be-signed payment
message is a HUGE mistake. That was a major pain with xmldsig in the past.
base64 encoding stuff and working on that is MUCH better for
interoperability.


-Axel


2013/12/24 Luke Howard <lukeh@padl.com>

>
> On 24 Dec 2013, at 12:13 pm, Manu Sporny <msporny@digitalbazaar.com>
> wrote:
>
> > If the base64 issue was the only issue, I'd agree with you. However, the
> > review that was done outlined a number of other issues[1] that IMHO,
> > when combined with the goals of Persona, make JOSE a questionable fit.
> > JOSE was picked at the time because there really wasn't a viable
> > alternative. Now that there may be one, things might change.
>
> Off-topic for this mailing list, but I'd certainly be interested to see a
> discussion on dev-identity about this, particularly as the Persona team are
> (last I heard) busy aligning with the current JOSE data formats.
>
> > Persona doesn't seem to need any of the more complex functionality
> > brought by JOSE (resulting in unnecessarily complex and hard to debug
> > messages). Secure Messaging could achieve the same level of
> > functionality, more simply, for Web developers.
>
> In the document you refer to, it's unclear where the signature for
> EncryptedMessage2012 is placed -- is there a specification for this?
>
> -- Luke
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr"><div><div><div><div>Hi,<br></div>this document describes t=
he current Persona formats and the differences to JOSE.<br></div>My underst=
anding from the dev-identity emails is that Persona and FxA want to align w=
ith JOSE and get rid of the differences:<span class=3D""></span><br>
<a href=3D"https://github.com/djc/id-specs/blob/prod/browserid/json-formats=
.md">https://github.com/djc/id-specs/blob/prod/browserid/json-formats.md</a=
><br><br></div>As a developer I don&#39;t buy the Anti-base64-encoding / si=
mplicity argument because I only have to output the decoded message to my p=
ayment-server&#39;s logs. I never sniff the messages from the wire which=A0=
 would be much harder because they come through an SSL channel anyway.<br>
<br></div><div>I think that canonicalization / normalization of the to-be-s=
igned payment message is a HUGE mistake. That was a major pain with xmldsig=
 in the past. base64 encoding stuff and working on that is MUCH better for =
interoperability.<br>
</div><div><br><br></div>-Axel<br></div><div class=3D"gmail_extra"><br><br>=
<div class=3D"gmail_quote">2013/12/24 Luke Howard <span dir=3D"ltr">&lt;<a =
href=3D"mailto:lukeh@padl.com" target=3D"_blank">lukeh@padl.com</a>&gt;</sp=
an><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im"><br>
On 24 Dec 2013, at 12:13 pm, Manu Sporny &lt;<a href=3D"mailto:msporny@digi=
talbazaar.com">msporny@digitalbazaar.com</a>&gt; wrote:<br>
<br>
&gt; If the base64 issue was the only issue, I&#39;d agree with you. Howeve=
r, the<br>
&gt; review that was done outlined a number of other issues[1] that IMHO,<b=
r>
&gt; when combined with the goals of Persona, make JOSE a questionable fit.=
<br>
&gt; JOSE was picked at the time because there really wasn&#39;t a viable<b=
r>
&gt; alternative. Now that there may be one, things might change.<br>
<br>
</div>Off-topic for this mailing list, but I&#39;d certainly be interested =
to see a discussion on dev-identity about this, particularly as the Persona=
 team are (last I heard) busy aligning with the current JOSE data formats.<=
br>

<div class=3D"im"><br>
&gt; Persona doesn&#39;t seem to need any of the more complex functionality=
<br>
&gt; brought by JOSE (resulting in unnecessarily complex and hard to debug<=
br>
&gt; messages). Secure Messaging could achieve the same level of<br>
&gt; functionality, more simply, for Web developers.<br>
<br>
</div>In the document you refer to, it&#39;s unclear where the signature fo=
r EncryptedMessage2012 is placed -- is there a specification for this?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-- Luke<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5">_____________________=
__________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div>

--047d7b677d606f430504ee436a5d--

From stpeter@stpeter.im  Tue Dec 24 00:57:57 2013
Return-Path: <stpeter@stpeter.im>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 580FE1AD7C1 for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 00:57:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.44
X-Spam-Level: 
X-Spam-Status: No, score=-2.44 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.538, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s2Utt3FDW60t for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 00:57:55 -0800 (PST)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id C26721A1F1B for <jose@ietf.org>; Tue, 24 Dec 2013 00:57:55 -0800 (PST)
Received: from ergon.local (unknown [24.8.184.175]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 90A744010C; Tue, 24 Dec 2013 01:57:51 -0700 (MST)
Message-ID: <52B94C99.8010303@stpeter.im>
Date: Tue, 24 Dec 2013 01:58:01 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Axel Nennker <ignisvulpis@gmail.com>, "jose@ietf.org" <jose@ietf.org>,  Luke Howard <lukeh@padl.com>, msporny@digitalbazaar.com
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com> <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com> <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com>
In-Reply-To: <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Dec 2013 08:57:57 -0000

On 12/24/13 1:20 AM, Axel Nennker wrote:

> I think that canonicalization / normalization of the to-be-signed
> payment message is a HUGE mistake. That was a major pain with xmldsig in
> the past. base64 encoding stuff and working on that is MUCH better for
> interoperability.

A big +1 to that. Going down the canonicalization road can only harm
interoperability.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



From anders.rundgren.net@gmail.com  Tue Dec 24 01:07:58 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B83271AD942 for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 01:07:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPpKMM7a22Jy for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 01:07:57 -0800 (PST)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by ietfa.amsl.com (Postfix) with ESMTP id 2DA211AD672 for <jose@ietf.org>; Tue, 24 Dec 2013 01:07:57 -0800 (PST)
Received: by mail-wi0-f176.google.com with SMTP id hq4so11802364wib.9 for <jose@ietf.org>; Tue, 24 Dec 2013 01:07:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=IVU29gtu7SL817Zx+yyqcAjXuXuWkGAnpzupqbZE5XI=; b=FP6GJmq9VcwuwimRDz6ZUFjW7Ivko/NvP6bfHNJQ5IhB9071WkZL0Z73yuJTC/6HE1 O4BIHm7HCVZIRQ9OBYvg5OjMTxEGDVoZVJV+A/e+Bi7ugDQ7d+/leiIS++40RcndX5mS rZn9FbaSJUZ9xrl2344bTGx9d+soLzCY0l0LXgSmZ1yRld0ITxEIk1IiIo1VaQsBZcpr 5y/Zrdg+71TgeEkCnfBrDHO2GXF4AkQWDgqSRrxNY2+f9cf4nIDPcJ1v0wk3lJ4AdnYp zN6/cJTz3JvinDTNdSHoqFcouDVDjKecUBxQmD4HkXHh6hQ0YQKiWC7FAO8biHR0ZWUB xDCg==
X-Received: by 10.180.185.101 with SMTP id fb5mr22532415wic.11.1387876073159;  Tue, 24 Dec 2013 01:07:53 -0800 (PST)
Received: from [192.168.1.99] (157.118.12.109.rev.sfr.net. [109.12.118.157]) by mx.google.com with ESMTPSA id cx3sm38130665wib.0.2013.12.24.01.07.52 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Dec 2013 01:07:52 -0800 (PST)
Message-ID: <52B94EE5.7000201@gmail.com>
Date: Tue, 24 Dec 2013 10:07:49 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>,  Axel Nennker <ignisvulpis@gmail.com>, "jose@ietf.org" <jose@ietf.org>, Luke Howard <lukeh@padl.com>,  msporny@digitalbazaar.com
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com> <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com> <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com> <52B94C99.8010303@stpeter.im>
In-Reply-To: <52B94C99.8010303@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Dec 2013 09:07:58 -0000

On 2013-12-24 09:58, Peter Saint-Andre wrote:
> On 12/24/13 1:20 AM, Axel Nennker wrote:
> 
>> I think that canonicalization / normalization of the to-be-signed
>> payment message is a HUGE mistake. That was a major pain with xmldsig in
>> the past. base64 encoding stuff and working on that is MUCH better for
>> interoperability.
> 
> A big +1 to that. Going down the canonicalization road can only harm
> interoperability.

I think you rather need to abandon the junk-parsers.

https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html#Canonicalization_and_Signature_Validation

Less than 400 lines of pretty down-to-earth code and algorithms can hardly stop progress!

Anders

> 
> Peter
> 


From Michael.Jones@microsoft.com  Tue Dec 24 15:26:57 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2AAA61AE0BD for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 15:26:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RkAIH7WCGAup for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 15:26:53 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0242.outbound.protection.outlook.com [207.46.163.242]) by ietfa.amsl.com (Postfix) with ESMTP id 5DD5D1AE00A for <jose@ietf.org>; Tue, 24 Dec 2013 15:26:53 -0800 (PST)
Received: from BLUPR03CA032.namprd03.prod.outlook.com (10.141.30.25) by BLUPR03MB183.namprd03.prod.outlook.com (10.255.212.149) with Microsoft SMTP Server (TLS) id 15.0.842.7; Tue, 24 Dec 2013 23:26:48 +0000
Received: from BN1BFFO11FD016.protection.gbl (2a01:111:f400:7c10::1:106) by BLUPR03CA032.outlook.office365.com (2a01:111:e400:879::25) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Tue, 24 Dec 2013 23:26:48 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD016.mail.protection.outlook.com (10.58.144.79) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Tue, 24 Dec 2013 23:26:48 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([157.54.7.154]) with mapi id 14.03.0158.002; Tue, 24 Dec 2013 23:26:27 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: Ac8A/4se/TOg+kmmRm6OPVy5ka1FGw==
Date: Tue, 24 Dec 2013 23:26:26 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD547ADTK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(189002)(199002)(53754006)(35774003)(85806002)(15975445006)(87936001)(80976001)(2656002)(47446002)(87266001)(31966008)(74876001)(80022001)(74662001)(71186001)(66066001)(74366001)(19580395003)(83322001)(81816001)(81686001)(512954002)(81542001)(74502001)(69226001)(81342001)(65816001)(16236675002)(84326002)(76796001)(76786001)(76482001)(15202345003)(16297215004)(47976001)(54316002)(74706001)(77096001)(83072002)(76176001)(85852003)(79102001)(33656001)(56816005)(4396001)(51856001)(90146001)(47736001)(6806004)(50986001)(55846006)(59766001)(77982001)(44976005)(85306002)(63696002)(20776003)(46102001)(53806001)(54356001)(19300405004)(561944002)(56776001)(49866001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB183; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0070A8666B
X-OriginatorOrg: microsoft.com
Subject: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Dec 2013 23:26:57 -0000

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

Hi all,

Having reflected upon discussions among WebCrypto and JOSE participants abo=
ut JWK usage by WebCrypto over the holidays, I'd like to propose the two JO=
SE spec actions to more closely coordinate with WebCrypto:

1.  Change the JWA registry field name from "Implementation Requirements" t=
o "JOSE Implementation Requirements" in the JSON Web Signature and Encrypti=
on Algorithms Registry (http://tools.ietf.org/html/draft-ietf-jose-json-web=
-algorithms-18#section-7.1).  This will make it clearer that the Implementa=
tion Requirements apply only to JWS and JWE implementations - and not other=
 uses of JWK (such as WebCrypto).  This changes only non-normative text and=
 is non-breaking.

2.  Define the new JWK field "use_details" for recording intended fine-grai=
ned key usage information.  This would enable WebCrypto KeyUsage (https://d=
vcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-interface) =
values to be used directly with JWK.  The proposed definition is:

3.3.  "use_details" (Key Use Details) Parameter

   The "use_details" (key use details) member identifies fine-grained

   details the intended use of the key.  Its value is an array of

   key use details values.  Values defined by this specification are:



   o  "sign" (compute signature or MAC)

   o  "verify" (verify signature or MAC)

   o  "encrypt" (encrypt content)

   o  "decrypt" (decrypt content and verify decryption, if applicable)

   o  "wrap" (encrypt key)

   o  "unwrap" (decrypt key and verify decryption, if applicable)

   o  "deriveKey" (derive key)

   o  "deriveBits" (derive bits not to be used as a key)



   Other values MAY be used.  Key Use Details values can be registered

   in the IANA JSON Web Key Use Details registry defined in Section 7.3.

   The use details values are case-sensitive strings.

   Duplicate use details values MUST NOT be present in the array.

   Use of the "use_details" member is OPTIONAL, unless the application

   requires use this member to record fine-grained key usage details.

   (Note that the "use_details" values intentionally match the "KeyUsage"

   values defined in the WebCrypto [WebCrypto] specification.)



   If both "use" and "use_details" JWK members are present, the usages

   specified by them MUST be consistent.  In particular, the "use" value

   "sig" corresponds to "sign" and/or "verify".  The "use" value

   "enc" corresponds to all other values defined above.

   If "use_details" values corresponding to both "sig" and "enc"

   "use" values are present, the "use" member SHOULD NOT be present,

   and if present, its value MUST NOT be either "sig" or "enc".

This is a non-breaking change - allowing simple applications that want to d=
istinguish between signing and encryption operations to continue doing so a=
s they do today, while also providing a multi-valued key usage details fiel=
d to be used by applications that want to record fine-grained distinctions =
among potential key usages, including distinguishing between producer and c=
onsumer operations.

As I see it, while having two related key usage representations isn't ideal=
, it's far better than having WebCrypto overload "use" with multi-valued va=
lues encoded in strings, such as "signOnly,verifyOnly", which I believe is =
their current plan of record.

Comments?

                                                            -- Mike

P.S.  This proposal was already discussed on the WebCrypto list in the thre=
ad http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.html a=
nd no objections were raised there that I'm aware of.


--_000_4E1F6AAD24975D4BA5B16804296739437CD547ADTK5EX14MBXC286r_
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";}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-line-height-alt:0pt;
	font-size:12.0pt;
	font-family:"Courier New";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Courier New";
	font-weight:bold;}
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;}
@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">Hi all,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Having reflected upon discussions among WebCrypto an=
d JOSE participants about JWK usage by WebCrypto over the holidays, I&#8217=
;d like to propose the two JOSE spec actions to more closely coordinate wit=
h WebCrypto:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">1.&nbsp; Change the JWA registry field name from &#8=
220;Implementation Requirements&#8221; to &#8220;JOSE Implementation Requir=
ements&#8221; in the JSON Web Signature and Encryption Algorithms Registry =
(<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-=
18#section-7.1">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorit=
hms-18#section-7.1</a>).&nbsp;
 This will make it clearer that the Implementation Requirements apply only =
to JWS and JWE implementations &#8211; and not other uses of JWK (such as W=
ebCrypto).&nbsp; This changes only non-normative text and is non-breaking.<=
o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2.&nbsp; Define the new JWK field &#8220;use_details=
&#8221; for recording intended fine-grained key usage information.&nbsp; Th=
is would enable WebCrypto KeyUsage (<a href=3D"https://dvcs.w3.org/hg/webcr=
ypto-api/raw-file/tip/spec/Overview.html#key-interface">https://dvcs.w3.org=
/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-interface</a>)
 values to be used directly with JWK.&nbsp; The proposed definition is:<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in;mso-line-height-alt:0pt;pa=
ge-break-before:always">
<b><span lang=3D"EN" style=3D"font-size:12.0pt;font-family:&quot;Courier Ne=
w&quot;">3.3.&nbsp; &quot;use_details&quot; (Key Use Details) Parameter<o:p=
></o:p></span></b></p>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; The &quot;use_details&quot; (key use details) member identifie=
s fine-grained<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp; &nbsp;details the intended use of the key.&nbsp; Its value is an arr=
ay of<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; key use details values.&nbsp; Values defined by this specifica=
tion are:<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
<o:p>&nbsp;</o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
 &nbsp;&nbsp;o&nbsp; &quot;sign&quot; (compute signature or MAC)<o:p></o:p>=
</span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;verify&quot; (verify signature or MAC)<o:p></o:p=
></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;encrypt&quot; (encrypt content)<o:p></o:p></span=
></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;decrypt&quot; (decrypt content and verify decryp=
tion, if applicable)<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;wrap&quot; (encrypt key)<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;unwrap&quot; (decrypt key and verify decryption,=
 if applicable)<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;deriveKey&quot; (derive key)<o:p></o:p></span></=
pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; o&nbsp; &quot;deriveBits&quot; (derive bits not to be used as =
a key)<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
<o:p>&nbsp;</o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; Other values MAY be used.&nbsp; Key Use Details values can be =
registered<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp; &nbsp;in the IANA JSON Web Key Use Details registry defined in Secti=
on 7.3.<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
 &nbsp;&nbsp;The use details values are case-sensitive strings.<o:p></o:p><=
/span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; Duplicate use details values MUST NOT be present in the array.=
<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
 &nbsp;&nbsp;Use of the &quot;use_details&quot; member is OPTIONAL, unless =
the application<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp; &nbsp;requires use this member to record fine-grained key usage deta=
ils.<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; (Note that the &quot;use_details&quot; values intentionally ma=
tch the &quot;KeyUsage&quot;<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; values defined in the WebCrypto [WebCrypto] specification.)<o:=
p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
<o:p>&nbsp;</o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; If both &quot;use&quot; and &quot;use_details&quot; JWK member=
s are present, the usages<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; specified by them MUST be consistent.&nbsp; In particular, the=
 &quot;use&quot; value<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; &quot;sig&quot; corresponds to &quot;sign&quot; and/or &quot;v=
erify&quot;.&nbsp; The &quot;use&quot; value<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; &quot;enc&quot; corresponds to all other values defined above.=
<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; If &quot;use_details&quot; values corresponding to both &quot;=
sig&quot; and &quot;enc&quot;<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; &quot;use&quot; values are present, the &quot;use&quot; member=
 SHOULD NOT be present,<o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN">=
&nbsp;&nbsp; and if present, its value MUST NOT be either &quot;sig&quot; o=
r &quot;enc&quot;.<o:p></o:p></span></pre>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This is a non-breaking change &#8211; allowing simpl=
e applications that want to distinguish between signing and encryption oper=
ations to continue doing so as they do today, while also providing a multi-=
valued key usage details field to be used
 by applications that want to record fine-grained distinctions among potent=
ial key usages, including distinguishing between producer and consumer oper=
ations.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">As I see it, while having two related key usage repr=
esentations isn&#8217;t ideal, it&#8217;s far better than having WebCrypto =
overload &#8220;use&#8221; with multi-valued values encoded in strings, suc=
h as &#8220;signOnly,verifyOnly&#8221;, which I believe is their current
 plan of record.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Comments?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">P.S.&nbsp; This proposal was already discussed on th=
e WebCrypto list in the thread
<a href=3D"http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/005=
2.html">
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.html</a> =
and no objections were raised there that I&#8217;m aware of.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD547ADTK5EX14MBXC286r_--

From ve7jtb@ve7jtb.com  Tue Dec 24 16:27:40 2013
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5BB41AE133 for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 16:27:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id srHb_hPepQsa for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 16:27:37 -0800 (PST)
Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) by ietfa.amsl.com (Postfix) with ESMTP id 655411AE0B8 for <jose@ietf.org>; Tue, 24 Dec 2013 16:27:37 -0800 (PST)
Received: by mail-qa0-f50.google.com with SMTP id i13so6635453qae.9 for <jose@ietf.org>; Tue, 24 Dec 2013 16:27:33 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=Q+QVqYt3/WTsIYcnD4Fy7nipuJ7qbllWaBfrvEc2mPM=; b=UdOBRpjfgn8bknf49VgtHtlWmIpt5ZMgvJvK1lwkjdNiXYCkVY2eFK9N7TTisr4trM t6mhjMFHVtQYDZPO8by1lWpeZgl9+aXqGwrCSiD9z9CNmJROmZ+tSHL4RX9hJVy2CdaE 5tyvgtXbZaXW7xj/3IVHYC+H30dofcDwgDUStisr9m/CEGIpiQ15dEY82vULwtOIv+Wn Ex5JYvCMdzGOWkrDP+QeKI+Vdn6XPFQ8H3Ro4yUTVjestkpnIvdrJwwtHA3JHol4a00W KgVkyvhgJaYzr8uOzR4sbvkKJhADBxUNsyDRw13AVsaUl85VpGGnKZTdUtzFw3tVUmS2 A8ww==
X-Gm-Message-State: ALoCoQm5w9krNHrxlaH+GD8pEVhwuaCZUiJgQGF9Vwyh5SooMFf8I8eM6LDJMonvW/YUUgr9gTyf
X-Received: by 10.224.37.198 with SMTP id y6mr44956880qad.97.1387931253342; Tue, 24 Dec 2013 16:27:33 -0800 (PST)
Received: from [192.168.1.217] (190-20-16-63.baf.movistar.cl. [190.20.16.63]) by mx.google.com with ESMTPSA id o3sm38624806qak.5.2013.12.24.16.27.30 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Dec 2013 16:27:32 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_536467E1-9664-41A3-AB8E-41FBE67BD438"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Tue, 24 Dec 2013 21:27:51 -0300
Message-Id: <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com>
To: Michael Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1827)
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Dec 2013 00:27:41 -0000

--Apple-Mail=_536467E1-9664-41A3-AB8E-41FBE67BD438
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_9A6D9CE0-7314-4D0D-ACEE-9F2AB74202FB"


--Apple-Mail=_9A6D9CE0-7314-4D0D-ACEE-9F2AB74202FB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Having it be an array encourages multiple uses for the same key.  I have =
stated many times that encouraging people to do that is not a good idea, =
and making it easy makes people think it is a good idea.

You can use the single value field and have multiple entries with =
different key containing the same or different keys to do the same =
thing.

On the practical side "use_details" is better than creating crazy dot =
separated como uses.

John B.

On Dec 24, 2013, at 8:26 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

> Hi all,
> =20
> Having reflected upon discussions among WebCrypto and JOSE =
participants about JWK usage by WebCrypto over the holidays, I=92d like =
to propose the two JOSE spec actions to more closely coordinate with =
WebCrypto:
> =20
> 1.  Change the JWA registry field name from =93Implementation =
Requirements=94 to =93JOSE Implementation Requirements=94 in the JSON =
Web Signature and Encryption Algorithms Registry =
(http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section=
-7.1).  This will make it clearer that the Implementation Requirements =
apply only to JWS and JWE implementations =96 and not other uses of JWK =
(such as WebCrypto).  This changes only non-normative text and is =
non-breaking.
> =20
> 2.  Define the new JWK field =93use_details=94 for recording intended =
fine-grained key usage information.  This would enable WebCrypto =
KeyUsage =
(https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-=
interface) values to be used directly with JWK.  The proposed definition =
is:
> =20
> 3.3.  "use_details" (Key Use Details) Parameter
>    The "use_details" (key use details) member identifies fine-grained
>    details the intended use of the key.  Its value is an array of
>    key use details values.  Values defined by this specification are:
> =20
>    o  "sign" (compute signature or MAC)
>    o  "verify" (verify signature or MAC)
>    o  "encrypt" (encrypt content)
>    o  "decrypt" (decrypt content and verify decryption, if applicable)
>    o  "wrap" (encrypt key)
>    o  "unwrap" (decrypt key and verify decryption, if applicable)
>    o  "deriveKey" (derive key)
>    o  "deriveBits" (derive bits not to be used as a key)
> =20
>    Other values MAY be used.  Key Use Details values can be registered
>    in the IANA JSON Web Key Use Details registry defined in Section =
7.3.
>    The use details values are case-sensitive strings.
>    Duplicate use details values MUST NOT be present in the array.
>    Use of the "use_details" member is OPTIONAL, unless the application
>    requires use this member to record fine-grained key usage details.
>    (Note that the "use_details" values intentionally match the =
"KeyUsage"
>    values defined in the WebCrypto [WebCrypto] specification.)
> =20
>    If both "use" and "use_details" JWK members are present, the usages
>    specified by them MUST be consistent.  In particular, the "use" =
value
>    "sig" corresponds to "sign" and/or "verify".  The "use" value
>    "enc" corresponds to all other values defined above.
>    If "use_details" values corresponding to both "sig" and "enc"
>    "use" values are present, the "use" member SHOULD NOT be present,
>    and if present, its value MUST NOT be either "sig" or "enc".
> =20
> This is a non-breaking change =96 allowing simple applications that =
want to distinguish between signing and encryption operations to =
continue doing so as they do today, while also providing a multi-valued =
key usage details field to be used by applications that want to record =
fine-grained distinctions among potential key usages, including =
distinguishing between producer and consumer operations.
> =20
> As I see it, while having two related key usage representations isn=92t =
ideal, it=92s far better than having WebCrypto overload =93use=94 with =
multi-valued values encoded in strings, such as =93signOnly,verifyOnly=94,=
 which I believe is their current plan of record.
> =20
> Comments?
> =20
>                                                             -- Mike
> =20
> P.S.  This proposal was already discussed on the WebCrypto list in the =
thread =
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.html =
and no objections were raised there that I=92m aware of.
> =20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_9A6D9CE0-7314-4D0D-ACEE-9F2AB74202FB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Having =
it be an array encourages multiple uses for the same key. &nbsp;I have =
stated many times that encouraging people to do that is not a good idea, =
and making it easy makes people think it is a good =
idea.<div><br></div><div>You can use the single value field and have =
multiple entries with different key containing the same or different =
keys to do the same thing.</div><div><br></div><div>On the practical =
side "use_details" is better than creating crazy dot separated como =
uses.</div><div><br></div><div>John B.</div><div><br><div><div>On Dec =
24, 2013, at 8:26 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a=
>&gt; wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;"><div class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;">Hi =
all,<o:p></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: =
11pt; font-family: Calibri, sans-serif;"><o:p>&nbsp;</o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;">Having reflected upon discussions among WebCrypto =
and JOSE participants about JWK usage by WebCrypto over the holidays, =
I=92d like to propose the two JOSE spec actions to more closely =
coordinate with WebCrypto:<o:p></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">1.&nbsp; =
Change the JWA registry field name from =93Implementation Requirements=94 =
to =93JOSE Implementation Requirements=94 in the JSON Web Signature and =
Encryption Algorithms Registry (<a =
href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#=
section-7.1" style=3D"color: purple; text-decoration: =
underline;">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms=
-18#section-7.1</a>).&nbsp; This will make it clearer that the =
Implementation Requirements apply only to JWS and JWE implementations =96 =
and not other uses of JWK (such as WebCrypto).&nbsp; This changes only =
non-normative text and is non-breaking.<o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;">2.&nbsp; Define the new JWK field =93use_details=94 for =
recording intended fine-grained key usage information.&nbsp; This would =
enable WebCrypto KeyUsage (<a =
href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.ht=
ml#key-interface" style=3D"color: purple; text-decoration: =
underline;">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvie=
w.html#key-interface</a>) values to be used directly with JWK.&nbsp; The =
proposed definition is:<o:p></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; =
page-break-before: always;"><b><span lang=3D"EN" style=3D"font-size: =
12pt; font-family: 'Courier New';">3.3.&nbsp; "use_details" (Key Use =
Details) Parameter<o:p></o:p></span></b></div><pre style=3D"margin: 0in =
0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; The =
"use_details" (key use details) member identifies =
fine-grained<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp; &nbsp;details the =
intended use of the key.&nbsp; Its value is an array =
of<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt 0.5in; =
font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; key use details values.&nbsp; =
Values defined by this specification are:<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span =
lang=3D"EN">&nbsp;</span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN"> &nbsp;&nbsp;o&nbsp; "sign" (compute =
signature or MAC)<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; o&nbsp; =
"verify" (verify signature or MAC)<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; =
o&nbsp; "encrypt" (encrypt content)<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; =
o&nbsp; "decrypt" (decrypt content and verify decryption, if =
applicable)<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; o&nbsp; =
"wrap" (encrypt key)<o:p></o:p></span></pre><pre style=3D"margin: 0in =
0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; o&nbsp; =
"unwrap" (decrypt key and verify decryption, if =
applicable)<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; o&nbsp; =
"deriveKey" (derive key)<o:p></o:p></span></pre><pre style=3D"margin: =
0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; o&nbsp; =
"deriveBits" (derive bits not to be used as a =
key)<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;</span></pre><pre style=3D"margin: 0in =
0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; Other values =
MAY be used.&nbsp; Key Use Details values can be =
registered<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp; &nbsp;in the IANA JSON Web Key Use =
Details registry defined in Section 7.3.<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN"> =
&nbsp;&nbsp;The use details values are case-sensitive =
strings.<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; Duplicate use details values =
MUST NOT be present in the array.<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN"> =
&nbsp;&nbsp;Use of the "use_details" member is OPTIONAL, unless the =
application<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp; &nbsp;requires use =
this member to record fine-grained key usage =
details.<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; (Note that the "use_details" =
values intentionally match the "KeyUsage"<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; =
values defined in the WebCrypto [WebCrypto] =
specification.)<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in =
0.0001pt 0.5in; font-size: 12pt; font-family: 'Courier New'; =
page-break-before: always;"><span lang=3D"EN">&nbsp;</span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; =
If both "use" and "use_details" JWK members are present, the =
usages<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; specified by them MUST be =
consistent.&nbsp; In particular, the "use" =
value<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; "sig" corresponds to "sign" =
and/or "verify".&nbsp; The "use" value<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; =
"enc" corresponds to all other values defined =
above.<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; If "use_details" values =
corresponding to both "sig" and "enc"<o:p></o:p></span></pre><pre =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: =
'Courier New'; page-break-before: always;"><span lang=3D"EN">&nbsp;&nbsp; =
"use" values are present, the "use" member SHOULD NOT be =
present,<o:p></o:p></span></pre><pre style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 12pt; font-family: 'Courier New'; page-break-before: =
always;"><span lang=3D"EN">&nbsp;&nbsp; and if present, its value MUST =
NOT be either "sig" or "enc".<o:p></o:p></span></pre><div style=3D"margin:=
 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">This is a =
non-breaking change =96 allowing simple applications that want to =
distinguish between signing and encryption operations to continue doing =
so as they do today, while also providing a multi-valued key usage =
details field to be used by applications that want to record =
fine-grained distinctions among potential key usages, including =
distinguishing between producer and consumer =
operations.<o:p></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">As I see =
it, while having two related key usage representations isn=92t ideal, =
it=92s far better than having WebCrypto overload =93use=94 with =
multi-valued values encoded in strings, such as =93signOnly,verifyOnly=94,=
 which I believe is their current plan of record.<o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;">Comments?<o:p></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-- Mike<o:p></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">P.S.&nbsp; =
This proposal was already discussed on the WebCrypto list in the =
thread<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.=
html" style=3D"color: purple; text-decoration: =
underline;">http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0=
052.html</a><span class=3D"Apple-converted-space">&nbsp;</span>and no =
objections were raised there that I=92m aware of.<o:p></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, =
sans-serif;"><o:p>&nbsp;</o:p></div></div>________________________________=
_______________<br>jose mailing list<br><a href=3D"mailto:jose@ietf.org" =
style=3D"color: purple; text-decoration: =
underline;">jose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/jose" style=3D"color: =
purple; text-decoration: =
underline;">https://www.ietf.org/mailman/listinfo/jose</a></div></blockquo=
te></div><br></div></body></html>=

--Apple-Mail=_9A6D9CE0-7314-4D0D-ACEE-9F2AB74202FB--

--Apple-Mail=_536467E1-9664-41A3-AB8E-41FBE67BD438
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR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QDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQQICHlwwDQYJKoZIhvcNAQEBBQAEggEAlGePx2VGmNSOel57ekrtzMmbpas1HU7RtIAUGg8X
/IJzvmjmwRMv3AQjd7phmYMmuvYmig+k8SPXlPGaWkaK/zbXxBRoLeLYtds30+ol1L9hIXQFXA0O
Ak7Tzq7viuzeMDCP8MuAzGWdXCgDsxA1Cof66zu+2GOWb9tseSZI6Q5WHCKvO+bcx533nTUDYXnD
Xs6dumMlBlR0AcWbJpJOiU9txLm8xL4r+8ts5w1WKTEvqf0OjcQDQV1uFtGBUSukgHXpUxoCKS7b
NThT5cf1B9jTrfFm7noNqHI3KMHUJSfBAdKAuKmJPz8M/cu0tD0gsyk9R4Ev9Abo30ES8JUZDgAA
AAAAAA==

--Apple-Mail=_536467E1-9664-41A3-AB8E-41FBE67BD438--

From derhoermi@gmx.net  Tue Dec 24 16:52:21 2013
Return-Path: <derhoermi@gmx.net>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 021021AE16E for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 16:52:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.438
X-Spam-Level: 
X-Spam-Status: No, score=-2.438 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.538, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBP8z757-wwU for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 16:52:19 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by ietfa.amsl.com (Postfix) with ESMTP id B42171AE16A for <jose@ietf.org>; Tue, 24 Dec 2013 16:52:18 -0800 (PST)
Received: from netb.Speedport_W_700V ([91.35.11.220]) by mail.gmx.com (mrgmx101) with ESMTPA (Nemesis) id 0Lpfas-1VIjFI0nFm-00fOOf for <jose@ietf.org>; Wed, 25 Dec 2013 01:52:14 +0100
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: John Bradley <ve7jtb@ve7jtb.com>
Date: Wed, 25 Dec 2013 01:52:14 +0100
Message-ID: <vvakb91abe2f0assaeq0hgn2vrhuk5ler6@hive.bjoern.hoehrmann.de>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com>
In-Reply-To: <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:WVMWpuqWVZq95HEVQoti4PMNebuD/6QwZaEklhY1kAAzvHAVfTG o8GvK0gjJyNIn0syWDRHqJlsowitqdearlhCTg24z1oIxMQKJFXxfa+/w5veeaZ01JAXt5l M3t12vs1N3I15yXSw7mamGCp4cup17McsulD6HD2m+JguykAIUgXwaRcjxeuHrIY/Rp7OmV 6qZ6qhQVGLZESywXKlDFQ==
Cc: Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Dec 2013 00:52:21 -0000

* John Bradley wrote:
>Having it be an array encourages multiple uses for the same key.  I have 
>stated many times that encouraging people to do that is not a good idea, 
>and making it easy makes people think it is a good idea.
>
>You can use the single value field and have multiple entries with 
>different key containing the same or different keys to do the same 
>thing.

I think "not a good idea" is an understatement here.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

From Michael.Jones@microsoft.com  Tue Dec 24 16:57:08 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 25E4D1AE16F for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 16:57:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqUucGdRNNMC for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 16:57:04 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0158.outbound.protection.outlook.com [207.46.163.158]) by ietfa.amsl.com (Postfix) with ESMTP id B0D1C1AE126 for <jose@ietf.org>; Tue, 24 Dec 2013 16:57:03 -0800 (PST)
Received: from BLUPR03CA036.namprd03.prod.outlook.com (10.141.30.29) by BLUPR03MB152.namprd03.prod.outlook.com (10.255.212.28) with Microsoft SMTP Server (TLS) id 15.0.842.7; Wed, 25 Dec 2013 00:56:58 +0000
Received: from BN1BFFO11FD011.protection.gbl (2a01:111:f400:7c10::1:124) by BLUPR03CA036.outlook.office365.com (2a01:111:e400:879::29) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Wed, 25 Dec 2013 00:56:58 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD011.mail.protection.outlook.com (10.58.144.74) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Wed, 25 Dec 2013 00:56:58 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.127]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0158.002; Wed, 25 Dec 2013 00:56:20 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPAQghWGV8ERvZgkGImR4MP5nUdZpkEyYw
Date: Wed, 25 Dec 2013 00:56:19 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD54AB5@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com>
In-Reply-To: <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.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_4E1F6AAD24975D4BA5B16804296739437CD54AB5TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(35774003)(24454002)(199002)(189002)(377454003)(53754006)(85852003)(90146001)(76796001)(83072002)(69226001)(19300405004)(71186001)(51856001)(81542001)(74366001)(81342001)(54356001)(6806004)(46102001)(80976001)(16236675002)(19580395003)(83322001)(15975445006)(79102001)(63696002)(53806001)(20776003)(44976005)(80022001)(4396001)(66066001)(87936001)(224303002)(47976001)(47736001)(74876001)(50986001)(59766001)(81686001)(56776001)(2656002)(54316002)(77982001)(55846006)(87266001)(224313003)(81816001)(85806002)(19580405001)(76786001)(561944002)(15202345003)(56816005)(49866001)(74502001)(47446002)(65816001)(85306002)(77096001)(76482001)(512954002)(84326002)(74706001)(33656001)(74662001)(31966008); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB152; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0071BFA85B
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely	coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Dec 2013 00:57:08 -0000

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

I agree with your sentiment.  We could add this language to try to discoura=
ge multiple unrelated uses:

Multiple unrelated uses SHOULD NOT be specified for a key because of the po=
tential vulnerabilities associated with using the same key with multiple al=
gorithms.  So the combinations "sign" with "verify", "encrypt" with "decryp=
t", and "wrap" with "unwrap" are permitted, but other combinations SHOULD N=
OT be used.

The rub is that WebCrypto apparently isn't enforcing this restriction, so w=
e need to provide them syntax to express even the nonsensical combinations =
- hence the use of SHOULD rather than MUST above.

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of John Bradley
Sent: Tuesday, December 24, 2013 4:28 PM
To: Mike Jones
Cc: jose@ietf.org
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

Having it be an array encourages multiple uses for the same key.  I have st=
ated many times that encouraging people to do that is not a good idea, and =
making it easy makes people think it is a good idea.

You can use the single value field and have multiple entries with different=
 key containing the same or different keys to do the same thing.

On the practical side "use_details" is better than creating crazy dot separ=
ated como uses.

John B.

On Dec 24, 2013, at 8:26 PM, Mike Jones <Michael.Jones@microsoft.com<mailto=
:Michael.Jones@microsoft.com>> wrote:


Hi all,

Having reflected upon discussions among WebCrypto and JOSE participants abo=
ut JWK usage by WebCrypto over the holidays, I'd like to propose the two JO=
SE spec actions to more closely coordinate with WebCrypto:

1.  Change the JWA registry field name from "Implementation Requirements" t=
o "JOSE Implementation Requirements" in the JSON Web Signature and Encrypti=
on Algorithms Registry (http://tools.ietf.org/html/draft-ietf-jose-json-web=
-algorithms-18#section-7.1).  This will make it clearer that the Implementa=
tion Requirements apply only to JWS and JWE implementations - and not other=
 uses of JWK (such as WebCrypto).  This changes only non-normative text and=
 is non-breaking.

2.  Define the new JWK field "use_details" for recording intended fine-grai=
ned key usage information.  This would enable WebCrypto KeyUsage (https://d=
vcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-interface) =
values to be used directly with JWK.  The proposed definition is:

3.3.  "use_details" (Key Use Details) Parameter

   The "use_details" (key use details) member identifies fine-grained

   details the intended use of the key.  Its value is an array of

   key use details values.  Values defined by this specification are:



   o  "sign" (compute signature or MAC)

   o  "verify" (verify signature or MAC)

   o  "encrypt" (encrypt content)

   o  "decrypt" (decrypt content and verify decryption, if applicable)

   o  "wrap" (encrypt key)

   o  "unwrap" (decrypt key and verify decryption, if applicable)

   o  "deriveKey" (derive key)

   o  "deriveBits" (derive bits not to be used as a key)



   Other values MAY be used.  Key Use Details values can be registered

   in the IANA JSON Web Key Use Details registry defined in Section 7.3.

   The use details values are case-sensitive strings.

   Duplicate use details values MUST NOT be present in the array.

   Use of the "use_details" member is OPTIONAL, unless the application

   requires use this member to record fine-grained key usage details.

   (Note that the "use_details" values intentionally match the "KeyUsage"

   values defined in the WebCrypto [WebCrypto] specification.)



   If both "use" and "use_details" JWK members are present, the usages

   specified by them MUST be consistent.  In particular, the "use" value

   "sig" corresponds to "sign" and/or "verify".  The "use" value

   "enc" corresponds to all other values defined above.

   If "use_details" values corresponding to both "sig" and "enc"

   "use" values are present, the "use" member SHOULD NOT be present,

   and if present, its value MUST NOT be either "sig" or "enc".

This is a non-breaking change - allowing simple applications that want to d=
istinguish between signing and encryption operations to continue doing so a=
s they do today, while also providing a multi-valued key usage details fiel=
d to be used by applications that want to record fine-grained distinctions =
among potential key usages, including distinguishing between producer and c=
onsumer operations.

As I see it, while having two related key usage representations isn't ideal=
, it's far better than having WebCrypto overload "use" with multi-valued va=
lues encoded in strings, such as "signOnly,verifyOnly", which I believe is =
their current plan of record.

Comments?

                                                            -- Mike

P.S.  This proposal was already discussed on the WebCrypto list in the thre=
ad http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.html a=
nd no objections were raised there that I'm aware of.

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


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I agree with your sentime=
nt.&nbsp; We could add this language to try to discourage multiple unrelate=
d uses:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D=
">Multiple unrelated uses SHOULD NOT be specified for a key because of the =
potential vulnerabilities associated with using the same key
 with multiple algorithms.&nbsp; So the combinations &#8220;sign&#8221; wit=
h &#8220;verify&#8221;, &#8220;encrypt&#8221; with &#8220;decrypt&#8221;, a=
nd &#8220;wrap&#8221; with &#8220;unwrap&#8221; are permitted, but other co=
mbinations SHOULD NOT be used.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The rub is that WebCrypto=
 apparently isn&#8217;t enforcing this restriction, so we need to provide t=
hem syntax to express even the nonsensical combinations &#8211; hence
 the use of SHOULD rather than MUST above.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>John Bradley<br>
<b>Sent:</b> Tuesday, December 24, 2013 4:28 PM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] Two proposed JOSE spec actions to more closely c=
oordinate with WebCrypto<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Having it be an array encourages multiple uses for t=
he same key. &nbsp;I have stated many times that encouraging people to do t=
hat is not a good idea, and making it easy makes people think it is a good =
idea.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">You can use the single value field and have multiple=
 entries with different key containing the same or different keys to do the=
 same thing.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">On the practical side &quot;use_details&quot; is bet=
ter than creating crazy dot separated como uses.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">John B.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Dec 24, 2013, at 8:26 PM, Mike Jones &lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&gt;=
 wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Hi all,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Having reflected upon discussions among=
 WebCrypto and JOSE participants about JWK usage by WebCrypto over the holi=
days, I&#8217;d like to propose the two JOSE spec actions to more
 closely coordinate with WebCrypto:<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">1.&nbsp; Change the JWA registry field =
name from &#8220;Implementation Requirements&#8221; to &#8220;JOSE Implemen=
tation Requirements&#8221; in the JSON Web Signature and Encryption Algorit=
hms Registry
 (<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms=
-18#section-7.1"><span style=3D"color:purple">http://tools.ietf.org/html/dr=
aft-ietf-jose-json-web-algorithms-18#section-7.1</span></a>).&nbsp; This wi=
ll make it clearer that the Implementation
 Requirements apply only to JWS and JWE implementations &#8211; and not oth=
er uses of JWK (such as WebCrypto).&nbsp; This changes only non-normative t=
ext and is non-breaking.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">2.&nbsp; Define the new JWK field &#822=
0;use_details&#8221; for recording intended fine-grained key usage informat=
ion.&nbsp; This would enable WebCrypto KeyUsage (<a href=3D"https://dvcs.w3=
.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-interface"><span =
style=3D"color:purple">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/sp=
ec/Overview.html#key-interface</span></a>)
 values to be used directly with JWK.&nbsp; The proposed definition is:<o:p=
></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div style=3D"margin-left:.5in">
<p class=3D"MsoNormal" style=3D"page-break-before:always"><b><span lang=3D"=
EN" style=3D"font-family:&quot;Courier New&quot;">3.3.&nbsp; &quot;use_deta=
ils&quot; (Key Use Details) Parameter</span></b><span style=3D"font-size:11=
.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></s=
pan></p>
</div>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; The &quot;use_details&quot; (key us=
e details) member identifies fine-grained</span><span style=3D"font-size:12=
.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp; &nbsp;details the intended use of the key=
.&nbsp; Its value is an array of</span><span style=3D"font-size:12.0pt"><o:=
p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; key use details values.&nbsp; Value=
s defined by this specification are:</span><span style=3D"font-size:12.0pt"=
><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;</span><span style=3D"font-size:12.0pt"><o=
:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt"> &nbsp;&nbsp;o&nbsp; &quot;sign&quot; (compute s=
ignature or MAC)</span><span style=3D"font-size:12.0pt"><o:p></o:p></span><=
/pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;verify&quot; (verify =
signature or MAC)</span><span style=3D"font-size:12.0pt"><o:p></o:p></span>=
</pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;encrypt&quot; (encryp=
t content)</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;decrypt&quot; (decryp=
t content and verify decryption, if applicable)</span><span style=3D"font-s=
ize:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;wrap&quot; (encrypt k=
ey)</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;unwrap&quot; (decrypt=
 key and verify decryption, if applicable)</span><span style=3D"font-size:1=
2.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;deriveKey&quot; (deri=
ve key)</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; o&nbsp; &quot;deriveBits&quot; (der=
ive bits not to be used as a key)</span><span style=3D"font-size:12.0pt"><o=
:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;</span><span style=3D"font-size:12.0pt"><o=
:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; Other values MAY be used.&nbsp; Key=
 Use Details values can be registered</span><span style=3D"font-size:12.0pt=
"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp; &nbsp;in the IANA JSON Web Key Use Detail=
s registry defined in Section 7.3.</span><span style=3D"font-size:12.0pt"><=
o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt"> &nbsp;&nbsp;The use details values are case-sen=
sitive strings.</span><span style=3D"font-size:12.0pt"><o:p></o:p></span></=
pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; Duplicate use details values MUST N=
OT be present in the array.</span><span style=3D"font-size:12.0pt"><o:p></o=
:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt"> &nbsp;&nbsp;Use of the &quot;use_details&quot; =
member is OPTIONAL, unless the application</span><span style=3D"font-size:1=
2.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp; &nbsp;requires use this member to record =
fine-grained key usage details.</span><span style=3D"font-size:12.0pt"><o:p=
></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; (Note that the &quot;use_details&qu=
ot; values intentionally match the &quot;KeyUsage&quot;</span><span style=
=3D"font-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; values defined in the WebCrypto [We=
bCrypto] specification.)</span><span style=3D"font-size:12.0pt"><o:p></o:p>=
</span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;</span><span style=3D"font-size:12.0pt"><o=
:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; If both &quot;use&quot; and &quot;u=
se_details&quot; JWK members are present, the usages</span><span style=3D"f=
ont-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; specified by them MUST be consisten=
t.&nbsp; In particular, the &quot;use&quot; value</span><span style=3D"font=
-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; &quot;sig&quot; corresponds to &quo=
t;sign&quot; and/or &quot;verify&quot;.&nbsp; The &quot;use&quot; value</sp=
an><span style=3D"font-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; &quot;enc&quot; corresponds to all =
other values defined above.</span><span style=3D"font-size:12.0pt"><o:p></o=
:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; If &quot;use_details&quot; values c=
orresponding to both &quot;sig&quot; and &quot;enc&quot;</span><span style=
=3D"font-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; &quot;use&quot; values are present,=
 the &quot;use&quot; member SHOULD NOT be present,</span><span style=3D"fon=
t-size:12.0pt"><o:p></o:p></span></pre>
<pre style=3D"margin-left:.5in;page-break-before:always"><span lang=3D"EN" =
style=3D"font-size:12.0pt">&nbsp;&nbsp; and if present, its value MUST NOT =
be either &quot;sig&quot; or &quot;enc&quot;.</span><span style=3D"font-siz=
e:12.0pt"><o:p></o:p></span></pre>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">This is a non-breaking change &#8211; a=
llowing simple applications that want to distinguish between signing and en=
cryption operations to continue doing so as they do today, while
 also providing a multi-valued key usage details field to be used by applic=
ations that want to record fine-grained distinctions among potential key us=
ages, including distinguishing between producer and consumer operations.<o:=
p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">As I see it, while having two related k=
ey usage representations isn&#8217;t ideal, it&#8217;s far better than havi=
ng WebCrypto overload &#8220;use&#8221; with multi-valued values encoded in=
 strings,
 such as &#8220;signOnly,verifyOnly&#8221;, which I believe is their curren=
t plan of record.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Comments?<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">P.S.&nbsp; This proposal was already di=
scussed on the WebCrypto list in the thread<span class=3D"apple-converted-s=
pace">&nbsp;</span><a href=3D"http://lists.w3.org/Archives/Public/public-we=
bcrypto/2013Dec/0052.html"><span style=3D"color:purple">http://lists.w3.org=
/Archives/Public/public-webcrypto/2013Dec/0052.html</span></a><span class=
=3D"apple-converted-space">&nbsp;</span>and
 no objections were raised there that I&#8217;m aware of.<o:p></o:p></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:&quot;Hel=
vetica&quot;,&quot;sans-serif&quot;">______________________________________=
_________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org"><span style=3D"color:purple">jose@ietf.org=
</span></a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose"><span style=3D"color=
:purple">https://www.ietf.org/mailman/listinfo/jose</span></a><o:p></o:p></=
span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD54AB5TK5EX14MBXC286r_--

From ve7jtb@ve7jtb.com  Tue Dec 24 17:14:21 2013
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 148F61AE182 for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 17:14:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kQoDtJd8z7h for <jose@ietfa.amsl.com>; Tue, 24 Dec 2013 17:14:19 -0800 (PST)
Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by ietfa.amsl.com (Postfix) with ESMTP id 1D43E1AE180 for <jose@ietf.org>; Tue, 24 Dec 2013 17:14:18 -0800 (PST)
Received: by mail-qc0-f182.google.com with SMTP id e16so6488185qcx.41 for <jose@ietf.org>; Tue, 24 Dec 2013 17:14:15 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=A2vdJ4Wvycs05L+wQTB37tYO37xN2TryUYFWwI5Hu6c=; b=majLbG32Ro5WHTalC3s7vPYjNiwSb9mfH1iPc1JzCp2fU5hHLwiTFXrgdOSVyC0OZm 5MJrfw+9N5M1E3dW7hHyg15V6egixWp6oYheu44syqO6zPMhtfbxluT/6WTHRX5io4Jb PLqus4KOeX+d5h2A90rs4lWwqqF0+/Ljs8e/hJkj8M7aPVSfGfnGx0l9k2Mp+RmXOOrj 7tgZUMgm8gKkJMn27obbersUqlfReZwJR4hFp4V8KRfylMZWOrMwbCsKoMnVRqu95vhl h2K+olhT+EWUngPoTtENgKSu7L73trXcSnR4wkOaOwppDvTeDUxRhIPjCN7NmNgi8Rea oGqQ==
X-Gm-Message-State: ALoCoQlaYa+NxjhgwNYzUgd6yOi0iiBajvrchr9CnjKVLXBUW+xJTcyXBlSKAOg/f8N171Kbi54T
X-Received: by 10.224.2.194 with SMTP id 2mr7146663qak.44.1387934055070; Tue, 24 Dec 2013 17:14:15 -0800 (PST)
Received: from [192.168.1.217] (190-20-16-63.baf.movistar.cl. [190.20.16.63]) by mx.google.com with ESMTPSA id z4sm30646899qeq.11.2013.12.24.17.14.10 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Dec 2013 17:14:13 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_995C1123-4216-46AB-9D8E-FD9831B20BEF"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <vvakb91abe2f0assaeq0hgn2vrhuk5ler6@hive.bjoern.hoehrmann.de>
Date: Tue, 24 Dec 2013 22:14:31 -0300
Message-Id: <FB5632B3-43F1-4F58-A860-E13BEAE7FD0C@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <vvakb91abe2f0assaeq0hgn2vrhuk5ler6@hive.bjoern.hoehrmann.de>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
X-Mailer: Apple Mail (2.1827)
Cc: Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Dec 2013 01:14:21 -0000

--Apple-Mail=_995C1123-4216-46AB-9D8E-FD9831B20BEF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

It was typical Canadian Sarcasm.

On Dec 24, 2013, at 9:52 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

> * John Bradley wrote:
>> Having it be an array encourages multiple uses for the same key.  I =
have=20
>> stated many times that encouraging people to do that is not a good =
idea,=20
>> and making it easy makes people think it is a good idea.
>>=20
>> You can use the single value field and have multiple entries with=20
>> different key containing the same or different keys to do the same=20
>> thing.
>=20
> I think "not a good idea" is an understatement here.
> --=20
> Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 =
http://bjoern.hoehrmann.de
> Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 =
http://www.bjoernsworld.de
> 25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 =
http://www.websitedev.de/=20


--Apple-Mail=_995C1123-4216-46AB-9D8E-FD9831B20BEF
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydEN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AEggEAJ6cosuTe4Vvh6ULD8KqKuK7+xsRNeCCdNd8SU9+m
uxNNudXvMZh8nw0gOL/Kfcp8o0JgVTV3d1a+Iu/f7gjr4hM0S9smExx8hbCfOlspx5Bm2taa1ePe
KJgpOIhQqQ8Lp4cjLNzn0fYYeHQHy2a5J3L1iqaWIZDrkq9xMpO2fVfVjbl3kZPtLRs2kMDIub2C
2ULGbXKLRO4lfhVkLKcnxRQvHmOadHhNHHvFKrmhRZ7QArn3JrOcvNGVl5r2Ruk4OXCbkbbFt5wf
NPfaSOgt3rO+DOiuoiBN33CPe9dgYu1OVg4hg1tZCQps/jWOyvGFwcbh+nneyUaw2i/qCBxpHQAA
AAAAAA==

--Apple-Mail=_995C1123-4216-46AB-9D8E-FD9831B20BEF--

From anders.rundgren.net@gmail.com  Thu Dec 26 03:10:55 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A54541AD942 for <jose@ietfa.amsl.com>; Thu, 26 Dec 2013 03:10:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.6
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HvK08h72W6A5 for <jose@ietfa.amsl.com>; Thu, 26 Dec 2013 03:10:53 -0800 (PST)
Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by ietfa.amsl.com (Postfix) with ESMTP id 081F81AD8DB for <jose@ietf.org>; Thu, 26 Dec 2013 03:10:52 -0800 (PST)
Received: by mail-wg0-f41.google.com with SMTP id y10so11293171wgg.0 for <jose@ietf.org>; Thu, 26 Dec 2013 03:10:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=OHE86E/yzsiy/K7juFS4CxY1U1kywi7D9XChXWC7a60=; b=g3L59SYcUo95vfN+obvHy3a3N0lKYZEoKzrZApG2LAaM5yhoHqnpLEGhdtk/ckOb1Z ur5evAHabXbnvHowwKWR+EDzrGztGT90Lds/t486ECUg4QfDzCF0dRuALKHg5BgwLJ44 F1eqPRWJYx41HF5+r2qH2zgsqgLtK6br3UHv5QCElgLSfdaM96Nk+rTtIxKMqOu0A2Z7 kk11OTxf7MBuYQfgldfJ2bdlHJsTiYQwlnA1pjNysbGay9m6KoL4JxIwJpXaVOFjBhFy 9Q7MB6iV5pBdKXxlhDywaaMKa7wJ//T0l2SdSAZo0U88UQ9j1plBsFTWFoEaKfRw1SR/ IoBA==
X-Received: by 10.194.93.105 with SMTP id ct9mr29151113wjb.6.1388056247934; Thu, 26 Dec 2013 03:10:47 -0800 (PST)
Received: from [192.168.1.99] (242.43.2.93.rev.sfr.net. [93.2.43.242]) by mx.google.com with ESMTPSA id x9sm16634448wjf.11.2013.12.26.03.10.46 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 03:10:47 -0800 (PST)
Message-ID: <52BC0EB2.5070502@gmail.com>
Date: Thu, 26 Dec 2013 12:10:42 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [jose] Using JWS in KeyGen2
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Dec 2013 11:10:55 -0000

Since quite a bunch of people seems to believe that alternative signature schemes like JCS (JSON Cleartext Signature) and SM (Secure Messaging) are "fundamentally bad", I just wanted providing an example that _may_ explain a bit about the motivation at least.

1. Current KeyGen2 sample message using JCS:

{
  "@context": "http://xmlns.webpki.org/keygen2/beta/20131201",
  "@qualifier": "ProvisioningInitializationResponse",
  "ServerSessionID": "142f1bdb286XVQnqmIRc1bSzm-QN-ZJk",
  "ClientSessionID": "39NMWamKtHumJFfdIGkDrLP-NMB-5Lwo",
  "ServerTime": "2013-12-14T16:33:30+01:00",
  "ClientTime": "2013-12-14T16:33:30+01:00",
  "SessionAttestation": "KMUpOesC8nDTLpu8PppsSGg1j....WiwvUcVpbNudbY14lLks8RQuwoiU",
  "ClientEphemeralKey":
    {
      "PublicKey":
        {
          "EC":
            {
              "NamedCurve": "http://xmlns.webpki.org/sks/algorithm#ec.nist.p256",
              "X": "tQXczn7qxGgcLpOVBuw5i-tMHxbJTUF6k3RZGsjdauc",
              "Y": "jIlm8sXwknZeQQDTxkfwXKUdhubt6JcqQYA6S8Dm3AE"
            }
        }
    },
  "DeviceCertificate":
    {
      "X509CertificatePath": ["MIIC2DCCAcCgAwIBAgIGARTWcc7VMCSq....awCV4OfAGXLIwJBCp85AN7KNdcJfL"]
    },
  "ServerCertificateFingerPrint": "HwKCofkqkTFXRmyyb_CnWhAcTbQF7w8rl1OqCwyM4TM",
  "Signature":
    {
      "Algorithm": "http://www.w3.org/2001/04/xmldsig-more#hmac-sha256",
      "KeyInfo":
        {
          "KeyID": "derived-session-key"
        },
      "SignatureValue": "nnzNSZUZw1qlGVydZZ3ssCVIZTznyHwDXlOpLMpI3Lo"
    }
}

Note that the entire message in signed including the signature parameters with the "SignatureValue" property as the only exception.


2. Using JWS where the entire message is signed:

{
  "payload": "eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzM...tcGxlLmNvbS9pc19yb290Ijp0cnVlfQ",
  "signatures":
    [{
       "protected": "eyJhbGciOiJFUzI1NiJ9",
       "header":
         {
           "kid": "e9bc097a-ce51-4036-9562-d2ade882db0d"
         },
       "signature": "DtEhU3ljbEg8L38VWAfUAqOyKAM6-Xx...lSApmWQxfKTUJqPP3-Kg6NU1Q"
     }]
}

That is, you would need a two-level parsing scheme to find out what the actual message type is.


3. Using JWS where the object type IDs are provided separately (presumably duplicated in the payload):

{
  "@context": "http://xmlns.webpki.org/keygen2/beta/20131201",
  "@qualifier": "ProvisioningInitializationResponse",
  "payload": "eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzM...tcGxlLmNvbS9pc19yb290Ijp0cnVlfQ",
  "signatures":
    [{
       "protected": "eyJhbGciOiJFUzI1NiJ9",
       "header":
         {
           "kid": "e9bc097a-ce51-4036-9562-d2ade882db0d"
         },
       "signature": "DtEhU3ljbEg8L38VWAfUAqOyKAM6-Xx...lSApmWQxfKTUJqPP3-Kg6NU1Q"
     }]
}

I guess this one would be the most reasonable conversion, right?

Cheers
Anders

( https://openkeystore.googlecode.com/svn/resources/trunk/docs/keygen2.html#Sample.KeyCreationRequest )


From anders.rundgren.net@gmail.com  Thu Dec 26 05:29:25 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38AC71AE1D5 for <jose@ietfa.amsl.com>; Thu, 26 Dec 2013 05:29:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WJV6t_JeTCmU for <jose@ietfa.amsl.com>; Thu, 26 Dec 2013 05:29:23 -0800 (PST)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 958E41AE149 for <jose@ietf.org>; Thu, 26 Dec 2013 05:29:23 -0800 (PST)
Received: by mail-wi0-f173.google.com with SMTP id hn9so8757427wib.6 for <jose@ietf.org>; Thu, 26 Dec 2013 05:29:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ZnMH+ipLhKIHvUfCr1yshsu6UIal7/hthbdBFS7gAgM=; b=sQtrVtdoY2fMgENEPBV4lsRB0th3M8fGndPciqVh72+S9am5p+uKxIA5AJ7ogV/vGw ckFD5VUnSDa4Y/mJv0uCjC8M6aOTWhW4DN+zzQEjOdMRazTW0wdlk3x6ECAPl/3Anw0g Bp6M+mDzziK9FOXH5AJ1bLtj86fhaju18RBHKC3tbKd1VfyMQZ6IiUbtQYoccW49j3w6 y2/aF43D6pZNeuP0mCxW4cDPUBR791zMDW5EyDasKFKO9yD5wgpibc0UbKYxVOHu5ubd kisiSCj9PmOVk3LlHNNH2v3eI7Iz2Dc7YoGUZN97PeGGf1aPV9PXcldksdDXhrJWQWUM 3cmw==
X-Received: by 10.194.175.66 with SMTP id by2mr4653023wjc.59.1388064558796; Thu, 26 Dec 2013 05:29:18 -0800 (PST)
Received: from [192.168.1.99] (242.43.2.93.rev.sfr.net. [93.2.43.242]) by mx.google.com with ESMTPSA id r10sm16911477wje.10.2013.12.26.05.29.17 for <jose@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 05:29:18 -0800 (PST)
Message-ID: <52BC2F28.1000605@gmail.com>
Date: Thu, 26 Dec 2013 14:29:12 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [jose] OCSP/CRL info in JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Dec 2013 13:29:25 -0000

Pardon me all,
but I couldn't find any information about OCSP stapling or CRL bags in the JOSE docs.
I guess I'm just not reading properly?

Cheers
Anders

From rlb@ipv.sx  Thu Dec 26 08:20:12 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12D931ADF79 for <jose@ietfa.amsl.com>; Thu, 26 Dec 2013 08:20:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5_KXTaVFWiWI for <jose@ietfa.amsl.com>; Thu, 26 Dec 2013 08:20:09 -0800 (PST)
Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by ietfa.amsl.com (Postfix) with ESMTP id A60011ADF78 for <jose@ietf.org>; Thu, 26 Dec 2013 08:20:09 -0800 (PST)
Received: by mail-oa0-f53.google.com with SMTP id m1so8759570oag.40 for <jose@ietf.org>; Thu, 26 Dec 2013 08:20:05 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=rAETLDGaoCzp91PzhQ01t1mVTnlDT1LjLAtxACO+MwI=; b=jMpYR6ZHWuYfKTuY82u5/niAj20D/Msf/go9dD+ZGS7sGMmJNHd6Tft9/NB7BgfyJs 0VwyHKEmYjcYOYgPx9lbv3h7A9fxKIhoyykmodZv/qgXmdSa/zT0FH6O5ZRMXY8UEsTp qOFqx5RWTWCGHfoGu3nPqskewqZlwVU6aXMp0z5z/NoXKCaIb2credpZdUVCGdJ8LrUO gc82UG+ml8MXHWXCKPqOfmzYjN7PsI7Ok8CmWZEgAIOoEqj6TJ9jM4pZuqvjfEWuKMRY M/IzmKh9TGFI9qaPshkuMqehVTFxrVHkIx/eHw+qZikwVu1bqkGCH5gxeLBMj+0wypA+ OQxg==
X-Gm-Message-State: ALoCoQni1xtNmyqYLYXQO20uMVrmuiqVHbZanz746hWwiDH96nhc0331ifZVNsVAd6mdn4FC0JdB
MIME-Version: 1.0
X-Received: by 10.60.69.38 with SMTP id b6mr30440324oeu.27.1388074805116; Thu, 26 Dec 2013 08:20:05 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Thu, 26 Dec 2013 08:20:05 -0800 (PST)
In-Reply-To: <52BC2F28.1000605@gmail.com>
References: <52BC2F28.1000605@gmail.com>
Date: Thu, 26 Dec 2013 11:20:05 -0500
Message-ID: <CAL02cgQP6YzUE0YLVrqbTZRQm98Ej+Fu0gs2sP8bS1TwHVE85Q@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
Content-Type: multipart/alternative; boundary=001a11330abaae555704ee7259fe
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] OCSP/CRL info in JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Dec 2013 16:20:12 -0000

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

No, you're not reading improperly, they don't exist.

It seems like you could define a "crl" or "ocsp" attribute to carry them,
though.  Should be a short Internet-draft.

--Richard


On Thu, Dec 26, 2013 at 8:29 AM, Anders Rundgren <
anders.rundgren.net@gmail.com> wrote:

> Pardon me all,
> but I couldn't find any information about OCSP stapling or CRL bags in the
> JOSE docs.
> I guess I'm just not reading properly?
>
> Cheers
> Anders
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr">No, you&#39;re not reading improperly, they don&#39;t exis=
t.<div><br></div><div>It seems like you could define a &quot;crl&quot; or &=
quot;ocsp&quot; attribute to carry them, though. =A0Should be a short Inter=
net-draft.</div>
<div><br></div><div>--Richard</div></div><div class=3D"gmail_extra"><br><br=
><div class=3D"gmail_quote">On Thu, Dec 26, 2013 at 8:29 AM, Anders Rundgre=
n <span dir=3D"ltr">&lt;<a href=3D"mailto:anders.rundgren.net@gmail.com" ta=
rget=3D"_blank">anders.rundgren.net@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Pardon me all,<br>
but I couldn&#39;t find any information about OCSP stapling or CRL bags in =
the JOSE docs.<br>
I guess I&#39;m just not reading properly?<br>
<br>
Cheers<br>
Anders<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</blockquote></div><br></div>

--001a11330abaae555704ee7259fe--

From anders.rundgren.net@gmail.com  Fri Dec 27 09:23:59 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C487C1AE21A for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 09:23:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZIggfL-ly5aV for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 09:23:57 -0800 (PST)
Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 7AD541ADFDD for <jose@ietf.org>; Fri, 27 Dec 2013 09:23:57 -0800 (PST)
Received: by mail-we0-f173.google.com with SMTP id u57so8297153wes.4 for <jose@ietf.org>; Fri, 27 Dec 2013 09:23:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/D8j6yG0IB3ZOJwCUpsnf5JyWf0Pw0Q+/QrkPfo72K0=; b=BFzfSYt2P069B6NfBWqAzoHb1UqAoKL4r96ZJ9MdPaD28MEREphAQrasZgyywlfnnp hwouH9dai7svRUS/NeTJAUyyffaDELXtgg3aBjFL9CaDXczZN85AQNizH+qP1cAWFGC6 Rd+t1wGaZGcqsJCBxVrzmGLTgs2tI6r/KEpNN6o6+zTeHkgPYiQusNoBhGBh3Rf0DJIX BdCcQZPZM1f8mKX5ScNeVsMXuaOALC3yo8bsL7hyTVonoDeEZ/9C8ua9TGLB1UW4vftY oiJ2PlqTnRVBxngJg4r4HzOMSm1HQsFVqYaQZYj531vvRHEwEQUfFWUrZnDGXgSDh812 3B1w==
X-Received: by 10.180.182.164 with SMTP id ef4mr18415397wic.35.1388165032144;  Fri, 27 Dec 2013 09:23:52 -0800 (PST)
Received: from [192.168.1.99] (157.118.12.109.rev.sfr.net. [109.12.118.157]) by mx.google.com with ESMTPSA id x9sm19642475wjf.11.2013.12.27.09.23.51 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Dec 2013 09:23:51 -0800 (PST)
Message-ID: <52BDB7A1.6050406@gmail.com>
Date: Fri, 27 Dec 2013 18:23:45 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Richard Barnes <rlb@ipv.sx>
References: <52BC2F28.1000605@gmail.com> <CAL02cgQP6YzUE0YLVrqbTZRQm98Ej+Fu0gs2sP8bS1TwHVE85Q@mail.gmail.com>
In-Reply-To: <CAL02cgQP6YzUE0YLVrqbTZRQm98Ej+Fu0gs2sP8bS1TwHVE85Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] OCSP/CRL info in JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 17:24:00 -0000

On 2013-12-26 17:20, Richard Barnes wrote:
> No, you're not reading improperly, they don't exist.
> 
> It seems like you could define a "crl" or "ocsp" attribute to carry them, though.  Should be a short Internet-draft.

Thanx Richard!

https://blog.mozilla.org/security/2013/07/29/ocsp-stapling-in-firefox

Apart from the privacy issue which mainly relates to users, revocation information
stapling should also reduce the need for keeping an additional HTTP port open in
sever-to-server scenarios like for e-invoicing and e-payments.

If I have the time I may add it to JCS which is my current priority item.

A preliminary spec (that should also fit JWS) is that optional OCSP or CRL properties
must be supplied as arrays of blobs (ASN.1 DER structures) with length <= number of certificates in the path ("x5c" in JWS)
and where each revocation blob is supposed to be on the array-wise matching position with respect to the certificate path array.

Maybe a bit "hackish" but quite simple to implement.  Finesse? Who cares :-)

Anders

> 
> --Richard
> 
> 
> On Thu, Dec 26, 2013 at 8:29 AM, Anders Rundgren <anders.rundgren.net@gmail.com <mailto:anders.rundgren.net@gmail.com>> wrote:
> 
>     Pardon me all,
>     but I couldn't find any information about OCSP stapling or CRL bags in the JOSE docs.
>     I guess I'm just not reading properly?
> 
>     Cheers
>     Anders
>     _______________________________________________
>     jose mailing list
>     jose@ietf.org <mailto:jose@ietf.org>
>     https://www.ietf.org/mailman/listinfo/jose
> 
> 


From rlb@ipv.sx  Fri Dec 27 10:05:57 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6B881AE245 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 10:05:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.723
X-Spam-Level: 
X-Spam-Status: No, score=0.723 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G06QuHjnwdXT for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 10:05:55 -0800 (PST)
Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by ietfa.amsl.com (Postfix) with ESMTP id 3ED9B1ADF80 for <jose@ietf.org>; Fri, 27 Dec 2013 10:05:55 -0800 (PST)
Received: by mail-ob0-f173.google.com with SMTP id gq1so9680000obb.32 for <jose@ietf.org>; Fri, 27 Dec 2013 10:05:50 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DS5g8DPtLsUYIfZKrn7seLnXuyNOeZ36O062aBOdgCg=; b=bsw46VLx53zJxk49tsWUPN3AK4uY2Y6v51m7mta8ge3cxkrtLa0VWjOacrbCkhYldX FYNumytVsmpK94XGn4O9ACYXDQt6KX7eTKO9/hy+nwxiWwMBGgkelp2eLdKgoRQavgDr rGREFc4Lc2PaX6DROrdAMLQnzg+hOn6CfQ4bkMbZ+EgS6Ro8vq/7e5owFjHJDpLgOObu eSTtg2H4N5fmmnLR1BJ+lD2KtduIlCHj2w0A/FYmrAXK7u0+kG78I/Mb1FmNmSukKb7H mx9T9arUN9P8mD4HEyJnyak0LDFv8VESUZfE8WoIx3++70Z+k0SigYI3bTp+v4pQ//6Q 1WTg==
X-Gm-Message-State: ALoCoQmfNnhW7DZN1r455E/ODvWdrolUHM7vdFCOkbKTGuRdLZhx34hFdUL20J+b3S6b3qBLc+fQ
MIME-Version: 1.0
X-Received: by 10.60.99.8 with SMTP id em8mr9528447oeb.8.1388167550298; Fri, 27 Dec 2013 10:05:50 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Fri, 27 Dec 2013 10:05:50 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD54AB5@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <4E1F6AAD24975D4BA5B16804296739437CD54AB5@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Fri, 27 Dec 2013 13:05:50 -0500
Message-ID: <CAL02cgSdUgo5sPyz=3L5j70bbHvTP84B90S4ar3igJLP4pCyKw@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=047d7b33cad2b9819904ee87f14b
Cc: John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 18:05:58 -0000

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

On Tue, Dec 24, 2013 at 7:56 PM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

>  I agree with your sentiment.  We could add this language to try to
> discourage multiple unrelated uses:
>
>
>
> Multiple unrelated uses SHOULD NOT be specified for a key because of the
> potential vulnerabilities associated with using the same key with multipl=
e
> algorithms.  So the combinations =93sign=94 with =93verify=94, =93encrypt=
=94 with
> =93decrypt=94, and =93wrap=94 with =93unwrap=94 are permitted, but other =
combinations
> SHOULD NOT be used.
>
>
>
> The rub is that WebCrypto apparently isn=92t enforcing this restriction, =
so
> we need to provide them syntax to express even the nonsensical combinatio=
ns
> =96 hence the use of SHOULD rather than MUST above.
>

If you're going to have that text, you might as well just make "use" the
array, and have the caveats apply there as well.  I would strongly prefer
that solution to creating a different, incompatible key usage field.

On issue (1), my preference would be to simply delete the implementation
requirements, but failing that, renaming to "JOSE implementation
requirements" or "JWS/JWE implementation requirements" seems OK.  If you
wanted to be extra clean, you could just move the implementation
requirements to a separate registry.

--Richard





>
>
>                                                             -- Mike
>
>
>
> *From:* jose [mailto:jose-bounces@ietf.org] *On Behalf Of *John Bradley
> *Sent:* Tuesday, December 24, 2013 4:28 PM
> *To:* Mike Jones
> *Cc:* jose@ietf.org
> *Subject:* Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
>
>
> Having it be an array encourages multiple uses for the same key.  I have
> stated many times that encouraging people to do that is not a good idea,
> and making it easy makes people think it is a good idea.
>
>
>
> You can use the single value field and have multiple entries with
> different key containing the same or different keys to do the same thing.
>
>
>
> On the practical side "use_details" is better than creating crazy dot
> separated como uses.
>
>
>
> John B.
>
>
>
> On Dec 24, 2013, at 8:26 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
>
>
>
>   Hi all,
>
>
>
> Having reflected upon discussions among WebCrypto and JOSE participants
> about JWK usage by WebCrypto over the holidays, I=92d like to propose the=
 two
> JOSE spec actions to more closely coordinate with WebCrypto:
>
>
>
> 1.  Change the JWA registry field name from =93Implementation Requirement=
s=94
> to =93JOSE Implementation Requirements=94 in the JSON Web Signature and
> Encryption Algorithms Registry (
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section=
-7.1).
> This will make it clearer that the Implementation Requirements apply only
> to JWS and JWE implementations =96 and not other uses of JWK (such as
> WebCrypto).  This changes only non-normative text and is non-breaking.
>
>
>
> 2.  Define the new JWK field =93use_details=94 for recording intended
> fine-grained key usage information.  This would enable WebCrypto KeyUsage=
 (
> https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-=
interface)
> values to be used directly with JWK.  The proposed definition is:
>
>
>
> *3.3.  "use_details" (Key Use Details) Parameter*
>
>    The "use_details" (key use details) member identifies fine-grained
>
>    details the intended use of the key.  Its value is an array of
>
>    key use details values.  Values defined by this specification are:
>
>
>
>    o  "sign" (compute signature or MAC)
>
>    o  "verify" (verify signature or MAC)
>
>    o  "encrypt" (encrypt content)
>
>    o  "decrypt" (decrypt content and verify decryption, if applicable)
>
>    o  "wrap" (encrypt key)
>
>    o  "unwrap" (decrypt key and verify decryption, if applicable)
>
>    o  "deriveKey" (derive key)
>
>    o  "deriveBits" (derive bits not to be used as a key)
>
>
>
>    Other values MAY be used.  Key Use Details values can be registered
>
>    in the IANA JSON Web Key Use Details registry defined in Section 7.3.
>
>    The use details values are case-sensitive strings.
>
>    Duplicate use details values MUST NOT be present in the array.
>
>    Use of the "use_details" member is OPTIONAL, unless the application
>
>    requires use this member to record fine-grained key usage details.
>
>    (Note that the "use_details" values intentionally match the "KeyUsage"
>
>    values defined in the WebCrypto [WebCrypto] specification.)
>
>
>
>    If both "use" and "use_details" JWK members are present, the usages
>
>    specified by them MUST be consistent.  In particular, the "use" value
>
>    "sig" corresponds to "sign" and/or "verify".  The "use" value
>
>    "enc" corresponds to all other values defined above.
>
>    If "use_details" values corresponding to both "sig" and "enc"
>
>    "use" values are present, the "use" member SHOULD NOT be present,
>
>    and if present, its value MUST NOT be either "sig" or "enc".
>
>
>
> This is a non-breaking change =96 allowing simple applications that want =
to
> distinguish between signing and encryption operations to continue doing s=
o
> as they do today, while also providing a multi-valued key usage details
> field to be used by applications that want to record fine-grained
> distinctions among potential key usages, including distinguishing between
> producer and consumer operations.
>
>
>
> As I see it, while having two related key usage representations isn=92t
> ideal, it=92s far better than having WebCrypto overload =93use=94 with
> multi-valued values encoded in strings, such as =93signOnly,verifyOnly=94=
,
> which I believe is their current plan of record.
>
>
>
> Comments?
>
>
>
>                                                             -- Mike
>
>
>
> P.S.  This proposal was already discussed on the WebCrypto list in the
> thread
> http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.html an=
d
> no objections were raised there that I=92m aware of.
>
>
>
> _______________________________________________
> 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
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Tue, Dec 24, 2013 at 7:56 PM, Mike Jones <span dir=3D"ltr">&lt;<=
a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jon=
es@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I agree with your sentime=
nt.=A0 We could add this language to try to discourage multiple unrelated u=
ses:<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d=
">Multiple unrelated uses SHOULD NOT be specified for a key because of the =
potential vulnerabilities associated with using the same key
 with multiple algorithms.=A0 So the combinations =93sign=94 with =93verify=
=94, =93encrypt=94 with =93decrypt=94, and =93wrap=94 with =93unwrap=94 are=
 permitted, but other combinations SHOULD NOT be used.<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">The rub is that WebCrypto=
 apparently isn=92t enforcing this restriction, so we need to provide them =
syntax to express even the nonsensical combinations =96 hence
 the use of SHOULD rather than MUST above.</span></p></div></div></blockquo=
te><div><br></div><div>If you&#39;re going to have that text, you might as =
well just make &quot;use&quot; the array, and have the caveats apply there =
as well. =A0I would strongly prefer that solution to creating a different, =
incompatible key usage field.</div>
<div><br></div><div>On issue (1), my preference would be to simply delete t=
he implementation requirements, but failing that, renaming to &quot;JOSE im=
plementation requirements&quot; or &quot;JWS/JWE implementation requirement=
s&quot; seems OK. =A0If you wanted to be extra clean, you could just move t=
he implementation requirements to a separate registry.</div>
<div><br></div><div>--Richard</div><div><br></div><div><br></div><div><br><=
/div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=
=3D"blue" vlink=3D"purple">
<div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 -- Mike<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-bounce=
s@ietf.org</a>]
<b>On Behalf Of </b>John Bradley<br>
<b>Sent:</b> Tuesday, December 24, 2013 4:28 PM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> Re: [jose] Two proposed JOSE spec actions to more closely c=
oordinate with WebCrypto<u></u><u></u></span></p>
</div>
</div><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Having it be an array encourages multiple uses for t=
he same key. =A0I have stated many times that encouraging people to do that=
 is not a good idea, and making it easy makes people think it is a good ide=
a.<u></u><u></u></p>

<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">You can use the single value field and have multiple=
 entries with different key containing the same or different keys to do the=
 same thing.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">On the practical side &quot;use_details&quot; is bet=
ter than creating crazy dot separated como uses.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">John B.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Dec 24, 2013, at 8:26 PM, Mike Jones &lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Hi all,<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Having reflected upon discussions among=
 WebCrypto and JOSE participants about JWK usage by WebCrypto over the holi=
days, I=92d like to propose the two JOSE spec actions to more
 closely coordinate with WebCrypto:<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">1.=A0 Change the JWA registry field nam=
e from =93Implementation Requirements=94 to =93JOSE Implementation Requirem=
ents=94 in the JSON Web Signature and Encryption Algorithms Registry
 (<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms=
-18#section-7.1" target=3D"_blank"><span style=3D"color:purple">http://tool=
s.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.1</span></=
a>).=A0 This will make it clearer that the Implementation
 Requirements apply only to JWS and JWE implementations =96 and not other u=
ses of JWK (such as WebCrypto).=A0 This changes only non-normative text and=
 is non-breaking.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">2.=A0 Define the new JWK field =93use_d=
etails=94 for recording intended fine-grained key usage information.=A0 Thi=
s would enable WebCrypto KeyUsage (<a href=3D"https://dvcs.w3.org/hg/webcry=
pto-api/raw-file/tip/spec/Overview.html#key-interface" target=3D"_blank"><s=
pan style=3D"color:purple">https://dvcs.w3.org/hg/webcrypto-api/raw-file/ti=
p/spec/Overview.html#key-interface</span></a>)
 values to be used directly with JWK.=A0 The proposed definition is:<u></u>=
<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div style=3D"margin-left:.5in">
<p class=3D"MsoNormal"><b><span lang=3D"EN" style=3D"font-family:&quot;Cour=
ier New&quot;">3.3.=A0 &quot;use_details&quot; (Key Use Details) Parameter<=
/span></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&=
quot;sans-serif&quot;"><u></u><u></u></span></p>

</div>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 The &quot;use_details&quot; (key use details) member identifies fi=
ne-grained</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pr=
e>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0 =A0details the intended use of the key.=A0 Its value is an array of</=
span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 key use details values.=A0 Values defined by this specification ar=
e:</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
"> =A0=A0o=A0 &quot;sign&quot; (compute signature or MAC)</span><span style=
=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;verify&quot; (verify signature or MAC)</span><span styl=
e=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;encrypt&quot; (encrypt content)</span><span style=3D"fo=
nt-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;decrypt&quot; (decrypt content and verify decryption, i=
f applicable)</span><span style=3D"font-size:12.0pt"><u></u><u></u></span><=
/pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;wrap&quot; (encrypt key)</span><span style=3D"font-size=
:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;unwrap&quot; (decrypt key and verify decryption, if app=
licable)</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;deriveKey&quot; (derive key)</span><span style=3D"font-=
size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 o=A0 &quot;deriveBits&quot; (derive bits not to be used as a key)<=
/span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 Other values MAY be used.=A0 Key Use Details values can be registe=
red</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0 =A0in the IANA JSON Web Key Use Details registry defined in Section 7=
.3.</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
"> =A0=A0The use details values are case-sensitive strings.</span><span sty=
le=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 Duplicate use details values MUST NOT be present in the array.</sp=
an><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
"> =A0=A0Use of the &quot;use_details&quot; member is OPTIONAL, unless the =
application</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></p=
re>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0 =A0requires use this member to record fine-grained key usage details.=
</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 (Note that the &quot;use_details&quot; values intentionally match =
the &quot;KeyUsage&quot;</span><span style=3D"font-size:12.0pt"><u></u><u><=
/u></span></pre>

<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 values defined in the WebCrypto [WebCrypto] specification.)</span>=
<span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0</span><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 If both &quot;use&quot; and &quot;use_details&quot; JWK members ar=
e present, the usages</span><span style=3D"font-size:12.0pt"><u></u><u></u>=
</span></pre>

<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 specified by them MUST be consistent.=A0 In particular, the &quot;=
use&quot; value</span><span style=3D"font-size:12.0pt"><u></u><u></u></span=
></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 &quot;sig&quot; corresponds to &quot;sign&quot; and/or &quot;verif=
y&quot;.=A0 The &quot;use&quot; value</span><span style=3D"font-size:12.0pt=
"><u></u><u></u></span></pre>

<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 &quot;enc&quot; corresponds to all other values defined above.</sp=
an><span style=3D"font-size:12.0pt"><u></u><u></u></span></pre>
<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 If &quot;use_details&quot; values corresponding to both &quot;sig&=
quot; and &quot;enc&quot;</span><span style=3D"font-size:12.0pt"><u></u><u>=
</u></span></pre>

<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 &quot;use&quot; values are present, the &quot;use&quot; member SHO=
ULD NOT be present,</span><span style=3D"font-size:12.0pt"><u></u><u></u></=
span></pre>

<pre style=3D"margin-left:.5in"><span lang=3D"EN" style=3D"font-size:12.0pt=
">=A0=A0 and if present, its value MUST NOT be either &quot;sig&quot; or &q=
uot;enc&quot;.</span><span style=3D"font-size:12.0pt"><u></u><u></u></span>=
</pre>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">This is a non-breaking change =96 allow=
ing simple applications that want to distinguish between signing and encryp=
tion operations to continue doing so as they do today, while
 also providing a multi-valued key usage details field to be used by applic=
ations that want to record fine-grained distinctions among potential key us=
ages, including distinguishing between producer and consumer operations.<u>=
</u><u></u></span></p>

</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">As I see it, while having two related k=
ey usage representations isn=92t ideal, it=92s far better than having WebCr=
ypto overload =93use=94 with multi-valued values encoded in strings,
 such as =93signOnly,verifyOnly=94, which I believe is their current plan o=
f record.<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Comments?<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u><=
/u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">P.S.=A0 This proposal was already discu=
ssed on the WebCrypto list in the thread<span>=A0</span><a href=3D"http://l=
ists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.html" target=3D"_=
blank"><span style=3D"color:purple">http://lists.w3.org/Archives/Public/pub=
lic-webcrypto/2013Dec/0052.html</span></a><span>=A0</span>and
 no objections were raised there that I=92m aware of.<u></u><u></u></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=A0<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:&quot;Hel=
vetica&quot;,&quot;sans-serif&quot;">______________________________________=
_________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:pur=
ple">jose@ietf.org</span></a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank"><s=
pan style=3D"color:purple">https://www.ietf.org/mailman/listinfo/jose</span=
></a><u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
<br></blockquote></div><br></div></div>

--047d7b33cad2b9819904ee87f14b--

From rlb@ipv.sx  Fri Dec 27 10:18:57 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52D141AE263 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 10:18:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WTaFqsn-PI75 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 10:18:55 -0800 (PST)
Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by ietfa.amsl.com (Postfix) with ESMTP id 10A8A1AE24F for <jose@ietf.org>; Fri, 27 Dec 2013 10:18:55 -0800 (PST)
Received: by mail-oa0-f48.google.com with SMTP id l6so9879979oag.21 for <jose@ietf.org>; Fri, 27 Dec 2013 10:18:50 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jwCO6D29RYGyM8gIZUZci+MqX2GSlIardGT+Uprae7k=; b=P11niMVPP74GyWXy/ImCAlHtUhFllXcmaygbQ4y7q1vdwAohmzWMclGb59YKoAUUjr Z88OoWBGCpACg3RLO7BS6nHjEYTLyaJgIsamlRFX1MlqRoZpePDNDMvwM2DMGNMr13f9 Sz+q58TuHpmg5TC8qwHvXjs0jslvac36DgoWIlGXMAOVbWJVEWmlJjw/1DAqZTTp6YLi vKQe4lEOQGSRFvDJffjpV9TXRc+MFBGUfBr1C2Guxd7a+R66h2Uf8G/16J1JF2YO2N1C ySULvGcqO5bGK0259jum1BZayi0qR3cjRl8y0GUAcNTeEetJ/G2MgrNovd5nHrsPiyXi 6SxA==
X-Gm-Message-State: ALoCoQlZYiJJV24zYGYmKlTu4KVI0puux1qCi2IamEfBkJ1x+ebMmKOWfaOkbLSFCBBGWglwmygP
MIME-Version: 1.0
X-Received: by 10.60.63.235 with SMTP id j11mr6781985oes.61.1388168330076; Fri, 27 Dec 2013 10:18:50 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Fri, 27 Dec 2013 10:18:49 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD4EB65@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <057401cefcf8$7b271190$717534b0$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CD4EB65@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Fri, 27 Dec 2013 13:18:49 -0500
Message-ID: <CAL02cgTBWombHNBTsZYuoc5Kmz3npDe9y_bHE+rTZdS2L6uJug@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=001a11c24dbc33f54e04ee882038
Cc: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK use in the absense of an algorithm value
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 18:18:57 -0000

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

+1 to Mike's lack of worry.


On Thu, Dec 19, 2013 at 4:11 PM, Mike Jones <Michael.Jones@microsoft.com>wrote:

> If you're importing a key into a context where you don't know the
> algorithm to be used from context, then I'd recommend including an "alg"
> field.  (This isn't required, because sometimes you do know this from
> context.)  Do you have a specific scenario in mind where this approach
> wouldn't work?
>
> Anyway, count me as not worried.
>
>                                 -- Mike
>
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Thursday, December 19, 2013 12:26 PM
> To: jose@ietf.org
> Subject: [jose] JWK use in the absense of an algorithm value
>
> In trying to go through the issues with the WebCrypto group and the JOSE
> WG dealing with the content of the use field.  I ended up with a problem
> that I had not recognized as being an issue when talking to John in Berlin.
>  I want to bring this issue up and see if anybody other myself is worried
> about it.
>
> Consider the JWK
>
> {'typ':'oct', 'use':'enc',"k":"GawgguFyGrWKav7AX4VKUg" }
>
> We have stated that the value of 'enc' in this case can only be correctly
> interpreted in the content of an algorithm restriction in the JWK as well.
> In this case it is not possible for an importing function to change the
> external 'enc' value to either 'encryption' or 'key-wrapping'.  This means
> that an implementation that imports the key and does not keep it in a JWK
> formation will potentially reject the key as being mal-formed.  Note that
> this would not be an issue if we had both 'enc' and 'wrap' as key usages
> because it would be unambigious.
>
> 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
>

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

<div dir=3D"ltr">+1 to Mike&#39;s lack of worry.</div><div class=3D"gmail_e=
xtra"><br><br><div class=3D"gmail_quote">On Thu, Dec 19, 2013 at 4:11 PM, M=
ike Jones <span dir=3D"ltr">&lt;<a href=3D"mailto:Michael.Jones@microsoft.c=
om" target=3D"_blank">Michael.Jones@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">If you&#39;re importing a key into a context=
 where you don&#39;t know the algorithm to be used from context, then I&#39=
;d recommend including an &quot;alg&quot; field. =A0(This isn&#39;t require=
d, because sometimes you do know this from context.) =A0Do you have a speci=
fic scenario in mind where this approach wouldn&#39;t work?<br>

<br>
Anyway, count me as not worried.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Mike<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
-----Original Message-----<br>
From: jose [mailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ie=
tf.org</a>] On Behalf Of Jim Schaad<br>
Sent: Thursday, December 19, 2013 12:26 PM<br>
To: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
Subject: [jose] JWK use in the absense of an algorithm value<br>
<br>
In trying to go through the issues with the WebCrypto group and the JOSE WG=
 dealing with the content of the use field. =A0I ended up with a problem th=
at I had not recognized as being an issue when talking to John in Berlin. =
=A0I want to bring this issue up and see if anybody other myself is worried=
 about it.<br>

<br>
Consider the JWK<br>
<br>
{&#39;typ&#39;:&#39;oct&#39;, &#39;use&#39;:&#39;enc&#39;,&quot;k&quot;:&qu=
ot;GawgguFyGrWKav7AX4VKUg&quot; }<br>
<br>
We have stated that the value of &#39;enc&#39; in this case can only be cor=
rectly interpreted in the content of an algorithm restriction in the JWK as=
 well.<br>
In this case it is not possible for an importing function to change the ext=
ernal &#39;enc&#39; value to either &#39;encryption&#39; or &#39;key-wrappi=
ng&#39;. =A0This means that an implementation that imports the key and does=
 not keep it in a JWK formation will potentially reject the key as being ma=
l-formed. =A0Note that this would not be an issue if we had both &#39;enc&#=
39; and &#39;wrap&#39; as key usages because it would be unambigious.<br>

<br>
Jim<br>
<br>
<br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div>

--001a11c24dbc33f54e04ee882038--

From msporny@digitalbazaar.com  Fri Dec 27 10:51:43 2013
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 382E41ADFC9 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 10:51:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.596
X-Spam-Level: ***
X-Spam-Status: No, score=3.596 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ybmZ_prrJr_j for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 10:51:41 -0800 (PST)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) by ietfa.amsl.com (Postfix) with ESMTP id B0DFF1ADF31 for <jose@ietf.org>; Fri, 27 Dec 2013 10:51:41 -0800 (PST)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1VwcVT-0007KQ-0T for jose@ietf.org; Fri, 27 Dec 2013 13:51:36 -0500
Message-ID: <52BDCC31.4070405@digitalbazaar.com>
Date: Fri, 27 Dec 2013 13:51:29 -0500
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: jose@ietf.org
References: <52A8DCBC.6030801@digitalbazaar.com> <52A8EFA4.80001@w3.org> <CAKmKYaA0mnWAz57-WO0eKLWD5CQEht1qBhOjERUXHY_6BftH-g@mail.gmail.com> <52B8ABED.6020400@digitalbazaar.com> <37903A44-332D-4BFB-B501-8DF3831B8600@padl.com> <52B8DFB7.9020901@digitalbazaar.com> <504D6871-F860-4DA5-ACC4-8A3C579F8888@padl.com> <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com>
In-Reply-To: <CAHcDwFyxgE0ybdQ7GFpx-MSk65_3V1SQExaQDg4xR8_maiossg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] Review Comments: Web Payments, Secure Messaging, and JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 18:51:43 -0000

On 12/24/2013 03:20 AM, Axel Nennker wrote:
> this document describes the current Persona formats and the 
> differences to JOSE. My understanding from the dev-identity emails
> is that Persona and FxA want to align with JOSE and get rid of the 
> differences: 
> https://github.com/djc/id-specs/blob/prod/browserid/json-formats.md

Yes, I think it's fair to say that the Persona team's plan is to align
with the JOSE specs. However, the identity community is larger than the
Persona team and we've raised the possibility that we'll be challenging
the notion that identity solutions on the Web should utilize the JOSE
specs for the reasons outlined in the review.

> As a developer I don't buy the Anti-base64-encoding / simplicity 
> argument because I only have to output the decoded message to my 
> payment-server's logs. I never sniff the messages from the wire
> which would be much harder because they come through an SSL channel 
> anyway.

You are looking at it from the standpoint of having access to the
server-side. Many web developers spend a large chunk of their time
interfacing with services from the client side, where they don't have
access to the server side (interfacing w/ Twitter, Facebook, Google
services, etc.). Many of these developers use the built-in browser tools
to do development, and would be hampered by seeing large chunks of
non-binary base64 data coming across the wire.

On 12/24/2013 03:20 AM, Axel Nennker wrote:
> I think that canonicalization / normalization of the to-be-signed 
> payment message is a HUGE mistake. That was a major pain with
> xmldsig in the past. base64 encoding stuff and working on that is
> MUCH better for interoperability.
Peter Saint-Andre wrote:
> A big +1 to that. Going down the canonicalization road can only harm
>  interoperability.

One of the major reasons it was a big pain in XMLDSIG is because you
could express the same message in a bunch of different syntactic ways.
Another reason was because of namespace injection. We do not attempt to
canonicalize the JSON message due to the variation in serialization wrt.
JSON processors. Rather, we canonicalize at the data model layer using a
very simple syntax. Thus, we don't fall into the same trap that XMLDSIG did.

The major issues with XMLDSIG are not issues with the canonicalization
mechanism used for the SM spec. We have 3 interoperable implementations
at this point and a fairly expansive test suite to ensure compliance
with the digital signature algorithm. To date, we haven't hit upon the
same issues that XMLDSIG did.

Perhaps you could elaborate on why the approach that we took, which is
very different from XMLDSIG, is going to harm interoperability. The
current arguments put forward for "canonicalization is bad" assume that
we took the same path that XMLDSIG took, which is an uninformed starting
point.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Worlds First Web Payments Workshop
http://www.w3.org/2013/10/payments/

From internet-drafts@ietf.org  Fri Dec 27 11:22:02 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 420961ADFC9; Fri, 27 Dec 2013 11:22:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W-T9RcqMK1Mz; Fri, 27 Dec 2013 11:22:00 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 817C81ADF31; Fri, 27 Dec 2013 11:21:51 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131227192151.425.70057.idtracker@ietfa.amsl.com>
Date: Fri, 27 Dec 2013 11:21:51 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 19:22:02 -0000

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

        Title           : Use Cases and Requirements for JSON Object Signin=
g and Encryption (JOSE)
        Author          : Richard Barnes
	Filename        : draft-ietf-jose-use-cases-06.txt
	Pages           : 26
	Date            : 2013-12-27

Abstract:
   Many Internet applications have a need for object-based security
   mechanisms in addition to security mechanisms at the network layer or
   transport layer.  For many years, the Cryptographic Message Syntax
   (CMS) has provided a binary secure object format based on ASN.1.
   Over time, binary object encodings such as ASN.1 have become less
   common than text-based encodings, for example JavaScript Object
   Notation.  This document defines a set of use cases and requirements
   for a secure object format encoded using JavaScript Object Notation
   (JSON), drawn from a variety of application security mechanisms
   currently in development.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-use-cases-06

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06


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

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


From rlb@ipv.sx  Fri Dec 27 11:23:18 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7F8E1AE281 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 11:23:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x2CDJqUngxEK for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 11:23:16 -0800 (PST)
Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by ietfa.amsl.com (Postfix) with ESMTP id 55F801ADFC9 for <jose@ietf.org>; Fri, 27 Dec 2013 11:23:16 -0800 (PST)
Received: by mail-ob0-f171.google.com with SMTP id wp18so9775147obc.30 for <jose@ietf.org>; Fri, 27 Dec 2013 11:23:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TgXmykLZWFkKf1IGFKRP7B9moBcX9EXXeaBmVH1uayk=; b=RwdqtpPVP2l8W06vI8f37CrAHlfhukz6clHeOnAxX17Cm7Utz9HOrgABkazC2JuoQp Ih35Q+DXKG68rqqlKHPDwWUMa+5tk9mpS+9bVde1qpbRW5iETNd9EJKpT/4qWba78s/E 1j8zKtKAsnFC0AgUihoceFKSMOiMXehPm+CynNGwU9lAKXttT78rtRB7XqYqdtNDlwbR EPw+tOClYn4c2oDFpPihatYCJEDNhEjOBsWT9/LO3mfAQtV/O92Xfb56P6Jc9OKSXb4s s+2JbzhBACYZOWGnAGfNiQAfN9T3FQdDqEI2MCkCTJHwhgEB897+pSyKvVLfL3dpaN+D eFAA==
X-Gm-Message-State: ALoCoQmcntedEbj2Qu4qJN9qonrsF80uHDeesMM8MJj5uo3ZurQlbXoMqU4OYO5d6xjjoEew2G33
MIME-Version: 1.0
X-Received: by 10.182.250.163 with SMTP id zd3mr35689153obc.20.1388172190362;  Fri, 27 Dec 2013 11:23:10 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Fri, 27 Dec 2013 11:23:10 -0800 (PST)
In-Reply-To: <20131227192151.425.70057.idtracker@ietfa.amsl.com>
References: <20131227192151.425.70057.idtracker@ietfa.amsl.com>
Date: Fri, 27 Dec 2013 14:23:10 -0500
Message-ID: <CAL02cgSNmKuB-heAE1xvSHHwgGiT7e4z8z2vNPmPUrh=wfKK2Q@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary=089e01634ec24b3e4a04ee890677
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 19:23:19 -0000

--089e01634ec24b3e4a04ee890677
Content-Type: text/plain; charset=ISO-8859-1

This is a very minor update to address some wording changes suggested by
the IESG.
--Richard


On Fri, Dec 27, 2013 at 2:21 PM, <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the Javascript Object Signing and Encryption
> Working Group of the IETF.
>
>         Title           : Use Cases and Requirements for JSON Object
> Signing and Encryption (JOSE)
>         Author          : Richard Barnes
>         Filename        : draft-ietf-jose-use-cases-06.txt
>         Pages           : 26
>         Date            : 2013-12-27
>
> Abstract:
>    Many Internet applications have a need for object-based security
>    mechanisms in addition to security mechanisms at the network layer or
>    transport layer.  For many years, the Cryptographic Message Syntax
>    (CMS) has provided a binary secure object format based on ASN.1.
>    Over time, binary object encodings such as ASN.1 have become less
>    common than text-based encodings, for example JavaScript Object
>    Notation.  This document defines a set of use cases and requirements
>    for a secure object format encoded using JavaScript Object Notation
>    (JSON), drawn from a variety of application security mechanisms
>    currently in development.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-jose-use-cases-06
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-jose-use-cases-06
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr">This is a very minor update to address some wording change=
s suggested by the IESG.<div>--Richard</div></div><div class=3D"gmail_extra=
"><br><br><div class=3D"gmail_quote">On Fri, Dec 27, 2013 at 2:21 PM,  <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_bl=
ank">internet-drafts@ietf.org</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
=A0This draft is a work item of the Javascript Object Signing and Encryptio=
n Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : Use Cases and Requirements for =
JSON Object Signing and Encryption (JOSE)<br>
=A0 =A0 =A0 =A0 Author =A0 =A0 =A0 =A0 =A0: Richard Barnes<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-jose-use-cases-06.txt<=
br>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 26<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-12-27<br>
<br>
Abstract:<br>
=A0 =A0Many Internet applications have a need for object-based security<br>
=A0 =A0mechanisms in addition to security mechanisms at the network layer o=
r<br>
=A0 =A0transport layer. =A0For many years, the Cryptographic Message Syntax=
<br>
=A0 =A0(CMS) has provided a binary secure object format based on ASN.1.<br>
=A0 =A0Over time, binary object encodings such as ASN.1 have become less<br=
>
=A0 =A0common than text-based encodings, for example JavaScript Object<br>
=A0 =A0Notation. =A0This document defines a set of use cases and requiremen=
ts<br>
=A0 =A0for a secure object format encoded using JavaScript Object Notation<=
br>
=A0 =A0(JSON), drawn from a variety of application security mechanisms<br>
=A0 =A0currently in development.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/" tar=
get=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/<=
/a><br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-use-cases-06" target=
=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-use-cases-06</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06"=
 target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-c=
ases-06</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</blockquote></div><br></div>

--089e01634ec24b3e4a04ee890677--

From ve7jtb@ve7jtb.com  Fri Dec 27 12:48:27 2013
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D7501AE516 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 12:48:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_42=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1hcc7thvRaxh for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 12:48:24 -0800 (PST)
Received: from mail-qe0-f51.google.com (mail-qe0-f51.google.com [209.85.128.51]) by ietfa.amsl.com (Postfix) with ESMTP id 1126A1AE51B for <jose@ietf.org>; Fri, 27 Dec 2013 12:48:23 -0800 (PST)
Received: by mail-qe0-f51.google.com with SMTP id 1so9657445qee.10 for <jose@ietf.org>; Fri, 27 Dec 2013 12:48:19 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=X+r0QyILs4+4EM9XHGMkyhsJnpTcRGbaupoEIqdx3FM=; b=XAIDOnj4EAvsUsdaT54yl/2R92krv+wsPOIHO1tn1+C7topoQGq4XylmZN8vCIZ8tC A4pOVmia3NxQT855iOATmIbgYJcOiXwHOiX9twDs4ZQWT2w9BAKlxlOAe4EHSRRGoIn3 y6GVOitdgdhH59OeHgkaQWFXpGrp4/3zcptxGfdrcKMSNMeV8MSol8R0OceEzL8zc4MP 2Pv/DTmgVjibzvl7d7RGwgdogM3dpFOKpnRmadyf1XlJvRdaFYjM7vXrM4GbNGnlpA+T VJheMkW11brRUPSu6Ua4kfqcSAmqW0g/x4BJjMmid70Ecq0HfVB79et3kcVjJ+Y/RgmN dwLw==
X-Gm-Message-State: ALoCoQmIbbYAoLiUk6OKv65lcR3gqe4DWTnqN87IU+1OCP/FbJ4+SvSs6EMmXJlcbAFbhk1gzbqt
X-Received: by 10.224.163.11 with SMTP id y11mr42971152qax.59.1388177299002; Fri, 27 Dec 2013 12:48:19 -0800 (PST)
Received: from [192.168.0.198] ([201.188.147.60]) by mx.google.com with ESMTPSA id r5sm52842037qan.4.2013.12.27.12.48.14 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Dec 2013 12:48:17 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_B43F2A88-805E-45BC-8ED3-F6780A19953A"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD4EB65@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Fri, 27 Dec 2013 17:48:05 -0300
Message-Id: <1935EC7D-7D85-4D96-A402-D3C8A165A961@ve7jtb.com>
References: <057401cefcf8$7b271190$717534b0$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739437CD4EB65@TK5EX14MBXC286.redmond.corp.microsoft.com>
To: Michael Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1827)
Cc: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK use in the absense of an algorithm value
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 20:48:27 -0000

--Apple-Mail=_B43F2A88-805E-45BC-8ED3-F6780A19953A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

If it is ambiguous then including the alg field is the correct thing.   =
It is not really that you care so much if the use is encryption or =
wrapping if the alg is the same(OK you should care a bit).  What you are =
trying to do is keep the same key from being used in two different =
encryption algorithms typically bulk encryption and wrapping tend to use =
different algs so separating bulk vs wrap is better than nothing but not =
as good as specifying the alg in my opinion.

John B.

On Dec 19, 2013, at 6:11 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

> If you're importing a key into a context where you don't know the =
algorithm to be used from context, then I'd recommend including an "alg" =
field.  (This isn't required, because sometimes you do know this from =
context.)  Do you have a specific scenario in mind where this approach =
wouldn't work?
>=20
> Anyway, count me as not worried.
>=20
> 				-- Mike
>=20
> -----Original Message-----
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Thursday, December 19, 2013 12:26 PM
> To: jose@ietf.org
> Subject: [jose] JWK use in the absense of an algorithm value
>=20
> In trying to go through the issues with the WebCrypto group and the =
JOSE WG dealing with the content of the use field.  I ended up with a =
problem that I had not recognized as being an issue when talking to John =
in Berlin.  I want to bring this issue up and see if anybody other =
myself is worried about it.
>=20
> Consider the JWK
>=20
> {'typ':'oct', 'use':'enc',"k":"GawgguFyGrWKav7AX4VKUg" }
>=20
> We have stated that the value of 'enc' in this case can only be =
correctly interpreted in the content of an algorithm restriction in the =
JWK as well.
> In this case it is not possible for an importing function to change =
the external 'enc' value to either 'encryption' or 'key-wrapping'.  This =
means that an implementation that imports the key and does not keep it =
in a JWK formation will potentially reject the key as being mal-formed.  =
Note that this would not be an issue if we had both 'enc' and 'wrap' as =
key usages because it would be unambigious.
>=20
> Jim
>=20
>=20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_B43F2A88-805E-45BC-8ED3-F6780A19953A
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdG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ydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQQICHlwwDQYJKoZIhvcNAQEBBQAEggEAS/8qcNYVnKCJBvrRTJrBLOuyF5+AyGFKdLbuZwar
mnjLVFlwr4zMa2dzyRbF1xDaOlghXhv+kjTvEPff8UOdRqAaBYsNMoXEqpfb91Ka2iF2lYCw3eZG
SiafkF8+do9JikGdOi1W0hIzpP66tXhZy4RzV0ztRl2MAe58gaDq2URlWHC9dBijdnvhurVIiNvl
tPaJB+ebPA/dtXaU4NBXJU4tfEXG+E0WAfHGLAr6kYDwlfZyQZes6SNSjU6l8W0INSwaPO3NJitD
wQ5S8VgVbqRYacK1G3/NshRPAUCBAjJZ1+xIS3IV3L560kxjslxXRFBGfLHm2GdodA9dU5rxPQAA
AAAAAA==

--Apple-Mail=_B43F2A88-805E-45BC-8ED3-F6780A19953A--

From ryan-ietf@sleevi.com  Fri Dec 27 14:13:22 2013
Return-Path: <ryan-ietf@sleevi.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D3F11AE733 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 14:13:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1BzEPcD5vHpi for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 14:13:19 -0800 (PST)
Received: from homiemail-a104.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by ietfa.amsl.com (Postfix) with ESMTP id E60581AE72B for <jose@ietf.org>; Fri, 27 Dec 2013 14:13:18 -0800 (PST)
Received: from homiemail-a104.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a104.g.dreamhost.com (Postfix) with ESMTP id 2373A2005D106; Fri, 27 Dec 2013 14:13:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sleevi.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:reply-to :mime-version:content-type:content-transfer-encoding; s= sleevi.com; bh=blT6huEH3nao5UglXPdwJEDW/Ck=; b=EOsOMhoOshhOM7Rfk gpBbku7kUdmCVeoewnpwhyh3pntUsBNWDdD5tmn/8a9xyULXEAECSY1MybN4A7EK kQ13baBMgudwghFMj/DZKSCbGIGzuZd75rX1daGKlH9MkIl+e1ozKsbh/KCUVlIa DRb2igk7x0HdjBjSeP382/QOu0=
Received: from webmail.dreamhost.com (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: ryan@sleevi.com) by homiemail-a104.g.dreamhost.com (Postfix) with ESMTPA id C1E6F2005D100; Fri, 27 Dec 2013 14:13:13 -0800 (PST)
Received: from 216.239.45.93 (proxying for 216.239.45.93) (SquirrelMail authenticated user ryan@sleevi.com) by webmail.dreamhost.com with HTTP; Fri, 27 Dec 2013 14:13:14 -0800
Message-ID: <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com>
In-Reply-To: <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com>
Date: Fri, 27 Dec 2013 14:13:14 -0800
From: "Ryan Sleevi" <ryan-ietf@sleevi.com>
To: "John Bradley" <ve7jtb@ve7jtb.com>
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Fri, 27 Dec 2013 15:30:15 -0800
Cc: Michael Jones <michael.jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: ryan-ietf@sleevi.com
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Dec 2013 22:13:22 -0000

I'm sorry, John, but by your logic, JOSE is not following your own advice=
.

"enc" is already a multiple-use for a key - it allows for both encryption
and decryption. For that matter, wrap and unwrap, which are supposed to b=
e
inferred based on algorithm, which is a JWE/JWS specific aspect, and not
an intrinsic aspect of JWK-as-key-representation.

Likewise, "sig" implies sign AND verify, which is meant to be unambiguous=
,
because the assumption is always that you sign with a private key and
verify with a public key, but as a conceptual framework breaks down for
schemes like HMAC, which ostensibly have sign and verify (or MAC and
verify, if you prefer, but we're splitting hairs here).

WebCrypto desires to be *more* precise than JOSE's imprecise and overly
broad, implicitly multi-use syntax. That "enc" means four possible uses,
or that "sig" means two , is a clear sign that JOSE is already actively
encouraging multiple uses for the same key.

Mike's proposal is basically an admission that the ship has sailed on thi=
s
implicit, multi-valued usage semantic - which, I can understand and
sympathize with, in the name of backwards compatibility for an in-draft
spec, but let's recognize that as spec'd today, JOSE is preferring and
encouraging multiple uses for the same key in ways that will
unquestionably encourage people to make bad mistakes (such as multiple
parties using the same encryption key for traffic in either direction -
requiring some degree of IV sync)

On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
>  Having it be an array encourages multiple uses for the same key.  I ha=
ve
>  stated many times that encouraging people to do that is not a good ide=
a,
>  and making it easy makes people think it is a good idea.
>
>  You can use the single value field and have multiple entries with
>  different key containing the same or different keys to do the same thi=
ng.
>
>  On the practical side "use_details" is better than creating crazy dot
>  separated como uses.
>
>  John B.
>
>  On Dec 24, 2013, at 8:26 PM, Mike Jones <Michael.Jones@microsoft.com>
>  wrote:
>
> > Hi all,
> >
> > Having reflected upon discussions among WebCrypto and JOSE participan=
ts
> > about JWK usage by WebCrypto over the holidays, I=92d like to propose=
 the
> > two JOSE spec actions to more closely coordinate with WebCrypto:
> >
> > 1.  Change the JWA registry field name from =93Implementation
> > Requirements=94 to =93JOSE Implementation Requirements=94 in the JSON=
 Web
> > Signature and Encryption Algorithms Registry
> > (http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se=
ction-7.1).
> >  This will make it clearer that the Implementation Requirements apply
> > only to JWS and JWE implementations =96 and not other uses of JWK (su=
ch as
> > WebCrypto).  This changes only non-normative text and is non-breaking=
.
> >
> > 2.  Define the new JWK field =93use_details=94 for recording intended
> > fine-grained key usage information.  This would enable WebCrypto
> > KeyUsage
> > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html=
#key-interface)
> > values to be used directly with JWK.  The proposed definition is:
> >
> > 3.3.  "use_details" (Key Use Details) Parameter
> >    The "use_details" (key use details) member identifies fine-grained
> >    details the intended use of the key.  Its value is an array of
> >    key use details values.  Values defined by this specification are:
> >
> >    o  "sign" (compute signature or MAC)
> >    o  "verify" (verify signature or MAC)
> >    o  "encrypt" (encrypt content)
> >    o  "decrypt" (decrypt content and verify decryption, if applicable=
)
> >    o  "wrap" (encrypt key)
> >    o  "unwrap" (decrypt key and verify decryption, if applicable)
> >    o  "deriveKey" (derive key)
> >    o  "deriveBits" (derive bits not to be used as a key)
> >
> >    Other values MAY be used.  Key Use Details values can be registere=
d
> >    in the IANA JSON Web Key Use Details registry defined in Section 7=
.3.
> >    The use details values are case-sensitive strings.
> >    Duplicate use details values MUST NOT be present in the array.
> >    Use of the "use_details" member is OPTIONAL, unless the applicatio=
n
> >    requires use this member to record fine-grained key usage details.
> >    (Note that the "use_details" values intentionally match the
> > "KeyUsage"
> >    values defined in the WebCrypto [WebCrypto] specification.)
> >
> >    If both "use" and "use_details" JWK members are present, the usage=
s
> >    specified by them MUST be consistent.  In particular, the "use" va=
lue
> >    "sig" corresponds to "sign" and/or "verify".  The "use" value
> >    "enc" corresponds to all other values defined above.
> >    If "use_details" values corresponding to both "sig" and "enc"
> >    "use" values are present, the "use" member SHOULD NOT be present,
> >    and if present, its value MUST NOT be either "sig" or "enc".
> >
> > This is a non-breaking change =96 allowing simple applications that w=
ant
> > to distinguish between signing and encryption operations to continue
> > doing so as they do today, while also providing a multi-valued key us=
age
> > details field to be used by applications that want to record
> > fine-grained distinctions among potential key usages, including
> > distinguishing between producer and consumer operations.
> >
> > As I see it, while having two related key usage representations isn=92=
t
> > ideal, it=92s far better than having WebCrypto overload =93use=94 wit=
h
> > multi-valued values encoded in strings, such as =93signOnly,verifyOnl=
y=94,
> > which I believe is their current plan of record.
> >
> > Comments?
> >
> >                                                             -- Mike
> >
> > P.S.  This proposal was already discussed on the WebCrypto list in th=
e
> > thread
> > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.htm=
l
> > and no objections were raised there that I=92m aware of.
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose
>
>  _______________________________________________
>  jose mailing list
>  jose@ietf.org
>  https://www.ietf.org/mailman/listinfo/jose
>



From Michael.Jones@microsoft.com  Fri Dec 27 17:46:47 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51ABE1AE5FF for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 17:46:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zyEtVCFKzW4Q for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 17:46:43 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0235.outbound.protection.outlook.com [207.46.163.235]) by ietfa.amsl.com (Postfix) with ESMTP id 822EE1AE612 for <jose@ietf.org>; Fri, 27 Dec 2013 17:46:43 -0800 (PST)
Received: from BL2PR03CA020.namprd03.prod.outlook.com (10.141.66.28) by BL2PR03MB180.namprd03.prod.outlook.com (10.255.230.156) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sat, 28 Dec 2013 01:46:35 +0000
Received: from BN1BFFO11FD031.protection.gbl (2a01:111:f400:7c10::1:140) by BL2PR03CA020.outlook.office365.com (2a01:111:e400:c1b::28) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sat, 28 Dec 2013 01:46:35 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD031.mail.protection.outlook.com (10.58.144.94) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 28 Dec 2013 01:46:35 +0000
Received: from TK5EX14MBXC287.redmond.corp.microsoft.com ([169.254.2.241]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.03.0158.002; Sat, 28 Dec 2013 01:46:08 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Richard Barnes <rlb@ipv.sx>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
Thread-Index: AQHPAzkPSH1cqGWcy0ysQzyTcguw85poa7UAgABov7A=
Date: Sat, 28 Dec 2013 01:46:08 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD6993B@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <20131227192151.425.70057.idtracker@ietfa.amsl.com> <CAL02cgSNmKuB-heAE1xvSHHwgGiT7e4z8z2vNPmPUrh=wfKK2Q@mail.gmail.com>
In-Reply-To: <CAL02cgSNmKuB-heAE1xvSHHwgGiT7e4z8z2vNPmPUrh=wfKK2Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD6993BTK5EX14MBXC287r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(24454002)(377424004)(377454003)(189002)(199002)(512954002)(65816001)(90146001)(54356001)(46102001)(53806001)(66066001)(56816005)(15975445006)(47446002)(76482001)(33656001)(31966008)(20776003)(74662001)(63696002)(80022001)(14971765001)(15395725003)(74502001)(76786001)(77096001)(87936001)(74706001)(16236675002)(81542001)(87266001)(15202345003)(81686001)(81342001)(55846006)(19580395003)(69226001)(83322001)(47736001)(83072002)(19580405001)(16601075003)(44976005)(71186001)(85306002)(56776001)(2656002)(76796001)(81816001)(74876001)(19300405004)(84326002)(59766001)(74366001)(54316002)(49866001)(47976001)(79102001)(50986001)(80976001)(85852003)(51856001)(77982001)(4396001)(6806004)(403724002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB180; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0074BBE012
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 01:46:47 -0000

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

Hi Richard,

I'd like to raise two issues with the current draft that I believe should b=
e addressed in a quick -07 draft.

First, the three lists in Section 2 (http://tools.ietf.org/html/draft-ietf-=
jose-use-cases-06#section-2) that should have parallel orders do not, which=
 is unnecessarily confusing.  I believe that they should all be in the orde=
r:

               1.  Integrity-protected object format
               2.  Confidentiality-protected object format
               3.  A format for expressing keys

The second parallel list should be in the order:
               "signed object format"
               "encrypted object format"
               "key format"

The third parallel list should be in the order:
               JWS
               JWE
               JWK

To fix this, you'll need to reverse the current order of the first two item=
s in the first two lists.  (The third list is already in the correct order.=
)

Second, I'd sent you a private note a few months ago asking you to update t=
he OpenID Connect reference, since the OpenID.Messages spec has been replac=
ed with OpenID.Core.  You'd agreed to do this, but it didn't happen.  Pleas=
e replace the OpenID.Messages reference with this:

      <reference anchor=3D"OpenID.Core">
        <front>
          <title>OpenID Connect Core 1.0</title>

          <author fullname=3D"Nat Sakimura" initials=3D"N." surname=3D"Saki=
mura">
            <organization abbrev=3D"NRI">Nomura Research Institute, Ltd.</o=
rganization>
          </author>

          <author fullname=3D"John Bradley" initials=3D"J." surname=3D"Brad=
ley">
            <organization abbrev=3D"Ping Identity">Ping Identity</organizat=
ion>
          </author>

          <author fullname=3D"Michael B. Jones" initials=3D"M.B." surname=
=3D"Jones">
            <organization abbrev=3D"Microsoft">Microsoft</organization>
          </author>

          <author fullname=3D"Breno de Medeiros" initials=3D"B." surname=3D=
"de Medeiros">
            <organization abbrev=3D"Google">Google</organization>
          </author>

                 <author fullname=3D"Chuck Mortimore" initials=3D"C." surna=
me=3D"Mortimore">
                   <organization abbrev=3D"Salesforce">Salesforce</organiza=
tion>
                 </author>

          <date day=3D"18" month=3D"December" year=3D"2013"/>
        </front>

               <format target=3D"http://openid.net/specs/openid-connect-cor=
e-1_0.html"
                type=3D"HTML" />
      </reference>

                                                            Thank you,
                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Richard Barnes
Sent: Friday, December 27, 2013 11:23 AM
To: jose@ietf.org
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt

This is a very minor update to address some wording changes suggested by th=
e IESG.
--Richard

On Fri, Dec 27, 2013 at 2:21 PM, <internet-drafts@ietf.org<mailto:internet-=
drafts@ietf.org>> wrote:

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

        Title           : Use Cases and Requirements for JSON Object Signin=
g and Encryption (JOSE)
        Author          : Richard Barnes
        Filename        : draft-ietf-jose-use-cases-06.txt
        Pages           : 26
        Date            : 2013-12-27

Abstract:
   Many Internet applications have a need for object-based security
   mechanisms in addition to security mechanisms at the network layer or
   transport layer.  For many years, the Cryptographic Message Syntax
   (CMS) has provided a binary secure object format based on ASN.1.
   Over time, binary object encodings such as ASN.1 have become less
   common than text-based encodings, for example JavaScript Object
   Notation.  This document defines a set of use cases and requirements
   for a secure object format encoded using JavaScript Object Notation
   (JSON), drawn from a variety of application security mechanisms
   currently in development.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-use-cases-06

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06


Please note that it may take a couple of minutes from the time of submissio=
n
until the htmlized version and diff are available at tools.ietf.org<http://=
tools.ietf.org>.

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

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


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Richard,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;d like to raise t=
wo issues with the current draft that I believe should be addressed in a qu=
ick -07 draft.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">First, the three lists in=
 Section 2 (http://tools.ietf.org/html/draft-ietf-jose-use-cases-06#section=
-2) that should have parallel orders do not, which is unnecessarily
 confusing.&nbsp; I believe that they should all be in the order:<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.&nbsp; Integr=
ity-protected object format<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.&nbsp; Confid=
entiality-protected object format<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.&nbsp; A form=
at for expressing keys<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The second parallel list =
should be in the order:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;signed o=
bject format&#8221;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;encrypte=
d object format&#8221;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8220;key form=
at&#8221;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The third parallel list s=
hould be in the order:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JWS<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JWE<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JWK<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">To fix this, you&#8217;ll=
 need to reverse the current order of the first two items in the first two =
lists.&nbsp; (The third list is already in the correct order.)<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Second, I&#8217;d sent yo=
u a private note a few months ago asking you to update the OpenID Connect r=
eference, since the OpenID.Messages spec has been replaced with
 OpenID.Core.&nbsp; You&#8217;d agreed to do this, but it didn&#8217;t happ=
en.&nbsp; Please replace the OpenID.Messages reference with this:<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; &lt;reference anchor=3D&quot;OpenID.Core&quot;&gt;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; &lt;front&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title&gt;OpenID Connect Core 1.0&lt;/titl=
e&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;Nat Sakimura&quot=
; initials=3D&quot;N.&quot; surname=3D&quot;Sakimura&quot;&gt;<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot;N=
RI&quot;&gt;Nomura Research Institute, Ltd.&lt;/organization&gt;<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/author&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;John Bradley&quot=
; initials=3D&quot;J.&quot; surname=3D&quot;Bradley&quot;&gt;<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot;P=
ing Identity&quot;&gt;Ping Identity&lt;/organization&gt;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/author&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;Michael B. Jones&=
quot; initials=3D&quot;M.B.&quot; surname=3D&quot;Jones&quot;&gt;<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot;M=
icrosoft&quot;&gt;Microsoft&lt;/organization&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&lt;/author&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;Breno de Medeiros=
&quot; initials=3D&quot;B.&quot; surname=3D&quot;de Medeiros&quot;&gt;<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot;G=
oogle&quot;&gt;Google&lt;/organization&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/author&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &lt;auth=
or fullname=3D&quot;Chuck Mortimore&quot; initials=3D&quot;C.&quot; surname=
=3D&quot;Mortimore&quot;&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nb=
sp; &lt;organization abbrev=3D&quot;Salesforce&quot;&gt;Salesforce&lt;/orga=
nization&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &lt;/aut=
hor&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;date day=3D&quot;18&quot; month=3D&quot;D=
ecember&quot; year=3D&quot;2013&quot;/&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; &lt;/front&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format targ=
et=3D&quot;http://openid.net/specs/openid-connect-core-1_0.html&quot;<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type=3D&q=
uot;HTML&quot; /&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; &nbsp;&nbsp;&nbsp;=
&nbsp;&lt;/reference&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:jose-bounces@ietf.org]
<b>On Behalf Of </b>Richard Barnes<br>
<b>Sent:</b> Friday, December 27, 2013 11:23 AM<br>
<b>To:</b> jose@ietf.org<br>
<b>Subject:</b> Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">This is a very minor update to address some wording =
changes suggested by the IESG.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">--Richard<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Fri, Dec 27, 2013 at 2:21 PM, &lt;<a href=3D"mail=
to:internet-drafts@ietf.org" target=3D"_blank">internet-drafts@ietf.org</a>=
&gt; wrote:<o:p></o:p></p>
<p class=3D"MsoNormal"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
&nbsp;This draft is a work item of the Javascript Object Signing and Encryp=
tion Working Group of the IETF.<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Use =
Cases and Requirements for JSON Object Signing and Encryption (JOSE)<br>
&nbsp; &nbsp; &nbsp; &nbsp; Author &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Rich=
ard Barnes<br>
&nbsp; &nbsp; &nbsp; &nbsp; Filename &nbsp; &nbsp; &nbsp; &nbsp;: draft-iet=
f-jose-use-cases-06.txt<br>
&nbsp; &nbsp; &nbsp; &nbsp; Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 26<b=
r>
&nbsp; &nbsp; &nbsp; &nbsp; Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:=
 2013-12-27<br>
<br>
Abstract:<br>
&nbsp; &nbsp;Many Internet applications have a need for object-based securi=
ty<br>
&nbsp; &nbsp;mechanisms in addition to security mechanisms at the network l=
ayer or<br>
&nbsp; &nbsp;transport layer. &nbsp;For many years, the Cryptographic Messa=
ge Syntax<br>
&nbsp; &nbsp;(CMS) has provided a binary secure object format based on ASN.=
1.<br>
&nbsp; &nbsp;Over time, binary object encodings such as ASN.1 have become l=
ess<br>
&nbsp; &nbsp;common than text-based encodings, for example JavaScript Objec=
t<br>
&nbsp; &nbsp;Notation. &nbsp;This document defines a set of use cases and r=
equirements<br>
&nbsp; &nbsp;for a secure object format encoded using JavaScript Object Not=
ation<br>
&nbsp; &nbsp;(JSON), drawn from a variety of application security mechanism=
s<br>
&nbsp; &nbsp;currently in development.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/" tar=
get=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/<=
/a><br>
<br>
There's also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-use-cases-06" target=
=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-use-cases-06</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06"=
 target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-c=
ases-06</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" target=3D"_blank">
tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD6993BTK5EX14MBXC287r_--

From Michael.Jones@microsoft.com  Fri Dec 27 17:59:39 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 36F601AEC73 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 17:59:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43e2fbtE9_Gw for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 17:59:36 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0212.outbound.protection.outlook.com [207.46.163.212]) by ietfa.amsl.com (Postfix) with ESMTP id A253B1AEC72 for <jose@ietf.org>; Fri, 27 Dec 2013 17:59:35 -0800 (PST)
Received: from DM2PR03CA006.namprd03.prod.outlook.com (10.141.52.154) by BY2PR03MB255.namprd03.prod.outlook.com (10.242.37.22) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sat, 28 Dec 2013 01:59:22 +0000
Received: from BN1BFFO11FD007.protection.gbl (2a01:111:f400:7c10::1:173) by DM2PR03CA006.outlook.office365.com (2a01:111:e400:2414::26) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sat, 28 Dec 2013 01:59:22 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD007.mail.protection.outlook.com (10.58.144.70) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 28 Dec 2013 01:59:21 +0000
Received: from TK5EX14MBXC287.redmond.corp.microsoft.com ([169.254.2.241]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0158.002; Sat, 28 Dec 2013 01:58:56 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unA
Date: Sat, 28 Dec 2013 01:58:55 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com>
In-Reply-To: <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.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
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(13464003)(189002)(199002)(35774003)(24454002)(52314003)(51704005)(377454003)(53754006)(74502001)(76482001)(85852003)(53806001)(50466002)(6806004)(51856001)(54356001)(4396001)(83072002)(90146001)(47976001)(44976005)(50986001)(74876001)(19580395003)(74706001)(19580405001)(55846006)(83322001)(56776001)(81542001)(23726002)(15202345003)(74366001)(77982001)(54316002)(59766001)(56816005)(46102001)(74662001)(15975445006)(81686001)(31966008)(47446002)(46406003)(69226001)(77096001)(76786001)(81342001)(561944002)(79102001)(49866001)(47736001)(47776003)(81816001)(76796001)(20776003)(87936001)(85306002)(63696002)(2656002)(80976001)(80022001)(33656001)(87266001)(65816001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB255; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0074BBE012
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 01:59:39 -0000

I disagree that "use" allows multiple uses.  Sign/Verify both use the same =
algorithm with the same key - just in a producer/consumer role.  There woul=
d only be a security problem if the same key was used with *different* algo=
rithms.

For symmetric keys, Sign/Verify operations are actually the same, so in tha=
t case, this is a distinction without a difference.

You may consider the producer/consumer distinction to be multiple uses, but=
 only in an academic sense.  You have to perform both with the same key pai=
r or symmetric key for the end-to-end cryptography to be meaningful.  Doing=
 one without the other is incomplete.  (What good is signing if the signatu=
re is never verified?)

Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer distinctio=
ns, but also only use a single key with a single algorithm - therefore no s=
ecurity problem.

=3D=3D=3D=3D

For what it's worth, I think the different key use representation choices s=
tems from JOSE being a high-level API that tries to make simple things simp=
le and WebCrypto being a low-level API that tries to be complete.  Both are=
 valid and useful.  These differences show up in lots of places besides jus=
t key usage representations.

Anyway, the purpose of my proposal is to try to make things easier for WebC=
rypto.  I hope people will get behind it.  Yes, having both simple and deta=
iled key usage representations seems odd at first.  But they're designed to=
 address different goals for different kinds of applications.  The alternat=
ives (such as "signOnly,verifyOnly", etc.) that are currently being conside=
red are much worse.

				-- Mike

-----Original Message-----
From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]=20
Sent: Friday, December 27, 2013 2:13 PM
To: John Bradley
Cc: Mike Jones; jose@ietf.org
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

I'm sorry, John, but by your logic, JOSE is not following your own advice.

"enc" is already a multiple-use for a key - it allows for both encryption a=
nd decryption. For that matter, wrap and unwrap, which are supposed to be i=
nferred based on algorithm, which is a JWE/JWS specific aspect, and not an =
intrinsic aspect of JWK-as-key-representation.

Likewise, "sig" implies sign AND verify, which is meant to be unambiguous, =
because the assumption is always that you sign with a private key and verif=
y with a public key, but as a conceptual framework breaks down for schemes =
like HMAC, which ostensibly have sign and verify (or MAC and verify, if you=
 prefer, but we're splitting hairs here).

WebCrypto desires to be *more* precise than JOSE's imprecise and overly bro=
ad, implicitly multi-use syntax. That "enc" means four possible uses, or th=
at "sig" means two , is a clear sign that JOSE is already actively encourag=
ing multiple uses for the same key.

Mike's proposal is basically an admission that the ship has sailed on this =
implicit, multi-valued usage semantic - which, I can understand and sympath=
ize with, in the name of backwards compatibility for an in-draft spec, but =
let's recognize that as spec'd today, JOSE is preferring and encouraging mu=
ltiple uses for the same key in ways that will unquestionably encourage peo=
ple to make bad mistakes (such as multiple parties using the same encryptio=
n key for traffic in either direction - requiring some degree of IV sync)

On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
>  Having it be an array encourages multiple uses for the same key.  I=20
> have  stated many times that encouraging people to do that is not a=20
> good idea,  and making it easy makes people think it is a good idea.
>
>  You can use the single value field and have multiple entries with =20
> different key containing the same or different keys to do the same thing.
>
>  On the practical side "use_details" is better than creating crazy dot =20
> separated como uses.
>
>  John B.
>
>  On Dec 24, 2013, at 8:26 PM, Mike Jones <Michael.Jones@microsoft.com>
>  wrote:
>
> > Hi all,
> >
> > Having reflected upon discussions among WebCrypto and JOSE=20
> > participants about JWK usage by WebCrypto over the holidays, I'd=20
> > like to propose the two JOSE spec actions to more closely coordinate wi=
th WebCrypto:
> >
> > 1.  Change the JWA registry field name from "Implementation=20
> > Requirements" to "JOSE Implementation Requirements" in the JSON Web=20
> > Signature and Encryption Algorithms Registry=20
> > (http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#sect=
ion-7.1).
> >  This will make it clearer that the Implementation Requirements=20
> > apply only to JWS and JWE implementations - and not other uses of=20
> > JWK (such as WebCrypto).  This changes only non-normative text and is n=
on-breaking.
> >
> > 2.  Define the new JWK field "use_details" for recording intended=20
> > fine-grained key usage information.  This would enable WebCrypto=20
> > KeyUsage
> > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.htm
> > l#key-interface) values to be used directly with JWK.  The proposed=20
> > definition is:
> >
> > 3.3.  "use_details" (Key Use Details) Parameter
> >    The "use_details" (key use details) member identifies fine-grained
> >    details the intended use of the key.  Its value is an array of
> >    key use details values.  Values defined by this specification are:
> >
> >    o  "sign" (compute signature or MAC)
> >    o  "verify" (verify signature or MAC)
> >    o  "encrypt" (encrypt content)
> >    o  "decrypt" (decrypt content and verify decryption, if applicable)
> >    o  "wrap" (encrypt key)
> >    o  "unwrap" (decrypt key and verify decryption, if applicable)
> >    o  "deriveKey" (derive key)
> >    o  "deriveBits" (derive bits not to be used as a key)
> >
> >    Other values MAY be used.  Key Use Details values can be registered
> >    in the IANA JSON Web Key Use Details registry defined in Section 7.3=
.
> >    The use details values are case-sensitive strings.
> >    Duplicate use details values MUST NOT be present in the array.
> >    Use of the "use_details" member is OPTIONAL, unless the application
> >    requires use this member to record fine-grained key usage details.
> >    (Note that the "use_details" values intentionally match the=20
> > "KeyUsage"
> >    values defined in the WebCrypto [WebCrypto] specification.)
> >
> >    If both "use" and "use_details" JWK members are present, the usages
> >    specified by them MUST be consistent.  In particular, the "use" valu=
e
> >    "sig" corresponds to "sign" and/or "verify".  The "use" value
> >    "enc" corresponds to all other values defined above.
> >    If "use_details" values corresponding to both "sig" and "enc"
> >    "use" values are present, the "use" member SHOULD NOT be present,
> >    and if present, its value MUST NOT be either "sig" or "enc".
> >
> > This is a non-breaking change - allowing simple applications that=20
> > want to distinguish between signing and encryption operations to=20
> > continue doing so as they do today, while also providing a=20
> > multi-valued key usage details field to be used by applications that=20
> > want to record fine-grained distinctions among potential key usages,=20
> > including distinguishing between producer and consumer operations.
> >
> > As I see it, while having two related key usage representations=20
> > isn't ideal, it's far better than having WebCrypto overload "use"=20
> > with multi-valued values encoded in strings, such as=20
> > "signOnly,verifyOnly", which I believe is their current plan of record.
> >
> > Comments?
> >
> >                                                             -- Mike
> >
> > P.S.  This proposal was already discussed on the WebCrypto list in=20
> > the thread=20
> > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.ht
> > ml and no objections were raised there that I'm aware of.
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose
>
>  _______________________________________________
>  jose mailing list
>  jose@ietf.org
>  https://www.ietf.org/mailman/listinfo/jose
>



From ryan-ietf@sleevi.com  Fri Dec 27 18:46:10 2013
Return-Path: <ryan-ietf@sleevi.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 789A51AED93 for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 18:46:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q_CohkK7DxTt for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 18:46:07 -0800 (PST)
Received: from homiemail-a27.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by ietfa.amsl.com (Postfix) with ESMTP id 256B11AED95 for <jose@ietf.org>; Fri, 27 Dec 2013 18:46:05 -0800 (PST)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id 0A26459805F; Fri, 27 Dec 2013 18:46:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sleevi.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:reply-to :mime-version:content-type:content-transfer-encoding; s= sleevi.com; bh=fFLPN6o3e+4KJ07gytVssJN20PQ=; b=qmAwtn7ya1aMGi4r/ yG4NMmp7PN4DdSC2cGiseoBiSnKfs9TEuz4JvwY78RrbBeYf8rjySOc5PRsEu1vv mpJRll9yIPJx+zUOP5zbLRm/2Ccvt8i6CSkRX4N3hHKf3pqkLDNxQP95bb4D8/jg 6L6yYNXXvUtm6mgZFWpptZp3Ro=
Received: from webmail.dreamhost.com (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: ryan@sleevi.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPA id AEF02598055; Fri, 27 Dec 2013 18:45:59 -0800 (PST)
Received: from 216.239.45.93 (proxying for 216.239.45.93) (SquirrelMail authenticated user ryan@sleevi.com) by webmail.dreamhost.com with HTTP; Fri, 27 Dec 2013 18:46:00 -0800
Message-ID: <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com>
Date: Fri, 27 Dec 2013 18:46:00 -0800
From: "Ryan Sleevi" <ryan-ietf@sleevi.com>
To: "Mike Jones" <Michael.Jones@microsoft.com>
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Fri, 27 Dec 2013 19:39:14 -0800
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: ryan-ietf@sleevi.com
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 02:46:10 -0000

On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
>  I disagree that "use" allows multiple uses.  Sign/Verify both use the =
same
>  algorithm with the same key - just in a producer/consumer role.  There
>  would only be a security problem if the same key was used with *differ=
ent*
>  algorithms.
>
>  For symmetric keys, Sign/Verify operations are actually the same, so i=
n
>  that case, this is a distinction without a difference.
>
>  You may consider the producer/consumer distinction to be multiple uses=
,
>  but only in an academic sense.  You have to perform both with the same=
 key
>  pair or symmetric key for the end-to-end cryptography to be meaningful=
.
>  Doing one without the other is incomplete.  (What good is signing if t=
he
>  signature is never verified?)

Hi Mike,

I don't think it's fair to compare them as the same, and it's very much a
practical, and not an academic case.

In a Sign() operation, the input is arbitrary plaintext and the output is
a signature corresponding to that plaintext; an oracle, if you will - as
you would want.

In an API (although not necessarily in JWE/JWS, and understandably so), a
Verify() operation permits arbitrary plaintext as the input, but also
requires the signature to be verified. The only output is a boolean -
whether or not the signature is correct.

The goal of "restricting" the uses here would be to allow key storage not
necessarily under the control of the caller. In WebCrypto, this is the
distinction between the executing JS (served by the web page) and the UA
implementation. It's a concept borrowed from any number of other good
cryptographic APIs (eg: those that are designed with the notion of opaque
key storage)

With a symmetric key only permitted for a "Verify" operation, the only wa=
y
to generate a signature for an arbitrary message is
a) Compromise the key storage
b) Iterate through all possible signature combinations until you get
"true" as the Verify() result.

b) may be aided by any number of implementation issues (eg: non-constant
time comparisons, among others), but is ultimately "tricky". a) is
dependent on implementations, and can be aided or harmed through a variet=
y
of means.

Combining these two usages into a single use case - which, I agree, is
probably perfectly acceptable if imagining as a transport-only exchange -
can thus have real and meaningful differences when used at an API level.

>
>  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
>  distinctions, but also only use a single key with a single algorithm -
>  therefore no security problem.
>
>  =3D=3D=3D=3D
>
>  For what it's worth, I think the different key use representation choi=
ces
>  stems from JOSE being a high-level API that tries to make simple thing=
s
>  simple and WebCrypto being a low-level API that tries to be complete.
>  Both are valid and useful.  These differences show up in lots of place=
s
>  besides just key usage representations.

Absolutely agree here. This is why WebCrypto explored whether we should d=
o
something "JWK-like", but suitable at an API layer and for it's goals, an=
d
"trivially" convertable with JWK - but by script authors. The WebCrypto W=
G
wasn't fond of it, which is understandable, and why I'm here.

>
>  Anyway, the purpose of my proposal is to try to make things easier for
>  WebCrypto.  I hope people will get behind it.  Yes, having both simple=
 and
>  detailed key usage representations seems odd at first.  But they're
>  designed to address different goals for different kinds of application=
s.
>  The alternatives (such as "signOnly,verifyOnly", etc.) that are curren=
tly
>  being considered are much worse.
>
>  				-- Mike

I agree that changing to an array will almost certainly break every
implementation to date.

I agree that comma-separated is horribad and should be avoided, even if i=
t
"solves" the backwards compat issue.

I think your solution is a reasonable attempt to mediate the issues of
backwards compatibility with the use cases of WebCrypto. However, I'm
still on the fence as to whether or not it really is unreasonable to
"break" backwards compatibility here - there seems to be a compelling cas=
e
here as to why even something like ["sign", "verify"] should be distinct
usages. I know the bar is incredibly high right now, given JOSE's
momentum, but I didn't think that JOSE was past the point of no return.

>
>  -----Original Message-----
>  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
>  Sent: Friday, December 27, 2013 2:13 PM
>  To: John Bradley
>  Cc: Mike Jones; jose@ietf.org
>  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
>  coordinate with WebCrypto
>
>  I'm sorry, John, but by your logic, JOSE is not following your own adv=
ice.
>
>  "enc" is already a multiple-use for a key - it allows for both encrypt=
ion
>  and decryption. For that matter, wrap and unwrap, which are supposed t=
o be
>  inferred based on algorithm, which is a JWE/JWS specific aspect, and n=
ot
>  an intrinsic aspect of JWK-as-key-representation.
>
>  Likewise, "sig" implies sign AND verify, which is meant to be unambigu=
ous,
>  because the assumption is always that you sign with a private key and
>  verify with a public key, but as a conceptual framework breaks down fo=
r
>  schemes like HMAC, which ostensibly have sign and verify (or MAC and
>  verify, if you prefer, but we're splitting hairs here).
>
>  WebCrypto desires to be *more* precise than JOSE's imprecise and overl=
y
>  broad, implicitly multi-use syntax. That "enc" means four possible use=
s,
>  or that "sig" means two , is a clear sign that JOSE is already activel=
y
>  encouraging multiple uses for the same key.
>
>  Mike's proposal is basically an admission that the ship has sailed on =
this
>  implicit, multi-valued usage semantic - which, I can understand and
>  sympathize with, in the name of backwards compatibility for an in-draf=
t
>  spec, but let's recognize that as spec'd today, JOSE is preferring and
>  encouraging multiple uses for the same key in ways that will
>  unquestionably encourage people to make bad mistakes (such as multiple
>  parties using the same encryption key for traffic in either direction =
-
>  requiring some degree of IV sync)
>
>  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> >  Having it be an array encourages multiple uses for the same key.  I
> > have  stated many times that encouraging people to do that is not a
> > good idea,  and making it easy makes people think it is a good idea.
> >
> >  You can use the single value field and have multiple entries with
> > different key containing the same or different keys to do the same
> > thing.
> >
> >  On the practical side "use_details" is better than creating crazy do=
t
> > separated como uses.
> >
> >  John B.
> >
> >  On Dec 24, 2013, at 8:26 PM, Mike Jones <Michael.Jones@microsoft.com=
>
> >  wrote:
> >
> > > Hi all,
> > >
> > > Having reflected upon discussions among WebCrypto and JOSE
> > > participants about JWK usage by WebCrypto over the holidays, I'd
> > > like to propose the two JOSE spec actions to more closely coordinat=
e
> > with WebCrypto:
> > >
> > > 1.  Change the JWA registry field name from "Implementation
> > > Requirements" to "JOSE Implementation Requirements" in the JSON Web
> > > Signature and Encryption Algorithms Registry
> > > (http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#=
section-7.1).
> > >  This will make it clearer that the Implementation Requirements
> > > apply only to JWS and JWE implementations - and not other uses of
> > > JWK (such as WebCrypto).  This changes only non-normative text and =
is
> > non-breaking.
> > >
> > > 2.  Define the new JWK field "use_details" for recording intended
> > > fine-grained key usage information.  This would enable WebCrypto
> > > KeyUsage
> > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.ht=
m
> > > l#key-interface) values to be used directly with JWK.  The proposed
> > > definition is:
> > >
> > > 3.3.  "use_details" (Key Use Details) Parameter
> > >    The "use_details" (key use details) member identifies fine-grain=
ed
> > >    details the intended use of the key.  Its value is an array of
> > >    key use details values.  Values defined by this specification ar=
e:
> > >
> > >    o  "sign" (compute signature or MAC)
> > >    o  "verify" (verify signature or MAC)
> > >    o  "encrypt" (encrypt content)
> > >    o  "decrypt" (decrypt content and verify decryption, if applicab=
le)
> > >    o  "wrap" (encrypt key)
> > >    o  "unwrap" (decrypt key and verify decryption, if applicable)
> > >    o  "deriveKey" (derive key)
> > >    o  "deriveBits" (derive bits not to be used as a key)
> > >
> > >    Other values MAY be used.  Key Use Details values can be registe=
red
> > >    in the IANA JSON Web Key Use Details registry defined in Section
> > 7.3.
> > >    The use details values are case-sensitive strings.
> > >    Duplicate use details values MUST NOT be present in the array.
> > >    Use of the "use_details" member is OPTIONAL, unless the applicat=
ion
> > >    requires use this member to record fine-grained key usage detail=
s.
> > >    (Note that the "use_details" values intentionally match the
> > > "KeyUsage"
> > >    values defined in the WebCrypto [WebCrypto] specification.)
> > >
> > >    If both "use" and "use_details" JWK members are present, the usa=
ges
> > >    specified by them MUST be consistent.  In particular, the "use"
> > value
> > >    "sig" corresponds to "sign" and/or "verify".  The "use" value
> > >    "enc" corresponds to all other values defined above.
> > >    If "use_details" values corresponding to both "sig" and "enc"
> > >    "use" values are present, the "use" member SHOULD NOT be present=
,
> > >    and if present, its value MUST NOT be either "sig" or "enc".
> > >
> > > This is a non-breaking change - allowing simple applications that
> > > want to distinguish between signing and encryption operations to
> > > continue doing so as they do today, while also providing a
> > > multi-valued key usage details field to be used by applications tha=
t
> > > want to record fine-grained distinctions among potential key usages=
,
> > > including distinguishing between producer and consumer operations.
> > >
> > > As I see it, while having two related key usage representations
> > > isn't ideal, it's far better than having WebCrypto overload "use"
> > > with multi-valued values encoded in strings, such as
> > > "signOnly,verifyOnly", which I believe is their current plan of
> > record.
> > >
> > > Comments?
> > >
> > >                                                             -- Mike
> > >
> > > P.S.  This proposal was already discussed on the WebCrypto list in
> > > the thread
> > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.h=
t
> > > ml and no objections were raised there that I'm aware of.
> > >
> > > _______________________________________________
> > > jose mailing list
> > > jose@ietf.org
> > > https://www.ietf.org/mailman/listinfo/jose
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
>
>  _______________________________________________
>  jose mailing list
>  jose@ietf.org
>  https://www.ietf.org/mailman/listinfo/jose
>


From Michael.Jones@microsoft.com  Fri Dec 27 19:51:08 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1098D1AEF0A for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 19:51:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4TeqnYapoZID for <jose@ietfa.amsl.com>; Fri, 27 Dec 2013 19:51:04 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0239.outbound.protection.outlook.com [207.46.163.239]) by ietfa.amsl.com (Postfix) with ESMTP id 60ACE1AEF09 for <jose@ietf.org>; Fri, 27 Dec 2013 19:51:04 -0800 (PST)
Received: from BLUPR03CA034.namprd03.prod.outlook.com (10.141.30.27) by BLUPR03MB261.namprd03.prod.outlook.com (10.255.213.12) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sat, 28 Dec 2013 03:50:58 +0000
Received: from BY2FFO11FD015.protection.gbl (2a01:111:f400:7c0c::174) by BLUPR03CA034.outlook.office365.com (2a01:111:e400:879::27) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sat, 28 Dec 2013 03:50:58 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD015.mail.protection.outlook.com (10.1.14.131) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sat, 28 Dec 2013 03:50:58 +0000
Received: from TK5EX14MBXC287.redmond.corp.microsoft.com ([169.254.2.241]) by TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id 14.03.0158.002; Sat, 28 Dec 2013 03:50:27 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkA==
Date: Sat, 28 Dec 2013 03:50:27 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com>
In-Reply-To: <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.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
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(189002)(377454003)(52314003)(53754006)(51704005)(35774003)(24454002)(13464003)(199002)(46406003)(74366001)(74502001)(56816005)(15202345003)(69226001)(81342001)(81542001)(6806004)(561944002)(23726002)(83322001)(79102001)(85852003)(83072002)(50466002)(19580395003)(77982001)(59766001)(74662001)(47446002)(19580405001)(76482001)(4396001)(47736001)(54356001)(51856001)(46102001)(44976005)(87266001)(49866001)(74876001)(15975445006)(47976001)(50986001)(74706001)(81686001)(81816001)(77096001)(2656002)(33656001)(85306002)(76786001)(76796001)(54316002)(31966008)(53806001)(20776003)(80022001)(66066001)(87936001)(65816001)(80976001)(55846006)(90146001)(63696002)(47776003)(56776001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB261; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0074BBE012
X-OriginatorOrg: microsoft.com
Cc: John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 03:51:08 -0000

It's my sense of the JOSE working group that most are strongly opposed to b=
reaking changes at this point.  However, I also believe that most JOSE part=
icipants share the sentiment of many WebCrypto participants that it would b=
e better for all for WebCrypto to use real JWKs, rather than something "JWK=
-like".

I believe my proposal is the best-available solution, given the current rea=
listic constraints.  It might have made better sense for a WebCrypto spec t=
o define "use_details" than JOSE, but if WebCrypto isn't going to do it, I =
believe that we'll all be better off in the long run if JOSE then does and =
WebCrypto uses it.

				Cheers,
				-- Mike

-----Original Message-----
From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]=20
Sent: Friday, December 27, 2013 6:46 PM
To: Mike Jones
Cc: ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
>  I disagree that "use" allows multiple uses.  Sign/Verify both use the=20
> same  algorithm with the same key - just in a producer/consumer role. =20
> There  would only be a security problem if the same key was used with=20
> *different*  algorithms.
>
>  For symmetric keys, Sign/Verify operations are actually the same, so=20
> in  that case, this is a distinction without a difference.
>
>  You may consider the producer/consumer distinction to be multiple=20
> uses,  but only in an academic sense.  You have to perform both with=20
> the same key  pair or symmetric key for the end-to-end cryptography to be=
 meaningful.
>  Doing one without the other is incomplete.  (What good is signing if=20
> the  signature is never verified?)

Hi Mike,

I don't think it's fair to compare them as the same, and it's very much a p=
ractical, and not an academic case.

In a Sign() operation, the input is arbitrary plaintext and the output is a=
 signature corresponding to that plaintext; an oracle, if you will - as you=
 would want.

In an API (although not necessarily in JWE/JWS, and understandably so), a
Verify() operation permits arbitrary plaintext as the input, but also requi=
res the signature to be verified. The only output is a boolean - whether or=
 not the signature is correct.

The goal of "restricting" the uses here would be to allow key storage not n=
ecessarily under the control of the caller. In WebCrypto, this is the disti=
nction between the executing JS (served by the web page) and the UA impleme=
ntation. It's a concept borrowed from any number of other good cryptographi=
c APIs (eg: those that are designed with the notion of opaque key storage)

With a symmetric key only permitted for a "Verify" operation, the only way =
to generate a signature for an arbitrary message is
a) Compromise the key storage
b) Iterate through all possible signature combinations until you get "true"=
 as the Verify() result.

b) may be aided by any number of implementation issues (eg: non-constant ti=
me comparisons, among others), but is ultimately "tricky". a) is dependent =
on implementations, and can be aided or harmed through a variety of means.

Combining these two usages into a single use case - which, I agree, is prob=
ably perfectly acceptable if imagining as a transport-only exchange - can t=
hus have real and meaningful differences when used at an API level.

>
>  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer =20
> distinctions, but also only use a single key with a single algorithm - =20
> therefore no security problem.
>
>  =3D=3D=3D=3D
>
>  For what it's worth, I think the different key use representation=20
> choices  stems from JOSE being a high-level API that tries to make=20
> simple things  simple and WebCrypto being a low-level API that tries to b=
e complete.
>  Both are valid and useful.  These differences show up in lots of=20
> places  besides just key usage representations.

Absolutely agree here. This is why WebCrypto explored whether we should do =
something "JWK-like", but suitable at an API layer and for it's goals, and =
"trivially" convertable with JWK - but by script authors. The WebCrypto WG =
wasn't fond of it, which is understandable, and why I'm here.

>
>  Anyway, the purpose of my proposal is to try to make things easier=20
> for  WebCrypto.  I hope people will get behind it.  Yes, having both=20
> simple and  detailed key usage representations seems odd at first. =20
> But they're  designed to address different goals for different kinds of a=
pplications.
>  The alternatives (such as "signOnly,verifyOnly", etc.) that are=20
> currently  being considered are much worse.
>
>  				-- Mike

I agree that changing to an array will almost certainly break every impleme=
ntation to date.

I agree that comma-separated is horribad and should be avoided, even if it =
"solves" the backwards compat issue.

I think your solution is a reasonable attempt to mediate the issues of back=
wards compatibility with the use cases of WebCrypto. However, I'm still on =
the fence as to whether or not it really is unreasonable to "break" backwar=
ds compatibility here - there seems to be a compelling case here as to why =
even something like ["sign", "verify"] should be distinct usages. I know th=
e bar is incredibly high right now, given JOSE's momentum, but I didn't thi=
nk that JOSE was past the point of no return.

>
>  -----Original Message-----
>  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
>  Sent: Friday, December 27, 2013 2:13 PM
>  To: John Bradley
>  Cc: Mike Jones; jose@ietf.org
>  Subject: Re: [jose] Two proposed JOSE spec actions to more closely =20
> coordinate with WebCrypto
>
>  I'm sorry, John, but by your logic, JOSE is not following your own advic=
e.
>
>  "enc" is already a multiple-use for a key - it allows for both=20
> encryption  and decryption. For that matter, wrap and unwrap, which=20
> are supposed to be  inferred based on algorithm, which is a JWE/JWS=20
> specific aspect, and not  an intrinsic aspect of JWK-as-key-representatio=
n.
>
>  Likewise, "sig" implies sign AND verify, which is meant to be=20
> unambiguous,  because the assumption is always that you sign with a=20
> private key and  verify with a public key, but as a conceptual=20
> framework breaks down for  schemes like HMAC, which ostensibly have=20
> sign and verify (or MAC and  verify, if you prefer, but we're splitting h=
airs here).
>
>  WebCrypto desires to be *more* precise than JOSE's imprecise and=20
> overly  broad, implicitly multi-use syntax. That "enc" means four=20
> possible uses,  or that "sig" means two , is a clear sign that JOSE is=20
> already actively  encouraging multiple uses for the same key.
>
>  Mike's proposal is basically an admission that the ship has sailed on=20
> this  implicit, multi-valued usage semantic - which, I can understand=20
> and  sympathize with, in the name of backwards compatibility for an=20
> in-draft  spec, but let's recognize that as spec'd today, JOSE is=20
> preferring and  encouraging multiple uses for the same key in ways=20
> that will  unquestionably encourage people to make bad mistakes (such=20
> as multiple  parties using the same encryption key for traffic in=20
> either direction -  requiring some degree of IV sync)
>
>  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> >  Having it be an array encourages multiple uses for the same key.  I=20
> > have  stated many times that encouraging people to do that is not a=20
> > good idea,  and making it easy makes people think it is a good idea.
> >
> >  You can use the single value field and have multiple entries with=20
> > different key containing the same or different keys to do the same=20
> > thing.
> >
> >  On the practical side "use_details" is better than creating crazy=20
> > dot separated como uses.
> >
> >  John B.
> >
> >  On Dec 24, 2013, at 8:26 PM, Mike Jones=20
> > <Michael.Jones@microsoft.com>
> >  wrote:
> >
> > > Hi all,
> > >
> > > Having reflected upon discussions among WebCrypto and JOSE=20
> > > participants about JWK usage by WebCrypto over the holidays, I'd=20
> > > like to propose the two JOSE spec actions to more closely=20
> > > coordinate
> > with WebCrypto:
> > >
> > > 1.  Change the JWA registry field name from "Implementation=20
> > > Requirements" to "JOSE Implementation Requirements" in the JSON=20
> > > Web Signature and Encryption Algorithms Registry=20
> > > (http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se=
ction-7.1).
> > >  This will make it clearer that the Implementation Requirements=20
> > > apply only to JWS and JWE implementations - and not other uses of=20
> > > JWK (such as WebCrypto).  This changes only non-normative text and=20
> > > is
> > non-breaking.
> > >
> > > 2.  Define the new JWK field "use_details" for recording intended=20
> > > fine-grained key usage information.  This would enable WebCrypto=20
> > > KeyUsage=20
> > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.h
> > > tm
> > > l#key-interface) values to be used directly with JWK.  The=20
> > > proposed definition is:
> > >
> > > 3.3.  "use_details" (Key Use Details) Parameter
> > >    The "use_details" (key use details) member identifies fine-grained
> > >    details the intended use of the key.  Its value is an array of
> > >    key use details values.  Values defined by this specification are:
> > >
> > >    o  "sign" (compute signature or MAC)
> > >    o  "verify" (verify signature or MAC)
> > >    o  "encrypt" (encrypt content)
> > >    o  "decrypt" (decrypt content and verify decryption, if applicable=
)
> > >    o  "wrap" (encrypt key)
> > >    o  "unwrap" (decrypt key and verify decryption, if applicable)
> > >    o  "deriveKey" (derive key)
> > >    o  "deriveBits" (derive bits not to be used as a key)
> > >
> > >    Other values MAY be used.  Key Use Details values can be registere=
d
> > >    in the IANA JSON Web Key Use Details registry defined in=20
> > > Section
> > 7.3.
> > >    The use details values are case-sensitive strings.
> > >    Duplicate use details values MUST NOT be present in the array.
> > >    Use of the "use_details" member is OPTIONAL, unless the applicatio=
n
> > >    requires use this member to record fine-grained key usage details.
> > >    (Note that the "use_details" values intentionally match the=20
> > > "KeyUsage"
> > >    values defined in the WebCrypto [WebCrypto] specification.)
> > >
> > >    If both "use" and "use_details" JWK members are present, the usage=
s
> > >    specified by them MUST be consistent.  In particular, the "use"
> > value
> > >    "sig" corresponds to "sign" and/or "verify".  The "use" value
> > >    "enc" corresponds to all other values defined above.
> > >    If "use_details" values corresponding to both "sig" and "enc"
> > >    "use" values are present, the "use" member SHOULD NOT be present,
> > >    and if present, its value MUST NOT be either "sig" or "enc".
> > >
> > > This is a non-breaking change - allowing simple applications that=20
> > > want to distinguish between signing and encryption operations to=20
> > > continue doing so as they do today, while also providing a=20
> > > multi-valued key usage details field to be used by applications=20
> > > that want to record fine-grained distinctions among potential key=20
> > > usages, including distinguishing between producer and consumer operat=
ions.
> > >
> > > As I see it, while having two related key usage representations=20
> > > isn't ideal, it's far better than having WebCrypto overload "use"
> > > with multi-valued values encoded in strings, such as=20
> > > "signOnly,verifyOnly", which I believe is their current plan of
> > record.
> > >
> > > Comments?
> > >
> > >                                                             --=20
> > > Mike
> > >
> > > P.S.  This proposal was already discussed on the WebCrypto list in=20
> > > the thread=20
> > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
> > > ht ml and no objections were raised there that I'm aware of.
> > >
> > > _______________________________________________
> > > jose mailing list
> > > jose@ietf.org
> > > https://www.ietf.org/mailman/listinfo/jose
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
>
>  _______________________________________________
>  jose mailing list
>  jose@ietf.org
>  https://www.ietf.org/mailman/listinfo/jose
>


From rlb@ipv.sx  Sat Dec 28 15:12:40 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9941B1AE3E0 for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 15:12:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F0GWXVgjGxH2 for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 15:12:35 -0800 (PST)
Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by ietfa.amsl.com (Postfix) with ESMTP id A18F31AE3DF for <jose@ietf.org>; Sat, 28 Dec 2013 15:12:35 -0800 (PST)
Received: by mail-ob0-f176.google.com with SMTP id vb8so10444406obc.7 for <jose@ietf.org>; Sat, 28 Dec 2013 15:12:30 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aSoLl+0F00FXQOhgY67iSCYnO+6cfrwLsI+UJR9GX0s=; b=g7CFUyZNGz7HNvhRhwoJc+TA9bU9WyNuNLrRT1c259MpE9JM36YXd4/0bn8lg/dQ5I CL74ZUv/m069zuNFi05Q0CQL6oCGvx3HX3FqAbbzCAUXf5DyJYx9YG/LPI/7TkC58vN/ u40qtVlnd0hpksJZpL9pRW7DX97nQjUbvxrKCJESgIR4CQZjcYCl/YUjWqKANTRb2og0 sGfQiVTlW3RpGNBxEU1DVo7HwtXif2hJDQ9+f3lPwBYhLl0MVMOttOhNFKuz7vjVhXRm rLHE8ucxXaYK8U8ydWOFqjLWTMrn1oQiVsptR64/fWasRRvBJWghmz/nRTqFfCKhpCJl wbqg==
X-Gm-Message-State: ALoCoQk+MYr1swMOOXyf3fkvzH0044yex3eIhQ2zGguasxZs4GKWgL18G8H9Hokwt4G6tUU+nQBd
MIME-Version: 1.0
X-Received: by 10.60.56.70 with SMTP id y6mr39108171oep.32.1388272350154; Sat, 28 Dec 2013 15:12:30 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Sat, 28 Dec 2013 15:12:30 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com>
Date: Sat, 28 Dec 2013 18:12:30 -0500
Message-ID: <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=001a11c2538048659204eea058e3
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 23:12:40 -0000

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

On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones <Michael.Jones@microsoft.com>wrote:

> It's my sense of the JOSE working group that most are strongly opposed to
> breaking changes at this point.


Please don't claim to represent the WG.  There is a significant contingent
who care about breaking changes, but also a significant group who would
prefer the best, most usable spec we can make, regardless of the sins of
the past.



> However, I also believe that most JOSE participants share the sentiment of
> many WebCrypto participants that it would be better for all for WebCrypto
> to use real JWKs, rather than something "JWK-like".
>

 How about this for a compromise proposal:
-- Leave "use" in for backward compatibility.
-- Define a new field "ku" (Key Usage, or something similar) that has
detailed key usage information.
-- Deprecate "use", recommending that new applications use "ku"; if both
are present, "use" MUST be ignored.
-- Define the expansion of "use" values to "ku" values

That doesn't break backward compatibilty, but makes detailed control the
default going forward.

--Richard

I believe my proposal is the best-available solution, given the current
> realistic constraints.  It might have made better sense for a WebCrypto
> spec to define "use_details" than JOSE, but if WebCrypto isn't going to do
> it, I believe that we'll all be better off in the long run if JOSE then
> does and WebCrypto uses it.
>
>                                 Cheers,
>                                 -- Mike
>
> -----Original Message-----
> From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> Sent: Friday, December 27, 2013 6:46 PM
> To: Mike Jones
> Cc: ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
> On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> >  I disagree that "use" allows multiple uses.  Sign/Verify both use the
> > same  algorithm with the same key - just in a producer/consumer role.
> > There  would only be a security problem if the same key was used with
> > *different*  algorithms.
> >
> >  For symmetric keys, Sign/Verify operations are actually the same, so
> > in  that case, this is a distinction without a difference.
> >
> >  You may consider the producer/consumer distinction to be multiple
> > uses,  but only in an academic sense.  You have to perform both with
> > the same key  pair or symmetric key for the end-to-end cryptography to
> be meaningful.
> >  Doing one without the other is incomplete.  (What good is signing if
> > the  signature is never verified?)
>
> Hi Mike,
>
> I don't think it's fair to compare them as the same, and it's very much a
> practical, and not an academic case.
>
> In a Sign() operation, the input is arbitrary plaintext and the output is
> a signature corresponding to that plaintext; an oracle, if you will - as
> you would want.
>
> In an API (although not necessarily in JWE/JWS, and understandably so), a
> Verify() operation permits arbitrary plaintext as the input, but also
> requires the signature to be verified. The only output is a boolean -
> whether or not the signature is correct.
>
> The goal of "restricting" the uses here would be to allow key storage not
> necessarily under the control of the caller. In WebCrypto, this is the
> distinction between the executing JS (served by the web page) and the UA
> implementation. It's a concept borrowed from any number of other good
> cryptographic APIs (eg: those that are designed with the notion of opaque
> key storage)
>
> With a symmetric key only permitted for a "Verify" operation, the only way
> to generate a signature for an arbitrary message is
> a) Compromise the key storage
> b) Iterate through all possible signature combinations until you get
> "true" as the Verify() result.
>
> b) may be aided by any number of implementation issues (eg: non-constant
> time comparisons, among others), but is ultimately "tricky". a) is
> dependent on implementations, and can be aided or harmed through a variety
> of means.
>
> Combining these two usages into a single use case - which, I agree, is
> probably perfectly acceptable if imagining as a transport-only exchange -
> can thus have real and meaningful differences when used at an API level.
>
> >
> >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
> > distinctions, but also only use a single key with a single algorithm -
> > therefore no security problem.
> >
> >  ====
> >
> >  For what it's worth, I think the different key use representation
> > choices  stems from JOSE being a high-level API that tries to make
> > simple things  simple and WebCrypto being a low-level API that tries to
> be complete.
> >  Both are valid and useful.  These differences show up in lots of
> > places  besides just key usage representations.
>
> Absolutely agree here. This is why WebCrypto explored whether we should do
> something "JWK-like", but suitable at an API layer and for it's goals, and
> "trivially" convertable with JWK - but by script authors. The WebCrypto WG
> wasn't fond of it, which is understandable, and why I'm here.
>
> >
> >  Anyway, the purpose of my proposal is to try to make things easier
> > for  WebCrypto.  I hope people will get behind it.  Yes, having both
> > simple and  detailed key usage representations seems odd at first.
> > But they're  designed to address different goals for different kinds of
> applications.
> >  The alternatives (such as "signOnly,verifyOnly", etc.) that are
> > currently  being considered are much worse.
> >
> >                               -- Mike
>
> I agree that changing to an array will almost certainly break every
> implementation to date.
>
> I agree that comma-separated is horribad and should be avoided, even if it
> "solves" the backwards compat issue.
>
> I think your solution is a reasonable attempt to mediate the issues of
> backwards compatibility with the use cases of WebCrypto. However, I'm still
> on the fence as to whether or not it really is unreasonable to "break"
> backwards compatibility here - there seems to be a compelling case here as
> to why even something like ["sign", "verify"] should be distinct usages. I
> know the bar is incredibly high right now, given JOSE's momentum, but I
> didn't think that JOSE was past the point of no return.
>
> >
> >  -----Original Message-----
> >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> >  Sent: Friday, December 27, 2013 2:13 PM
> >  To: John Bradley
> >  Cc: Mike Jones; jose@ietf.org
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> > coordinate with WebCrypto
> >
> >  I'm sorry, John, but by your logic, JOSE is not following your own
> advice.
> >
> >  "enc" is already a multiple-use for a key - it allows for both
> > encryption  and decryption. For that matter, wrap and unwrap, which
> > are supposed to be  inferred based on algorithm, which is a JWE/JWS
> > specific aspect, and not  an intrinsic aspect of
> JWK-as-key-representation.
> >
> >  Likewise, "sig" implies sign AND verify, which is meant to be
> > unambiguous,  because the assumption is always that you sign with a
> > private key and  verify with a public key, but as a conceptual
> > framework breaks down for  schemes like HMAC, which ostensibly have
> > sign and verify (or MAC and  verify, if you prefer, but we're splitting
> hairs here).
> >
> >  WebCrypto desires to be *more* precise than JOSE's imprecise and
> > overly  broad, implicitly multi-use syntax. That "enc" means four
> > possible uses,  or that "sig" means two , is a clear sign that JOSE is
> > already actively  encouraging multiple uses for the same key.
> >
> >  Mike's proposal is basically an admission that the ship has sailed on
> > this  implicit, multi-valued usage semantic - which, I can understand
> > and  sympathize with, in the name of backwards compatibility for an
> > in-draft  spec, but let's recognize that as spec'd today, JOSE is
> > preferring and  encouraging multiple uses for the same key in ways
> > that will  unquestionably encourage people to make bad mistakes (such
> > as multiple  parties using the same encryption key for traffic in
> > either direction -  requiring some degree of IV sync)
> >
> >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> > >  Having it be an array encourages multiple uses for the same key.  I
> > > have  stated many times that encouraging people to do that is not a
> > > good idea,  and making it easy makes people think it is a good idea.
> > >
> > >  You can use the single value field and have multiple entries with
> > > different key containing the same or different keys to do the same
> > > thing.
> > >
> > >  On the practical side "use_details" is better than creating crazy
> > > dot separated como uses.
> > >
> > >  John B.
> > >
> > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> > > <Michael.Jones@microsoft.com>
> > >  wrote:
> > >
> > > > Hi all,
> > > >
> > > > Having reflected upon discussions among WebCrypto and JOSE
> > > > participants about JWK usage by WebCrypto over the holidays, I'd
> > > > like to propose the two JOSE spec actions to more closely
> > > > coordinate
> > > with WebCrypto:
> > > >
> > > > 1.  Change the JWA registry field name from "Implementation
> > > > Requirements" to "JOSE Implementation Requirements" in the JSON
> > > > Web Signature and Encryption Algorithms Registry
> > > > (
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.1
> ).
> > > >  This will make it clearer that the Implementation Requirements
> > > > apply only to JWS and JWE implementations - and not other uses of
> > > > JWK (such as WebCrypto).  This changes only non-normative text and
> > > > is
> > > non-breaking.
> > > >
> > > > 2.  Define the new JWK field "use_details" for recording intended
> > > > fine-grained key usage information.  This would enable WebCrypto
> > > > KeyUsage
> > > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.h
> > > > tm
> > > > l#key-interface) values to be used directly with JWK.  The
> > > > proposed definition is:
> > > >
> > > > 3.3.  "use_details" (Key Use Details) Parameter
> > > >    The "use_details" (key use details) member identifies fine-grained
> > > >    details the intended use of the key.  Its value is an array of
> > > >    key use details values.  Values defined by this specification are:
> > > >
> > > >    o  "sign" (compute signature or MAC)
> > > >    o  "verify" (verify signature or MAC)
> > > >    o  "encrypt" (encrypt content)
> > > >    o  "decrypt" (decrypt content and verify decryption, if
> applicable)
> > > >    o  "wrap" (encrypt key)
> > > >    o  "unwrap" (decrypt key and verify decryption, if applicable)
> > > >    o  "deriveKey" (derive key)
> > > >    o  "deriveBits" (derive bits not to be used as a key)
> > > >
> > > >    Other values MAY be used.  Key Use Details values can be
> registered
> > > >    in the IANA JSON Web Key Use Details registry defined in
> > > > Section
> > > 7.3.
> > > >    The use details values are case-sensitive strings.
> > > >    Duplicate use details values MUST NOT be present in the array.
> > > >    Use of the "use_details" member is OPTIONAL, unless the
> application
> > > >    requires use this member to record fine-grained key usage details.
> > > >    (Note that the "use_details" values intentionally match the
> > > > "KeyUsage"
> > > >    values defined in the WebCrypto [WebCrypto] specification.)
> > > >
> > > >    If both "use" and "use_details" JWK members are present, the
> usages
> > > >    specified by them MUST be consistent.  In particular, the "use"
> > > value
> > > >    "sig" corresponds to "sign" and/or "verify".  The "use" value
> > > >    "enc" corresponds to all other values defined above.
> > > >    If "use_details" values corresponding to both "sig" and "enc"
> > > >    "use" values are present, the "use" member SHOULD NOT be present,
> > > >    and if present, its value MUST NOT be either "sig" or "enc".
> > > >
> > > > This is a non-breaking change - allowing simple applications that
> > > > want to distinguish between signing and encryption operations to
> > > > continue doing so as they do today, while also providing a
> > > > multi-valued key usage details field to be used by applications
> > > > that want to record fine-grained distinctions among potential key
> > > > usages, including distinguishing between producer and consumer
> operations.
> > > >
> > > > As I see it, while having two related key usage representations
> > > > isn't ideal, it's far better than having WebCrypto overload "use"
> > > > with multi-valued values encoded in strings, such as
> > > > "signOnly,verifyOnly", which I believe is their current plan of
> > > record.
> > > >
> > > > Comments?
> > > >
> > > >                                                             --
> > > > Mike
> > > >
> > > > P.S.  This proposal was already discussed on the WebCrypto list in
> > > > the thread
> > > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
> > > > ht ml and no objections were raised there that I'm aware of.
> > > >
> > > > _______________________________________________
> > > > jose mailing list
> > > > jose@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > >  _______________________________________________
> > >  jose mailing list
> > >  jose@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> >
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr">On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones <span dir=3D"=
ltr">&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">M=
ichael.Jones@microsoft.com</a>&gt;</span> wrote:<br><div class=3D"gmail_ext=
ra"><div class=3D"gmail_quote">
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">It&#39;s my sense of the =
JOSE working group that most are strongly opposed to breaking changes at th=
is point. =A0</blockquote>
<div><br></div><div>Please don&#39;t claim to represent the WG.=A0 There is=
 a significant contingent who care about breaking changes, but also a signi=
ficant group who would prefer the best, most usable spec we can make, regar=
dless of the sins of the past.<br>
<br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">H=
owever, I also believe that most JOSE participants share the sentiment of m=
any WebCrypto participants that it would be better for all for WebCrypto to=
 use real JWKs, rather than something &quot;JWK-like&quot;.<br>
</blockquote><br><div>=A0How about this for a compromise proposal:<br></div=
><div>-- Leave &quot;use&quot; in for backward compatibility.<br></div><div=
>-- Define a new field &quot;ku&quot; (Key Usage, or something similar) tha=
t has detailed key usage information.<br>
</div><div>-- Deprecate &quot;use&quot;, recommending that new applications=
 use &quot;ku&quot;; if both are present, &quot;use&quot; MUST be ignored.<=
br></div><div>-- Define the expansion of &quot;use&quot; values to &quot;ku=
&quot; values<br>
<br></div><div>That doesn&#39;t break backward compatibilty, but makes deta=
iled control the default going forward.<br></div><div><br></div><div>--Rich=
ard<br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x">

I believe my proposal is the best-available solution, given the current rea=
listic constraints. =A0It might have made better sense for a WebCrypto spec=
 to define &quot;use_details&quot; than JOSE, but if WebCrypto isn&#39;t go=
ing to do it, I believe that we&#39;ll all be better off in the long run if=
 JOSE then does and WebCrypto uses it.<br>

<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Cheers,<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Mike<br>
<div class=3D"im"><br>
-----Original Message-----<br>
From: Ryan Sleevi [mailto:<a href=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf=
@sleevi.com</a>]<br>
</div><div class=3D"im">Sent: Friday, December 27, 2013 6:46 PM<br>
To: Mike Jones<br>
</div><div><div class=3D"h5">Cc: <a href=3D"mailto:ryan-ietf@sleevi.com">ry=
an-ietf@sleevi.com</a>; John Bradley; <a href=3D"mailto:jose@ietf.org">jose=
@ietf.org</a><br>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto<br>
<br>
On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br>
&gt; =A0I disagree that &quot;use&quot; allows multiple uses. =A0Sign/Verif=
y both use the<br>
&gt; same =A0algorithm with the same key - just in a producer/consumer role=
.<br>
&gt; There =A0would only be a security problem if the same key was used wit=
h<br>
&gt; *different* =A0algorithms.<br>
&gt;<br>
&gt; =A0For symmetric keys, Sign/Verify operations are actually the same, s=
o<br>
&gt; in =A0that case, this is a distinction without a difference.<br>
&gt;<br>
&gt; =A0You may consider the producer/consumer distinction to be multiple<b=
r>
&gt; uses, =A0but only in an academic sense. =A0You have to perform both wi=
th<br>
&gt; the same key =A0pair or symmetric key for the end-to-end cryptography =
to be meaningful.<br>
&gt; =A0Doing one without the other is incomplete. =A0(What good is signing=
 if<br>
&gt; the =A0signature is never verified?)<br>
<br>
Hi Mike,<br>
<br>
I don&#39;t think it&#39;s fair to compare them as the same, and it&#39;s v=
ery much a practical, and not an academic case.<br>
<br>
In a Sign() operation, the input is arbitrary plaintext and the output is a=
 signature corresponding to that plaintext; an oracle, if you will - as you=
 would want.<br>
<br>
In an API (although not necessarily in JWE/JWS, and understandably so), a<b=
r>
Verify() operation permits arbitrary plaintext as the input, but also requi=
res the signature to be verified. The only output is a boolean - whether or=
 not the signature is correct.<br>
<br>
The goal of &quot;restricting&quot; the uses here would be to allow key sto=
rage not necessarily under the control of the caller. In WebCrypto, this is=
 the distinction between the executing JS (served by the web page) and the =
UA implementation. It&#39;s a concept borrowed from any number of other goo=
d cryptographic APIs (eg: those that are designed with the notion of opaque=
 key storage)<br>

<br>
With a symmetric key only permitted for a &quot;Verify&quot; operation, the=
 only way to generate a signature for an arbitrary message is<br>
a) Compromise the key storage<br>
b) Iterate through all possible signature combinations until you get &quot;=
true&quot; as the Verify() result.<br>
<br>
b) may be aided by any number of implementation issues (eg: non-constant ti=
me comparisons, among others), but is ultimately &quot;tricky&quot;. a) is =
dependent on implementations, and can be aided or harmed through a variety =
of means.<br>

<br>
Combining these two usages into a single use case - which, I agree, is prob=
ably perfectly acceptable if imagining as a transport-only exchange - can t=
hus have real and meaningful differences when used at an API level.<br>

<br>
&gt;<br>
&gt; =A0Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer<br=
>
&gt; distinctions, but also only use a single key with a single algorithm -=
<br>
&gt; therefore no security problem.<br>
&gt;<br>
&gt; =A0=3D=3D=3D=3D<br>
&gt;<br>
&gt; =A0For what it&#39;s worth, I think the different key use representati=
on<br>
&gt; choices =A0stems from JOSE being a high-level API that tries to make<b=
r>
&gt; simple things =A0simple and WebCrypto being a low-level API that tries=
 to be complete.<br>
&gt; =A0Both are valid and useful. =A0These differences show up in lots of<=
br>
&gt; places =A0besides just key usage representations.<br>
<br>
Absolutely agree here. This is why WebCrypto explored whether we should do =
something &quot;JWK-like&quot;, but suitable at an API layer and for it&#39=
;s goals, and &quot;trivially&quot; convertable with JWK - but by script au=
thors. The WebCrypto WG wasn&#39;t fond of it, which is understandable, and=
 why I&#39;m here.<br>

<br>
&gt;<br>
&gt; =A0Anyway, the purpose of my proposal is to try to make things easier<=
br>
&gt; for =A0WebCrypto. =A0I hope people will get behind it. =A0Yes, having =
both<br>
&gt; simple and =A0detailed key usage representations seems odd at first.<b=
r>
&gt; But they&#39;re =A0designed to address different goals for different k=
inds of applications.<br>
&gt; =A0The alternatives (such as &quot;signOnly,verifyOnly&quot;, etc.) th=
at are<br>
&gt; currently =A0being considered are much worse.<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Mike<br=
>
<br>
I agree that changing to an array will almost certainly break every impleme=
ntation to date.<br>
<br>
I agree that comma-separated is horribad and should be avoided, even if it =
&quot;solves&quot; the backwards compat issue.<br>
<br>
I think your solution is a reasonable attempt to mediate the issues of back=
wards compatibility with the use cases of WebCrypto. However, I&#39;m still=
 on the fence as to whether or not it really is unreasonable to &quot;break=
&quot; backwards compatibility here - there seems to be a compelling case h=
ere as to why even something like [&quot;sign&quot;, &quot;verify&quot;] sh=
ould be distinct usages. I know the bar is incredibly high right now, given=
 JOSE&#39;s momentum, but I didn&#39;t think that JOSE was past the point o=
f no return.<br>

<br>
&gt;<br>
&gt; =A0-----Original Message-----<br>
&gt; =A0From: Ryan Sleevi [mailto:<a href=3D"mailto:ryan-ietf@sleevi.com">r=
yan-ietf@sleevi.com</a>]<br>
&gt; =A0Sent: Friday, December 27, 2013 2:13 PM<br>
&gt; =A0To: John Bradley<br>
&gt; =A0Cc: Mike Jones; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><=
br>
&gt; =A0Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>
&gt; coordinate with WebCrypto<br>
&gt;<br>
&gt; =A0I&#39;m sorry, John, but by your logic, JOSE is not following your =
own advice.<br>
&gt;<br>
&gt; =A0&quot;enc&quot; is already a multiple-use for a key - it allows for=
 both<br>
&gt; encryption =A0and decryption. For that matter, wrap and unwrap, which<=
br>
&gt; are supposed to be =A0inferred based on algorithm, which is a JWE/JWS<=
br>
&gt; specific aspect, and not =A0an intrinsic aspect of JWK-as-key-represen=
tation.<br>
&gt;<br>
&gt; =A0Likewise, &quot;sig&quot; implies sign AND verify, which is meant t=
o be<br>
&gt; unambiguous, =A0because the assumption is always that you sign with a<=
br>
&gt; private key and =A0verify with a public key, but as a conceptual<br>
&gt; framework breaks down for =A0schemes like HMAC, which ostensibly have<=
br>
&gt; sign and verify (or MAC and =A0verify, if you prefer, but we&#39;re sp=
litting hairs here).<br>
&gt;<br>
&gt; =A0WebCrypto desires to be *more* precise than JOSE&#39;s imprecise an=
d<br>
&gt; overly =A0broad, implicitly multi-use syntax. That &quot;enc&quot; mea=
ns four<br>
&gt; possible uses, =A0or that &quot;sig&quot; means two , is a clear sign =
that JOSE is<br>
&gt; already actively =A0encouraging multiple uses for the same key.<br>
&gt;<br>
&gt; =A0Mike&#39;s proposal is basically an admission that the ship has sai=
led on<br>
&gt; this =A0implicit, multi-valued usage semantic - which, I can understan=
d<br>
&gt; and =A0sympathize with, in the name of backwards compatibility for an<=
br>
&gt; in-draft =A0spec, but let&#39;s recognize that as spec&#39;d today, JO=
SE is<br>
&gt; preferring and =A0encouraging multiple uses for the same key in ways<b=
r>
&gt; that will =A0unquestionably encourage people to make bad mistakes (suc=
h<br>
&gt; as multiple =A0parties using the same encryption key for traffic in<br=
>
&gt; either direction - =A0requiring some degree of IV sync)<br>
&gt;<br>
&gt; =A0On Tue, December 24, 2013 4:27 pm, John Bradley wrote:<br>
&gt; &gt; =A0Having it be an array encourages multiple uses for the same ke=
y. =A0I<br>
&gt; &gt; have =A0stated many times that encouraging people to do that is n=
ot a<br>
&gt; &gt; good idea, =A0and making it easy makes people think it is a good =
idea.<br>
&gt; &gt;<br>
&gt; &gt; =A0You can use the single value field and have multiple entries w=
ith<br>
&gt; &gt; different key containing the same or different keys to do the sam=
e<br>
&gt; &gt; thing.<br>
&gt; &gt;<br>
&gt; &gt; =A0On the practical side &quot;use_details&quot; is better than c=
reating crazy<br>
&gt; &gt; dot separated como uses.<br>
&gt; &gt;<br>
&gt; &gt; =A0John B.<br>
&gt; &gt;<br>
&gt; &gt; =A0On Dec 24, 2013, at 8:26 PM, Mike Jones<br>
&gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@=
microsoft.com</a>&gt;<br>
&gt; &gt; =A0wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi all,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Having reflected upon discussions among WebCrypto and JOSE<b=
r>
&gt; &gt; &gt; participants about JWK usage by WebCrypto over the holidays,=
 I&#39;d<br>
&gt; &gt; &gt; like to propose the two JOSE spec actions to more closely<br=
>
&gt; &gt; &gt; coordinate<br>
&gt; &gt; with WebCrypto:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 1. =A0Change the JWA registry field name from &quot;Implemen=
tation<br>
&gt; &gt; &gt; Requirements&quot; to &quot;JOSE Implementation Requirements=
&quot; in the JSON<br>
&gt; &gt; &gt; Web Signature and Encryption Algorithms Registry<br>
&gt; &gt; &gt; (<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-=
web-algorithms-18#section-7.1" target=3D"_blank">http://tools.ietf.org/html=
/draft-ietf-jose-json-web-algorithms-18#section-7.1</a>).<br>
&gt; &gt; &gt; =A0This will make it clearer that the Implementation Require=
ments<br>
&gt; &gt; &gt; apply only to JWS and JWE implementations - and not other us=
es of<br>
&gt; &gt; &gt; JWK (such as WebCrypto). =A0This changes only non-normative =
text and<br>
&gt; &gt; &gt; is<br>
&gt; &gt; non-breaking.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 2. =A0Define the new JWK field &quot;use_details&quot; for r=
ecording intended<br>
&gt; &gt; &gt; fine-grained key usage information. =A0This would enable Web=
Crypto<br>
&gt; &gt; &gt; KeyUsage<br>
&gt; &gt; &gt; (<a href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/ti=
p/spec/Overview.h" target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-api/r=
aw-file/tip/spec/Overview.h</a><br>
&gt; &gt; &gt; tm<br>
&gt; &gt; &gt; l#key-interface) values to be used directly with JWK. =A0The=
<br>
&gt; &gt; &gt; proposed definition is:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 3.3. =A0&quot;use_details&quot; (Key Use Details) Parameter<=
br>
&gt; &gt; &gt; =A0 =A0The &quot;use_details&quot; (key use details) member =
identifies fine-grained<br>
&gt; &gt; &gt; =A0 =A0details the intended use of the key. =A0Its value is =
an array of<br>
&gt; &gt; &gt; =A0 =A0key use details values. =A0Values defined by this spe=
cification are:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;sign&quot; (compute signature or MAC)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;verify&quot; (verify signature or MAC)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;encrypt&quot; (encrypt content)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;decrypt&quot; (decrypt content and verify =
decryption, if applicable)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;wrap&quot; (encrypt key)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;unwrap&quot; (decrypt key and verify decry=
ption, if applicable)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;deriveKey&quot; (derive key)<br>
&gt; &gt; &gt; =A0 =A0o =A0&quot;deriveBits&quot; (derive bits not to be us=
ed as a key)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =A0 =A0Other values MAY be used. =A0Key Use Details values c=
an be registered<br>
&gt; &gt; &gt; =A0 =A0in the IANA JSON Web Key Use Details registry defined=
 in<br>
&gt; &gt; &gt; Section<br>
&gt; &gt; 7.3.<br>
&gt; &gt; &gt; =A0 =A0The use details values are case-sensitive strings.<br=
>
&gt; &gt; &gt; =A0 =A0Duplicate use details values MUST NOT be present in t=
he array.<br>
&gt; &gt; &gt; =A0 =A0Use of the &quot;use_details&quot; member is OPTIONAL=
, unless the application<br>
&gt; &gt; &gt; =A0 =A0requires use this member to record fine-grained key u=
sage details.<br>
&gt; &gt; &gt; =A0 =A0(Note that the &quot;use_details&quot; values intenti=
onally match the<br>
&gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt; &gt; &gt; =A0 =A0values defined in the WebCrypto [WebCrypto] specifica=
tion.)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =A0 =A0If both &quot;use&quot; and &quot;use_details&quot; J=
WK members are present, the usages<br>
&gt; &gt; &gt; =A0 =A0specified by them MUST be consistent. =A0In particula=
r, the &quot;use&quot;<br>
&gt; &gt; value<br>
&gt; &gt; &gt; =A0 =A0&quot;sig&quot; corresponds to &quot;sign&quot; and/o=
r &quot;verify&quot;. =A0The &quot;use&quot; value<br>
&gt; &gt; &gt; =A0 =A0&quot;enc&quot; corresponds to all other values defin=
ed above.<br>
&gt; &gt; &gt; =A0 =A0If &quot;use_details&quot; values corresponding to bo=
th &quot;sig&quot; and &quot;enc&quot;<br>
&gt; &gt; &gt; =A0 =A0&quot;use&quot; values are present, the &quot;use&quo=
t; member SHOULD NOT be present,<br>
&gt; &gt; &gt; =A0 =A0and if present, its value MUST NOT be either &quot;si=
g&quot; or &quot;enc&quot;.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; This is a non-breaking change - allowing simple applications=
 that<br>
&gt; &gt; &gt; want to distinguish between signing and encryption operation=
s to<br>
&gt; &gt; &gt; continue doing so as they do today, while also providing a<b=
r>
&gt; &gt; &gt; multi-valued key usage details field to be used by applicati=
ons<br>
&gt; &gt; &gt; that want to record fine-grained distinctions among potentia=
l key<br>
&gt; &gt; &gt; usages, including distinguishing between producer and consum=
er operations.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; As I see it, while having two related key usage representati=
ons<br>
&gt; &gt; &gt; isn&#39;t ideal, it&#39;s far better than having WebCrypto o=
verload &quot;use&quot;<br>
&gt; &gt; &gt; with multi-valued values encoded in strings, such as<br>
&gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I believe is their cu=
rrent plan of<br>
&gt; &gt; record.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Comments?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 --<br>
&gt; &gt; &gt; Mike<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; P.S. =A0This proposal was already discussed on the WebCrypto=
 list in<br>
&gt; &gt; &gt; the thread<br>
&gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/Public/public-webcry=
pto/2013Dec/0052" target=3D"_blank">http://lists.w3.org/Archives/Public/pub=
lic-webcrypto/2013Dec/0052</a>.<br>
</div></div>&gt; &gt; &gt; ht ml and no objections were raised there that I=
&#39;m aware of.<br>
<div class=3D""><div class=3D"h5">&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; jose mailing list<br>
&gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt; &gt; =A0_______________________________________________<br>
&gt; &gt; =A0jose mailing list<br>
&gt; &gt; =A0<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; &gt; =A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; =A0_______________________________________________<br>
&gt; =A0jose mailing list<br>
&gt; =A0<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; =A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_b=
lank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div></div>

--001a11c2538048659204eea058e3--

From rlb@ipv.sx  Sat Dec 28 15:16:06 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E44DB1AE3DF for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 15:16:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJmtN4XtUJSk for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 15:16:04 -0800 (PST)
Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by ietfa.amsl.com (Postfix) with ESMTP id 015A51AE3E6 for <jose@ietf.org>; Sat, 28 Dec 2013 15:16:03 -0800 (PST)
Received: by mail-ob0-f182.google.com with SMTP id wp4so10654296obc.27 for <jose@ietf.org>; Sat, 28 Dec 2013 15:15:58 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=LVfvweWaujARSXY03BiJQpbJfreZnvGUSwqC2yR6pdA=; b=iE/kBiGT3t+K9d6hzkmoBck5ho+ikFMpDds4jdLX0l66hPyA6CQOE2J0AM5Moh2ZJP D0/6JD64X2gT9mfM+H3k+Ge6wSjsRBK8n/++DnOgOT+KAFVmOyo46ACtHYBohFqRDnZr NIFFuSdcTW0JEpAZNUbOEGkMO788GzVfOycQMIJRsCAbDTxd9jZsuuVBQ+D/4LkYhEby 0R2bpKEToPinsHd/hM+PtkjUOLJFtWFWpNRnAm82ixBVwE+8RdOax4OR62c0+RC7GuZj sheC3y3WsKa7obfhfLnH3pDKgXFHHoZy8VFSvAnYzVu4Nco6iN9RL8rEd6drsxWVf8+L o19Q==
X-Gm-Message-State: ALoCoQleCRAPZeGCYAT1t21QKbo048LQ2GPgI0VQuy3na+qtXiV7Y1WKnnUtRHk9Ytn8dTDenNAv
MIME-Version: 1.0
X-Received: by 10.60.63.235 with SMTP id j11mr10980478oes.61.1388272558568; Sat, 28 Dec 2013 15:15:58 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Sat, 28 Dec 2013 15:15:58 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD6993B@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <20131227192151.425.70057.idtracker@ietfa.amsl.com> <CAL02cgSNmKuB-heAE1xvSHHwgGiT7e4z8z2vNPmPUrh=wfKK2Q@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD6993B@TK5EX14MBXC287.redmond.corp.microsoft.com>
Date: Sat, 28 Dec 2013 18:15:58 -0500
Message-ID: <CAL02cgTquafgZ3tYBMSgODvF+hNXJfCtnZfjYk6f4gc2XATNLQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>, Sean Turner <turners@ieca.com>
Content-Type: multipart/alternative; boundary=001a11c24dbcb5596504eea06453
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 23:16:07 -0000

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

Shoot, I thought I had fixed the ordering issue in -06.

Sean: Can we just handle both of these in an RFC Editor note?



On Fri, Dec 27, 2013 at 8:46 PM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

>  Hi Richard,
>
>
>
> I=92d like to raise two issues with the current draft that I believe shou=
ld
> be addressed in a quick -07 draft.
>
>
>
> First, the three lists in Section 2 (
> http://tools.ietf.org/html/draft-ietf-jose-use-cases-06#section-2) that
> should have parallel orders do not, which is unnecessarily confusing.  I
> believe that they should all be in the order:
>
>
>
>                1.  Integrity-protected object format
>
>                2.  Confidentiality-protected object format
>
>                3.  A format for expressing keys
>
>
>
> The second parallel list should be in the order:
>
>                =93signed object format=94
>
>                =93encrypted object format=94
>
>                =93key format=94
>
>
>
> The third parallel list should be in the order:
>
>                JWS
>
>                JWE
>
>                JWK
>
>
>
> To fix this, you=92ll need to reverse the current order of the first two
> items in the first two lists.  (The third list is already in the correct
> order.)
>
>
>
> Second, I=92d sent you a private note a few months ago asking you to upda=
te
> the OpenID Connect reference, since the OpenID.Messages spec has been
> replaced with OpenID.Core.  You=92d agreed to do this, but it didn=92t ha=
ppen.
> Please replace the OpenID.Messages reference with this:
>
>
>
>       <reference anchor=3D"OpenID.Core">
>
>         <front>
>
>           <title>OpenID Connect Core 1.0</title>
>
>
>
>           <author fullname=3D"Nat Sakimura" initials=3D"N." surname=3D"Sa=
kimura">
>
>             <organization abbrev=3D"NRI">Nomura Research Institute,
> Ltd.</organization>
>
>           </author>
>
>
>
>           <author fullname=3D"John Bradley" initials=3D"J." surname=3D"Br=
adley">
>
>             <organization abbrev=3D"Ping Identity">Ping
> Identity</organization>
>
>           </author>
>
>
>
>           <author fullname=3D"Michael B. Jones" initials=3D"M.B."
> surname=3D"Jones">
>
>             <organization abbrev=3D"Microsoft">Microsoft</organization>
>
>           </author>
>
>
>
>           <author fullname=3D"Breno de Medeiros" initials=3D"B." surname=
=3D"de
> Medeiros">
>
>             <organization abbrev=3D"Google">Google</organization>
>
>           </author>
>
>
>
>                  <author fullname=3D"Chuck Mortimore" initials=3D"C."
> surname=3D"Mortimore">
>
>                    <organization
> abbrev=3D"Salesforce">Salesforce</organization>
>
>                  </author>
>
>
>
>           <date day=3D"18" month=3D"December" year=3D"2013"/>
>
>         </front>
>
>
>
>                <format target=3D"
> http://openid.net/specs/openid-connect-core-1_0.html"
>
>                 type=3D"HTML" />
>
>       </reference>
>
>
>
>                                                             Thank you,
>
>                                                             -- Mike
>
>
>
> *From:* jose [mailto:jose-bounces@ietf.org] *On Behalf Of *Richard Barnes
> *Sent:* Friday, December 27, 2013 11:23 AM
> *To:* jose@ietf.org
> *Subject:* Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
>
>
>
> This is a very minor update to address some wording changes suggested by
> the IESG.
>
> --Richard
>
>
>
> On Fri, Dec 27, 2013 at 2:21 PM, <internet-drafts@ietf.org> wrote:
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the Javascript Object Signing and Encryptio=
n
> Working Group of the IETF.
>
>         Title           : Use Cases and Requirements for JSON Object
> Signing and Encryption (JOSE)
>         Author          : Richard Barnes
>         Filename        : draft-ietf-jose-use-cases-06.txt
>         Pages           : 26
>         Date            : 2013-12-27
>
> Abstract:
>    Many Internet applications have a need for object-based security
>    mechanisms in addition to security mechanisms at the network layer or
>    transport layer.  For many years, the Cryptographic Message Syntax
>    (CMS) has provided a binary secure object format based on ASN.1.
>    Over time, binary object encodings such as ASN.1 have become less
>    common than text-based encodings, for example JavaScript Object
>    Notation.  This document defines a set of use cases and requirements
>    for a secure object format encoded using JavaScript Object Notation
>    (JSON), drawn from a variety of application security mechanisms
>    currently in development.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-jose-use-cases-06
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>
>
>

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

<div dir=3D"ltr"><div>Shoot, I thought I had fixed the ordering issue in -0=
6.<br><br></div>Sean: Can we just handle both of these in an RFC Editor not=
e?<br><div><br></div></div><div class=3D"gmail_extra"><br><br><div class=3D=
"gmail_quote">
On Fri, Dec 27, 2013 at 8:46 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Richard,<u></u><u></u>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I=92d like to raise two i=
ssues with the current draft that I believe should be addressed in a quick =
-07 draft.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">First, the three lists in=
 Section 2 (<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-use-cases=
-06#section-2" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose=
-use-cases-06#section-2</a>) that should have parallel orders do not, which=
 is unnecessarily
 confusing.=A0 I believe that they should all be in the order:<u></u><u></u=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 1.=A0 Integrity-protected object format<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 2.=A0 Confidentiality-protected object format<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 3.=A0 A format for expressing keys<u></u><u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">The second parallel list =
should be in the order:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 =93signed object format=94<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 =93encrypted object format=94<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 =93key format=94<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">The third parallel list s=
hould be in the order:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 JWS<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 JWE<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 JWK<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">To fix this, you=92ll nee=
d to reverse the current order of the first two items in the first two list=
s.=A0 (The third list is already in the correct order.)<u></u><u></u></span=
></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Second, I=92d sent you a =
private note a few months ago asking you to update the OpenID Connect refer=
ence, since the OpenID.Messages spec has been replaced with
 OpenID.Core.=A0 You=92d agreed to do this, but it didn=92t happen.=A0 Plea=
se replace the OpenID.Messages reference with this:<u></u><u></u></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0 &lt;refer=
ence anchor=3D&quot;OpenID.Core&quot;&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0 &lt=
;front&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;title&gt;OpenID Connect Core 1.0&lt;/title&gt;<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;author fullname=3D&quot;Nat Sakimura&quot; initials=3D&quot;N.&quot=
; surname=3D&quot;Sakimura&quot;&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 &lt;organization abbrev=3D&quot;NRI&quot;&gt;Nomura Research Inst=
itute, Ltd.&lt;/organization&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;author fullname=3D&quot;John Bradley&quot; initials=3D&quot;J.&quot=
; surname=3D&quot;Bradley&quot;&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 &lt;organization abbrev=3D&quot;Ping Identity&quot;&gt;Ping Ident=
ity&lt;/organization&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;author fullname=3D&quot;Michael B. Jones&quot; initials=3D&quot;M.B=
.&quot; surname=3D&quot;Jones&quot;&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 &lt;organization abbrev=3D&quot;Microsoft&quot;&gt;Microsoft&lt;/=
organization&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0 =A0=
=A0&lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;author fullname=3D&quot;Breno de Medeiros&quot; initials=3D&quot;B.=
&quot; surname=3D&quot;de Medeiros&quot;&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 &lt;organization abbrev=3D&quot;Google&quot;&gt;Google&lt;/organi=
zation&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 =A0 &lt;author fullname=3D&quot;Chuck Mortimore&quot; in=
itials=3D&quot;C.&quot; surname=3D&quot;Mortimore&quot;&gt;<u></u><u></u></=
span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 =A0=A0=A0 &lt;organization abbrev=3D&quot;Salesforce&quo=
t;&gt;Salesforce&lt;/organization&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 =A0 &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;date day=3D&quot;18&quot; month=3D&quot;December&quot; year=3D&quot=
;2013&quot;/&gt;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0 &lt=
;/front&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 &lt;format target=3D&quot;<a href=3D"http://openid.net/s=
pecs/openid-connect-core-1_0.html" target=3D"_blank">http://openid.net/spec=
s/openid-connect-core-1_0.html</a>&quot;<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 type=3D&quot;HTML&quot; /&gt;<u></u><u></u></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0 =A0=A0=A0=A0&lt;/refe=
rence&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 Thank you,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 -- Mike<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [ma=
ilto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-bounce=
s@ietf.org</a>]
<b>On Behalf Of </b>Richard Barnes<br>
<b>Sent:</b> Friday, December 27, 2013 11:23 AM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt<u><=
/u><u></u></span></p><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal">This is a very minor update to address some wording =
changes suggested by the IESG.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">--Richard<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal">On Fri, Dec 27, 2013 at 2:21 PM, &lt;<a href=3D"mail=
to:internet-drafts@ietf.org" target=3D"_blank">internet-drafts@ietf.org</a>=
&gt; wrote:<u></u><u></u></p>
<p class=3D"MsoNormal"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
=A0This draft is a work item of the Javascript Object Signing and Encryptio=
n Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : Use Cases and Requirements for =
JSON Object Signing and Encryption (JOSE)<br>
=A0 =A0 =A0 =A0 Author =A0 =A0 =A0 =A0 =A0: Richard Barnes<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-jose-use-cases-06.txt<=
br>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 26<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-12-27<br>
<br>
Abstract:<br>
=A0 =A0Many Internet applications have a need for object-based security<br>
=A0 =A0mechanisms in addition to security mechanisms at the network layer o=
r<br>
=A0 =A0transport layer. =A0For many years, the Cryptographic Message Syntax=
<br>
=A0 =A0(CMS) has provided a binary secure object format based on ASN.1.<br>
=A0 =A0Over time, binary object encodings such as ASN.1 have become less<br=
>
=A0 =A0common than text-based encodings, for example JavaScript Object<br>
=A0 =A0Notation. =A0This document defines a set of use cases and requiremen=
ts<br>
=A0 =A0for a secure object format encoded using JavaScript Object Notation<=
br>
=A0 =A0(JSON), drawn from a variety of application security mechanisms<br>
=A0 =A0currently in development.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/" tar=
get=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/<=
/a><br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-use-cases-06" target=
=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-use-cases-06</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06"=
 target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-c=
ases-06</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" target=3D"_blank">
tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div></div></div>
</div>

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

--001a11c24dbcb5596504eea06453--

From tbray@textuality.com  Sat Dec 28 15:31:10 2013
Return-Path: <tbray@textuality.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5268F1AE228 for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 15:31:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RyRMHSWcnq5G for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 15:31:06 -0800 (PST)
Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by ietfa.amsl.com (Postfix) with ESMTP id ABF061AE0A9 for <jose@ietf.org>; Sat, 28 Dec 2013 15:31:05 -0800 (PST)
Received: by mail-lb0-f182.google.com with SMTP id l4so4963785lbv.13 for <jose@ietf.org>; Sat, 28 Dec 2013 15:30:59 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iZgL0xJ7Y3efRWZoilXhc2hIPc6mCPF9pbDPi8+NhyE=; b=RaCOmXB5mzAfcRGnX7LJ5EGmGW9FN2T2modui/XM0RCTUn75GmBYS6z4VgC3qPmYzM gTIEl8TzipvNf5evxdy9ymf279Mqr2mpqJHR+ozZrGxIO7yZRTpSsS0e1FgoHoDvwCim gNfkf5eXiluQnOJwkEYdalhbtpmwLocZrphbLJRXv0A2bd+BvThmeabbneIYViJMqGWf fdrgf/uXUNdubZDqn7vSL2tnGrf8rPJOQHQY2Yq5tenSKDoWA5hugNbNpeox8AIVo5Tb m7a4rYEN74OS3yDjhcKti/wsT8Q5DBB9+/3z2cMcVnNXT0MuRRWMce59c0e418bh4Lzm H8dA==
X-Gm-Message-State: ALoCoQnur7qrble5X0dcSVUbVkVVXV9iaTw6a1bsk8x4B+aw6kpp13nnRdFp//qGmeO60YHEI9iU
MIME-Version: 1.0
X-Received: by 10.153.6.34 with SMTP id cr2mr8856299lad.44.1388273459649; Sat, 28 Dec 2013 15:30:59 -0800 (PST)
Received: by 10.114.24.6 with HTTP; Sat, 28 Dec 2013 15:30:59 -0800 (PST)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com>
Date: Sat, 28 Dec 2013 15:30:59 -0800
Message-ID: <CAHBU6ivqocS8QGgohYXjKMidgOR8EfoqZPds6iRe_-+5WiBzsA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=001a113496aa69f13904eea09afa
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Dec 2013 23:31:10 -0000

--001a113496aa69f13904eea09afa
Content-Type: text/plain; charset=UTF-8

On Fri, Dec 27, 2013 at 7:50 PM, Mike Jones <Michael.Jones@microsoft.com>wrote:

> It's my sense of the JOSE working group that most are strongly opposed to
> breaking changes at this point.  However, I also believe that most JOSE
> participants share the sentiment of many WebCrypto participants that it
> would be better for all for WebCrypto to use real JWKs, rather than
> something "JWK-like".
>

As far as I know, the predominant JOSE-based construct that has widespread
deployment is JWT, and I agree that there has been pretty ferocious
resistance (from me among others) to breaking that, simply because it seems
to work well in practice.  I suspect that improvements which succeed in not
breaking the JWT installed base would get careful open-minded consideration.



>
> I believe my proposal is the best-available solution, given the current
> realistic constraints.  It might have made better sense for a WebCrypto
> spec to define "use_details" than JOSE, but if WebCrypto isn't going to do
> it, I believe that we'll all be better off in the long run if JOSE then
> does and WebCrypto uses it.
>
>                                 Cheers,
>                                 -- Mike
>
> -----Original Message-----
> From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> Sent: Friday, December 27, 2013 6:46 PM
> To: Mike Jones
> Cc: ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
> On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> >  I disagree that "use" allows multiple uses.  Sign/Verify both use the
> > same  algorithm with the same key - just in a producer/consumer role.
> > There  would only be a security problem if the same key was used with
> > *different*  algorithms.
> >
> >  For symmetric keys, Sign/Verify operations are actually the same, so
> > in  that case, this is a distinction without a difference.
> >
> >  You may consider the producer/consumer distinction to be multiple
> > uses,  but only in an academic sense.  You have to perform both with
> > the same key  pair or symmetric key for the end-to-end cryptography to
> be meaningful.
> >  Doing one without the other is incomplete.  (What good is signing if
> > the  signature is never verified?)
>
> Hi Mike,
>
> I don't think it's fair to compare them as the same, and it's very much a
> practical, and not an academic case.
>
> In a Sign() operation, the input is arbitrary plaintext and the output is
> a signature corresponding to that plaintext; an oracle, if you will - as
> you would want.
>
> In an API (although not necessarily in JWE/JWS, and understandably so), a
> Verify() operation permits arbitrary plaintext as the input, but also
> requires the signature to be verified. The only output is a boolean -
> whether or not the signature is correct.
>
> The goal of "restricting" the uses here would be to allow key storage not
> necessarily under the control of the caller. In WebCrypto, this is the
> distinction between the executing JS (served by the web page) and the UA
> implementation. It's a concept borrowed from any number of other good
> cryptographic APIs (eg: those that are designed with the notion of opaque
> key storage)
>
> With a symmetric key only permitted for a "Verify" operation, the only way
> to generate a signature for an arbitrary message is
> a) Compromise the key storage
> b) Iterate through all possible signature combinations until you get
> "true" as the Verify() result.
>
> b) may be aided by any number of implementation issues (eg: non-constant
> time comparisons, among others), but is ultimately "tricky". a) is
> dependent on implementations, and can be aided or harmed through a variety
> of means.
>
> Combining these two usages into a single use case - which, I agree, is
> probably perfectly acceptable if imagining as a transport-only exchange -
> can thus have real and meaningful differences when used at an API level.
>
> >
> >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
> > distinctions, but also only use a single key with a single algorithm -
> > therefore no security problem.
> >
> >  ====
> >
> >  For what it's worth, I think the different key use representation
> > choices  stems from JOSE being a high-level API that tries to make
> > simple things  simple and WebCrypto being a low-level API that tries to
> be complete.
> >  Both are valid and useful.  These differences show up in lots of
> > places  besides just key usage representations.
>
> Absolutely agree here. This is why WebCrypto explored whether we should do
> something "JWK-like", but suitable at an API layer and for it's goals, and
> "trivially" convertable with JWK - but by script authors. The WebCrypto WG
> wasn't fond of it, which is understandable, and why I'm here.
>
> >
> >  Anyway, the purpose of my proposal is to try to make things easier
> > for  WebCrypto.  I hope people will get behind it.  Yes, having both
> > simple and  detailed key usage representations seems odd at first.
> > But they're  designed to address different goals for different kinds of
> applications.
> >  The alternatives (such as "signOnly,verifyOnly", etc.) that are
> > currently  being considered are much worse.
> >
> >                               -- Mike
>
> I agree that changing to an array will almost certainly break every
> implementation to date.
>
> I agree that comma-separated is horribad and should be avoided, even if it
> "solves" the backwards compat issue.
>
> I think your solution is a reasonable attempt to mediate the issues of
> backwards compatibility with the use cases of WebCrypto. However, I'm still
> on the fence as to whether or not it really is unreasonable to "break"
> backwards compatibility here - there seems to be a compelling case here as
> to why even something like ["sign", "verify"] should be distinct usages. I
> know the bar is incredibly high right now, given JOSE's momentum, but I
> didn't think that JOSE was past the point of no return.
>
> >
> >  -----Original Message-----
> >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> >  Sent: Friday, December 27, 2013 2:13 PM
> >  To: John Bradley
> >  Cc: Mike Jones; jose@ietf.org
> >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> > coordinate with WebCrypto
> >
> >  I'm sorry, John, but by your logic, JOSE is not following your own
> advice.
> >
> >  "enc" is already a multiple-use for a key - it allows for both
> > encryption  and decryption. For that matter, wrap and unwrap, which
> > are supposed to be  inferred based on algorithm, which is a JWE/JWS
> > specific aspect, and not  an intrinsic aspect of
> JWK-as-key-representation.
> >
> >  Likewise, "sig" implies sign AND verify, which is meant to be
> > unambiguous,  because the assumption is always that you sign with a
> > private key and  verify with a public key, but as a conceptual
> > framework breaks down for  schemes like HMAC, which ostensibly have
> > sign and verify (or MAC and  verify, if you prefer, but we're splitting
> hairs here).
> >
> >  WebCrypto desires to be *more* precise than JOSE's imprecise and
> > overly  broad, implicitly multi-use syntax. That "enc" means four
> > possible uses,  or that "sig" means two , is a clear sign that JOSE is
> > already actively  encouraging multiple uses for the same key.
> >
> >  Mike's proposal is basically an admission that the ship has sailed on
> > this  implicit, multi-valued usage semantic - which, I can understand
> > and  sympathize with, in the name of backwards compatibility for an
> > in-draft  spec, but let's recognize that as spec'd today, JOSE is
> > preferring and  encouraging multiple uses for the same key in ways
> > that will  unquestionably encourage people to make bad mistakes (such
> > as multiple  parties using the same encryption key for traffic in
> > either direction -  requiring some degree of IV sync)
> >
> >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> > >  Having it be an array encourages multiple uses for the same key.  I
> > > have  stated many times that encouraging people to do that is not a
> > > good idea,  and making it easy makes people think it is a good idea.
> > >
> > >  You can use the single value field and have multiple entries with
> > > different key containing the same or different keys to do the same
> > > thing.
> > >
> > >  On the practical side "use_details" is better than creating crazy
> > > dot separated como uses.
> > >
> > >  John B.
> > >
> > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> > > <Michael.Jones@microsoft.com>
> > >  wrote:
> > >
> > > > Hi all,
> > > >
> > > > Having reflected upon discussions among WebCrypto and JOSE
> > > > participants about JWK usage by WebCrypto over the holidays, I'd
> > > > like to propose the two JOSE spec actions to more closely
> > > > coordinate
> > > with WebCrypto:
> > > >
> > > > 1.  Change the JWA registry field name from "Implementation
> > > > Requirements" to "JOSE Implementation Requirements" in the JSON
> > > > Web Signature and Encryption Algorithms Registry
> > > > (
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section-7.1
> ).
> > > >  This will make it clearer that the Implementation Requirements
> > > > apply only to JWS and JWE implementations - and not other uses of
> > > > JWK (such as WebCrypto).  This changes only non-normative text and
> > > > is
> > > non-breaking.
> > > >
> > > > 2.  Define the new JWK field "use_details" for recording intended
> > > > fine-grained key usage information.  This would enable WebCrypto
> > > > KeyUsage
> > > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.h
> > > > tm
> > > > l#key-interface) values to be used directly with JWK.  The
> > > > proposed definition is:
> > > >
> > > > 3.3.  "use_details" (Key Use Details) Parameter
> > > >    The "use_details" (key use details) member identifies fine-grained
> > > >    details the intended use of the key.  Its value is an array of
> > > >    key use details values.  Values defined by this specification are:
> > > >
> > > >    o  "sign" (compute signature or MAC)
> > > >    o  "verify" (verify signature or MAC)
> > > >    o  "encrypt" (encrypt content)
> > > >    o  "decrypt" (decrypt content and verify decryption, if
> applicable)
> > > >    o  "wrap" (encrypt key)
> > > >    o  "unwrap" (decrypt key and verify decryption, if applicable)
> > > >    o  "deriveKey" (derive key)
> > > >    o  "deriveBits" (derive bits not to be used as a key)
> > > >
> > > >    Other values MAY be used.  Key Use Details values can be
> registered
> > > >    in the IANA JSON Web Key Use Details registry defined in
> > > > Section
> > > 7.3.
> > > >    The use details values are case-sensitive strings.
> > > >    Duplicate use details values MUST NOT be present in the array.
> > > >    Use of the "use_details" member is OPTIONAL, unless the
> application
> > > >    requires use this member to record fine-grained key usage details.
> > > >    (Note that the "use_details" values intentionally match the
> > > > "KeyUsage"
> > > >    values defined in the WebCrypto [WebCrypto] specification.)
> > > >
> > > >    If both "use" and "use_details" JWK members are present, the
> usages
> > > >    specified by them MUST be consistent.  In particular, the "use"
> > > value
> > > >    "sig" corresponds to "sign" and/or "verify".  The "use" value
> > > >    "enc" corresponds to all other values defined above.
> > > >    If "use_details" values corresponding to both "sig" and "enc"
> > > >    "use" values are present, the "use" member SHOULD NOT be present,
> > > >    and if present, its value MUST NOT be either "sig" or "enc".
> > > >
> > > > This is a non-breaking change - allowing simple applications that
> > > > want to distinguish between signing and encryption operations to
> > > > continue doing so as they do today, while also providing a
> > > > multi-valued key usage details field to be used by applications
> > > > that want to record fine-grained distinctions among potential key
> > > > usages, including distinguishing between producer and consumer
> operations.
> > > >
> > > > As I see it, while having two related key usage representations
> > > > isn't ideal, it's far better than having WebCrypto overload "use"
> > > > with multi-valued values encoded in strings, such as
> > > > "signOnly,verifyOnly", which I believe is their current plan of
> > > record.
> > > >
> > > > Comments?
> > > >
> > > >                                                             --
> > > > Mike
> > > >
> > > > P.S.  This proposal was already discussed on the WebCrypto list in
> > > > the thread
> > > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
> > > > ht ml and no objections were raised there that I'm aware of.
> > > >
> > > > _______________________________________________
> > > > jose mailing list
> > > > jose@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/jose
> > >
> > >  _______________________________________________
> > >  jose mailing list
> > >  jose@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> >
> >
> >  _______________________________________________
> >  jose mailing list
> >  jose@ietf.org
> >  https://www.ietf.org/mailman/listinfo/jose
> >
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Dec 27, 2013 at 7:50 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@microsoft=
.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">It&#39;s my sense of the JOSE working group =
that most are strongly opposed to breaking changes at this point. =C2=A0How=
ever, I also believe that most JOSE participants share the sentiment of man=
y WebCrypto participants that it would be better for all for WebCrypto to u=
se real JWKs, rather than something &quot;JWK-like&quot;.<br>
</blockquote><div><br></div><div>As far as I know, the predominant JOSE-bas=
ed construct that has widespread deployment is JWT, and I agree that there =
has been pretty ferocious resistance (from me among others) to breaking tha=
t, simply because it seems to work well in practice. =C2=A0I suspect that i=
mprovements which succeed in not breaking the JWT installed base would get =
careful open-minded consideration.</div>
<div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I believe my proposal is the best-available solution, given the current rea=
listic constraints. =C2=A0It might have made better sense for a WebCrypto s=
pec to define &quot;use_details&quot; than JOSE, but if WebCrypto isn&#39;t=
 going to do it, I believe that we&#39;ll all be better off in the long run=
 if JOSE then does and WebCrypto uses it.<br>

<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<div class=3D"im"><br>
-----Original Message-----<br>
From: Ryan Sleevi [mailto:<a href=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf=
@sleevi.com</a>]<br>
</div><div><div class=3D"h5">Sent: Friday, December 27, 2013 6:46 PM<br>
To: Mike Jones<br>
Cc: <a href=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf@sleevi.com</a>; John =
Bradley; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto<br>
<br>
On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br>
&gt; =C2=A0I disagree that &quot;use&quot; allows multiple uses. =C2=A0Sign=
/Verify both use the<br>
&gt; same =C2=A0algorithm with the same key - just in a producer/consumer r=
ole.<br>
&gt; There =C2=A0would only be a security problem if the same key was used =
with<br>
&gt; *different* =C2=A0algorithms.<br>
&gt;<br>
&gt; =C2=A0For symmetric keys, Sign/Verify operations are actually the same=
, so<br>
&gt; in =C2=A0that case, this is a distinction without a difference.<br>
&gt;<br>
&gt; =C2=A0You may consider the producer/consumer distinction to be multipl=
e<br>
&gt; uses, =C2=A0but only in an academic sense. =C2=A0You have to perform b=
oth with<br>
&gt; the same key =C2=A0pair or symmetric key for the end-to-end cryptograp=
hy to be meaningful.<br>
&gt; =C2=A0Doing one without the other is incomplete. =C2=A0(What good is s=
igning if<br>
&gt; the =C2=A0signature is never verified?)<br>
<br>
Hi Mike,<br>
<br>
I don&#39;t think it&#39;s fair to compare them as the same, and it&#39;s v=
ery much a practical, and not an academic case.<br>
<br>
In a Sign() operation, the input is arbitrary plaintext and the output is a=
 signature corresponding to that plaintext; an oracle, if you will - as you=
 would want.<br>
<br>
In an API (although not necessarily in JWE/JWS, and understandably so), a<b=
r>
Verify() operation permits arbitrary plaintext as the input, but also requi=
res the signature to be verified. The only output is a boolean - whether or=
 not the signature is correct.<br>
<br>
The goal of &quot;restricting&quot; the uses here would be to allow key sto=
rage not necessarily under the control of the caller. In WebCrypto, this is=
 the distinction between the executing JS (served by the web page) and the =
UA implementation. It&#39;s a concept borrowed from any number of other goo=
d cryptographic APIs (eg: those that are designed with the notion of opaque=
 key storage)<br>

<br>
With a symmetric key only permitted for a &quot;Verify&quot; operation, the=
 only way to generate a signature for an arbitrary message is<br>
a) Compromise the key storage<br>
b) Iterate through all possible signature combinations until you get &quot;=
true&quot; as the Verify() result.<br>
<br>
b) may be aided by any number of implementation issues (eg: non-constant ti=
me comparisons, among others), but is ultimately &quot;tricky&quot;. a) is =
dependent on implementations, and can be aided or harmed through a variety =
of means.<br>

<br>
Combining these two usages into a single use case - which, I agree, is prob=
ably perfectly acceptable if imagining as a transport-only exchange - can t=
hus have real and meaningful differences when used at an API level.<br>

<br>
&gt;<br>
&gt; =C2=A0Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer=
<br>
&gt; distinctions, but also only use a single key with a single algorithm -=
<br>
&gt; therefore no security problem.<br>
&gt;<br>
&gt; =C2=A0=3D=3D=3D=3D<br>
&gt;<br>
&gt; =C2=A0For what it&#39;s worth, I think the different key use represent=
ation<br>
&gt; choices =C2=A0stems from JOSE being a high-level API that tries to mak=
e<br>
&gt; simple things =C2=A0simple and WebCrypto being a low-level API that tr=
ies to be complete.<br>
&gt; =C2=A0Both are valid and useful. =C2=A0These differences show up in lo=
ts of<br>
&gt; places =C2=A0besides just key usage representations.<br>
<br>
Absolutely agree here. This is why WebCrypto explored whether we should do =
something &quot;JWK-like&quot;, but suitable at an API layer and for it&#39=
;s goals, and &quot;trivially&quot; convertable with JWK - but by script au=
thors. The WebCrypto WG wasn&#39;t fond of it, which is understandable, and=
 why I&#39;m here.<br>

<br>
&gt;<br>
&gt; =C2=A0Anyway, the purpose of my proposal is to try to make things easi=
er<br>
&gt; for =C2=A0WebCrypto. =C2=A0I hope people will get behind it. =C2=A0Yes=
, having both<br>
&gt; simple and =C2=A0detailed key usage representations seems odd at first=
.<br>
&gt; But they&#39;re =C2=A0designed to address different goals for differen=
t kinds of applications.<br>
&gt; =C2=A0The alternatives (such as &quot;signOnly,verifyOnly&quot;, etc.)=
 that are<br>
&gt; currently =C2=A0being considered are much worse.<br>
&gt;<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<br>
I agree that changing to an array will almost certainly break every impleme=
ntation to date.<br>
<br>
I agree that comma-separated is horribad and should be avoided, even if it =
&quot;solves&quot; the backwards compat issue.<br>
<br>
I think your solution is a reasonable attempt to mediate the issues of back=
wards compatibility with the use cases of WebCrypto. However, I&#39;m still=
 on the fence as to whether or not it really is unreasonable to &quot;break=
&quot; backwards compatibility here - there seems to be a compelling case h=
ere as to why even something like [&quot;sign&quot;, &quot;verify&quot;] sh=
ould be distinct usages. I know the bar is incredibly high right now, given=
 JOSE&#39;s momentum, but I didn&#39;t think that JOSE was past the point o=
f no return.<br>

<br>
&gt;<br>
&gt; =C2=A0-----Original Message-----<br>
&gt; =C2=A0From: Ryan Sleevi [mailto:<a href=3D"mailto:ryan-ietf@sleevi.com=
">ryan-ietf@sleevi.com</a>]<br>
&gt; =C2=A0Sent: Friday, December 27, 2013 2:13 PM<br>
&gt; =C2=A0To: John Bradley<br>
&gt; =C2=A0Cc: Mike Jones; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</=
a><br>
&gt; =C2=A0Subject: Re: [jose] Two proposed JOSE spec actions to more close=
ly<br>
&gt; coordinate with WebCrypto<br>
&gt;<br>
&gt; =C2=A0I&#39;m sorry, John, but by your logic, JOSE is not following yo=
ur own advice.<br>
&gt;<br>
&gt; =C2=A0&quot;enc&quot; is already a multiple-use for a key - it allows =
for both<br>
&gt; encryption =C2=A0and decryption. For that matter, wrap and unwrap, whi=
ch<br>
&gt; are supposed to be =C2=A0inferred based on algorithm, which is a JWE/J=
WS<br>
&gt; specific aspect, and not =C2=A0an intrinsic aspect of JWK-as-key-repre=
sentation.<br>
&gt;<br>
&gt; =C2=A0Likewise, &quot;sig&quot; implies sign AND verify, which is mean=
t to be<br>
&gt; unambiguous, =C2=A0because the assumption is always that you sign with=
 a<br>
&gt; private key and =C2=A0verify with a public key, but as a conceptual<br=
>
&gt; framework breaks down for =C2=A0schemes like HMAC, which ostensibly ha=
ve<br>
&gt; sign and verify (or MAC and =C2=A0verify, if you prefer, but we&#39;re=
 splitting hairs here).<br>
&gt;<br>
&gt; =C2=A0WebCrypto desires to be *more* precise than JOSE&#39;s imprecise=
 and<br>
&gt; overly =C2=A0broad, implicitly multi-use syntax. That &quot;enc&quot; =
means four<br>
&gt; possible uses, =C2=A0or that &quot;sig&quot; means two , is a clear si=
gn that JOSE is<br>
&gt; already actively =C2=A0encouraging multiple uses for the same key.<br>
&gt;<br>
&gt; =C2=A0Mike&#39;s proposal is basically an admission that the ship has =
sailed on<br>
&gt; this =C2=A0implicit, multi-valued usage semantic - which, I can unders=
tand<br>
&gt; and =C2=A0sympathize with, in the name of backwards compatibility for =
an<br>
&gt; in-draft =C2=A0spec, but let&#39;s recognize that as spec&#39;d today,=
 JOSE is<br>
&gt; preferring and =C2=A0encouraging multiple uses for the same key in way=
s<br>
&gt; that will =C2=A0unquestionably encourage people to make bad mistakes (=
such<br>
&gt; as multiple =C2=A0parties using the same encryption key for traffic in=
<br>
&gt; either direction - =C2=A0requiring some degree of IV sync)<br>
&gt;<br>
&gt; =C2=A0On Tue, December 24, 2013 4:27 pm, John Bradley wrote:<br>
&gt; &gt; =C2=A0Having it be an array encourages multiple uses for the same=
 key. =C2=A0I<br>
&gt; &gt; have =C2=A0stated many times that encouraging people to do that i=
s not a<br>
&gt; &gt; good idea, =C2=A0and making it easy makes people think it is a go=
od idea.<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0You can use the single value field and have multiple entrie=
s with<br>
&gt; &gt; different key containing the same or different keys to do the sam=
e<br>
&gt; &gt; thing.<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0On the practical side &quot;use_details&quot; is better tha=
n creating crazy<br>
&gt; &gt; dot separated como uses.<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0John B.<br>
&gt; &gt;<br>
&gt; &gt; =C2=A0On Dec 24, 2013, at 8:26 PM, Mike Jones<br>
&gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@=
microsoft.com</a>&gt;<br>
&gt; &gt; =C2=A0wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi all,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Having reflected upon discussions among WebCrypto and JOSE<b=
r>
&gt; &gt; &gt; participants about JWK usage by WebCrypto over the holidays,=
 I&#39;d<br>
&gt; &gt; &gt; like to propose the two JOSE spec actions to more closely<br=
>
&gt; &gt; &gt; coordinate<br>
&gt; &gt; with WebCrypto:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 1. =C2=A0Change the JWA registry field name from &quot;Imple=
mentation<br>
&gt; &gt; &gt; Requirements&quot; to &quot;JOSE Implementation Requirements=
&quot; in the JSON<br>
&gt; &gt; &gt; Web Signature and Encryption Algorithms Registry<br>
&gt; &gt; &gt; (<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-=
web-algorithms-18#section-7.1" target=3D"_blank">http://tools.ietf.org/html=
/draft-ietf-jose-json-web-algorithms-18#section-7.1</a>).<br>
&gt; &gt; &gt; =C2=A0This will make it clearer that the Implementation Requ=
irements<br>
&gt; &gt; &gt; apply only to JWS and JWE implementations - and not other us=
es of<br>
&gt; &gt; &gt; JWK (such as WebCrypto). =C2=A0This changes only non-normati=
ve text and<br>
&gt; &gt; &gt; is<br>
&gt; &gt; non-breaking.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 2. =C2=A0Define the new JWK field &quot;use_details&quot; fo=
r recording intended<br>
&gt; &gt; &gt; fine-grained key usage information. =C2=A0This would enable =
WebCrypto<br>
&gt; &gt; &gt; KeyUsage<br>
&gt; &gt; &gt; (<a href=3D"https://dvcs.w3.org/hg/webcrypto-api/raw-file/ti=
p/spec/Overview.h" target=3D"_blank">https://dvcs.w3.org/hg/webcrypto-api/r=
aw-file/tip/spec/Overview.h</a><br>
&gt; &gt; &gt; tm<br>
&gt; &gt; &gt; l#key-interface) values to be used directly with JWK. =C2=A0=
The<br>
&gt; &gt; &gt; proposed definition is:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 3.3. =C2=A0&quot;use_details&quot; (Key Use Details) Paramet=
er<br>
&gt; &gt; &gt; =C2=A0 =C2=A0The &quot;use_details&quot; (key use details) m=
ember identifies fine-grained<br>
&gt; &gt; &gt; =C2=A0 =C2=A0details the intended use of the key. =C2=A0Its =
value is an array of<br>
&gt; &gt; &gt; =C2=A0 =C2=A0key use details values. =C2=A0Values defined by=
 this specification are:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;sign&quot; (compute signature or =
MAC)<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;verify&quot; (verify signature or=
 MAC)<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;encrypt&quot; (encrypt content)<b=
r>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;decrypt&quot; (decrypt content an=
d verify decryption, if applicable)<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;wrap&quot; (encrypt key)<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;unwrap&quot; (decrypt key and ver=
ify decryption, if applicable)<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;deriveKey&quot; (derive key)<br>
&gt; &gt; &gt; =C2=A0 =C2=A0o =C2=A0&quot;deriveBits&quot; (derive bits not=
 to be used as a key)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =C2=A0 =C2=A0Other values MAY be used. =C2=A0Key Use Details=
 values can be registered<br>
&gt; &gt; &gt; =C2=A0 =C2=A0in the IANA JSON Web Key Use Details registry d=
efined in<br>
&gt; &gt; &gt; Section<br>
&gt; &gt; 7.3.<br>
&gt; &gt; &gt; =C2=A0 =C2=A0The use details values are case-sensitive strin=
gs.<br>
&gt; &gt; &gt; =C2=A0 =C2=A0Duplicate use details values MUST NOT be presen=
t in the array.<br>
&gt; &gt; &gt; =C2=A0 =C2=A0Use of the &quot;use_details&quot; member is OP=
TIONAL, unless the application<br>
&gt; &gt; &gt; =C2=A0 =C2=A0requires use this member to record fine-grained=
 key usage details.<br>
&gt; &gt; &gt; =C2=A0 =C2=A0(Note that the &quot;use_details&quot; values i=
ntentionally match the<br>
&gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt; &gt; &gt; =C2=A0 =C2=A0values defined in the WebCrypto [WebCrypto] spe=
cification.)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =C2=A0 =C2=A0If both &quot;use&quot; and &quot;use_details&q=
uot; JWK members are present, the usages<br>
&gt; &gt; &gt; =C2=A0 =C2=A0specified by them MUST be consistent. =C2=A0In =
particular, the &quot;use&quot;<br>
&gt; &gt; value<br>
&gt; &gt; &gt; =C2=A0 =C2=A0&quot;sig&quot; corresponds to &quot;sign&quot;=
 and/or &quot;verify&quot;. =C2=A0The &quot;use&quot; value<br>
&gt; &gt; &gt; =C2=A0 =C2=A0&quot;enc&quot; corresponds to all other values=
 defined above.<br>
&gt; &gt; &gt; =C2=A0 =C2=A0If &quot;use_details&quot; values corresponding=
 to both &quot;sig&quot; and &quot;enc&quot;<br>
&gt; &gt; &gt; =C2=A0 =C2=A0&quot;use&quot; values are present, the &quot;u=
se&quot; member SHOULD NOT be present,<br>
&gt; &gt; &gt; =C2=A0 =C2=A0and if present, its value MUST NOT be either &q=
uot;sig&quot; or &quot;enc&quot;.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; This is a non-breaking change - allowing simple applications=
 that<br>
&gt; &gt; &gt; want to distinguish between signing and encryption operation=
s to<br>
&gt; &gt; &gt; continue doing so as they do today, while also providing a<b=
r>
&gt; &gt; &gt; multi-valued key usage details field to be used by applicati=
ons<br>
&gt; &gt; &gt; that want to record fine-grained distinctions among potentia=
l key<br>
&gt; &gt; &gt; usages, including distinguishing between producer and consum=
er operations.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; As I see it, while having two related key usage representati=
ons<br>
&gt; &gt; &gt; isn&#39;t ideal, it&#39;s far better than having WebCrypto o=
verload &quot;use&quot;<br>
&gt; &gt; &gt; with multi-valued values encoded in strings, such as<br>
&gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I believe is their cu=
rrent plan of<br>
&gt; &gt; record.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Comments?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 --<br>
&gt; &gt; &gt; Mike<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; P.S. =C2=A0This proposal was already discussed on the WebCry=
pto list in<br>
&gt; &gt; &gt; the thread<br>
&gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/Public/public-webcry=
pto/2013Dec/0052" target=3D"_blank">http://lists.w3.org/Archives/Public/pub=
lic-webcrypto/2013Dec/0052</a>.<br>
</div></div>&gt; &gt; &gt; ht ml and no objections were raised there that I=
&#39;m aware of.<br>
<div class=3D"HOEnZb"><div class=3D"h5">&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; jose mailing list<br>
&gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt; &gt; =C2=A0_______________________________________________<br>
&gt; &gt; =C2=A0jose mailing list<br>
&gt; &gt; =C2=A0<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; &gt; =C2=A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" targ=
et=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; =C2=A0_______________________________________________<br>
&gt; =C2=A0jose mailing list<br>
&gt; =C2=A0<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
&gt; =C2=A0<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D=
"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br></div></div>

--001a113496aa69f13904eea09afa--

From Michael.Jones@microsoft.com  Sat Dec 28 18:35:36 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD4B31AE4BA for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 18:35:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQG6_q5E1A6F for <jose@ietfa.amsl.com>; Sat, 28 Dec 2013 18:35:33 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0187.outbound.protection.outlook.com [207.46.163.187]) by ietfa.amsl.com (Postfix) with ESMTP id 6072F1AE4B7 for <jose@ietf.org>; Sat, 28 Dec 2013 18:35:33 -0800 (PST)
Received: from BLUPR03MB067.namprd03.prod.outlook.com (10.255.209.155) by BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sun, 29 Dec 2013 02:35:26 +0000
Received: from BLUPR03CA035.namprd03.prod.outlook.com (10.141.30.28) by BLUPR03MB067.namprd03.prod.outlook.com (10.255.209.155) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sun, 29 Dec 2013 02:35:24 +0000
Received: from BY2FFO11FD018.protection.gbl (2a01:111:f400:7c0c::150) by BLUPR03CA035.outlook.office365.com (2a01:111:e400:879::28) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sun, 29 Dec 2013 02:35:24 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD018.mail.protection.outlook.com (10.1.14.106) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sun, 29 Dec 2013 02:35:24 +0000
Received: from TK5EX14MBXC287.redmond.corp.microsoft.com ([169.254.2.241]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.03.0158.002; Sun, 29 Dec 2013 02:35:16 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Richard Barnes <rlb@ipv.sx>, Sean Turner <turners@ieca.com>
Thread-Topic: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
Thread-Index: AQHPAzkPSH1cqGWcy0ysQzyTcguw85poa7UAgABov7CAAWqhAIAAN68y
Date: Sun, 29 Dec 2013 02:35:15 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD6D31C@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <20131227192151.425.70057.idtracker@ietfa.amsl.com> <CAL02cgSNmKuB-heAE1xvSHHwgGiT7e4z8z2vNPmPUrh=wfKK2Q@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739437CD6993B@TK5EX14MBXC287.redmond.corp.microsoft.com>, <CAL02cgTquafgZ3tYBMSgODvF+hNXJfCtnZfjYk6f4gc2XATNLQ@mail.gmail.com>
In-Reply-To: <CAL02cgTquafgZ3tYBMSgODvF+hNXJfCtnZfjYk6f4gc2XATNLQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD6D31CTK5EX14MBXC287r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(199002)(189002)(24454002)(65554003)(164054003)(377454003)(377424004)(81686001)(74366001)(81542001)(31966008)(81342001)(15975445006)(80976001)(50986001)(20776003)(74706001)(71186001)(87936001)(6806004)(83322001)(74876001)(76796001)(76482001)(74502001)(14971765001)(81816001)(87266001)(74662001)(2656002)(69226001)(47446002)(4396001)(16236675002)(80022001)(56776001)(47976001)(49866001)(85306002)(16601075003)(59766001)(56816005)(15202345003)(44976005)(63696002)(15395725003)(33656001)(19580405001)(47736001)(54316002)(19580395003)(85852003)(83072002)(79102001)(77096001)(54356001)(55846006)(77982001)(76786001)(65816001)(84326002)(90146001)(51856001)(46102001)(53806001)(403724002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB067; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0075CB064E
X-OriginatorOrg: microsoft.com
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 02:35:37 -0000

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

Drafts are cheap. Why not just quickly publish a corrected one?

It will only take you about 1/2 hour, and unlike an editor's note, the resu=
lt can be easily proofread by the working group - so things like this can b=
e caught.

Thanks,
-- Mike
________________________________
From: Richard Barnes<mailto:rlb@ipv.sx>
Sent: =FD12/=FD28/=FD2013 3:16 PM
To: Mike Jones<mailto:Michael.Jones@microsoft.com>; Sean Turner<mailto:turn=
ers@ieca.com>
Cc: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt

Shoot, I thought I had fixed the ordering issue in -06.

Sean: Can we just handle both of these in an RFC Editor note?



On Fri, Dec 27, 2013 at 8:46 PM, Mike Jones <Michael.Jones@microsoft.com<ma=
ilto:Michael.Jones@microsoft.com>> wrote:
Hi Richard,

I=92d like to raise two issues with the current draft that I believe should=
 be addressed in a quick -07 draft.

First, the three lists in Section 2 (http://tools.ietf.org/html/draft-ietf-=
jose-use-cases-06#section-2) that should have parallel orders do not, which=
 is unnecessarily confusing.  I believe that they should all be in the orde=
r:

               1.  Integrity-protected object format
               2.  Confidentiality-protected object format
               3.  A format for expressing keys

The second parallel list should be in the order:
               =93signed object format=94
               =93encrypted object format=94
               =93key format=94

The third parallel list should be in the order:
               JWS
               JWE
               JWK

To fix this, you=92ll need to reverse the current order of the first two it=
ems in the first two lists.  (The third list is already in the correct orde=
r.)

Second, I=92d sent you a private note a few months ago asking you to update=
 the OpenID Connect reference, since the OpenID.Messages spec has been repl=
aced with OpenID.Core.  You=92d agreed to do this, but it didn=92t happen. =
 Please replace the OpenID.Messages reference with this:

      <reference anchor=3D"OpenID.Core">
        <front>
          <title>OpenID Connect Core 1.0</title>

          <author fullname=3D"Nat Sakimura" initials=3D"N." surname=3D"Saki=
mura">
            <organization abbrev=3D"NRI">Nomura Research Institute, Ltd.</o=
rganization>
          </author>

          <author fullname=3D"John Bradley" initials=3D"J." surname=3D"Brad=
ley">
            <organization abbrev=3D"Ping Identity">Ping Identity</organizat=
ion>
          </author>

          <author fullname=3D"Michael B. Jones" initials=3D"M.B." surname=
=3D"Jones">
            <organization abbrev=3D"Microsoft">Microsoft</organization>
          </author>

          <author fullname=3D"Breno de Medeiros" initials=3D"B." surname=3D=
"de Medeiros">
            <organization abbrev=3D"Google">Google</organization>
          </author>

                 <author fullname=3D"Chuck Mortimore" initials=3D"C." surna=
me=3D"Mortimore">
                   <organization abbrev=3D"Salesforce">Salesforce</organiza=
tion>
                 </author>

          <date day=3D"18" month=3D"December" year=3D"2013"/>
        </front>

               <format target=3D"http://openid.net/specs/openid-connect-cor=
e-1_0.html"
                type=3D"HTML" />
      </reference>

                                                            Thank you,
                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org<mailto:jose-bounces@ietf.org>] On =
Behalf Of Richard Barnes
Sent: Friday, December 27, 2013 11:23 AM
To: jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt

This is a very minor update to address some wording changes suggested by th=
e IESG.
--Richard

On Fri, Dec 27, 2013 at 2:21 PM, <internet-drafts@ietf.org<mailto:internet-=
drafts@ietf.org>> wrote:

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

        Title           : Use Cases and Requirements for JSON Object Signin=
g and Encryption (JOSE)
        Author          : Richard Barnes
        Filename        : draft-ietf-jose-use-cases-06.txt
        Pages           : 26
        Date            : 2013-12-27

Abstract:
   Many Internet applications have a need for object-based security
   mechanisms in addition to security mechanisms at the network layer or
   transport layer.  For many years, the Cryptographic Message Syntax
   (CMS) has provided a binary secure object format based on ASN.1.
   Over time, binary object encodings such as ASN.1 have become less
   common than text-based encodings, for example JavaScript Object
   Notation.  This document defines a set of use cases and requirements
   for a secure object format encoded using JavaScript Object Notation
   (JSON), drawn from a variety of application security mechanisms
   currently in development.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-jose-use-cases-06

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06


Please note that it may take a couple of minutes from the time of submissio=
n
until the htmlized version and diff are available at tools.ietf.org<http://=
tools.ietf.org>.

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

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



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

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
256">
</head>
<body>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif">Drafts are ch=
eap. Why not just quickly publish a corrected one?<br>
<br>
It will only take you about 1/2 hour, and unlike an editor's note, the resu=
lt can be easily proofread by the working group - so things like this can b=
e caught.<br>
<br>
Thanks,<br>
-- Mike<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">From:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:rlb@ipv.sx">Richard Barnes</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Sent:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">=FD12=
/=FD28/=FD2013 3:16 PM</span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">To:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:Michael.Jones@microsoft.com">Mike Jones</a>;
<a href=3D"mailto:turners@ieca.com">Sean Turner</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Cc:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:jose@ietf.org">jose@ietf.org</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Subject:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">Re: [=
jose] I-D Action: draft-ietf-jose-use-cases-06.txt</span><br>
<br>
</div>
<div>
<div dir=3D"ltr">
<div>Shoot, I thought I had fixed the ordering issue in -06.<br>
<br>
</div>
Sean: Can we just handle both of these in an RFC Editor note?<br>
<div><br>
</div>
</div>
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Fri, Dec 27, 2013 at 8:46 PM, Mike Jones <spa=
n dir=3D"ltr">
&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michae=
l.Jones@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex; border-left:1=
px #ccc solid; padding-left:1ex">
<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">Hi Richard,<u></u><u></=
u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">I=92d like to raise two=
 issues with the current draft that I believe should be addressed in a quic=
k -07 draft.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">First, the three lists =
in Section 2 (<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-use-cas=
es-06#section-2" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-jo=
se-use-cases-06#section-2</a>)
 that should have parallel orders do not, which is unnecessarily confusing.=
&nbsp; I believe that they should all be in the order:<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.&nbsp; Inte=
grity-protected object format<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.&nbsp; Conf=
identiality-protected object format<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.&nbsp; A fo=
rmat for expressing keys<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">The second parallel lis=
t should be in the order:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =93signed obj=
ect format=94<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =93encrypted =
object format=94<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =93key format=
=94<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">The third parallel list=
 should be in the order:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JWS<u></u><u>=
</u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JWE<u></u><u>=
</u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JWK<u></u><u>=
</u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">To fix this, you=92ll n=
eed to reverse the current order of the first two items in the first two li=
sts.&nbsp; (The third list is already in the correct order.)<u></u><u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">Second, I=92d sent you =
a private note a few months ago asking you to update the OpenID Connect ref=
erence, since the OpenID.Messages spec has been replaced with
 OpenID.Core.&nbsp; You=92d agreed to do this, but it didn=92t happen.&nbsp=
; Please replace the OpenID.Messages reference with this:<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; &lt;reference anchor=3D&quot;OpenID.Core&quot;&gt;<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; &lt;front&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title&gt;OpenID Connect Core 1.0&lt;/ti=
tle&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;Nat Sakimura&qu=
ot; initials=3D&quot;N.&quot; surname=3D&quot;Sakimura&quot;&gt;<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot=
;NRI&quot;&gt;Nomura Research Institute, Ltd.&lt;/organization&gt;<u></u><u=
></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;John Bradley&qu=
ot; initials=3D&quot;J.&quot; surname=3D&quot;Bradley&quot;&gt;<u></u><u></=
u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot=
;Ping Identity&quot;&gt;Ping Identity&lt;/organization&gt;<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;Michael B. Jone=
s&quot; initials=3D&quot;M.B.&quot; surname=3D&quot;Jones&quot;&gt;<u></u><=
u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot=
;Microsoft&quot;&gt;Microsoft&lt;/organization&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;author fullname=3D&quot;Breno de Medeir=
os&quot; initials=3D&quot;B.&quot; surname=3D&quot;de Medeiros&quot;&gt;<u>=
</u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;organization abbrev=3D&quot=
;Google&quot;&gt;Google&lt;/organization&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/author&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &lt;au=
thor fullname=3D&quot;Chuck Mortimore&quot; initials=3D&quot;C.&quot; surna=
me=3D&quot;Mortimore&quot;&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&=
nbsp; &lt;organization abbrev=3D&quot;Salesforce&quot;&gt;Salesforce&lt;/or=
ganization&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &lt;/a=
uthor&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;date day=3D&quot;18&quot; month=3D&quot=
;December&quot; year=3D&quot;2013&quot;/&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; &lt;/front&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format ta=
rget=3D&quot;<a href=3D"http://openid.net/specs/openid-connect-core-1_0.htm=
l" target=3D"_blank">http://openid.net/specs/openid-connect-core-1_0.html</=
a>&quot;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type=3D=
&quot;HTML&quot; /&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp; &nbsp;&nbsp;&nbs=
p;&nbsp;&lt;/reference&gt;<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thank you,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d">&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1f497d"><u></u>&nbsp;<u></u></s=
pan></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-=
size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jose [=
mailto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-boun=
ces@ietf.org</a>]
<b>On Behalf Of </b>Richard Barnes<br>
<b>Sent:</b> Friday, December 27, 2013 11:23 AM<br>
<b>To:</b> <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org=
</a><br>
<b>Subject:</b> Re: [jose] I-D Action: draft-ietf-jose-use-cases-06.txt<u><=
/u><u></u></span></p>
<div>
<div class=3D"h5">
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<p class=3D"MsoNormal">This is a very minor update to address some wording =
changes suggested by the IESG.<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">--Richard<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>&nbsp;<u></u><=
/p>
<div>
<p class=3D"MsoNormal">On Fri, Dec 27, 2013 at 2:21 PM, &lt;<a href=3D"mail=
to:internet-drafts@ietf.org" target=3D"_blank">internet-drafts@ietf.org</a>=
&gt; wrote:<u></u><u></u></p>
<p class=3D"MsoNormal"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
&nbsp;This draft is a work item of the Javascript Object Signing and Encryp=
tion Working Group of the IETF.<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Use =
Cases and Requirements for JSON Object Signing and Encryption (JOSE)<br>
&nbsp; &nbsp; &nbsp; &nbsp; Author &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Rich=
ard Barnes<br>
&nbsp; &nbsp; &nbsp; &nbsp; Filename &nbsp; &nbsp; &nbsp; &nbsp;: draft-iet=
f-jose-use-cases-06.txt<br>
&nbsp; &nbsp; &nbsp; &nbsp; Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 26<b=
r>
&nbsp; &nbsp; &nbsp; &nbsp; Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:=
 2013-12-27<br>
<br>
Abstract:<br>
&nbsp; &nbsp;Many Internet applications have a need for object-based securi=
ty<br>
&nbsp; &nbsp;mechanisms in addition to security mechanisms at the network l=
ayer or<br>
&nbsp; &nbsp;transport layer. &nbsp;For many years, the Cryptographic Messa=
ge Syntax<br>
&nbsp; &nbsp;(CMS) has provided a binary secure object format based on ASN.=
1.<br>
&nbsp; &nbsp;Over time, binary object encodings such as ASN.1 have become l=
ess<br>
&nbsp; &nbsp;common than text-based encodings, for example JavaScript Objec=
t<br>
&nbsp; &nbsp;Notation. &nbsp;This document defines a set of use cases and r=
equirements<br>
&nbsp; &nbsp;for a secure object format encoded using JavaScript Object Not=
ation<br>
&nbsp; &nbsp;(JSON), drawn from a variety of application security mechanism=
s<br>
&nbsp; &nbsp;currently in development.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/" tar=
get=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-jose-use-cases/<=
/a><br>
<br>
There's also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-jose-use-cases-06" target=
=3D"_blank">http://tools.ietf.org/html/draft-ietf-jose-use-cases-06</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-cases-06"=
 target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-jose-use-c=
ases-06</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" target=3D"_blank">
tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD6D31CTK5EX14MBXC287r_--

From anders.rundgren.net@gmail.com  Sun Dec 29 02:56:03 2013
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89E941ADFB3 for <jose@ietfa.amsl.com>; Sun, 29 Dec 2013 02:56:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H8XBlbo8EPIB for <jose@ietfa.amsl.com>; Sun, 29 Dec 2013 02:56:02 -0800 (PST)
Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id C2BFD1ADF7E for <jose@ietf.org>; Sun, 29 Dec 2013 02:56:01 -0800 (PST)
Received: by mail-we0-f180.google.com with SMTP id t61so9232397wes.25 for <jose@ietf.org>; Sun, 29 Dec 2013 02:55:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=trpjk0cvzL042ZS6BYTHwaRhvRBAuRun5Z6rFHIkANg=; b=fJ2FoTCYgNEK1VrRWx42MlKhkDJIzgCIXGAHX3if36D696qMIstixqYenjBmDgdPFN jiAxezgocMsb3WxmhftOclzFQYXQIVXBTJzVJ5WsZx6B6cjyApZhXNjOhYwSxwhK9cNe 4Jsr0Mh8kh0D0cMk5SDM4GwBELdG/ga/keAPQ07j7c6A2pR/wwxDxYPB/4HtFYy9Exrc FjBrPWTx+69f1mEIQHym0gYfS3hEntc6BqI4SOctXntqQoCowmJTRBFvYmWVH9I40IMR Iqg9DqoDg0pwYd2Rg6b/69Ng4DlKMKTLp8XrW0zox2d+35uTd59kQo79ycAYa8/vZnA3 475g==
X-Received: by 10.180.171.34 with SMTP id ar2mr40321507wic.25.1388314555455; Sun, 29 Dec 2013 02:55:55 -0800 (PST)
Received: from [192.168.1.99] (157.118.12.109.rev.sfr.net. [109.12.118.157]) by mx.google.com with ESMTPSA id z2sm61421431wiy.11.2013.12.29.02.55.54 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Dec 2013 02:55:55 -0800 (PST)
Message-ID: <52BFFFB9.9060109@gmail.com>
Date: Sun, 29 Dec 2013 11:55:53 +0100
From: Anders Rundgren <anders.rundgren.net@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Richard Barnes <rlb@ipv.sx>
References: <52BC2F28.1000605@gmail.com> <CAL02cgQP6YzUE0YLVrqbTZRQm98Ej+Fu0gs2sP8bS1TwHVE85Q@mail.gmail.com>
In-Reply-To: <CAL02cgQP6YzUE0YLVrqbTZRQm98Ej+Fu0gs2sP8bS1TwHVE85Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] OCSP/CRL info in JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 10:56:03 -0000

On 2013-12-26 17:20, Richard Barnes wrote:
> No, you're not reading improperly, they don't exist.
> 
> It seems like you could define a "crl" or "ocsp" attribute to carry them, though.  Should be a short Internet-draft.

I cheated by throwing in the kitchen sink instead:
https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html#Signature.Extensions

Cheers,
Anders

> 
> --Richard
> 
> 
> On Thu, Dec 26, 2013 at 8:29 AM, Anders Rundgren <anders.rundgren.net@gmail.com <mailto:anders.rundgren.net@gmail.com>> wrote:
> 
>     Pardon me all,
>     but I couldn't find any information about OCSP stapling or CRL bags in the JOSE docs.
>     I guess I'm just not reading properly?
> 
>     Cheers
>     Anders
>     _______________________________________________
>     jose mailing list
>     jose@ietf.org <mailto:jose@ietf.org>
>     https://www.ietf.org/mailman/listinfo/jose
> 
> 


From internet-drafts@ietf.org  Sun Dec 29 04:34:56 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C772D1AE027; Sun, 29 Dec 2013 04:34:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gxY_JCWHLc5Y; Sun, 29 Dec 2013 04:34:55 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BCD11AE0DA; Sun, 29 Dec 2013 04:34:53 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131229123453.801.59606.idtracker@ietfa.amsl.com>
Date: Sun, 29 Dec 2013 04:34:53 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-signature-19.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 12:34:57 -0000

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

        Title           : JSON Web Signature (JWS)
        Authors         : Michael B. Jones
                          John Bradley
                          Nat Sakimura
	Filename        : draft-ietf-jose-json-web-signature-19.txt
	Pages           : 53
	Date            : 2013-12-29

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


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

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

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


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

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


From internet-drafts@ietf.org  Sun Dec 29 04:37:29 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BF9C1AE027; Sun, 29 Dec 2013 04:37:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KX5SHWax4Fqg; Sun, 29 Dec 2013 04:37:28 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EB20E1AE102; Sun, 29 Dec 2013 04:37:25 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131229123725.14205.92581.idtracker@ietfa.amsl.com>
Date: Sun, 29 Dec 2013 04:37:25 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-encryption-19.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 12:37:29 -0000

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

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

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


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

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

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


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

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


From internet-drafts@ietf.org  Sun Dec 29 04:39:12 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D61F41AE0FA; Sun, 29 Dec 2013 04:39:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wmmvIoU5UwC1; Sun, 29 Dec 2013 04:39:11 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id AAF341AE11C; Sun, 29 Dec 2013 04:39:09 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131229123909.14205.88455.idtracker@ietfa.amsl.com>
Date: Sun, 29 Dec 2013 04:39:09 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-key-19.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 12:39:13 -0000

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

        Title           : JSON Web Key (JWK)
        Author          : Michael B. Jones
	Filename        : draft-ietf-jose-json-web-key-19.txt
	Pages           : 40
	Date            : 2013-12-29

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


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

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

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


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

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


From internet-drafts@ietf.org  Sun Dec 29 04:41:07 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8B1E1AE0FB; Sun, 29 Dec 2013 04:41:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZ3YELbR7RwN; Sun, 29 Dec 2013 04:41:06 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id ED5F21AE149; Sun, 29 Dec 2013 04:41:05 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131229124105.1968.48893.idtracker@ietfa.amsl.com>
Date: Sun, 29 Dec 2013 04:41:05 -0800
Cc: jose@ietf.org
Subject: [jose] I-D Action: draft-ietf-jose-json-web-algorithms-19.txt
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 12:41:08 -0000

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

        Title           : JSON Web Algorithms (JWA)
        Author          : Michael B. Jones
	Filename        : draft-ietf-jose-json-web-algorithms-19.txt
	Pages           : 72
	Date            : 2013-12-29

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


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

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

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


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

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


From Michael.Jones@microsoft.com  Sun Dec 29 04:49:27 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C7ED1AE1A5 for <jose@ietfa.amsl.com>; Sun, 29 Dec 2013 04:49:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O3VDqvfj_AGI for <jose@ietfa.amsl.com>; Sun, 29 Dec 2013 04:49:24 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0149.outbound.protection.outlook.com [207.46.163.149]) by ietfa.amsl.com (Postfix) with ESMTP id 494F81AE1B3 for <jose@ietf.org>; Sun, 29 Dec 2013 04:49:24 -0800 (PST)
Received: from BLUPR03MB213.namprd03.prod.outlook.com (10.255.212.145) by BLUPR03MB615.namprd03.prod.outlook.com (10.255.124.43) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sun, 29 Dec 2013 12:49:17 +0000
Received: from BLUPR03CA030.namprd03.prod.outlook.com (10.141.30.23) by BLUPR03MB213.namprd03.prod.outlook.com (10.255.212.145) with Microsoft SMTP Server (TLS) id 15.0.842.7; Sun, 29 Dec 2013 12:49:16 +0000
Received: from BN1BFFO11FD011.protection.gbl (2a01:111:f400:7c10::1:123) by BLUPR03CA030.outlook.office365.com (2a01:111:e400:879::23) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Sun, 29 Dec 2013 12:49:16 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD011.mail.protection.outlook.com (10.58.144.74) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Sun, 29 Dec 2013 12:49:16 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.03.0158.002; Sun, 29 Dec 2013 12:48:55 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: JOSE -19 drafts intended for Working Group Last Call
Thread-Index: Ac8ElFUb4ddjYn6yQ3mJg8Va1mrr3A==
Date: Sun, 29 Dec 2013 12:48:54 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD77450@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD77450TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(199002)(189002)(74876001)(54316002)(15975445006)(47976001)(4396001)(87266001)(85806002)(85326001)(47736001)(2656002)(76482001)(512954002)(53806001)(51856001)(19300405004)(77096001)(81816001)(50986001)(74706001)(49866001)(59766001)(20776003)(46102001)(74366001)(85852003)(44976005)(54356001)(80022001)(55846006)(65816001)(66066001)(80976001)(33656001)(87936001)(81686001)(56776001)(76176001)(63696002)(84326002)(31966008)(76786001)(85306002)(79102001)(6806004)(90146001)(74662001)(74502001)(83322001)(77982001)(19580395003)(56816005)(15202345003)(47446002)(83072002)(76796001)(16236675002)(69226001)(71186001)(81342001)(561944002)(81542001)(6606295002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB213; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0075CB064E
X-OriginatorOrg: microsoft.com
Cc: Sean Turner <turners@ieca.com>
Subject: [jose] JOSE -19 drafts intended for Working Group Last Call
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 12:49:27 -0000

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

JSON Object Signing and Encryption (JOSE) -19 drafts have been published th=
at address all my remaining to-do items for the open issues.  I believe the=
 remainder of the issues are either ready to close because of actions alrea=
dy taken in the drafts (the majority of them), require further input to ide=
ntify any specific remaining proposed actions, if any (a few of them), or w=
ill be considered during Working Group Last Call (a few of them).  Only edi=
torial changes and one addition were made - no breaking changes.

In short, I believe I have addressed everything needed to bring us to Worki=
ng Group Last Call for the JWS, JWE, JWK, and JWA specs.  (Chairs and Sean,=
 please let me know whether you agree or whether you believe anything else =
remains to be done before WGLC.)

The one addition was to add the optional "use_details" JWK field, as discus=
sed on the JOSE list and the WebCrypto list.  While I realize that this pro=
posal hasn't gotten much review yet (I believe due to the holidays), I want=
ed to get it in so people can review it in context, and as a concrete step =
towards meeting a perceived need for additional JWK functionality from the =
WebCrypto working group.  It's cleanly separable from the rest of the spec,=
 so if the JOSE WG ends up hating it, we can always take it back out and po=
ssibly move it to a separate spec.  But at least we have a concrete write-u=
p of it now to review.

I also made a one-paragraph change to the JSON Web Token (JWT) spec to refe=
rence text in JWE, rather than duplicating it in JWT.

See the History entries for details of the (small number of) changes made.

The drafts are available at:

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

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

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

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

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

HTML formatted versions are also available at:

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

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

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

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

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

                                                            -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1098254242;
	mso-list-type:hybrid;
	mso-list-template-ids:-264357738 67698689 67698691 67698693 67698689 67698=
691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1292976506;
	mso-list-type:hybrid;
	mso-list-template-ids:714098162 67698689 67698691 67698693 67698689 676986=
91 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">JSON Object Signing and Encryption (JOSE) -19 drafts=
 have been published that address all my remaining to-do items for the open=
 issues.&nbsp; I believe the remainder of the issues are either ready to cl=
ose because of actions already taken in
 the drafts (the majority of them), require further input to identify any s=
pecific remaining proposed actions, if any (a few of them), or will be cons=
idered during Working Group Last Call (a few of them).&nbsp; Only editorial=
 changes and one addition were made &#8211;
 no breaking changes.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In short, I believe I have addressed everything need=
ed to bring us to Working Group Last Call for the JWS, JWE, JWK, and JWA sp=
ecs.&nbsp; (Chairs and Sean, please let me know whether you agree or whethe=
r you believe anything else remains to
 be done before WGLC.)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The one addition was to add the optional &#8220;<spa=
n style=3D"font-family:&quot;Courier New&quot;">use_details</span>&#8221; J=
WK field, as discussed on the JOSE list and the WebCrypto list.&nbsp; While=
 I realize that this proposal hasn&#8217;t gotten much review yet (I
 believe due to the holidays), I wanted to get it in so people can review i=
t in context, and as a concrete step towards meeting a perceived need for a=
dditional JWK functionality from the WebCrypto working group.&nbsp; It&#821=
7;s cleanly separable from the rest of the
 spec, so if the JOSE WG ends up hating it, we can always take it back out =
and possibly move it to a separate spec.&nbsp; But at least we have a concr=
ete write-up of it now to review.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I also made a one-paragraph change to the JSON Web T=
oken (JWT) spec to reference text in JWE, rather than duplicating it in JWT=
.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">See the History entries for details of the (small nu=
mber of) changes made.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The drafts are available at:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-signature-19">http://tools.ietf.org/html/draft-ietf-jose=
-json-web-signature-19</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-encryption-19">http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-encryption-19</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-key-19">http://tools.ietf.org/html/draft-ietf-jose-json-=
web-key-19</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-jose-json-web-algorithms-19">http://tools.ietf.org/html/draft-ietf-jos=
e-json-web-algorithms-19</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://tools.ietf.org/html/draft-=
ietf-oauth-json-web-token-14">http://tools.ietf.org/html/draft-ietf-oauth-j=
son-web-token-14</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">HTML formatted versions are also available at:<o:p><=
/o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-signature-19.html">http://self-issued.info/docs/draft-=
ietf-jose-json-web-signature-19.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-encryption-19.html">http://self-issued.info/docs/draft=
-ietf-jose-json-web-encryption-19.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-key-19.html">http://self-issued.info/docs/draft-ietf-j=
ose-json-web-key-19.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-jose-json-web-algorithms-19.html">http://self-issued.info/docs/draft=
-ietf-jose-json-web-algorithms-19.html</a><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><a href=3D"http://self-issued.info/docs/draf=
t-ietf-oauth-json-web-token-14.html">http://self-issued.info/docs/draft-iet=
f-oauth-json-web-token-14.html</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD77450TK5EX14MBXC286r_--

From ve7jtb@ve7jtb.com  Sun Dec 29 13:21:38 2013
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DB421AE2BE for <jose@ietfa.amsl.com>; Sun, 29 Dec 2013 13:21:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqhqqR3XXqlM for <jose@ietfa.amsl.com>; Sun, 29 Dec 2013 13:21:33 -0800 (PST)
Received: from mail-qe0-f43.google.com (mail-qe0-f43.google.com [209.85.128.43]) by ietfa.amsl.com (Postfix) with ESMTP id 50B271AE28F for <jose@ietf.org>; Sun, 29 Dec 2013 13:21:33 -0800 (PST)
Received: by mail-qe0-f43.google.com with SMTP id jy17so10697826qeb.16 for <jose@ietf.org>; Sun, 29 Dec 2013 13:21:27 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=nQzD4vfMVwyJbkuZjyTpYoqnx6Nq6Vbsn6YFb7mdjq4=; b=hGUaD0bcHkQbLjHl+wMK40Zr+QbXCXc+ZG6ehyS1Ah5bxLcyL/DDdN2zfaJ9rebqp3 Xc0RCVKuv1nvKHrfV2xzQnW9h7COe136NyIoplfy3ze98ja9AoyU2MWmYeY+qwY97+3t XsSGvMYEmQ9wBip/705u/3rw7scP3HGZBhv6kzXrP53ptRAIwourwUVWnSwnTtGy28Im dq6ljBIhukomajb8/Og911l0tebXhO9s1DG5aTxelnidqQozjTmsGYUPOA3YvGM15MV7 Pc8LVl72ZsF/3Bw+87gP3yrkxjhkNHWbIpBgslqtU0oIRKD5NT2TJFpIIlWk2vMCm60W +7vQ==
X-Gm-Message-State: ALoCoQnIl6SpFyf+JN9w8Z9d45DRLOyteG+VIxqipGM+WqymoyY/uyWbp8LRjwkVintYZUCiPYgh
X-Received: by 10.49.72.66 with SMTP id b2mr104345454qev.11.1388352087427; Sun, 29 Dec 2013 13:21:27 -0800 (PST)
Received: from [192.168.1.217] (190-20-47-183.baf.movistar.cl. [190.20.47.183]) by mx.google.com with ESMTPSA id z16sm62372096qab.3.2013.12.29.13.21.24 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Dec 2013 13:21:25 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_9D77143E-95BE-42CF-9056-4039BABAE9A4"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com>
Date: Sun, 29 Dec 2013 18:21:21 -0300
Message-Id: <600AC359-7B7D-437E-B450-69F465BB301D@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com>
To: ryan-ietf@sleevi.com
X-Mailer: Apple Mail (2.1827)
Cc: Michael Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2013 21:21:38 -0000

--Apple-Mail=_9D77143E-95BE-42CF-9056-4039BABAE9A4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

It seems that WC is wanting something that coverers future key =
disclosure given a secure (or at least logically separate element) =
performing the low level crypto operations.

On the wire with JOSE where in at-least one common use case the JWK is =
public and "use" is used to differentiate between public keys that could =
be used to sign or encrypt with the same alg (say PKCS#1.5) the current =
single element is sufficient and understood by at-least the SAML =
community.

If WC wants to prevent disclosure of keys from a key store to =
applications that is a diffrent use case and I can see using a separate =
element. =20
I don't know that "use_details"  without locking down the alg as well =
will be sufficient.  Given that some one wanting to extract a key likely =
has the ability to submit chosen plain texts and alg if left open, I am =
guessing that keys will still be disclosed.  =20

I would prefer to think of meta-data for secure key storage as a =
separate issue from the on the wire use case.   That is likely why Mike =
is proposing two elements.

I think for storage and protection of symmetric keys especially the alg =
and modes of that alg need to be locked down otherwise we my windup with =
something that doesn't have the required security properties.

John B.

On Dec 27, 2013, at 11:46 PM, Ryan Sleevi <ryan-ietf@sleevi.com> wrote:

> On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
>> I disagree that "use" allows multiple uses.  Sign/Verify both use the =
same
>> algorithm with the same key - just in a producer/consumer role.  =
There
>> would only be a security problem if the same key was used with =
*different*
>> algorithms.
>>=20
>> For symmetric keys, Sign/Verify operations are actually the same, so =
in
>> that case, this is a distinction without a difference.
>>=20
>> You may consider the producer/consumer distinction to be multiple =
uses,
>> but only in an academic sense.  You have to perform both with the =
same key
>> pair or symmetric key for the end-to-end cryptography to be =
meaningful.
>> Doing one without the other is incomplete.  (What good is signing if =
the
>> signature is never verified?)
>=20
> Hi Mike,
>=20
> I don't think it's fair to compare them as the same, and it's very =
much a
> practical, and not an academic case.
>=20
> In a Sign() operation, the input is arbitrary plaintext and the output =
is
> a signature corresponding to that plaintext; an oracle, if you will - =
as
> you would want.
>=20
> In an API (although not necessarily in JWE/JWS, and understandably =
so), a
> Verify() operation permits arbitrary plaintext as the input, but also
> requires the signature to be verified. The only output is a boolean -
> whether or not the signature is correct.
>=20
> The goal of "restricting" the uses here would be to allow key storage =
not
> necessarily under the control of the caller. In WebCrypto, this is the
> distinction between the executing JS (served by the web page) and the =
UA
> implementation. It's a concept borrowed from any number of other good
> cryptographic APIs (eg: those that are designed with the notion of =
opaque
> key storage)
>=20
> With a symmetric key only permitted for a "Verify" operation, the only =
way
> to generate a signature for an arbitrary message is
> a) Compromise the key storage
> b) Iterate through all possible signature combinations until you get
> "true" as the Verify() result.
>=20
> b) may be aided by any number of implementation issues (eg: =
non-constant
> time comparisons, among others), but is ultimately "tricky". a) is
> dependent on implementations, and can be aided or harmed through a =
variety
> of means.
>=20
> Combining these two usages into a single use case - which, I agree, is
> probably perfectly acceptable if imagining as a transport-only =
exchange -
> can thus have real and meaningful differences when used at an API =
level.
>=20
>>=20
>> Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
>> distinctions, but also only use a single key with a single algorithm =
-
>> therefore no security problem.
>>=20
>> =3D=3D=3D=3D
>>=20
>> For what it's worth, I think the different key use representation =
choices
>> stems from JOSE being a high-level API that tries to make simple =
things
>> simple and WebCrypto being a low-level API that tries to be complete.
>> Both are valid and useful.  These differences show up in lots of =
places
>> besides just key usage representations.
>=20
> Absolutely agree here. This is why WebCrypto explored whether we =
should do
> something "JWK-like", but suitable at an API layer and for it's goals, =
and
> "trivially" convertable with JWK - but by script authors. The =
WebCrypto WG
> wasn't fond of it, which is understandable, and why I'm here.
>=20
>>=20
>> Anyway, the purpose of my proposal is to try to make things easier =
for
>> WebCrypto.  I hope people will get behind it.  Yes, having both =
simple and
>> detailed key usage representations seems odd at first.  But they're
>> designed to address different goals for different kinds of =
applications.
>> The alternatives (such as "signOnly,verifyOnly", etc.) that are =
currently
>> being considered are much worse.
>>=20
>> 				-- Mike
>=20
> I agree that changing to an array will almost certainly break every
> implementation to date.
>=20
> I agree that comma-separated is horribad and should be avoided, even =
if it
> "solves" the backwards compat issue.
>=20
> I think your solution is a reasonable attempt to mediate the issues of
> backwards compatibility with the use cases of WebCrypto. However, I'm
> still on the fence as to whether or not it really is unreasonable to
> "break" backwards compatibility here - there seems to be a compelling =
case
> here as to why even something like ["sign", "verify"] should be =
distinct
> usages. I know the bar is incredibly high right now, given JOSE's
> momentum, but I didn't think that JOSE was past the point of no =
return.
>=20
>>=20
>> -----Original Message-----
>> From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
>> Sent: Friday, December 27, 2013 2:13 PM
>> To: John Bradley
>> Cc: Mike Jones; jose@ietf.org
>> Subject: Re: [jose] Two proposed JOSE spec actions to more closely
>> coordinate with WebCrypto
>>=20
>> I'm sorry, John, but by your logic, JOSE is not following your own =
advice.
>>=20
>> "enc" is already a multiple-use for a key - it allows for both =
encryption
>> and decryption. For that matter, wrap and unwrap, which are supposed =
to be
>> inferred based on algorithm, which is a JWE/JWS specific aspect, and =
not
>> an intrinsic aspect of JWK-as-key-representation.
>>=20
>> Likewise, "sig" implies sign AND verify, which is meant to be =
unambiguous,
>> because the assumption is always that you sign with a private key and
>> verify with a public key, but as a conceptual framework breaks down =
for
>> schemes like HMAC, which ostensibly have sign and verify (or MAC and
>> verify, if you prefer, but we're splitting hairs here).
>>=20
>> WebCrypto desires to be *more* precise than JOSE's imprecise and =
overly
>> broad, implicitly multi-use syntax. That "enc" means four possible =
uses,
>> or that "sig" means two , is a clear sign that JOSE is already =
actively
>> encouraging multiple uses for the same key.
>>=20
>> Mike's proposal is basically an admission that the ship has sailed on =
this
>> implicit, multi-valued usage semantic - which, I can understand and
>> sympathize with, in the name of backwards compatibility for an =
in-draft
>> spec, but let's recognize that as spec'd today, JOSE is preferring =
and
>> encouraging multiple uses for the same key in ways that will
>> unquestionably encourage people to make bad mistakes (such as =
multiple
>> parties using the same encryption key for traffic in either direction =
-
>> requiring some degree of IV sync)
>>=20
>> On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
>>> Having it be an array encourages multiple uses for the same key.  I
>>> have  stated many times that encouraging people to do that is not a
>>> good idea,  and making it easy makes people think it is a good idea.
>>>=20
>>> You can use the single value field and have multiple entries with
>>> different key containing the same or different keys to do the same
>>> thing.
>>>=20
>>> On the practical side "use_details" is better than creating crazy =
dot
>>> separated como uses.
>>>=20
>>> John B.
>>>=20
>>> On Dec 24, 2013, at 8:26 PM, Mike Jones =
<Michael.Jones@microsoft.com>
>>> wrote:
>>>=20
>>>> Hi all,
>>>>=20
>>>> Having reflected upon discussions among WebCrypto and JOSE
>>>> participants about JWK usage by WebCrypto over the holidays, I'd
>>>> like to propose the two JOSE spec actions to more closely =
coordinate
>>> with WebCrypto:
>>>>=20
>>>> 1.  Change the JWA registry field name from "Implementation
>>>> Requirements" to "JOSE Implementation Requirements" in the JSON Web
>>>> Signature and Encryption Algorithms Registry
>>>> =
(http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#section=
-7.1).
>>>> This will make it clearer that the Implementation Requirements
>>>> apply only to JWS and JWE implementations - and not other uses of
>>>> JWK (such as WebCrypto).  This changes only non-normative text and =
is
>>> non-breaking.
>>>>=20
>>>> 2.  Define the new JWK field "use_details" for recording intended
>>>> fine-grained key usage information.  This would enable WebCrypto
>>>> KeyUsage
>>>> =
(https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.htm
>>>> l#key-interface) values to be used directly with JWK.  The proposed
>>>> definition is:
>>>>=20
>>>> 3.3.  "use_details" (Key Use Details) Parameter
>>>>   The "use_details" (key use details) member identifies =
fine-grained
>>>>   details the intended use of the key.  Its value is an array of
>>>>   key use details values.  Values defined by this specification =
are:
>>>>=20
>>>>   o  "sign" (compute signature or MAC)
>>>>   o  "verify" (verify signature or MAC)
>>>>   o  "encrypt" (encrypt content)
>>>>   o  "decrypt" (decrypt content and verify decryption, if =
applicable)
>>>>   o  "wrap" (encrypt key)
>>>>   o  "unwrap" (decrypt key and verify decryption, if applicable)
>>>>   o  "deriveKey" (derive key)
>>>>   o  "deriveBits" (derive bits not to be used as a key)
>>>>=20
>>>>   Other values MAY be used.  Key Use Details values can be =
registered
>>>>   in the IANA JSON Web Key Use Details registry defined in Section
>>> 7.3.
>>>>   The use details values are case-sensitive strings.
>>>>   Duplicate use details values MUST NOT be present in the array.
>>>>   Use of the "use_details" member is OPTIONAL, unless the =
application
>>>>   requires use this member to record fine-grained key usage =
details.
>>>>   (Note that the "use_details" values intentionally match the
>>>> "KeyUsage"
>>>>   values defined in the WebCrypto [WebCrypto] specification.)
>>>>=20
>>>>   If both "use" and "use_details" JWK members are present, the =
usages
>>>>   specified by them MUST be consistent.  In particular, the "use"
>>> value
>>>>   "sig" corresponds to "sign" and/or "verify".  The "use" value
>>>>   "enc" corresponds to all other values defined above.
>>>>   If "use_details" values corresponding to both "sig" and "enc"
>>>>   "use" values are present, the "use" member SHOULD NOT be present,
>>>>   and if present, its value MUST NOT be either "sig" or "enc".
>>>>=20
>>>> This is a non-breaking change - allowing simple applications that
>>>> want to distinguish between signing and encryption operations to
>>>> continue doing so as they do today, while also providing a
>>>> multi-valued key usage details field to be used by applications =
that
>>>> want to record fine-grained distinctions among potential key =
usages,
>>>> including distinguishing between producer and consumer operations.
>>>>=20
>>>> As I see it, while having two related key usage representations
>>>> isn't ideal, it's far better than having WebCrypto overload "use"
>>>> with multi-valued values encoded in strings, such as
>>>> "signOnly,verifyOnly", which I believe is their current plan of
>>> record.
>>>>=20
>>>> Comments?
>>>>=20
>>>>                                                            -- Mike
>>>>=20
>>>> P.S.  This proposal was already discussed on the WebCrypto list in
>>>> the thread
>>>> =
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.ht
>>>> ml and no objections were raised there that I'm aware of.
>>>>=20
>>>> _______________________________________________
>>>> jose mailing list
>>>> jose@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/jose
>>>=20
>>> _______________________________________________
>>> jose mailing list
>>> jose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/jose
>>>=20
>>=20
>>=20
>> _______________________________________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_9D77143E-95BE-42CF-9056-4039BABAE9A4
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFy
dENvbSBDbGFzcyAyIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAMsohUWcASz7GfKrpTOMKqANy9BV7V0igWdGxA8IU77L3aTxErQ+
fcxtDYZ36Z6GH0YFn7fq5RADte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g
kk7GfmCjxi0WLdyNEASuwG48s4MFwNBP5Dn5QffwJSgV1I/+sNA6CYfaMnQrOg05TWSkyJjWuAAA
AAAAAA==

--Apple-Mail=_9D77143E-95BE-42CF-9056-4039BABAE9A4--

From odonoghue@isoc.org  Mon Dec 30 07:55:25 2013
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D7D51AE293 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 07:55:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U18sRYttzVDt for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 07:55:22 -0800 (PST)
Received: from smtp150.ord.emailsrvr.com (smtp150.ord.emailsrvr.com [173.203.6.150]) by ietfa.amsl.com (Postfix) with ESMTP id 285CE1AE4FF for <jose@ietf.org>; Mon, 30 Dec 2013 07:55:22 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp23.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 5AB651C844C; Mon, 30 Dec 2013 10:55:16 -0500 (EST)
X-Virus-Scanned: OK
Received: by smtp23.relay.ord1a.emailsrvr.com (Authenticated sender: odonoghue-AT-isoc.org) with ESMTPSA id 5F0931C81D2;  Mon, 30 Dec 2013 10:55:15 -0500 (EST)
Message-ID: <52C19762.6030305@isoc.org>
Date: Mon, 30 Dec 2013 10:55:14 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
Organization: ISOC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
References: <4E1F6AAD24975D4BA5B16804296739437CD77450@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD77450@TK5EX14MBXC286.redmond.corp.microsoft.com>
Content-Type: multipart/alternative; boundary="------------040606020802040203070609"
Cc: Sean Turner <turners@ieca.com>
Subject: Re: [jose] JOSE -19 drafts intended for Working Group Last Call
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: odonoghue@isoc.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 15:55:25 -0000

This is a multi-part message in MIME format.
--------------040606020802040203070609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Mike,

Thank you for your efforts producing the latest draft. As discussed in 
Vancouver, we will have a virtual interim (teleconference) on Monday 13 
January at 7 pm EST (2400 UTC). At that point we will determine if there 
is working group consensus to proceed to WGLC. I do not believe there is 
wg consensus on the "use_details" JWK field, and I'd like to see more 
discussion on that topic.

Regards,
Karen

On 12/29/13 7:48 AM, Mike Jones wrote:
>
> JSON Object Signing and Encryption (JOSE) -19 drafts have been 
> published that address all my remaining to-do items for the open 
> issues.  I believe the remainder of the issues are either ready to 
> close because of actions already taken in the drafts (the majority of 
> them), require further input to identify any specific remaining 
> proposed actions, if any (a few of them), or will be considered during 
> Working Group Last Call (a few of them).  Only editorial changes and 
> one addition were made -- no breaking changes.
>
> In short, I believe I have addressed everything needed to bring us to 
> Working Group Last Call for the JWS, JWE, JWK, and JWA specs.  (Chairs 
> and Sean, please let me know whether you agree or whether you believe 
> anything else remains to be done before WGLC.)
>
> The one addition was to add the optional "use_details" JWK field, as 
> discussed on the JOSE list and the WebCrypto list.  While I realize 
> that this proposal hasn't gotten much review yet (I believe due to the 
> holidays), I wanted to get it in so people can review it in context, 
> and as a concrete step towards meeting a perceived need for additional 
> JWK functionality from the WebCrypto working group.  It's cleanly 
> separable from the rest of the spec, so if the JOSE WG ends up hating 
> it, we can always take it back out and possibly move it to a separate 
> spec.  But at least we have a concrete write-up of it now to review.
>
> I also made a one-paragraph change to the JSON Web Token (JWT) spec to 
> reference text in JWE, rather than duplicating it in JWT.
>
> See the History entries for details of the (small number of) changes made.
>
> The drafts are available at:
>
> ·http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19
>
> ·http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19
>
> ·http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19
>
> ·http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19
>
> ·http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-14
>
> HTML formatted versions are also available at:
>
> ·http://self-issued.info/docs/draft-ietf-jose-json-web-signature-19.html
>
> ·http://self-issued.info/docs/draft-ietf-jose-json-web-encryption-19.html
>
> ·http://self-issued.info/docs/draft-ietf-jose-json-web-key-19.html
>
> ·http://self-issued.info/docs/draft-ietf-jose-json-web-algorithms-19.html
>
> ·http://self-issued.info/docs/draft-ietf-oauth-json-web-token-14.html
>
> -- Mike
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


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

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Mike,<br>
      <br>
      Thank you for your efforts producing the latest draft. As
      discussed in Vancouver, we will have a virtual interim
      (teleconference) on Monday 13 January at 7 pm EST (2400 UTC). At
      that point we will determine if there is working group consensus
      to proceed to WGLC. I do not believe there is wg consensus on the
      "use_details" JWK field, and I'd like to see more discussion on
      that topic.<br>
      <br>
      Regards,<br>
      Karen<br>
      <br>
      On 12/29/13 7:48 AM, Mike Jones wrote:<br>
    </div>
    <blockquote
cite="mid:4E1F6AAD24975D4BA5B16804296739437CD77450@TK5EX14MBXC286.redmond.corp.microsoft.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1098254242;
	mso-list-type:hybrid;
	mso-list-template-ids:-264357738 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1292976506;
	mso-list-type:hybrid;
	mso-list-template-ids:714098162 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">JSON Object Signing and Encryption (JOSE)
          -19 drafts have been published that address all my remaining
          to-do items for the open issues.&nbsp; I believe the remainder of
          the issues are either ready to close because of actions
          already taken in the drafts (the majority of them), require
          further input to identify any specific remaining proposed
          actions, if any (a few of them), or will be considered during
          Working Group Last Call (a few of them).&nbsp; Only editorial
          changes and one addition were made &#8211; no breaking changes.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">In short, I believe I have addressed
          everything needed to bring us to Working Group Last Call for
          the JWS, JWE, JWK, and JWA specs.&nbsp; (Chairs and Sean, please
          let me know whether you agree or whether you believe anything
          else remains to be done before WGLC.)<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The one addition was to add the optional &#8220;<span
            style="font-family:&quot;Courier New&quot;">use_details</span>&#8221;
          JWK field, as discussed on the JOSE list and the WebCrypto
          list.&nbsp; While I realize that this proposal hasn&#8217;t gotten much
          review yet (I believe due to the holidays), I wanted to get it
          in so people can review it in context, and as a concrete step
          towards meeting a perceived need for additional JWK
          functionality from the WebCrypto working group.&nbsp; It&#8217;s cleanly
          separable from the rest of the spec, so if the JOSE WG ends up
          hating it, we can always take it back out and possibly move it
          to a separate spec.&nbsp; But at least we have a concrete write-up
          of it now to review.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">I also made a one-paragraph change to the
          JSON Web Token (JWT) spec to reference text in JWE, rather
          than duplicating it in JWT.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">See the History entries for details of the
          (small number of) changes made.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The drafts are available at:<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-14">http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-14</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">HTML formatted versions are also available
          at:<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo2"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
href="http://self-issued.info/docs/draft-ietf-jose-json-web-signature-19.html">http://self-issued.info/docs/draft-ietf-jose-json-web-signature-19.html</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo2"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
href="http://self-issued.info/docs/draft-ietf-jose-json-web-encryption-19.html">http://self-issued.info/docs/draft-ietf-jose-json-web-encryption-19.html</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo2"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
            href="http://self-issued.info/docs/draft-ietf-jose-json-web-key-19.html">http://self-issued.info/docs/draft-ietf-jose-json-web-key-19.html</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo2"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
href="http://self-issued.info/docs/draft-ietf-jose-json-web-algorithms-19.html">http://self-issued.info/docs/draft-ietf-jose-json-web-algorithms-19.html</a><o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo2"><!--[if !supportLists]--><span
            style="font-family:Symbol"><span style="mso-list:Ignore">&middot;<span
                style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              </span></span></span><!--[endif]--><a
            moz-do-not-send="true"
href="http://self-issued.info/docs/draft-ietf-oauth-json-web-token-14.html">http://self-issued.info/docs/draft-ietf-oauth-json-web-token-14.html</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          -- Mike<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
jose mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jose@ietf.org">jose@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/jose">https://www.ietf.org/mailman/listinfo/jose</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------040606020802040203070609--

From odonoghue@isoc.org  Mon Dec 30 08:19:53 2013
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 189491AE2BA for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 08:19:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GUKm7L77wj9m for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 08:19:51 -0800 (PST)
Received: from smtp150.ord.emailsrvr.com (smtp150.ord.emailsrvr.com [173.203.6.150]) by ietfa.amsl.com (Postfix) with ESMTP id CB8C11AE12A for <jose@ietf.org>; Mon, 30 Dec 2013 08:19:50 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp23.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 0D2091C835A for <jose@ietf.org>; Mon, 30 Dec 2013 11:19:45 -0500 (EST)
X-Virus-Scanned: OK
Received: by smtp23.relay.ord1a.emailsrvr.com (Authenticated sender: odonoghue-AT-isoc.org) with ESMTPSA id 6F2601C8361 for <jose@ietf.org>; Mon, 30 Dec 2013 11:19:44 -0500 (EST)
Message-ID: <52C19D1F.7060407@isoc.org>
Date: Mon, 30 Dec 2013 11:19:43 -0500
From: Karen O'Donoghue <odonoghue@isoc.org>
Organization: ISOC
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: "jose@ietf.org" <jose@ietf.org>
References: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com>
In-Reply-To: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com>
X-Forwarded-Message-Id: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com>
Content-Type: multipart/alternative; boundary="------------000009080507090807020608"
Subject: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: odonoghue@isoc.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 16:19:53 -0000

This is a multi-part message in MIME format.
--------------000009080507090807020608
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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

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

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

The webex details are below.

Regards,
Karen


-------------------------------------------------------
Meeting information
-------------------------------------------------------
Topic: jose
Date: Monday, January 13, 2014
Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)
Meeting Number: 647 642 200
Meeting Password: security

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


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

Access code:647 642 200

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


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

http://www.webex.com

CCM:+16504793208x647642200#

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



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

<html>
  <head>

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

--------------000009080507090807020608--

From Michael.Jones@microsoft.com  Mon Dec 30 11:41:00 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE7561AE2D7 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 11:40:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ppokWlpNiKPZ for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 11:40:50 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0153.outbound.protection.outlook.com [207.46.163.153]) by ietfa.amsl.com (Postfix) with ESMTP id D663E1AE21E for <jose@ietf.org>; Mon, 30 Dec 2013 11:40:49 -0800 (PST)
Received: from BY2PR03CA033.namprd03.prod.outlook.com (10.242.234.154) by BY2PR03MB125.namprd03.prod.outlook.com (10.242.36.14) with Microsoft SMTP Server (TLS) id 15.0.842.7; Mon, 30 Dec 2013 19:40:41 +0000
Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::119) by BY2PR03CA033.outlook.office365.com (2a01:111:e400:2c2c::26) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Mon, 30 Dec 2013 19:40:41 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Mon, 30 Dec 2013 19:40:41 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.03.0158.002; Mon, 30 Dec 2013 19:40:10 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, Richard Barnes <rlb@ipv.sx>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkIABRb8AgALUdoCAABBGYA==
Date: Mon, 30 Dec 2013 19:40:09 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com>
In-Reply-To: <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD80072TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(53754006)(35774003)(199002)(52314003)(189002)(377454003)(13464003)(51704005)(243025003)(24454002)(80976001)(4396001)(85806002)(85306002)(84326002)(46102001)(59766001)(77982001)(51856001)(74876001)(76796001)(81816001)(561944002)(77096001)(76786001)(83072002)(33656001)(53806001)(76482001)(6806004)(69226001)(15975445006)(81542001)(65816001)(80022001)(71186001)(54316002)(47736001)(81686001)(74502001)(74706001)(74662001)(47446002)(50986001)(16236675002)(87266001)(79102001)(74366001)(87936001)(85852003)(63696002)(20776003)(81342001)(19300405004)(54356001)(55846006)(19580405001)(83322001)(2656002)(19580395003)(15202345003)(56776001)(44976005)(31966008)(56816005)(47976001)(512954002)(90146001)(66066001)(49866001)(559001)(569005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB125; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0076F48C8A
X-OriginatorOrg: microsoft.com
Cc: John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 19:41:00 -0000

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

As further background for the discussion, the current "use" definition is b=
ased on widely deployed existing practice - the SAML metadata specification=
 (http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf), =
which defines "use" as follows in section 2.4.1.1:
use [Optional]
Optional attribute specifying the purpose of the key being described. Value=
s are drawn from the

KeyTypes enumeration, and consist of the values encryption and signing.



This has been shown to be sufficient in practice for its intended purpose, =
as has the JWK "use" field.



I understand your point, Ryan, that for the WebCrypto API use case, there i=
s sometimes value in distinguishing between the producer and consumer opera=
tions for a key.  That's part of why I proposed adding "use_details", so th=
ose distinctions can be made for the use cases where they do make a differe=
nce.



As for Richard's proposal, the problem with it is that it would be a breaki=
ng change, since if "ku" was present, his proposal would require different =
treatment of the "use" field (ignoring it).  My proposal is not a breaking =
change, since "use" continues to mean what it always has.  Furthermore, my =
proposal requires that "use" and "use_details" convey consistent informatio=
n, if both are present.  That seems significantly simpler for consumers of =
JWKs use than requiring conditional behaviors, as Richard's proposal does.



                                                            Best wishes,

                                                            -- Mike



-----Original Message-----
From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
Sent: Monday, December 30, 2013 10:25 AM
To: Richard Barnes
Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto



On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:

>  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones

>  <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>wrote:

>

> > It's my sense of the JOSE working group that most are strongly

> > opposed to breaking changes at this point.

>

>

>  Please don't claim to represent the WG.  There is a significant

> contingent  who care about breaking changes, but also a significant

> group who would  prefer the best, most usable spec we can make,

> regardless of the sins of  the past.

>

>

>

> > However, I also believe that most JOSE participants share the

> > sentiment of many WebCrypto participants that it would be better for

> > all for WebCrypto to use real JWKs, rather than something

> > "JWK-like".

> >

>

>   How about this for a compromise proposal:

>  -- Leave "use" in for backward compatibility.

>  -- Define a new field "ku" (Key Usage, or something similar) that has

> detailed key usage information.

>  -- Deprecate "use", recommending that new applications use "ku"; if

> both  are present, "use" MUST be ignored.

>  -- Define the expansion of "use" values to "ku" values

>

>  That doesn't break backward compatibilty, but makes detailed control

> the  default going forward.

>

>  --Richard



As I expressed within WebCrypto, this to me strikes a much more sensible ba=
lance of backwards compatibility and extensibility, and hopefully in a way =
that allows existing deployments to cleanly transition while allowing new d=
eployments to avoid the limitations of the current drafts.



I very much prefer this over use_details for Web Crypto's use cases.



>

>  I believe my proposal is the best-available solution, given the

> current

> > realistic constraints.  It might have made better sense for a

> > WebCrypto spec to define "use_details" than JOSE, but if WebCrypto

> > isn't going to do it, I believe that we'll all be better off in the

> > long run if JOSE then does and WebCrypto uses it.

> >

> >                                 Cheers,

> >                                 -- Mike

> >

> > -----Original Message-----

> > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]

> > Sent: Friday, December 27, 2013 6:46 PM

> > To: Mike Jones

> > Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; John Bradley; jo=
se@ietf.org<mailto:jose@ietf.org>

> > Subject: Re: [jose] Two proposed JOSE spec actions to more closely

> > coordinate with WebCrypto

> >

> > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:

> > >  I disagree that "use" allows multiple uses.  Sign/Verify both use

> > > the same  algorithm with the same key - just in a producer/consumer r=
ole.

> > > There  would only be a security problem if the same key was used

> > > with

> > > *different*  algorithms.

> > >

> > >  For symmetric keys, Sign/Verify operations are actually the same,

> > > so in  that case, this is a distinction without a difference.

> > >

> > >  You may consider the producer/consumer distinction to be multiple

> > > uses,  but only in an academic sense.  You have to perform both

> > > with the same key  pair or symmetric key for the end-to-end

> > > cryptography to

> > be meaningful.

> > >  Doing one without the other is incomplete.  (What good is signing

> > > if the  signature is never verified?)

> >

> > Hi Mike,

> >

> > I don't think it's fair to compare them as the same, and it's very

> > much a practical, and not an academic case.

> >

> > In a Sign() operation, the input is arbitrary plaintext and the

> > output is a signature corresponding to that plaintext; an oracle, if

> > you will - as you would want.

> >

> > In an API (although not necessarily in JWE/JWS, and understandably

> > so), a

> > Verify() operation permits arbitrary plaintext as the input, but

> > also requires the signature to be verified. The only output is a

> > boolean - whether or not the signature is correct.

> >

> > The goal of "restricting" the uses here would be to allow key

> > storage not necessarily under the control of the caller. In

> > WebCrypto, this is the distinction between the executing JS (served

> > by the web page) and the UA implementation. It's a concept borrowed

> > from any number of other good cryptographic APIs (eg: those that are

> > designed with the notion of opaque key storage)

> >

> > With a symmetric key only permitted for a "Verify" operation, the

> > only way to generate a signature for an arbitrary message is

> > a) Compromise the key storage

> > b) Iterate through all possible signature combinations until you get

> > "true" as the Verify() result.

> >

> > b) may be aided by any number of implementation issues (eg:

> > non-constant time comparisons, among others), but is ultimately

> > "tricky". a) is dependent on implementations, and can be aided or

> > harmed through a variety of means.

> >

> > Combining these two usages into a single use case - which, I agree,

> > is probably perfectly acceptable if imagining as a transport-only

> > exchange

> > -

> > can thus have real and meaningful differences when used at an API level=
.

> >

> > >

> > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer

> > > distinctions, but also only use a single key with a single

> > > algorithm - therefore no security problem.

> > >

> > >  =3D=3D=3D=3D

> > >

> > >  For what it's worth, I think the different key use representation

> > > choices  stems from JOSE being a high-level API that tries to make

> > > simple things  simple and WebCrypto being a low-level API that

> > > tries

> > to

> > be complete.

> > >  Both are valid and useful.  These differences show up in lots of

> > > places  besides just key usage representations.

> >

> > Absolutely agree here. This is why WebCrypto explored whether we

> > should do something "JWK-like", but suitable at an API layer and for

> > it's goals, and "trivially" convertable with JWK - but by script

> > authors. The WebCrypto WG wasn't fond of it, which is

> > understandable, and why I'm here.

> >

> > >

> > >  Anyway, the purpose of my proposal is to try to make things

> > > easier for  WebCrypto.  I hope people will get behind it.  Yes,

> > > having both simple and  detailed key usage representations seems odd =
at first.

> > > But they're  designed to address different goals for different

> > > kinds

> > of

> > applications.

> > >  The alternatives (such as "signOnly,verifyOnly", etc.) that are

> > > currently  being considered are much worse.

> > >

> > >                               -- Mike

> >

> > I agree that changing to an array will almost certainly break every

> > implementation to date.

> >

> > I agree that comma-separated is horribad and should be avoided, even

> > if it "solves" the backwards compat issue.

> >

> > I think your solution is a reasonable attempt to mediate the issues

> > of backwards compatibility with the use cases of WebCrypto. However,

> > I'm still on the fence as to whether or not it really is

> > unreasonable to "break"

> > backwards compatibility here - there seems to be a compelling case

> > here as to why even something like ["sign", "verify"] should be

> > distinct usages.

> > I

> > know the bar is incredibly high right now, given JOSE's momentum,

> > but I didn't think that JOSE was past the point of no return.

> >

> > >

> > >  -----Original Message-----

> > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]

> > >  Sent: Friday, December 27, 2013 2:13 PM

> > >  To: John Bradley

> > >  Cc: Mike Jones; jose@ietf.org<mailto:jose@ietf.org>

> > >  Subject: Re: [jose] Two proposed JOSE spec actions to more

> > > closely coordinate with WebCrypto

> > >

> > >  I'm sorry, John, but by your logic, JOSE is not following your

> > > own

> > advice.

> > >

> > >  "enc" is already a multiple-use for a key - it allows for both

> > > encryption  and decryption. For that matter, wrap and unwrap,

> > > which are supposed to be  inferred based on algorithm, which is a

> > > JWE/JWS specific aspect, and not  an intrinsic aspect of

> > JWK-as-key-representation.

> > >

> > >  Likewise, "sig" implies sign AND verify, which is meant to be

> > > unambiguous,  because the assumption is always that you sign with

> > > a private key and  verify with a public key, but as a conceptual

> > > framework breaks down for  schemes like HMAC, which ostensibly

> > > have sign and verify (or MAC and  verify, if you prefer, but we're

> > splitting

> > hairs here).

> > >

> > >  WebCrypto desires to be *more* precise than JOSE's imprecise and

> > > overly  broad, implicitly multi-use syntax. That "enc" means four

> > > possible uses,  or that "sig" means two , is a clear sign that

> > > JOSE is already actively  encouraging multiple uses for the same key.

> > >

> > >  Mike's proposal is basically an admission that the ship has

> > > sailed on this  implicit, multi-valued usage semantic - which, I

> > > can understand and  sympathize with, in the name of backwards

> > > compatibility for an in-draft  spec, but let's recognize that as

> > > spec'd today, JOSE is preferring and  encouraging multiple uses

> > > for the same key in ways that will  unquestionably encourage

> > > people to make bad mistakes (such as multiple  parties using the

> > > same encryption key for traffic in either direction -  requiring

> > > some degree of IV sync)

> > >

> > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:

> > > >  Having it be an array encourages multiple uses for the same

> > > > key.  I have  stated many times that encouraging people to do

> > > > that is not a good idea,  and making it easy makes people think it =
is a good idea.

> > > >

> > > >  You can use the single value field and have multiple entries

> > > > with different key containing the same or different keys to do

> > > > the same thing.

> > > >

> > > >  On the practical side "use_details" is better than creating

> > > > crazy dot separated como uses.

> > > >

> > > >  John B.

> > > >

> > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones

> > > > <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>

> > > >  wrote:

> > > >

> > > > > Hi all,

> > > > >

> > > > > Having reflected upon discussions among WebCrypto and JOSE

> > > > > participants about JWK usage by WebCrypto over the holidays,

> > > > > I'd like to propose the two JOSE spec actions to more closely

> > > > > coordinate

> > > > with WebCrypto:

> > > > >

> > > > > 1.  Change the JWA registry field name from "Implementation

> > > > > Requirements" to "JOSE Implementation Requirements" in the

> > > > > JSON Web Signature and Encryption Algorithms Registry (

> > http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se

> > ction-7.1

> > ).

> > > > >  This will make it clearer that the Implementation

> > > > > Requirements apply only to JWS and JWE implementations - and

> > > > > not other uses of JWK (such as WebCrypto).  This changes only

> > > > > non-normative text and is

> > > > non-breaking.

> > > > >

> > > > > 2.  Define the new JWK field "use_details" for recording

> > > > > intended fine-grained key usage information.  This would

> > > > > enable WebCrypto KeyUsage

> > > > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi

> > > > > ew.h

> > > > > tm

> > > > > l#key-interface) values to be used directly with JWK.  The

> > > > > proposed definition is:

> > > > >

> > > > > 3.3.  "use_details" (Key Use Details) Parameter

> > > > >    The "use_details" (key use details) member identifies

> > fine-grained

> > > > >    details the intended use of the key.  Its value is an array of

> > > > >    key use details values.  Values defined by this

> > > > > specification

> > are:

> > > > >

> > > > >    o  "sign" (compute signature or MAC)

> > > > >    o  "verify" (verify signature or MAC)

> > > > >    o  "encrypt" (encrypt content)

> > > > >    o  "decrypt" (decrypt content and verify decryption, if

> > applicable)

> > > > >    o  "wrap" (encrypt key)

> > > > >    o  "unwrap" (decrypt key and verify decryption, if applicable)

> > > > >    o  "deriveKey" (derive key)

> > > > >    o  "deriveBits" (derive bits not to be used as a key)

> > > > >

> > > > >    Other values MAY be used.  Key Use Details values can be

> > registered

> > > > >    in the IANA JSON Web Key Use Details registry defined in

> > > > > Section

> > > > 7.3.

> > > > >    The use details values are case-sensitive strings.

> > > > >    Duplicate use details values MUST NOT be present in the array.

> > > > >    Use of the "use_details" member is OPTIONAL, unless the

> > application

> > > > >    requires use this member to record fine-grained key usage

> > details.

> > > > >    (Note that the "use_details" values intentionally match the

> > > > > "KeyUsage"

> > > > >    values defined in the WebCrypto [WebCrypto] specification.)

> > > > >

> > > > >    If both "use" and "use_details" JWK members are present,

> > > > > the

> > usages

> > > > >    specified by them MUST be consistent.  In particular, the "use=
"

> > > > value

> > > > >    "sig" corresponds to "sign" and/or "verify".  The "use" value

> > > > >    "enc" corresponds to all other values defined above.

> > > > >    If "use_details" values corresponding to both "sig" and "enc"

> > > > >    "use" values are present, the "use" member SHOULD NOT be

> > present,

> > > > >    and if present, its value MUST NOT be either "sig" or "enc".

> > > > >

> > > > > This is a non-breaking change - allowing simple applications

> > > > > that want to distinguish between signing and encryption

> > > > > operations to continue doing so as they do today, while also

> > > > > providing a multi-valued key usage details field to be used by

> > > > > applications that want to record fine-grained distinctions

> > > > > among potential key usages, including distinguishing between

> > > > > producer and consumer

> > operations.

> > > > >

> > > > > As I see it, while having two related key usage

> > > > > representations isn't ideal, it's far better than having WebCrypt=
o overload "use"

> > > > > with multi-valued values encoded in strings, such as

> > > > > "signOnly,verifyOnly", which I believe is their current plan

> > > > > of

> > > > record.

> > > > >

> > > > > Comments?

> > > > >

> > > > >                                                             --

> > > > > Mike

> > > > >

> > > > > P.S.  This proposal was already discussed on the WebCrypto

> > > > > list in the thread

> > > > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052=
.

> > > > > ht ml and no objections were raised there that I'm aware of.

> > > > >

> > > > > _______________________________________________

> > > > > jose mailing list

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

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

> > > >

> > > >  _______________________________________________

> > > >  jose mailing list

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

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

> > > >

> > >

> > >

> > >  _______________________________________________

> > >  jose mailing list

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

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

> > >

> >

> > _______________________________________________

> > jose mailing list

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

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

> >

>  _______________________________________________

>  jose mailing list

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

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

>





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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:CourierNewPSMT;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:ArialMT;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Arial-BoldMT;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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";}
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.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.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"MsoPlainText">As further background for the discussion, the cur=
rent &quot;use&quot; definition is based on widely deployed existing practi=
ce - the SAML metadata specification (<a href=3D"http://docs.oasis-open.org=
/security/saml/v2.0/saml-metadata-2.0-os.pdf">http://docs.oasis-open.org/se=
curity/saml/v2.0/saml-metadata-2.0-os.pdf</a>),
 which defines &quot;use&quot; as follows in section 2.4.1.1:<o:p></o:p></p=
>
<p class=3D"MsoNormal" style=3D"margin-left:.5in;text-autospace:none"><span=
 style=3D"font-size:10.0pt;font-family:CourierNewPSMT">use
</span><span style=3D"font-size:10.0pt;font-family:ArialMT">[Optional]<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in;text-autospace:none"><spa=
n style=3D"font-size:10.0pt;font-family:ArialMT">Optional attribute specify=
ing the purpose of the key being described. Values are drawn from the<o:p><=
/o:p></span></p>
<p class=3D"MsoPlainText" style=3D"margin-left:1.0in"><b><span style=3D"fon=
t-size:10.0pt;font-family:Arial-BoldMT">KeyTypes
</span></b><span style=3D"font-size:10.0pt;font-family:ArialMT">enumeration=
, and consist of the values
</span><span style=3D"font-size:10.0pt;font-family:CourierNewPSMT">encrypti=
on </span>
<span style=3D"font-size:10.0pt;font-family:ArialMT">and </span><span style=
=3D"font-size:10.0pt;font-family:CourierNewPSMT">signing</span><span style=
=3D"font-size:10.0pt;font-family:ArialMT">.</span><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">This has been shown to be sufficient in practice =
for its intended purpose, as has the JWK &#8220;use&#8221; field.<o:p></o:p=
></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">I understand your point, Ryan, that for the WebCr=
ypto API use case, there is sometimes value in distinguishing between the p=
roducer and consumer operations for a key.&nbsp; That&#8217;s part of why I=
 proposed adding &#8220;use_details&#8221;, so those distinctions
 can be made for the use cases where they do make a difference.<o:p></o:p><=
/p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">As for Richard's proposal, the problem with it is=
 that it would be a breaking change, since if &quot;ku&quot; was present, h=
is proposal would require different treatment of the &quot;use&quot; field =
(ignoring it).&nbsp; My proposal is not a breaking change,
 since &quot;use&quot; continues to mean what it always has.&nbsp; Furtherm=
ore, my proposal requires that &quot;use&quot; and &quot;use_details&quot; =
convey consistent information, if both are present.&nbsp; That seems signif=
icantly simpler for consumers of JWKs use than requiring conditional behavi=
ors,
 as Richard&#8217;s proposal does.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; Best wishes,<o:p></o:p></p>
<p class=3D"MsoPlainText">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">-----Original Message-----<br>
From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com] <br>
Sent: Monday, December 30, 2013 10:25 AM<br>
To: Richard Barnes<br>
Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.org<br>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto</p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">On Sat, December 28, 2013 3:12 pm, Richard Barnes=
 wrote:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; On Fri, Dec 27, 2013 at 10:50 PM, Mike=
 Jones<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; &lt;<a href=3D"mailto:Michael.Jones@mi=
crosoft.com"><span style=3D"color:windowtext;text-decoration:none">Michael.=
Jones@microsoft.com</span></a>&gt;wrote:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; It's my sense of the JOSE working group=
 that most are strongly
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; opposed to breaking changes at this poi=
nt.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; Please don't claim to represent the WG=
.&nbsp; There is a significant
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; contingent&nbsp; who care about breaking cha=
nges, but also a significant
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; group who would&nbsp; prefer the best, most =
usable spec we can make,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; regardless of the sins of&nbsp; the past.<o:=
p></o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; However, I also believe that most JOSE =
participants share the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; sentiment of many WebCrypto participant=
s that it would be better for
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; all for WebCrypto to use real JWKs, rat=
her than something
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &quot;JWK-like&quot;.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp;&nbsp; How about this for a compromise =
proposal:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; -- Leave &quot;use&quot; in for backwa=
rd compatibility.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; -- Define a new field &quot;ku&quot; (=
Key Usage, or something similar) that has&nbsp;
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; detailed key usage information.<o:p></o:p></=
p>
<p class=3D"MsoPlainText">&gt;&nbsp; -- Deprecate &quot;use&quot;, recommen=
ding that new applications use &quot;ku&quot;; if
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; both&nbsp; are present, &quot;use&quot; MUST=
 be ignored.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; -- Define the expansion of &quot;use&q=
uot; values to &quot;ku&quot; values<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; That doesn't break backward compatibil=
ty, but makes detailed control
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; the&nbsp; default going forward.<o:p></o:p><=
/p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; --Richard<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">As I expressed within WebCrypto, this to me strik=
es a much more sensible balance of backwards compatibility and extensibilit=
y, and hopefully in a way that allows existing deployments to cleanly trans=
ition while allowing new deployments
 to avoid the limitations of the current drafts.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">I very much prefer this over use_details for Web =
Crypto's use cases.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; I believe my proposal is the best-avai=
lable solution, given the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; current<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; realistic constraints.&nbsp; It might h=
ave made better sense for a
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; WebCrypto spec to define &quot;use_deta=
ils&quot; than JOSE, but if WebCrypto
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; isn't going to do it, I believe that we=
'll all be better off in the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; long run if JOSE then does and WebCrypt=
o uses it.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;&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; Cheers,<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; -----Original Message-----<o:p></o:p></=
p>
<p class=3D"MsoPlainText">&gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ry=
an-ietf@sleevi.com"><span style=3D"color:windowtext;text-decoration:none">m=
ailto:ryan-ietf@sleevi.com</span></a>]<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Sent: Friday, December 27, 2013 6:46 PM=
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; To: Mike Jones<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Cc: <a href=3D"mailto:ryan-ietf@sleevi.=
com"><span style=3D"color:windowtext;text-decoration:none">ryan-ietf@sleevi=
.com</span></a>; John Bradley;
<a href=3D"mailto:jose@ietf.org"><span style=3D"color:windowtext;text-decor=
ation:none">jose@ietf.org</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Subject: Re: [jose] Two proposed JOSE s=
pec actions to more closely
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; coordinate with WebCrypto<o:p></o:p></p=
>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike=
 Jones wrote:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; I disagree that &quot;use&qu=
ot; allows multiple uses.&nbsp; Sign/Verify both use
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; the same&nbsp; algorithm with the =
same key - just in a producer/consumer role.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; There&nbsp; would only be a securi=
ty problem if the same key was used
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; with<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; *different*&nbsp; algorithms.<o:p>=
</o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; For symmetric keys, Sign/Ver=
ify operations are actually the same,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; so in&nbsp; that case, this is a d=
istinction without a difference.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; You may consider the produce=
r/consumer distinction to be multiple
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; uses,&nbsp; but only in an academi=
c sense.&nbsp; You have to perform both
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; with the same key&nbsp; pair or sy=
mmetric key for the end-to-end
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; cryptography to<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; be meaningful.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Doing one without the other =
is incomplete.&nbsp; (What good is signing
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; if the&nbsp; signature is never ve=
rified?)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Hi Mike,<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; I don't think it's fair to compare them=
 as the same, and it's very
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; much a practical, and not an academic c=
ase.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; In a Sign() operation, the input is arb=
itrary plaintext and the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; output is a signature corresponding to =
that plaintext; an oracle, if
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; you will - as you would want.<o:p></o:p=
></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; In an API (although not necessarily in =
JWE/JWS, and understandably
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; so), a<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Verify() operation permits arbitrary pl=
aintext as the input, but
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; also requires the signature to be verif=
ied. The only output is a
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; boolean - whether or not the signature =
is correct.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; The goal of &quot;restricting&quot; the=
 uses here would be to allow key
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; storage not necessarily under the contr=
ol of the caller. In
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; WebCrypto, this is the distinction betw=
een the executing JS (served
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; by the web page) and the UA implementat=
ion. It's a concept borrowed
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; from any number of other good cryptogra=
phic APIs (eg: those that are
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; designed with the notion of opaque key =
storage)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; With a symmetric key only permitted for=
 a &quot;Verify&quot; operation, the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; only way to generate a signature for an=
 arbitrary message is<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; a) Compromise the key storage<o:p></o:p=
></p>
<p class=3D"MsoPlainText">&gt; &gt; b) Iterate through all possible signatu=
re combinations until you get
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &quot;true&quot; as the Verify() result=
.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; b) may be aided by any number of implem=
entation issues (eg:
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; non-constant time comparisons, among ot=
hers), but is ultimately
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &quot;tricky&quot;. a) is dependent on =
implementations, and can be aided or
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; harmed through a variety of means.<o:p>=
</o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Combining these two usages into a singl=
e use case - which, I agree,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; is probably perfectly acceptable if ima=
gining as a transport-only
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; exchange<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; -<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; can thus have real and meaningful diffe=
rences when used at an API level.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Likewise, Encrypt/Decrypt an=
d Wrap/Unwrap make producer/consumer
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; distinctions, but also only use a =
single key with a single
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; algorithm - therefore no security =
problem.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; =3D=3D=3D=3D<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; For what it's worth, I think=
 the different key use representation
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; choices&nbsp; stems from JOSE bein=
g a high-level API that tries to make
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; simple things&nbsp; simple and Web=
Crypto being a low-level API that
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; tries<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; to<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; be complete.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Both are valid and useful.&n=
bsp; These differences show up in lots of
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; places&nbsp; besides just key usag=
e representations.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; Absolutely agree here. This is why WebC=
rypto explored whether we
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; should do something &quot;JWK-like&quot=
;, but suitable at an API layer and for
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; it's goals, and &quot;trivially&quot; c=
onvertable with JWK - but by script
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; authors. The WebCrypto WG wasn't fond o=
f it, which is
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; understandable, and why I'm here.<o:p><=
/o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Anyway, the purpose of my pr=
oposal is to try to make things
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; easier for&nbsp; WebCrypto.&nbsp; =
I hope people will get behind it.&nbsp; Yes,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; having both simple and&nbsp; detai=
led key usage representations seems odd at first.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; But they're&nbsp; designed to addr=
ess different goals for different
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; kinds<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; of<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; applications.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; The alternatives (such as &q=
uot;signOnly,verifyOnly&quot;, etc.) that are
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; currently&nbsp; being considered a=
re much worse.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- M=
ike<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; I agree that changing to an array will =
almost certainly break every
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; implementation to date.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; I agree that comma-separated is horriba=
d and should be avoided, even
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; if it &quot;solves&quot; the backwards =
compat issue.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; I think your solution is a reasonable a=
ttempt to mediate the issues
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; of backwards compatibility with the use=
 cases of WebCrypto. However,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; I'm still on the fence as to whether or=
 not it really is
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; unreasonable to &quot;break&quot;<o:p><=
/o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; backwards compatibility here - there se=
ems to be a compelling case
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; here as to why even something like [&qu=
ot;sign&quot;, &quot;verify&quot;] should be
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; distinct usages.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; I<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; know the bar is incredibly high right n=
ow, given JOSE's momentum,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; but I didn't think that JOSE was past t=
he point of no return.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; -----Original Message-----<o=
:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; From: Ryan Sleevi [<a href=
=3D"mailto:ryan-ietf@sleevi.com"><span style=3D"color:windowtext;text-decor=
ation:none">mailto:ryan-ietf@sleevi.com</span></a>]<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Sent: Friday, December 27, 2=
013 2:13 PM<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; To: John Bradley<o:p></o:p><=
/p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Cc: Mike Jones; <a href=3D"m=
ailto:jose@ietf.org"><span style=3D"color:windowtext;text-decoration:none">=
jose@ietf.org</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Subject: Re: [jose] Two prop=
osed JOSE spec actions to more
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; closely coordinate with WebCrypto<=
o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; I'm sorry, John, but by your=
 logic, JOSE is not following your
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; own<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; advice.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; &quot;enc&quot; is already a=
 multiple-use for a key - it allows for both
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; encryption&nbsp; and decryption. F=
or that matter, wrap and unwrap,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; which are supposed to be&nbsp; inf=
erred based on algorithm, which is a
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; JWE/JWS specific aspect, and not&n=
bsp; an intrinsic aspect of<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; JWK-as-key-representation.<o:p></o:p></=
p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Likewise, &quot;sig&quot; im=
plies sign AND verify, which is meant to be
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; unambiguous,&nbsp; because the ass=
umption is always that you sign with
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; a private key and&nbsp; verify wit=
h a public key, but as a conceptual
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; framework breaks down for&nbsp; sc=
hemes like HMAC, which ostensibly
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; have sign and verify (or MAC and&n=
bsp; verify, if you prefer, but we're<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; splitting<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; hairs here).<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; WebCrypto desires to be *mor=
e* precise than JOSE's imprecise and
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; overly&nbsp; broad, implicitly mul=
ti-use syntax. That &quot;enc&quot; means four
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; possible uses,&nbsp; or that &quot=
;sig&quot; means two , is a clear sign that
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; JOSE is already actively&nbsp; enc=
ouraging multiple uses for the same key.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; Mike's proposal is basically=
 an admission that the ship has
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; sailed on this&nbsp; implicit, mul=
ti-valued usage semantic - which, I
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; can understand and&nbsp; sympathiz=
e with, in the name of backwards
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; compatibility for an in-draft&nbsp=
; spec, but let's recognize that as
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; spec'd today, JOSE is preferring a=
nd&nbsp; encouraging multiple uses
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; for the same key in ways that will=
&nbsp; unquestionably encourage
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; people to make bad mistakes (such =
as multiple&nbsp; parties using the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; same encryption key for traffic in=
 either direction -&nbsp; requiring
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; some degree of IV sync)<o:p></o:p>=
</p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; On Tue, December 24, 2013 4:=
27 pm, John Bradley wrote:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; Having it be an array e=
ncourages multiple uses for the same
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; key.&nbsp; I have&nbsp; state=
d many times that encouraging people to do
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; that is not a good idea,&nbsp=
; and making it easy makes people think it is a good idea.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; You can use the single =
value field and have multiple entries
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; with different key containing=
 the same or different keys to do
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; the same thing.<o:p></o:p></p=
>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; On the practical side &=
quot;use_details&quot; is better than creating
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; crazy dot separated como uses=
.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; John B.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; On Dec 24, 2013, at 8:2=
6 PM, Mike Jones <o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &lt;<a href=3D"mailto:Michael=
.Jones@microsoft.com"><span style=3D"color:windowtext;text-decoration:none"=
>Michael.Jones@microsoft.com</span></a>&gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; wrote:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Hi all,<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Having reflected upon di=
scussions among WebCrypto and JOSE
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; participants about JWK u=
sage by WebCrypto over the holidays,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; I'd like to propose the =
two JOSE spec actions to more closely
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; coordinate<o:p></o:p></p=
>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; with WebCrypto:<o:p></o:p></p=
>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; 1.&nbsp; Change the JWA =
registry field name from &quot;Implementation
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Requirements&quot; to &q=
uot;JOSE Implementation Requirements&quot; in the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; JSON Web Signature and E=
ncryption Algorithms Registry (<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; <a href=3D"http://tools.ietf.org/html/d=
raft-ietf-jose-json-web-algorithms-18#se">
<span style=3D"color:windowtext;text-decoration:none">http://tools.ietf.org=
/html/draft-ietf-jose-json-web-algorithms-18#se</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; ction-7.1<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; ).<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp; This will make it =
clearer that the Implementation
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Requirements apply only =
to JWS and JWE implementations - and
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; not other uses of JWK (s=
uch as WebCrypto).&nbsp; This changes only
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; non-normative text and i=
s<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; non-breaking.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; 2.&nbsp; Define the new =
JWK field &quot;use_details&quot; for recording
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; intended fine-grained ke=
y usage information.&nbsp; This would
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsag=
e <o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; (<a href=3D"https://dvcs=
.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi"><span style=3D"color:win=
dowtext;text-decoration:none">https://dvcs.w3.org/hg/webcrypto-api/raw-file=
/tip/spec/Overvi</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; ew.h<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; tm<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; l#key-interface) values =
to be used directly with JWK.&nbsp; The
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; proposed definition is:<=
o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; 3.3.&nbsp; &quot;use_det=
ails&quot; (Key Use Details) Parameter<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The &q=
uot;use_details&quot; (key use details) member identifies<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; fine-grained<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; detail=
s the intended use of the key.&nbsp; Its value is an array of<o:p></o:p></p=
>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; key us=
e details values.&nbsp; Values defined by this
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; specification<o:p></o:p>=
</p>
<p class=3D"MsoPlainText">&gt; &gt; are:<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;sign&quot; (compute signature or MAC)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;verify&quot; (verify signature or MAC)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;encrypt&quot; (encrypt content)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;decrypt&quot; (decrypt content and verify decryption, if<o:p></o:p>=
</p>
<p class=3D"MsoPlainText">&gt; &gt; applicable)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;wrap&quot; (encrypt key)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;unwrap&quot; (decrypt key and verify decryption, if applicable)<o:p=
></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;deriveKey&quot; (derive key)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp=
; &quot;deriveBits&quot; (derive bits not to be used as a key)<o:p></o:p></=
p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Other =
values MAY be used.&nbsp; Key Use Details values can be<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; registered<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; in the=
 IANA JSON Web Key Use Details registry defined in
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Section<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; 7.3.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The us=
e details values are case-sensitive strings.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Duplic=
ate use details values MUST NOT be present in the array.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Use of=
 the &quot;use_details&quot; member is OPTIONAL, unless the<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; application<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; requir=
es use this member to record fine-grained key usage<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; details.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; (Note =
that the &quot;use_details&quot; values intentionally match the
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<o:p=
></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; values=
 defined in the WebCrypto [WebCrypto] specification.)<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If bot=
h &quot;use&quot; and &quot;use_details&quot; JWK members are present,
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; the<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; usages<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; specif=
ied by them MUST be consistent.&nbsp; In particular, the &quot;use&quot;<o:=
p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; value<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;=
sig&quot; corresponds to &quot;sign&quot; and/or &quot;verify&quot;.&nbsp; =
The &quot;use&quot; value<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;=
enc&quot; corresponds to all other values defined above.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If &qu=
ot;use_details&quot; values corresponding to both &quot;sig&quot; and &quot=
;enc&quot;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;=
use&quot; values are present, the &quot;use&quot; member SHOULD NOT be<o:p>=
</o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; present,<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; and if=
 present, its value MUST NOT be either &quot;sig&quot; or &quot;enc&quot;.<=
o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; This is a non-breaking c=
hange - allowing simple applications
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; that want to distinguish=
 between signing and encryption
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; operations to continue d=
oing so as they do today, while also
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; providing a multi-valued=
 key usage details field to be used by
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; applications that want t=
o record fine-grained distinctions
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; among potential key usag=
es, including distinguishing between
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; producer and consumer<o:=
p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; operations.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; As I see it, while havin=
g two related key usage
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; representations isn't id=
eal, it's far better than having WebCrypto overload &quot;use&quot;<o:p></o=
:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; with multi-valued values=
 encoded in strings, such as
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnl=
y&quot;, which I believe is their current plan
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; of<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; record.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Comments?<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; Mike<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; P.S.&nbsp; This proposal=
 was already discussed on the WebCrypto
<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; list in the thread <o:p>=
</o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; <a href=3D"http://lists.=
w3.org/Archives/Public/public-webcrypto/2013Dec/0052">
<span style=3D"color:windowtext;text-decoration:none">http://lists.w3.org/A=
rchives/Public/public-webcrypto/2013Dec/0052</span></a>.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; ht ml and no objections =
were raised there that I'm aware of.<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; ________________________=
_______________________<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; jose mailing list<o:p></=
o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; <a href=3D"mailto:jose@i=
etf.org"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.or=
g</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt; &gt; <a href=3D"https://www.i=
etf.org/mailman/listinfo/jose">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; _______________________=
________________________<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; jose mailing list<o:p><=
/o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; <a href=3D"mailto:jose@=
ietf.org"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.o=
rg</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;&nbsp; <a href=3D"https://www.=
ietf.org/mailman/listinfo/jose">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; ____________________________=
___________________<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; jose mailing list<o:p></o:p>=
</p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; <a href=3D"mailto:jose@ietf.=
org"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.org</s=
pan></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;&nbsp; <a href=3D"https://www.ietf.=
org/mailman/listinfo/jose">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; _______________________________________=
________<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; jose mailing list<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; <a href=3D"mailto:jose@ietf.org"><span =
style=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a><o:=
p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt; <a href=3D"https://www.ietf.org/mailman=
/listinfo/jose">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt; &gt;<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; ______________________________________=
_________<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; jose mailing list<o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; <a href=3D"mailto:jose@ietf.org"><span=
 style=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a><o=
:p></o:p></p>
<p class=3D"MsoPlainText">&gt;&nbsp; <a href=3D"https://www.ietf.org/mailma=
n/listinfo/jose"><span style=3D"color:windowtext;text-decoration:none">http=
s://www.ietf.org/mailman/listinfo/jose</span></a><o:p></o:p></p>
<p class=3D"MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD80072TK5EX14MBXC286r_--

From ignisvulpis@gmail.com  Mon Dec 30 11:57:13 2013
Return-Path: <ignisvulpis@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 00ED61AE254 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 11:57:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fxELPop0D8sh for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 11:57:08 -0800 (PST)
Received: from mail-qa0-x230.google.com (mail-qa0-x230.google.com [IPv6:2607:f8b0:400d:c00::230]) by ietfa.amsl.com (Postfix) with ESMTP id C73E71AE1DE for <jose@ietf.org>; Mon, 30 Dec 2013 11:57:07 -0800 (PST)
Received: by mail-qa0-f48.google.com with SMTP id w5so10955169qac.7 for <jose@ietf.org>; Mon, 30 Dec 2013 11:57:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lcBJ0zThHsmlsMZd/SXDZYdKBc4gkYlL0EyaPIImNPw=; b=Pzv/CMEuj6ctyCLXt1zcrznPKIqyCrriFRXlQJNWHX1ZW+RoPbUxPBGXguY1QVKdFa oYhGrWADrhulQzQ2hX0n/TAU8F2aYVddE7Yw/WvzCiI5cLcrhILuLYMPEakqqbLxLuNC wVp7Or+ZdiFbfMXjT+p3E44p3bZIwYkwpI+m8smTncfnBZp4BW2xlpaWf83zI4nPfFqx ApA7T07VrZg90kejuZu/hS2AketcAQ2QEjQQdOwfIHt2bRCHIl2uexqtaD/48erMEQT6 uI5PSMmQeXVz06fe/tnmXVZcS+wrRGXabzNP37J34qgb4a1PBtymF9oGooRw5vSXBvH7 zRUQ==
MIME-Version: 1.0
X-Received: by 10.49.116.5 with SMTP id js5mr112887171qeb.36.1388433421684; Mon, 30 Dec 2013 11:57:01 -0800 (PST)
Received: by 10.229.205.194 with HTTP; Mon, 30 Dec 2013 11:57:01 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 30 Dec 2013 20:57:01 +0100
Message-ID: <CAHcDwFzGqTUpzX96yeeKHexqoDCiwz8vpz_9oN+YnWLG3RRNfQ@mail.gmail.com>
From: Axel Nennker <ignisvulpis@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=047d7b677d60e4d79b04eec5d821
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, Richard Barnes <rlb@ipv.sx>, "jose@ietf.org" <jose@ietf.org>, John Bradley <ve7jtb@ve7jtb.com>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 19:57:13 -0000

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

I support Mike's proposal. I addresses WebCrypto's use cases and keeps the
spec backward compatible.

I am opposed to reinventing X509 in JSON (or other complicated specs)
http://en.wikipedia.org/wiki/X.509#Extensions_informing_a_specific_usage_of=
_a_certificate

use_details keeps it simple enough I think

-Axel





2013/12/30 Mike Jones <Michael.Jones@microsoft.com>

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

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

<div dir=3D"ltr"><div><div><div>I support Mike&#39;s proposal. I addresses =
WebCrypto&#39;s use cases and keeps the spec backward compatible.<br><br></=
div>I am opposed to reinventing X509 in JSON (or other complicated specs)<b=
r>
<a href=3D"http://en.wikipedia.org/wiki/X.509#Extensions_informing_a_specif=
ic_usage_of_a_certificate">http://en.wikipedia.org/wiki/X.509#Extensions_in=
forming_a_specific_usage_of_a_certificate</a><br><br></div>use_details keep=
s it simple enough I think<br>
<br></div>-Axel<br><br><div><div><br><br></div></div></div><div class=3D"gm=
ail_extra"><br><br><div class=3D"gmail_quote">2013/12/30 Mike Jones <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_bl=
ank">Michael.Jones@microsoft.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div>
<p>As further background for the discussion, the current &quot;use&quot; de=
finition is based on widely deployed existing practice - the SAML metadata =
specification (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/sam=
l-metadata-2.0-os.pdf" target=3D"_blank">http://docs.oasis-open.org/securit=
y/saml/v2.0/saml-metadata-2.0-os.pdf</a>),
 which defines &quot;use&quot; as follows in section <a href=3D"http://2.4.=
1.1" target=3D"_blank">2.4.1.1</a>:<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in;text-autospace:none"><span=
 style=3D"font-size:10.0pt;font-family:CourierNewPSMT">use
</span><span style=3D"font-size:10.0pt;font-family:ArialMT">[Optional]<u></=
u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1.0in;text-autospace:none"><spa=
n style=3D"font-size:10.0pt;font-family:ArialMT">Optional attribute specify=
ing the purpose of the key being described. Values are drawn from the<u></u=
><u></u></span></p>

<p style=3D"margin-left:1.0in"><b><span style=3D"font-size:10.0pt;font-fami=
ly:Arial-BoldMT">KeyTypes
</span></b><span style=3D"font-size:10.0pt;font-family:ArialMT">enumeration=
, and consist of the values
</span><span style=3D"font-size:10.0pt;font-family:CourierNewPSMT">encrypti=
on </span>
<span style=3D"font-size:10.0pt;font-family:ArialMT">and </span><span style=
=3D"font-size:10.0pt;font-family:CourierNewPSMT">signing</span><span style=
=3D"font-size:10.0pt;font-family:ArialMT">.</span><u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>This has been shown to be sufficient in practice for its intended purpos=
e, as has the JWK =93use=94 field.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>I understand your point, Ryan, that for the WebCrypto API use case, ther=
e is sometimes value in distinguishing between the producer and consumer op=
erations for a key.=A0 That=92s part of why I proposed adding =93use_detail=
s=94, so those distinctions
 can be made for the use cases where they do make a difference.<u></u><u></=
u></p>
<p><u></u>=A0<u></u></p>
<p>As for Richard&#39;s proposal, the problem with it is that it would be a=
 breaking change, since if &quot;ku&quot; was present, his proposal would r=
equire different treatment of the &quot;use&quot; field (ignoring it).=A0 M=
y proposal is not a breaking change,
 since &quot;use&quot; continues to mean what it always has.=A0 Furthermore=
, my proposal requires that &quot;use&quot; and &quot;use_details&quot; con=
vey consistent information, if both are present.=A0 That seems significantl=
y simpler for consumers of JWKs use than requiring conditional behaviors,
 as Richard=92s proposal does.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Best wishes,<u></u><u></u></p>
<p>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p></p><div class=3D"im">-----Original Message-----<br>
From: Ryan Sleevi [mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D=
"_blank">ryan-ietf@sleevi.com</a>] <br></div><div class=3D"im">
Sent: Monday, December 30, 2013 10:25 AM<br>
To: Richard Barnes<br>
Cc: Mike Jones; <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">r=
yan-ietf@sleevi.com</a>; John Bradley; <a href=3D"mailto:jose@ietf.org" tar=
get=3D"_blank">jose@ietf.org</a><br>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto</div><p></p><div class=3D"im">
<p><u></u>=A0<u></u></p>
<p>On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<u></u><u></u></=
p>
<p>&gt;=A0 On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<u></u><u></u></p>
<p>&gt;=A0 &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_bl=
ank"><span style=3D"color:windowtext;text-decoration:none">Michael.Jones@mi=
crosoft.com</span></a>&gt;wrote:<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt; &gt; It&#39;s my sense of the JOSE working group that most are stro=
ngly
<u></u><u></u></p>
<p>&gt; &gt; opposed to breaking changes at this point.<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 Please don&#39;t claim to represent the WG.=A0 There is a signif=
icant
<u></u><u></u></p>
<p>&gt; contingent=A0 who care about breaking changes, but also a significa=
nt
<u></u><u></u></p>
<p>&gt; group who would=A0 prefer the best, most usable spec we can make,
<u></u><u></u></p>
<p>&gt; regardless of the sins of=A0 the past.<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt; &gt; However, I also believe that most JOSE participants share the
<u></u><u></u></p>
<p>&gt; &gt; sentiment of many WebCrypto participants that it would be bett=
er for
<u></u><u></u></p>
<p>&gt; &gt; all for WebCrypto to use real JWKs, rather than something
<u></u><u></u></p>
<p>&gt; &gt; &quot;JWK-like&quot;.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0=A0 How about this for a compromise proposal:<u></u><u></u></p>
<p>&gt;=A0 -- Leave &quot;use&quot; in for backward compatibility.<u></u><u=
></u></p>
<p>&gt;=A0 -- Define a new field &quot;ku&quot; (Key Usage, or something si=
milar) that has=A0
<u></u><u></u></p>
<p>&gt; detailed key usage information.<u></u><u></u></p>
<p>&gt;=A0 -- Deprecate &quot;use&quot;, recommending that new applications=
 use &quot;ku&quot;; if
<u></u><u></u></p>
<p>&gt; both=A0 are present, &quot;use&quot; MUST be ignored.<u></u><u></u>=
</p>
<p>&gt;=A0 -- Define the expansion of &quot;use&quot; values to &quot;ku&qu=
ot; values<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 That doesn&#39;t break backward compatibilty, but makes detailed=
 control
<u></u><u></u></p>
<p>&gt; the=A0 default going forward.<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 --Richard<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
</div><p>As I expressed within WebCrypto, this to me strikes a much more se=
nsible balance of backwards compatibility and extensibility, and hopefully =
in a way that allows existing deployments to cleanly transition while allow=
ing new deployments
 to avoid the limitations of the current drafts.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>I very much prefer this over use_details for Web Crypto&#39;s use cases.=
<u></u><u></u></p><div><div class=3D"h5">
<p><u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 I believe my proposal is the best-available solution, given the
<u></u><u></u></p>
<p>&gt; current<u></u><u></u></p>
<p>&gt; &gt; realistic constraints.=A0 It might have made better sense for =
a
<u></u><u></u></p>
<p>&gt; &gt; WebCrypto spec to define &quot;use_details&quot; than JOSE, bu=
t if WebCrypto
<u></u><u></u></p>
<p>&gt; &gt; isn&#39;t going to do it, I believe that we&#39;ll all be bett=
er off in the
<u></u><u></u></p>
<p>&gt; &gt; long run if JOSE then does and WebCrypto uses it.<u></u><u></u=
></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Cheers,<u></u><u></u></p>
<p>&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; -----Original Message-----<u></u><u></u></p>
<p>&gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com" tar=
get=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">mailto=
:ryan-ietf@sleevi.com</span></a>]<u></u><u></u></p>
<p>&gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<u></u><u></u></p>
<p>&gt; &gt; To: Mike Jones<u></u><u></u></p>
<p>&gt; &gt; Cc: <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">=
<span style=3D"color:windowtext;text-decoration:none">ryan-ietf@sleevi.com<=
/span></a>; John Bradley;
<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:win=
dowtext;text-decoration:none">jose@ietf.org</span></a><u></u><u></u></p>
<p>&gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to more clo=
sely
<u></u><u></u></p>
<p>&gt; &gt; coordinate with WebCrypto<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<u></u><u>=
</u></p>
<p>&gt; &gt; &gt;=A0 I disagree that &quot;use&quot; allows multiple uses.=
=A0 Sign/Verify both use
<u></u><u></u></p>
<p>&gt; &gt; &gt; the same=A0 algorithm with the same key - just in a produ=
cer/consumer role.<u></u><u></u></p>
<p>&gt; &gt; &gt; There=A0 would only be a security problem if the same key=
 was used
<u></u><u></u></p>
<p>&gt; &gt; &gt; with<u></u><u></u></p>
<p>&gt; &gt; &gt; *different*=A0 algorithms.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 For symmetric keys, Sign/Verify operations are actuall=
y the same,
<u></u><u></u></p>
<p>&gt; &gt; &gt; so in=A0 that case, this is a distinction without a diffe=
rence.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 You may consider the producer/consumer distinction to =
be multiple
<u></u><u></u></p>
<p>&gt; &gt; &gt; uses,=A0 but only in an academic sense.=A0 You have to pe=
rform both
<u></u><u></u></p>
<p>&gt; &gt; &gt; with the same key=A0 pair or symmetric key for the end-to=
-end
<u></u><u></u></p>
<p>&gt; &gt; &gt; cryptography to<u></u><u></u></p>
<p>&gt; &gt; be meaningful.<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Doing one without the other is incomplete.=A0 (What go=
od is signing
<u></u><u></u></p>
<p>&gt; &gt; &gt; if the=A0 signature is never verified?)<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; Hi Mike,<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I don&#39;t think it&#39;s fair to compare them as the same, a=
nd it&#39;s very
<u></u><u></u></p>
<p>&gt; &gt; much a practical, and not an academic case.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; In a Sign() operation, the input is arbitrary plaintext and th=
e
<u></u><u></u></p>
<p>&gt; &gt; output is a signature corresponding to that plaintext; an orac=
le, if
<u></u><u></u></p>
<p>&gt; &gt; you will - as you would want.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; In an API (although not necessarily in JWE/JWS, and understand=
ably
<u></u><u></u></p>
<p>&gt; &gt; so), a<u></u><u></u></p>
<p>&gt; &gt; Verify() operation permits arbitrary plaintext as the input, b=
ut
<u></u><u></u></p>
<p>&gt; &gt; also requires the signature to be verified. The only output is=
 a
<u></u><u></u></p>
<p>&gt; &gt; boolean - whether or not the signature is correct.<u></u><u></=
u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; The goal of &quot;restricting&quot; the uses here would be to =
allow key
<u></u><u></u></p>
<p>&gt; &gt; storage not necessarily under the control of the caller. In
<u></u><u></u></p>
<p>&gt; &gt; WebCrypto, this is the distinction between the executing JS (s=
erved
<u></u><u></u></p>
<p>&gt; &gt; by the web page) and the UA implementation. It&#39;s a concept=
 borrowed
<u></u><u></u></p>
<p>&gt; &gt; from any number of other good cryptographic APIs (eg: those th=
at are
<u></u><u></u></p>
<p>&gt; &gt; designed with the notion of opaque key storage)<u></u><u></u><=
/p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; With a symmetric key only permitted for a &quot;Verify&quot; o=
peration, the
<u></u><u></u></p>
<p>&gt; &gt; only way to generate a signature for an arbitrary message is<u=
></u><u></u></p>
<p>&gt; &gt; a) Compromise the key storage<u></u><u></u></p>
<p>&gt; &gt; b) Iterate through all possible signature combinations until y=
ou get
<u></u><u></u></p>
<p>&gt; &gt; &quot;true&quot; as the Verify() result.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; b) may be aided by any number of implementation issues (eg:
<u></u><u></u></p>
<p>&gt; &gt; non-constant time comparisons, among others), but is ultimatel=
y
<u></u><u></u></p>
<p>&gt; &gt; &quot;tricky&quot;. a) is dependent on implementations, and ca=
n be aided or
<u></u><u></u></p>
<p>&gt; &gt; harmed through a variety of means.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; Combining these two usages into a single use case - which, I a=
gree,
<u></u><u></u></p>
<p>&gt; &gt; is probably perfectly acceptable if imagining as a transport-o=
nly
<u></u><u></u></p>
<p>&gt; &gt; exchange<u></u><u></u></p>
<p>&gt; &gt; -<u></u><u></u></p>
<p>&gt; &gt; can thus have real and meaningful differences when used at an =
API level.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Likewise, Encrypt/Decrypt and Wrap/Unwrap make produce=
r/consumer
<u></u><u></u></p>
<p>&gt; &gt; &gt; distinctions, but also only use a single key with a singl=
e
<u></u><u></u></p>
<p>&gt; &gt; &gt; algorithm - therefore no security problem.<u></u><u></u><=
/p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 =3D=3D=3D=3D<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 For what it&#39;s worth, I think the different key use=
 representation
<u></u><u></u></p>
<p>&gt; &gt; &gt; choices=A0 stems from JOSE being a high-level API that tr=
ies to make
<u></u><u></u></p>
<p>&gt; &gt; &gt; simple things=A0 simple and WebCrypto being a low-level A=
PI that
<u></u><u></u></p>
<p>&gt; &gt; &gt; tries<u></u><u></u></p>
<p>&gt; &gt; to<u></u><u></u></p>
<p>&gt; &gt; be complete.<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Both are valid and useful.=A0 These differences show u=
p in lots of
<u></u><u></u></p>
<p>&gt; &gt; &gt; places=A0 besides just key usage representations.<u></u><=
u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; Absolutely agree here. This is why WebCrypto explored whether =
we
<u></u><u></u></p>
<p>&gt; &gt; should do something &quot;JWK-like&quot;, but suitable at an A=
PI layer and for
<u></u><u></u></p>
<p>&gt; &gt; it&#39;s goals, and &quot;trivially&quot; convertable with JWK=
 - but by script
<u></u><u></u></p>
<p>&gt; &gt; authors. The WebCrypto WG wasn&#39;t fond of it, which is
<u></u><u></u></p>
<p>&gt; &gt; understandable, and why I&#39;m here.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Anyway, the purpose of my proposal is to try to make t=
hings
<u></u><u></u></p>
<p>&gt; &gt; &gt; easier for=A0 WebCrypto.=A0 I hope people will get behind=
 it.=A0 Yes,
<u></u><u></u></p>
<p>&gt; &gt; &gt; having both simple and=A0 detailed key usage representati=
ons seems odd at first.<u></u><u></u></p>
<p>&gt; &gt; &gt; But they&#39;re=A0 designed to address different goals fo=
r different
<u></u><u></u></p>
<p>&gt; &gt; &gt; kinds<u></u><u></u></p>
<p>&gt; &gt; of<u></u><u></u></p>
<p>&gt; &gt; applications.<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 The alternatives (such as &quot;signOnly,verifyOnly&qu=
ot;, etc.) that are
<u></u><u></u></p>
<p>&gt; &gt; &gt; currently=A0 being considered are much worse.<u></u><u></=
u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I agree that changing to an array will almost certainly break =
every
<u></u><u></u></p>
<p>&gt; &gt; implementation to date.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I agree that comma-separated is horribad and should be avoided=
, even
<u></u><u></u></p>
<p>&gt; &gt; if it &quot;solves&quot; the backwards compat issue.<u></u><u>=
</u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I think your solution is a reasonable attempt to mediate the i=
ssues
<u></u><u></u></p>
<p>&gt; &gt; of backwards compatibility with the use cases of WebCrypto. Ho=
wever,
<u></u><u></u></p>
<p>&gt; &gt; I&#39;m still on the fence as to whether or not it really is
<u></u><u></u></p>
<p>&gt; &gt; unreasonable to &quot;break&quot;<u></u><u></u></p>
<p>&gt; &gt; backwards compatibility here - there seems to be a compelling =
case
<u></u><u></u></p>
<p>&gt; &gt; here as to why even something like [&quot;sign&quot;, &quot;ve=
rify&quot;] should be
<u></u><u></u></p>
<p>&gt; &gt; distinct usages.<u></u><u></u></p>
<p>&gt; &gt; I<u></u><u></u></p>
<p>&gt; &gt; know the bar is incredibly high right now, given JOSE&#39;s mo=
mentum,
<u></u><u></u></p>
<p>&gt; &gt; but I didn&#39;t think that JOSE was past the point of no retu=
rn.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 -----Original Message-----<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.=
com" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none=
">mailto:ryan-ietf@sleevi.com</span></a>]<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Sent: Friday, December 27, 2013 2:13 PM<u></u><u></u><=
/p>
<p>&gt; &gt; &gt;=A0 To: John Bradley<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Cc: Mike Jones; <a href=3D"mailto:jose@ietf.org" targe=
t=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">jose@iet=
f.org</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to =
more
<u></u><u></u></p>
<p>&gt; &gt; &gt; closely coordinate with WebCrypto<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 I&#39;m sorry, John, but by your logic, JOSE is not fo=
llowing your
<u></u><u></u></p>
<p>&gt; &gt; &gt; own<u></u><u></u></p>
<p>&gt; &gt; advice.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 &quot;enc&quot; is already a multiple-use for a key - =
it allows for both
<u></u><u></u></p>
<p>&gt; &gt; &gt; encryption=A0 and decryption. For that matter, wrap and u=
nwrap,
<u></u><u></u></p>
<p>&gt; &gt; &gt; which are supposed to be=A0 inferred based on algorithm, =
which is a
<u></u><u></u></p>
<p>&gt; &gt; &gt; JWE/JWS specific aspect, and not=A0 an intrinsic aspect o=
f<u></u><u></u></p>
<p>&gt; &gt; JWK-as-key-representation.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Likewise, &quot;sig&quot; implies sign AND verify, whi=
ch is meant to be
<u></u><u></u></p>
<p>&gt; &gt; &gt; unambiguous,=A0 because the assumption is always that you=
 sign with
<u></u><u></u></p>
<p>&gt; &gt; &gt; a private key and=A0 verify with a public key, but as a c=
onceptual
<u></u><u></u></p>
<p>&gt; &gt; &gt; framework breaks down for=A0 schemes like HMAC, which ost=
ensibly
<u></u><u></u></p>
<p>&gt; &gt; &gt; have sign and verify (or MAC and=A0 verify, if you prefer=
, but we&#39;re<u></u><u></u></p>
<p>&gt; &gt; splitting<u></u><u></u></p>
<p>&gt; &gt; hairs here).<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 WebCrypto desires to be *more* precise than JOSE&#39;s=
 imprecise and
<u></u><u></u></p>
<p>&gt; &gt; &gt; overly=A0 broad, implicitly multi-use syntax. That &quot;=
enc&quot; means four
<u></u><u></u></p>
<p>&gt; &gt; &gt; possible uses,=A0 or that &quot;sig&quot; means two , is =
a clear sign that
<u></u><u></u></p>
<p>&gt; &gt; &gt; JOSE is already actively=A0 encouraging multiple uses for=
 the same key.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Mike&#39;s proposal is basically an admission that the=
 ship has
<u></u><u></u></p>
<p>&gt; &gt; &gt; sailed on this=A0 implicit, multi-valued usage semantic -=
 which, I
<u></u><u></u></p>
<p>&gt; &gt; &gt; can understand and=A0 sympathize with, in the name of bac=
kwards
<u></u><u></u></p>
<p>&gt; &gt; &gt; compatibility for an in-draft=A0 spec, but let&#39;s reco=
gnize that as
<u></u><u></u></p>
<p>&gt; &gt; &gt; spec&#39;d today, JOSE is preferring and=A0 encouraging m=
ultiple uses
<u></u><u></u></p>
<p>&gt; &gt; &gt; for the same key in ways that will=A0 unquestionably enco=
urage
<u></u><u></u></p>
<p>&gt; &gt; &gt; people to make bad mistakes (such as multiple=A0 parties =
using the
<u></u><u></u></p>
<p>&gt; &gt; &gt; same encryption key for traffic in either direction -=A0 =
requiring
<u></u><u></u></p>
<p>&gt; &gt; &gt; some degree of IV sync)<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 On Tue, December 24, 2013 4:27 pm, John Bradley wrote:=
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 Having it be an array encourages multiple uses fo=
r the same
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; key.=A0 I have=A0 stated many times that encouraging=
 people to do
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; that is not a good idea,=A0 and making it easy makes=
 people think it is a good idea.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 You can use the single value field and have multi=
ple entries
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; with different key containing the same or different =
keys to do
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; the same thing.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 On the practical side &quot;use_details&quot; is =
better than creating
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; crazy dot separated como uses.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 John B.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 On Dec 24, 2013, at 8:26 PM, Mike Jones <u></u><u=
></u></p>
<p>&gt; &gt; &gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" t=
arget=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">Mich=
ael.Jones@microsoft.com</span></a>&gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 wrote:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Hi all,<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among WebCryp=
to and JOSE
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypto over =
the holidays,
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; I&#39;d like to propose the two JOSE spec actio=
ns to more closely
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; coordinate<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; with WebCrypto:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; 1.=A0 Change the JWA registry field name from &=
quot;Implementation
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Implementation=
 Requirements&quot; in the
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algorithms Re=
gistry (<u></u><u></u></p>
<p>&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web=
-algorithms-18#se" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">http://tools.ietf.org=
/html/draft-ietf-jose-json-web-algorithms-18#se</span></a><u></u><u></u></p=
>
<p>&gt; &gt; ction-7.1<u></u><u></u></p>
<p>&gt; &gt; ).<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0 This will make it clearer that the Implement=
ation
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE implemen=
tations - and
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto).=A0 T=
his changes only
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; non-normative text and is<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; non-breaking.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; 2.=A0 Define the new JWK field &quot;use_detail=
s&quot; for recording
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; intended fine-grained key usage information.=A0=
 This would
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage <u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; (<a href=3D"https://dvcs.w3.org/hg/webcrypto-ap=
i/raw-file/tip/spec/Overvi" target=3D"_blank"><span style=3D"color:windowte=
xt;text-decoration:none">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/=
spec/Overvi</span></a><u></u><u></u></p>

<p>&gt; &gt; &gt; &gt; &gt; ew.h<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; tm<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used directly wit=
h JWK.=A0 The
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; proposed definition is:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; 3.3.=A0 &quot;use_details&quot; (Key Use Detail=
s) Parameter<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The &quot;use_details&quot; (key use d=
etails) member identifies<u></u><u></u></p>
<p>&gt; &gt; fine-grained<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 details the intended use of the key.=
=A0 Its value is an array of<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 key use details values.=A0 Values defi=
ned by this
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; specification<u></u><u></u></p>
<p>&gt; &gt; are:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;sign&quot; (compute signatu=
re or MAC)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;verify&quot; (verify signat=
ure or MAC)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;encrypt&quot; (encrypt cont=
ent)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;decrypt&quot; (decrypt cont=
ent and verify decryption, if<u></u><u></u></p>
<p>&gt; &gt; applicable)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;wrap&quot; (encrypt key)<u>=
</u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;unwrap&quot; (decrypt key a=
nd verify decryption, if applicable)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveKey&quot; (derive key=
)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveBits&quot; (derive bi=
ts not to be used as a key)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Other values MAY be used.=A0 Key Use D=
etails values can be<u></u><u></u></p>
<p>&gt; &gt; registered<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 in the IANA JSON Web Key Use Details r=
egistry defined in
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Section<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; 7.3.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The use details values are case-sensit=
ive strings.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Duplicate use details values MUST NOT =
be present in the array.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Use of the &quot;use_details&quot; mem=
ber is OPTIONAL, unless the<u></u><u></u></p>
<p>&gt; &gt; application<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 requires use this member to record fin=
e-grained key usage<u></u><u></u></p>
<p>&gt; &gt; details.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 (Note that the &quot;use_details&quot;=
 values intentionally match the
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 values defined in the WebCrypto [WebCr=
ypto] specification.)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If both &quot;use&quot; and &quot;use_=
details&quot; JWK members are present,
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; the<u></u><u></u></p>
<p>&gt; &gt; usages<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 specified by them MUST be consistent.=
=A0 In particular, the &quot;use&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; value<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;sig&quot; corresponds to &quot;s=
ign&quot; and/or &quot;verify&quot;.=A0 The &quot;use&quot; value<u></u><u>=
</u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;enc&quot; corresponds to all oth=
er values defined above.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If &quot;use_details&quot; values corr=
esponding to both &quot;sig&quot; and &quot;enc&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;use&quot; values are present, th=
e &quot;use&quot; member SHOULD NOT be<u></u><u></u></p>
<p>&gt; &gt; present,<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 and if present, its value MUST NOT be =
either &quot;sig&quot; or &quot;enc&quot;.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing simple=
 applications
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; that want to distinguish between signing and en=
cryption
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; operations to continue doing so as they do toda=
y, while also
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage details fiel=
d to be used by
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; applications that want to record fine-grained d=
istinctions
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; among potential key usages, including distingui=
shing between
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; producer and consumer<u></u><u></u></p>
<p>&gt; &gt; operations.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; As I see it, while having two related key usage
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; representations isn&#39;t ideal, it&#39;s far b=
etter than having WebCrypto overload &quot;use&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in strings, su=
ch as
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I believ=
e is their current plan
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; of<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; record.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Comments?<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Mike<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; P.S.=A0 This proposal was already discussed on =
the WebCrypto
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; list in the thread <u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/Public/=
public-webcrypto/2013Dec/0052" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">http://lists.w3.org/A=
rchives/Public/public-webcrypto/2013Dec/0052</span></a>.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised there that =
I&#39;m aware of.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; _______________________________________________=
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; jose mailing list<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_bla=
nk"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.org</sp=
an></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinf=
o/jose" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 _______________________________________________<u=
></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 jose mailing list<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank=
"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.org</span=
></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/=
jose" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 _______________________________________________<u></u>=
<u></u></p>
<p>&gt; &gt; &gt;=A0 jose mailing list<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank"><sp=
an style=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a>=
<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose"=
 target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; _______________________________________________<u></u><u></u><=
/p>
<p>&gt; &gt; jose mailing list<u></u><u></u></p>
<p>&gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=
=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a><u></u><=
u></u></p>
<p>&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=
=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt;=A0 _______________________________________________<u></u><u></u></p=
>
<p>&gt;=A0 jose mailing list<u></u><u></u></p>
<p>&gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=
=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a><u></u><=
u></u></p>
<p>&gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D=
"_blank"><span style=3D"color:windowtext;text-decoration:none">https://www.=
ietf.org/mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
</div></div></div>
</div>

<br>_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
<br></blockquote></div><br></div>

--047d7b677d60e4d79b04eec5d821--

From iesg-secretary@ietf.org  Mon Dec 30 12:45:54 2013
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 929761AE555; Mon, 30 Dec 2013 12:45:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eJntRtZY-dvC; Mon, 30 Dec 2013 12:45:53 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 05CF51AE553; Mon, 30 Dec 2013 12:45:53 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: IESG Secretary <iesg-secretary@ietf.org>
To: IETF Announcement List <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 4.90
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131230204551.31511.86889.idtracker@ietfa.amsl.com>
Date: Mon, 30 Dec 2013 12:45:51 -0800
Cc: jose@ietf.org
Subject: [jose] JOSE WG Virtual Interim Meeting, Monday,  January 13, 2014
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Reply-To: jose@ietf.org
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 20:45:54 -0000

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

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

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

The webex details are below.

Regards,
Karen


-------------------------------------------------------
Meeting information
-------------------------------------------------------
Topic: jose
Date: Monday, January 13, 2014
Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)
Meeting Number: 647 642 200
Meeting Password: security

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


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

Access code:647 642 200

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


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

http://www.webex.com

CCM:+16504793208x647642200#

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

From ryan-ietf@sleevi.com  Mon Dec 30 10:25:41 2013
Return-Path: <ryan-ietf@sleevi.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AB961AE51C for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 10:25:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DefktzgpkX1R for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 10:25:33 -0800 (PST)
Received: from homiemail-a111.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by ietfa.amsl.com (Postfix) with ESMTP id 56B281AE2D5 for <jose@ietf.org>; Mon, 30 Dec 2013 10:25:33 -0800 (PST)
Received: from homiemail-a111.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTP id 417572005D90A; Mon, 30 Dec 2013 10:25:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sleevi.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:reply-to :mime-version:content-type:content-transfer-encoding; s= sleevi.com; bh=q09RNLZGUauCns015njDnKxunns=; b=nxWieXiwDE0yRB6RA y1qKsvkESbDG/idDlxviV3rjyAjBhST6VV62WhLwMdtsW8gLSENW2+rMHz2B9t1i JFsadIqmaT/N4guW3VSY+f8TwV7A1mPBRQVUPezBUYtUOLzgTg9NW2GeMrcwFW0G 8vM/kLgJW7phY1wZB126f5FNUM=
Received: from webmail.dreamhost.com (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: ryan@sleevi.com) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTPA id EC27B2005D906; Mon, 30 Dec 2013 10:25:26 -0800 (PST)
Received: from 173.8.157.162 (proxying for 173.8.157.162) (SquirrelMail authenticated user ryan@sleevi.com) by webmail.dreamhost.com with HTTP; Mon, 30 Dec 2013 10:25:27 -0800
Message-ID: <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com>
In-Reply-To: <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com>
Date: Mon, 30 Dec 2013 10:25:27 -0800
From: "Ryan Sleevi" <ryan-ietf@sleevi.com>
To: "Richard Barnes" <rlb@ipv.sx>
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Mon, 30 Dec 2013 13:12:05 -0800
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, Mike Jones <michael.jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: ryan-ietf@sleevi.com
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 18:25:41 -0000

On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:
>  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones
>  <Michael.Jones@microsoft.com>wrote:
>
> > It's my sense of the JOSE working group that most are strongly oppose=
d
> > to
> > breaking changes at this point.
>
>
>  Please don't claim to represent the WG.  There is a significant contin=
gent
>  who care about breaking changes, but also a significant group who woul=
d
>  prefer the best, most usable spec we can make, regardless of the sins =
of
>  the past.
>
>
>
> > However, I also believe that most JOSE participants share the sentime=
nt
> > of
> > many WebCrypto participants that it would be better for all for
> > WebCrypto
> > to use real JWKs, rather than something "JWK-like".
> >
>
>   How about this for a compromise proposal:
>  -- Leave "use" in for backward compatibility.
>  -- Define a new field "ku" (Key Usage, or something similar) that has
>  detailed key usage information.
>  -- Deprecate "use", recommending that new applications use "ku"; if bo=
th
>  are present, "use" MUST be ignored.
>  -- Define the expansion of "use" values to "ku" values
>
>  That doesn't break backward compatibilty, but makes detailed control t=
he
>  default going forward.
>
>  --Richard

As I expressed within WebCrypto, this to me strikes a much more sensible
balance of backwards compatibility and extensibility, and hopefully in a
way that allows existing deployments to cleanly transition while allowing
new deployments to avoid the limitations of the current drafts.

I very much prefer this over use_details for Web Crypto's use cases.

>
>  I believe my proposal is the best-available solution, given the curren=
t
> > realistic constraints.  It might have made better sense for a WebCryp=
to
> > spec to define "use_details" than JOSE, but if WebCrypto isn't going =
to
> > do
> > it, I believe that we'll all be better off in the long run if JOSE th=
en
> > does and WebCrypto uses it.
> >
> >                                 Cheers,
> >                                 -- Mike
> >
> > -----Original Message-----
> > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> > Sent: Friday, December 27, 2013 6:46 PM
> > To: Mike Jones
> > Cc: ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> > Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> > coordinate with WebCrypto
> >
> > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
> > >  I disagree that "use" allows multiple uses.  Sign/Verify both use =
the
> > > same  algorithm with the same key - just in a producer/consumer rol=
e.
> > > There  would only be a security problem if the same key was used wi=
th
> > > *different*  algorithms.
> > >
> > >  For symmetric keys, Sign/Verify operations are actually the same, =
so
> > > in  that case, this is a distinction without a difference.
> > >
> > >  You may consider the producer/consumer distinction to be multiple
> > > uses,  but only in an academic sense.  You have to perform both wit=
h
> > > the same key  pair or symmetric key for the end-to-end cryptography=
 to
> > be meaningful.
> > >  Doing one without the other is incomplete.  (What good is signing =
if
> > > the  signature is never verified?)
> >
> > Hi Mike,
> >
> > I don't think it's fair to compare them as the same, and it's very mu=
ch
> > a
> > practical, and not an academic case.
> >
> > In a Sign() operation, the input is arbitrary plaintext and the outpu=
t
> > is
> > a signature corresponding to that plaintext; an oracle, if you will -=
 as
> > you would want.
> >
> > In an API (although not necessarily in JWE/JWS, and understandably so=
),
> > a
> > Verify() operation permits arbitrary plaintext as the input, but also
> > requires the signature to be verified. The only output is a boolean -
> > whether or not the signature is correct.
> >
> > The goal of "restricting" the uses here would be to allow key storage
> > not
> > necessarily under the control of the caller. In WebCrypto, this is th=
e
> > distinction between the executing JS (served by the web page) and the=
 UA
> > implementation. It's a concept borrowed from any number of other good
> > cryptographic APIs (eg: those that are designed with the notion of
> > opaque
> > key storage)
> >
> > With a symmetric key only permitted for a "Verify" operation, the onl=
y
> > way
> > to generate a signature for an arbitrary message is
> > a) Compromise the key storage
> > b) Iterate through all possible signature combinations until you get
> > "true" as the Verify() result.
> >
> > b) may be aided by any number of implementation issues (eg: non-const=
ant
> > time comparisons, among others), but is ultimately "tricky". a) is
> > dependent on implementations, and can be aided or harmed through a
> > variety
> > of means.
> >
> > Combining these two usages into a single use case - which, I agree, i=
s
> > probably perfectly acceptable if imagining as a transport-only exchan=
ge
> > -
> > can thus have real and meaningful differences when used at an API lev=
el.
> >
> > >
> > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
> > > distinctions, but also only use a single key with a single algorith=
m -
> > > therefore no security problem.
> > >
> > >  =3D=3D=3D=3D
> > >
> > >  For what it's worth, I think the different key use representation
> > > choices  stems from JOSE being a high-level API that tries to make
> > > simple things  simple and WebCrypto being a low-level API that trie=
s
> > to
> > be complete.
> > >  Both are valid and useful.  These differences show up in lots of
> > > places  besides just key usage representations.
> >
> > Absolutely agree here. This is why WebCrypto explored whether we shou=
ld
> > do
> > something "JWK-like", but suitable at an API layer and for it's goals=
,
> > and
> > "trivially" convertable with JWK - but by script authors. The WebCryp=
to
> > WG
> > wasn't fond of it, which is understandable, and why I'm here.
> >
> > >
> > >  Anyway, the purpose of my proposal is to try to make things easier
> > > for  WebCrypto.  I hope people will get behind it.  Yes, having bot=
h
> > > simple and  detailed key usage representations seems odd at first.
> > > But they're  designed to address different goals for different kind=
s
> > of
> > applications.
> > >  The alternatives (such as "signOnly,verifyOnly", etc.) that are
> > > currently  being considered are much worse.
> > >
> > >                               -- Mike
> >
> > I agree that changing to an array will almost certainly break every
> > implementation to date.
> >
> > I agree that comma-separated is horribad and should be avoided, even =
if
> > it
> > "solves" the backwards compat issue.
> >
> > I think your solution is a reasonable attempt to mediate the issues o=
f
> > backwards compatibility with the use cases of WebCrypto. However, I'm
> > still
> > on the fence as to whether or not it really is unreasonable to "break=
"
> > backwards compatibility here - there seems to be a compelling case he=
re
> > as
> > to why even something like ["sign", "verify"] should be distinct usag=
es.
> > I
> > know the bar is incredibly high right now, given JOSE's momentum, but=
 I
> > didn't think that JOSE was past the point of no return.
> >
> > >
> > >  -----Original Message-----
> > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> > >  Sent: Friday, December 27, 2013 2:13 PM
> > >  To: John Bradley
> > >  Cc: Mike Jones; jose@ietf.org
> > >  Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> > > coordinate with WebCrypto
> > >
> > >  I'm sorry, John, but by your logic, JOSE is not following your own
> > advice.
> > >
> > >  "enc" is already a multiple-use for a key - it allows for both
> > > encryption  and decryption. For that matter, wrap and unwrap, which
> > > are supposed to be  inferred based on algorithm, which is a JWE/JWS
> > > specific aspect, and not  an intrinsic aspect of
> > JWK-as-key-representation.
> > >
> > >  Likewise, "sig" implies sign AND verify, which is meant to be
> > > unambiguous,  because the assumption is always that you sign with a
> > > private key and  verify with a public key, but as a conceptual
> > > framework breaks down for  schemes like HMAC, which ostensibly have
> > > sign and verify (or MAC and  verify, if you prefer, but we're
> > splitting
> > hairs here).
> > >
> > >  WebCrypto desires to be *more* precise than JOSE's imprecise and
> > > overly  broad, implicitly multi-use syntax. That "enc" means four
> > > possible uses,  or that "sig" means two , is a clear sign that JOSE=
 is
> > > already actively  encouraging multiple uses for the same key.
> > >
> > >  Mike's proposal is basically an admission that the ship has sailed=
 on
> > > this  implicit, multi-valued usage semantic - which, I can understa=
nd
> > > and  sympathize with, in the name of backwards compatibility for an
> > > in-draft  spec, but let's recognize that as spec'd today, JOSE is
> > > preferring and  encouraging multiple uses for the same key in ways
> > > that will  unquestionably encourage people to make bad mistakes (su=
ch
> > > as multiple  parties using the same encryption key for traffic in
> > > either direction -  requiring some degree of IV sync)
> > >
> > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
> > > >  Having it be an array encourages multiple uses for the same key.=
  I
> > > > have  stated many times that encouraging people to do that is not=
 a
> > > > good idea,  and making it easy makes people think it is a good id=
ea.
> > > >
> > > >  You can use the single value field and have multiple entries wit=
h
> > > > different key containing the same or different keys to do the sam=
e
> > > > thing.
> > > >
> > > >  On the practical side "use_details" is better than creating craz=
y
> > > > dot separated como uses.
> > > >
> > > >  John B.
> > > >
> > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
> > > > <Michael.Jones@microsoft.com>
> > > >  wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > Having reflected upon discussions among WebCrypto and JOSE
> > > > > participants about JWK usage by WebCrypto over the holidays, I'=
d
> > > > > like to propose the two JOSE spec actions to more closely
> > > > > coordinate
> > > > with WebCrypto:
> > > > >
> > > > > 1.  Change the JWA registry field name from "Implementation
> > > > > Requirements" to "JOSE Implementation Requirements" in the JSON
> > > > > Web Signature and Encryption Algorithms Registry
> > > > > (
> > http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#sec=
tion-7.1
> > ).
> > > > >  This will make it clearer that the Implementation Requirements
> > > > > apply only to JWS and JWE implementations - and not other uses =
of
> > > > > JWK (such as WebCrypto).  This changes only non-normative text =
and
> > > > > is
> > > > non-breaking.
> > > > >
> > > > > 2.  Define the new JWK field "use_details" for recording intend=
ed
> > > > > fine-grained key usage information.  This would enable WebCrypt=
o
> > > > > KeyUsage
> > > > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvie=
w.h
> > > > > tm
> > > > > l#key-interface) values to be used directly with JWK.  The
> > > > > proposed definition is:
> > > > >
> > > > > 3.3.  "use_details" (Key Use Details) Parameter
> > > > >    The "use_details" (key use details) member identifies
> > fine-grained
> > > > >    details the intended use of the key.  Its value is an array =
of
> > > > >    key use details values.  Values defined by this specificatio=
n
> > are:
> > > > >
> > > > >    o  "sign" (compute signature or MAC)
> > > > >    o  "verify" (verify signature or MAC)
> > > > >    o  "encrypt" (encrypt content)
> > > > >    o  "decrypt" (decrypt content and verify decryption, if
> > applicable)
> > > > >    o  "wrap" (encrypt key)
> > > > >    o  "unwrap" (decrypt key and verify decryption, if applicabl=
e)
> > > > >    o  "deriveKey" (derive key)
> > > > >    o  "deriveBits" (derive bits not to be used as a key)
> > > > >
> > > > >    Other values MAY be used.  Key Use Details values can be
> > registered
> > > > >    in the IANA JSON Web Key Use Details registry defined in
> > > > > Section
> > > > 7.3.
> > > > >    The use details values are case-sensitive strings.
> > > > >    Duplicate use details values MUST NOT be present in the arra=
y.
> > > > >    Use of the "use_details" member is OPTIONAL, unless the
> > application
> > > > >    requires use this member to record fine-grained key usage
> > details.
> > > > >    (Note that the "use_details" values intentionally match the
> > > > > "KeyUsage"
> > > > >    values defined in the WebCrypto [WebCrypto] specification.)
> > > > >
> > > > >    If both "use" and "use_details" JWK members are present, the
> > usages
> > > > >    specified by them MUST be consistent.  In particular, the "u=
se"
> > > > value
> > > > >    "sig" corresponds to "sign" and/or "verify".  The "use" valu=
e
> > > > >    "enc" corresponds to all other values defined above.
> > > > >    If "use_details" values corresponding to both "sig" and "enc=
"
> > > > >    "use" values are present, the "use" member SHOULD NOT be
> > present,
> > > > >    and if present, its value MUST NOT be either "sig" or "enc".
> > > > >
> > > > > This is a non-breaking change - allowing simple applications th=
at
> > > > > want to distinguish between signing and encryption operations t=
o
> > > > > continue doing so as they do today, while also providing a
> > > > > multi-valued key usage details field to be used by applications
> > > > > that want to record fine-grained distinctions among potential k=
ey
> > > > > usages, including distinguishing between producer and consumer
> > operations.
> > > > >
> > > > > As I see it, while having two related key usage representations
> > > > > isn't ideal, it's far better than having WebCrypto overload "us=
e"
> > > > > with multi-valued values encoded in strings, such as
> > > > > "signOnly,verifyOnly", which I believe is their current plan of
> > > > record.
> > > > >
> > > > > Comments?
> > > > >
> > > > >                                                             --
> > > > > Mike
> > > > >
> > > > > P.S.  This proposal was already discussed on the WebCrypto list=
 in
> > > > > the thread
> > > > > http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/00=
52.
> > > > > ht ml and no objections were raised there that I'm aware of.
> > > > >
> > > > > _______________________________________________
> > > > > jose mailing list
> > > > > jose@ietf.org
> > > > > https://www.ietf.org/mailman/listinfo/jose
> > > >
> > > >  _______________________________________________
> > > >  jose mailing list
> > > >  jose@ietf.org
> > > >  https://www.ietf.org/mailman/listinfo/jose
> > > >
> > >
> > >
> > >  _______________________________________________
> > >  jose mailing list
> > >  jose@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/jose
> > >
> >
> > _______________________________________________
> > jose mailing list
> > jose@ietf.org
> > https://www.ietf.org/mailman/listinfo/jose
> >
>  _______________________________________________
>  jose mailing list
>  jose@ietf.org
>  https://www.ietf.org/mailman/listinfo/jose
>



From Michael.Jones@microsoft.com  Mon Dec 30 13:12:14 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C86CF1AE1E2 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:12:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cLtu1GGsSUjz for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:12:03 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0239.outbound.protection.outlook.com [207.46.163.239]) by ietfa.amsl.com (Postfix) with ESMTP id 3ADFF1AE18E for <jose@ietf.org>; Mon, 30 Dec 2013 13:12:03 -0800 (PST)
Received: from BLUPR03CA034.namprd03.prod.outlook.com (10.141.30.27) by BLUPR03MB248.namprd03.prod.outlook.com (10.255.213.26) with Microsoft SMTP Server (TLS) id 15.0.842.7; Mon, 30 Dec 2013 21:11:56 +0000
Received: from BN1BFFO11FD029.protection.gbl (2a01:111:f400:7c10::1:179) by BLUPR03CA034.outlook.office365.com (2a01:111:e400:879::27) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Mon, 30 Dec 2013 21:11:55 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD029.mail.protection.outlook.com (10.58.144.92) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Mon, 30 Dec 2013 21:11:55 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC107.redmond.corp.microsoft.com ([157.54.80.67]) with mapi id 14.03.0158.002; Mon, 30 Dec 2013 21:11:22 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkIABRb8AgALUdoCAABBGYIAAF1AAgAAGxH0=
Date: Mon, 30 Dec 2013 21:11:21 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>, <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>
In-Reply-To: <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD801F0TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(13464003)(189002)(199002)(24454002)(35774003)(52314003)(243025003)(51704005)(53754006)(377454003)(83072002)(53806001)(74366001)(4396001)(85852003)(16297215004)(81342001)(74662001)(19580395003)(16236675002)(31966008)(54316002)(74706001)(74876001)(19580405001)(44976005)(83322001)(81542001)(51856001)(47446002)(79102001)(90146001)(47976001)(46102001)(59766001)(54356001)(47736001)(81816001)(81686001)(49866001)(87266001)(50986001)(76482001)(77982001)(69226001)(77096001)(84326002)(71186001)(561944002)(55846006)(74502001)(14971765001)(56776001)(15202345003)(56816005)(6806004)(85306002)(2656002)(87936001)(33656001)(15975445006)(63696002)(76796001)(76786001)(80976001)(80022001)(20776003)(65816001)(85806002)(18265965002)(569005); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB248; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0076F48C8A
X-OriginatorOrg: microsoft.com
Cc: Richard Barnes <rlb@ipv.sx>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 21:12:15 -0000

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

Ryan, this isn't an either-or situation. JWK is intended to be a general ke=
y representation format. It's extensible exactly so information for any use=
 cases that need info not in the base spec can add it.  I'm still puzzled w=
hy some in WebCrypo felt uncomfortable using this extensibility by defining=
 and registering a new field for WebCrypyo's representation of use info. Bu=
t observing that to be the case, I'm attempting to be as clear as possible =
(through spec actions!) that there's absolutely no reason for WebCrypto not=
 to use JWK.

There's no plans to "continue to evolve JWK to parallel the SAML workflows"=
 that I'm aware of. Rather, I believe the only further addition being consi=
dered before completing the spec is one motivated by WebCrypto's use case r=
ather than SAML - "use_details".

I believe that the current JWK spec already meets WebCrypto's needs as-is. =
 Is there any reason not to just use it and move on to addressing other iss=
ues needed to be resolved to complete both JOSE and WebCrypto, both of whic=
h I see as being complementary and important to the industry?

-- Mike
________________________________
From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com>
Sent: =FD12/=FD30/=FD2013 12:47 PM
To: Mike Jones<mailto:Michael.Jones@microsoft.com>
Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; Richard Barnes<mailt=
o:rlb@ipv.sx>; John Bradley<mailto:ve7jtb@ve7jtb.com>; jose@ietf.org<mailto=
:jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
>  As further background for the discussion, the current "use" definition i=
s
>  based on widely deployed existing practice - the SAML metadata
>  specification
>  (http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf)=
,
>  which defines "use" as follows in section 2.4.1.1:
>  use [Optional]
>  Optional attribute specifying the purpose of the key being described.
>  Values are drawn from the
>
>  KeyTypes enumeration, and consist of the values encryption and signing.
>
>
>
>  This has been shown to be sufficient in practice for its intended purpos=
e,
>  as has the JWK "use" field.
>

Mike,

I feel like you're arguing all the more strongly for WebCrypto not to use
JWK, in that you're arguing that JWK's "intended purpose" is to match
SAML. I can understand where this fits within the JWT and OpenID Connect
workflows, but as a "JSON key description" format, it is unquestionably
much more restrictive and ill-suited.

If the goal is to continue to evolve JWK to parallel the SAML workflows,
then I don't see how WebCrypto can in good conscience encourage JWK.

There's nothing preventing authors from translating JWK into any sort of
API form that WebCrypto requires - much in the same way that they can
translate the composite JWA algorithms (which are suitable for transport)
into WebCrypto's broader, more generic algorithms (which are suitable for
an API targeting application development).

Arguably, the only reasons to use JWK are to prevent introducing "yet
another key format". While laudable, if JWK is trying to mirror SAML, then
it would seem that JWK is not trying to be a key format, per se, and such
risk would be low.

Again, I'm perfectly fine if JOSE would rather that JWK be kept as minimal
and as specific for the JWT use case, and we can easily use a descriptive
WebIDL within WebCrypto to describe the key formats it operates with (in
addition to SPKI and PKCS#8). Comments so far from this WG give me the
sense that there's strong opposition by some to seeing JWK evolve to be as
flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
extensibility that WebCrypto wants, and if JWK isn't it, we can use
something else. OpenID Connect and JWT can continue to use JWK as suited
for their needs, and if for some reason someone wants to use JS to
interact with these, they can use a translation shim, just as they would
for JWE/JWS or for *any other* cryptographic application, since WebCrypto
is "just" an API.

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



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

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
256">
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad=
ding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif">Ryan, this is=
n't an either-or situation. JWK is intended to be a general key representat=
ion format. It's extensible exactly so information for any use cases that n=
eed info not in the base spec can
 add it.&nbsp; I'm still puzzled why some in WebCrypo felt uncomfortable us=
ing this extensibility by defining and registering a new field for WebCrypy=
o's representation of use info. But observing that to be the case, I'm atte=
mpting to be as clear as possible (through
 spec actions!) that there's absolutely no reason for WebCrypto not to use =
JWK.<br>
<br>
There's no plans to &quot;continue to evolve JWK to parallel the SAML workf=
lows&quot; that I'm aware of. Rather, I believe the only further addition b=
eing considered before completing the spec is one motivated by WebCrypto's =
use case rather than SAML - &quot;use_details&quot;.<br>
<br>
I believe that the current JWK spec already meets WebCrypto's needs as-is.&=
nbsp; Is there any reason not to just use it and move on to addressing othe=
r issues needed to be resolved to complete both JOSE and WebCrypto, both of=
 which I see as being complementary and
 important to the industry?<br>
<br>
-- Mike<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">From:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:ryan-ietf@sleevi.com">Ryan Sleevi</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Sent:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">=FD12=
/=FD30/=FD2013 12:47 PM</span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">To:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:Michael.Jones@microsoft.com">Mike Jones</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Cc:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf@sleevi.com</a>;
<a href=3D"mailto:rlb@ipv.sx">Richard Barnes</a>; <a href=3D"mailto:ve7jtb@=
ve7jtb.com">
John Bradley</a>; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a></span>=
<br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Subject:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">Re: [=
jose] Two proposed JOSE spec actions to more closely coordinate with WebCry=
pto</span><br>
<br>
</div>
</div>
<font size=3D"2"><span style=3D"font-size:10pt;">
<div class=3D"PlainText">On Mon, December 30, 2013 11:40 am, Mike Jones wro=
te:<br>
&gt;&nbsp; As further background for the discussion, the current &quot;use&=
quot; definition is<br>
&gt;&nbsp; based on widely deployed existing practice - the SAML metadata<b=
r>
&gt;&nbsp; specification<br>
&gt;&nbsp; (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/saml-m=
etadata-2.0-os.pdf">http://docs.oasis-open.org/security/saml/v2.0/saml-meta=
data-2.0-os.pdf</a>),<br>
&gt;&nbsp; which defines &quot;use&quot; as follows in section 2.4.1.1:<br>
&gt;&nbsp; use [Optional]<br>
&gt;&nbsp; Optional attribute specifying the purpose of the key being descr=
ibed.<br>
&gt;&nbsp; Values are drawn from the<br>
&gt;<br>
&gt;&nbsp; KeyTypes enumeration, and consist of the values encryption and s=
igning.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; This has been shown to be sufficient in practice for its intende=
d purpose,<br>
&gt;&nbsp; as has the JWK &quot;use&quot; field.<br>
&gt;<br>
<br>
Mike,<br>
<br>
I feel like you're arguing all the more strongly for WebCrypto not to use<b=
r>
JWK, in that you're arguing that JWK's &quot;intended purpose&quot; is to m=
atch<br>
SAML. I can understand where this fits within the JWT and OpenID Connect<br=
>
workflows, but as a &quot;JSON key description&quot; format, it is unquesti=
onably<br>
much more restrictive and ill-suited.<br>
<br>
If the goal is to continue to evolve JWK to parallel the SAML workflows,<br=
>
then I don't see how WebCrypto can in good conscience encourage JWK.<br>
<br>
There's nothing preventing authors from translating JWK into any sort of<br=
>
API form that WebCrypto requires - much in the same way that they can<br>
translate the composite JWA algorithms (which are suitable for transport)<b=
r>
into WebCrypto's broader, more generic algorithms (which are suitable for<b=
r>
an API targeting application development).<br>
<br>
Arguably, the only reasons to use JWK are to prevent introducing &quot;yet<=
br>
another key format&quot;. While laudable, if JWK is trying to mirror SAML, =
then<br>
it would seem that JWK is not trying to be a key format, per se, and such<b=
r>
risk would be low.<br>
<br>
Again, I'm perfectly fine if JOSE would rather that JWK be kept as minimal<=
br>
and as specific for the JWT use case, and we can easily use a descriptive<b=
r>
WebIDL within WebCrypto to describe the key formats it operates with (in<br=
>
addition to SPKI and PKCS#8). Comments so far from this WG give me the<br>
sense that there's strong opposition by some to seeing JWK evolve to be as<=
br>
flexible or generic as SPKI/PKCS#8. That's fine by me, but that's<br>
extensibility that WebCrypto wants, and if JWK isn't it, we can use<br>
something else. OpenID Connect and JWT can continue to use JWK as suited<br=
>
for their needs, and if for some reason someone wants to use JS to<br>
interact with these, they can use a translation shim, just as they would<br=
>
for JWE/JWS or for *any other* cryptographic application, since WebCrypto<b=
r>
is &quot;just&quot; an API.<br>
<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; I understand your point, Ryan, that for the WebCrypto API use ca=
se, there<br>
&gt;&nbsp; is sometimes value in distinguishing between the producer and co=
nsumer<br>
&gt;&nbsp; operations for a key.&nbsp; That's part of why I proposed adding=
 &quot;use_details&quot;,<br>
&gt;&nbsp; so those distinctions can be made for the use cases where they d=
o make a<br>
&gt;&nbsp; difference.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; As for Richard's proposal, the problem with it is that it would =
be a<br>
&gt;&nbsp; breaking change, since if &quot;ku&quot; was present, his propos=
al would require<br>
&gt;&nbsp; different treatment of the &quot;use&quot; field (ignoring it).&=
nbsp; My proposal is not<br>
&gt;&nbsp; a breaking change, since &quot;use&quot; continues to mean what =
it always has.<br>
&gt;&nbsp; Furthermore, my proposal requires that &quot;use&quot; and &quot=
;use_details&quot; convey<br>
&gt;&nbsp; consistent information, if both are present.&nbsp; That seems si=
gnificantly<br>
&gt;&nbsp; simpler for consumers of JWKs use than requiring conditional beh=
aviors, as<br>
&gt;&nbsp; Richard's proposal does.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Best=
 wishes,<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- M=
ike<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; -----Original Message-----<br>
&gt;&nbsp; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com">mailt=
o:ryan-ietf@sleevi.com</a>]<br>
&gt;&nbsp; Sent: Monday, December 30, 2013 10:25 AM<br>
&gt;&nbsp; To: Richard Barnes<br>
&gt;&nbsp; Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.or=
g<br>
&gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec actions to more close=
ly<br>
&gt;&nbsp; coordinate with WebCrypto<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<br>
&gt;<br>
&gt; &gt;&nbsp; On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<br>
&gt;<br>
&gt; &gt;&nbsp; &lt;Michael.Jones@microsoft.com&lt;mailto:Michael.Jones@mic=
rosoft.com&gt;&gt;wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; It's my sense of the JOSE working group that most are strong=
ly<br>
&gt;<br>
&gt; &gt; &gt; opposed to breaking changes at this point.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; Please don't claim to represent the WG.&nbsp; There is a si=
gnificant<br>
&gt;<br>
&gt; &gt; contingent&nbsp; who care about breaking changes, but also a sign=
ificant<br>
&gt;<br>
&gt; &gt; group who would&nbsp; prefer the best, most usable spec we can ma=
ke,<br>
&gt;<br>
&gt; &gt; regardless of the sins of&nbsp; the past.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; However, I also believe that most JOSE participants share th=
e<br>
&gt;<br>
&gt; &gt; &gt; sentiment of many WebCrypto participants that it would be be=
tter for<br>
&gt;<br>
&gt; &gt; &gt; all for WebCrypto to use real JWKs, rather than something<br=
>
&gt;<br>
&gt; &gt; &gt; &quot;JWK-like&quot;.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp;&nbsp; How about this for a compromise proposal:<br>
&gt;<br>
&gt; &gt;&nbsp; -- Leave &quot;use&quot; in for backward compatibility.<br>
&gt;<br>
&gt; &gt;&nbsp; -- Define a new field &quot;ku&quot; (Key Usage, or somethi=
ng similar) that has<br>
&gt;<br>
&gt; &gt; detailed key usage information.<br>
&gt;<br>
&gt; &gt;&nbsp; -- Deprecate &quot;use&quot;, recommending that new applica=
tions use &quot;ku&quot;; if<br>
&gt;<br>
&gt; &gt; both&nbsp; are present, &quot;use&quot; MUST be ignored.<br>
&gt;<br>
&gt; &gt;&nbsp; -- Define the expansion of &quot;use&quot; values to &quot;=
ku&quot; values<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; That doesn't break backward compatibilty, but makes detaile=
d control<br>
&gt;<br>
&gt; &gt; the&nbsp; default going forward.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; --Richard<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; As I expressed within WebCrypto, this to me strikes a much more =
sensible<br>
&gt;&nbsp; balance of backwards compatibility and extensibility, and hopefu=
lly in a<br>
&gt;&nbsp; way that allows existing deployments to cleanly transition while=
 allowing<br>
&gt;&nbsp; new deployments to avoid the limitations of the current drafts.<=
br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; I very much prefer this over use_details for Web Crypto's use ca=
ses.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; I believe my proposal is the best-available solution, given=
 the<br>
&gt;<br>
&gt; &gt; current<br>
&gt;<br>
&gt; &gt; &gt; realistic constraints.&nbsp; It might have made better sense=
 for a<br>
&gt;<br>
&gt; &gt; &gt; WebCrypto spec to define &quot;use_details&quot; than JOSE, =
but if WebCrypto<br>
&gt;<br>
&gt; &gt; &gt; isn't going to do it, I believe that we'll all be better off=
 in the<br>
&gt;<br>
&gt; &gt; &gt; long run if JOSE then does and WebCrypto uses it.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;&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; Cheers,<br>
&gt;<br>
&gt; &gt; &gt;&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; -- Mike<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; -----Original Message-----<br>
&gt;<br>
&gt; &gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com">m=
ailto:ryan-ietf@sleevi.com</a>]<br>
&gt;<br>
&gt; &gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br>
&gt;<br>
&gt; &gt; &gt; To: Mike Jones<br>
&gt;<br>
&gt; &gt; &gt; Cc: ryan-ietf@sleevi.com&lt;mailto:ryan-ietf@sleevi.com&gt;;=
 John Bradley;<br>
&gt; &gt; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org">mailto:jose@iet=
f.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to more c=
losely<br>
&gt;<br>
&gt; &gt; &gt; coordinate with WebCrypto<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; I disagree that &quot;use&quot; allows multiple u=
ses.&nbsp; Sign/Verify both use<br>
&gt;<br>
&gt; &gt; &gt; &gt; the same&nbsp; algorithm with the same key - just in a =
producer/consumer<br>
&gt; &gt; role.<br>
&gt;<br>
&gt; &gt; &gt; &gt; There&nbsp; would only be a security problem if the sam=
e key was used<br>
&gt;<br>
&gt; &gt; &gt; &gt; with<br>
&gt;<br>
&gt; &gt; &gt; &gt; *different*&nbsp; algorithms.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; For symmetric keys, Sign/Verify operations are ac=
tually the same,<br>
&gt;<br>
&gt; &gt; &gt; &gt; so in&nbsp; that case, this is a distinction without a =
difference.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; You may consider the producer/consumer distinctio=
n to be multiple<br>
&gt;<br>
&gt; &gt; &gt; &gt; uses,&nbsp; but only in an academic sense.&nbsp; You ha=
ve to perform both<br>
&gt;<br>
&gt; &gt; &gt; &gt; with the same key&nbsp; pair or symmetric key for the e=
nd-to-end<br>
&gt;<br>
&gt; &gt; &gt; &gt; cryptography to<br>
&gt;<br>
&gt; &gt; &gt; be meaningful.<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Doing one without the other is incomplete.&nbsp; =
(What good is signing<br>
&gt;<br>
&gt; &gt; &gt; &gt; if the&nbsp; signature is never verified?)<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Hi Mike,<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I don't think it's fair to compare them as the same, and it'=
s very<br>
&gt;<br>
&gt; &gt; &gt; much a practical, and not an academic case.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; In a Sign() operation, the input is arbitrary plaintext and =
the<br>
&gt;<br>
&gt; &gt; &gt; output is a signature corresponding to that plaintext; an or=
acle, if<br>
&gt;<br>
&gt; &gt; &gt; you will - as you would want.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; In an API (although not necessarily in JWE/JWS, and understa=
ndably<br>
&gt;<br>
&gt; &gt; &gt; so), a<br>
&gt;<br>
&gt; &gt; &gt; Verify() operation permits arbitrary plaintext as the input,=
 but<br>
&gt;<br>
&gt; &gt; &gt; also requires the signature to be verified. The only output =
is a<br>
&gt;<br>
&gt; &gt; &gt; boolean - whether or not the signature is correct.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; The goal of &quot;restricting&quot; the uses here would be t=
o allow key<br>
&gt;<br>
&gt; &gt; &gt; storage not necessarily under the control of the caller. In<=
br>
&gt;<br>
&gt; &gt; &gt; WebCrypto, this is the distinction between the executing JS =
(served<br>
&gt;<br>
&gt; &gt; &gt; by the web page) and the UA implementation. It's a concept b=
orrowed<br>
&gt;<br>
&gt; &gt; &gt; from any number of other good cryptographic APIs (eg: those =
that are<br>
&gt;<br>
&gt; &gt; &gt; designed with the notion of opaque key storage)<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; With a symmetric key only permitted for a &quot;Verify&quot;=
 operation, the<br>
&gt;<br>
&gt; &gt; &gt; only way to generate a signature for an arbitrary message is=
<br>
&gt;<br>
&gt; &gt; &gt; a) Compromise the key storage<br>
&gt;<br>
&gt; &gt; &gt; b) Iterate through all possible signature combinations until=
 you get<br>
&gt;<br>
&gt; &gt; &gt; &quot;true&quot; as the Verify() result.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; b) may be aided by any number of implementation issues (eg:<=
br>
&gt;<br>
&gt; &gt; &gt; non-constant time comparisons, among others), but is ultimat=
ely<br>
&gt;<br>
&gt; &gt; &gt; &quot;tricky&quot;. a) is dependent on implementations, and =
can be aided or<br>
&gt;<br>
&gt; &gt; &gt; harmed through a variety of means.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Combining these two usages into a single use case - which, I=
 agree,<br>
&gt;<br>
&gt; &gt; &gt; is probably perfectly acceptable if imagining as a transport=
-only<br>
&gt;<br>
&gt; &gt; &gt; exchange<br>
&gt;<br>
&gt; &gt; &gt; -<br>
&gt;<br>
&gt; &gt; &gt; can thus have real and meaningful differences when used at a=
n API<br>
&gt; &gt; level.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Likewise, Encrypt/Decrypt and Wrap/Unwrap make pr=
oducer/consumer<br>
&gt;<br>
&gt; &gt; &gt; &gt; distinctions, but also only use a single key with a sin=
gle<br>
&gt;<br>
&gt; &gt; &gt; &gt; algorithm - therefore no security problem.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; =3D=3D=3D=3D<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; For what it's worth, I think the different key us=
e representation<br>
&gt;<br>
&gt; &gt; &gt; &gt; choices&nbsp; stems from JOSE being a high-level API th=
at tries to make<br>
&gt;<br>
&gt; &gt; &gt; &gt; simple things&nbsp; simple and WebCrypto being a low-le=
vel API that<br>
&gt;<br>
&gt; &gt; &gt; &gt; tries<br>
&gt;<br>
&gt; &gt; &gt; to<br>
&gt;<br>
&gt; &gt; &gt; be complete.<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Both are valid and useful.&nbsp; These difference=
s show up in lots of<br>
&gt;<br>
&gt; &gt; &gt; &gt; places&nbsp; besides just key usage representations.<br=
>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Absolutely agree here. This is why WebCrypto explored whethe=
r we<br>
&gt;<br>
&gt; &gt; &gt; should do something &quot;JWK-like&quot;, but suitable at an=
 API layer and for<br>
&gt;<br>
&gt; &gt; &gt; it's goals, and &quot;trivially&quot; convertable with JWK -=
 but by script<br>
&gt;<br>
&gt; &gt; &gt; authors. The WebCrypto WG wasn't fond of it, which is<br>
&gt;<br>
&gt; &gt; &gt; understandable, and why I'm here.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Anyway, the purpose of my proposal is to try to m=
ake things<br>
&gt;<br>
&gt; &gt; &gt; &gt; easier for&nbsp; WebCrypto.&nbsp; I hope people will ge=
t behind it.&nbsp; Yes,<br>
&gt;<br>
&gt; &gt; &gt; &gt; having both simple and&nbsp; detailed key usage represe=
ntations seems odd<br>
&gt; &gt; at first.<br>
&gt;<br>
&gt; &gt; &gt; &gt; But they're&nbsp; designed to address different goals f=
or different<br>
&gt;<br>
&gt; &gt; &gt; &gt; kinds<br>
&gt;<br>
&gt; &gt; &gt; of<br>
&gt;<br>
&gt; &gt; &gt; applications.<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; The alternatives (such as &quot;signOnly,verifyOn=
ly&quot;, etc.) that are<br>
&gt;<br>
&gt; &gt; &gt; &gt; currently&nbsp; being considered are much worse.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I agree that changing to an array will almost certainly brea=
k every<br>
&gt;<br>
&gt; &gt; &gt; implementation to date.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I agree that comma-separated is horribad and should be avoid=
ed, even<br>
&gt;<br>
&gt; &gt; &gt; if it &quot;solves&quot; the backwards compat issue.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I think your solution is a reasonable attempt to mediate the=
 issues<br>
&gt;<br>
&gt; &gt; &gt; of backwards compatibility with the use cases of WebCrypto. =
However,<br>
&gt;<br>
&gt; &gt; &gt; I'm still on the fence as to whether or not it really is<br>
&gt;<br>
&gt; &gt; &gt; unreasonable to &quot;break&quot;<br>
&gt;<br>
&gt; &gt; &gt; backwards compatibility here - there seems to be a compellin=
g case<br>
&gt;<br>
&gt; &gt; &gt; here as to why even something like [&quot;sign&quot;, &quot;=
verify&quot;] should be<br>
&gt;<br>
&gt; &gt; &gt; distinct usages.<br>
&gt;<br>
&gt; &gt; &gt; I<br>
&gt;<br>
&gt; &gt; &gt; know the bar is incredibly high right now, given JOSE's mome=
ntum,<br>
&gt;<br>
&gt; &gt; &gt; but I didn't think that JOSE was past the point of no return=
.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; -----Original Message-----<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sl=
eevi.com">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Sent: Friday, December 27, 2013 2:13 PM<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; To: John Bradley<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Cc: Mike Jones; jose@ietf.org&lt;<a href=3D"mailt=
o:jose@ietf.org">mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec action=
s to more<br>
&gt;<br>
&gt; &gt; &gt; &gt; closely coordinate with WebCrypto<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; I'm sorry, John, but by your logic, JOSE is not f=
ollowing your<br>
&gt;<br>
&gt; &gt; &gt; &gt; own<br>
&gt;<br>
&gt; &gt; &gt; advice.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; &quot;enc&quot; is already a multiple-use for a k=
ey - it allows for both<br>
&gt;<br>
&gt; &gt; &gt; &gt; encryption&nbsp; and decryption. For that matter, wrap =
and unwrap,<br>
&gt;<br>
&gt; &gt; &gt; &gt; which are supposed to be&nbsp; inferred based on algori=
thm, which is a<br>
&gt;<br>
&gt; &gt; &gt; &gt; JWE/JWS specific aspect, and not&nbsp; an intrinsic asp=
ect of<br>
&gt;<br>
&gt; &gt; &gt; JWK-as-key-representation.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Likewise, &quot;sig&quot; implies sign AND verify=
, which is meant to be<br>
&gt;<br>
&gt; &gt; &gt; &gt; unambiguous,&nbsp; because the assumption is always tha=
t you sign with<br>
&gt;<br>
&gt; &gt; &gt; &gt; a private key and&nbsp; verify with a public key, but a=
s a conceptual<br>
&gt;<br>
&gt; &gt; &gt; &gt; framework breaks down for&nbsp; schemes like HMAC, whic=
h ostensibly<br>
&gt;<br>
&gt; &gt; &gt; &gt; have sign and verify (or MAC and&nbsp; verify, if you p=
refer, but we're<br>
&gt;<br>
&gt; &gt; &gt; splitting<br>
&gt;<br>
&gt; &gt; &gt; hairs here).<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; WebCrypto desires to be *more* precise than JOSE'=
s imprecise and<br>
&gt;<br>
&gt; &gt; &gt; &gt; overly&nbsp; broad, implicitly multi-use syntax. That &=
quot;enc&quot; means four<br>
&gt;<br>
&gt; &gt; &gt; &gt; possible uses,&nbsp; or that &quot;sig&quot; means two =
, is a clear sign that<br>
&gt;<br>
&gt; &gt; &gt; &gt; JOSE is already actively&nbsp; encouraging multiple use=
s for the same<br>
&gt; &gt; key.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Mike's proposal is basically an admission that th=
e ship has<br>
&gt;<br>
&gt; &gt; &gt; &gt; sailed on this&nbsp; implicit, multi-valued usage seman=
tic - which, I<br>
&gt;<br>
&gt; &gt; &gt; &gt; can understand and&nbsp; sympathize with, in the name o=
f backwards<br>
&gt;<br>
&gt; &gt; &gt; &gt; compatibility for an in-draft&nbsp; spec, but let's rec=
ognize that as<br>
&gt;<br>
&gt; &gt; &gt; &gt; spec'd today, JOSE is preferring and&nbsp; encouraging =
multiple uses<br>
&gt;<br>
&gt; &gt; &gt; &gt; for the same key in ways that will&nbsp; unquestionably=
 encourage<br>
&gt;<br>
&gt; &gt; &gt; &gt; people to make bad mistakes (such as multiple&nbsp; par=
ties using the<br>
&gt;<br>
&gt; &gt; &gt; &gt; same encryption key for traffic in either direction -&n=
bsp; requiring<br>
&gt;<br>
&gt; &gt; &gt; &gt; some degree of IV sync)<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; On Tue, December 24, 2013 4:27 pm, John Bradley w=
rote:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Having it be an array encourages multiple us=
es for the same<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; key.&nbsp; I have&nbsp; stated many times that enc=
ouraging people to do<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; that is not a good idea,&nbsp; and making it easy =
makes people think it<br>
&gt; &gt; is a good idea.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; You can use the single value field and have =
multiple entries<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; with different key containing the same or differen=
t keys to do<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; the same thing.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; On the practical side &quot;use_details&quot=
; is better than creating<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; crazy dot separated como uses.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; John B.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; On Dec 24, 2013, at 8:26 PM, Mike Jones<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &lt;Michael.Jones@microsoft.com&lt;mailto:Michael.=
Jones@microsoft.com&gt;&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; wrote:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Hi all,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among WebCr=
ypto and JOSE<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypto ove=
r the holidays,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; I'd like to propose the two JOSE spec actions=
 to more closely<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; coordinate<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; with WebCrypto:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 1.&nbsp; Change the JWA registry field name f=
rom &quot;Implementation<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Implementati=
on Requirements&quot; in the<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algorithms =
Registry (<br>
&gt;<br>
&gt; &gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-w=
eb-algorithms-18#se">
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se</a><br=
>
&gt;<br>
&gt; &gt; &gt; ction-7.1<br>
&gt;<br>
&gt; &gt; &gt; ).<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; This will make it clearer that the Impl=
ementation<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE implem=
entations - and<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto).&nb=
sp; This changes only<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; non-normative text and is<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; non-breaking.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 2.&nbsp; Define the new JWK field &quot;use_d=
etails&quot; for recording<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; intended fine-grained key usage information.&=
nbsp; This would<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; (<a href=3D""></a>https://dvcs.w3.org/hg/webc=
rypto-api/raw-file/tip/spec/Overvi<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; tm<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used directly w=
ith JWK.&nbsp; The<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; proposed definition is:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 3.3.&nbsp; &quot;use_details&quot; (Key Use D=
etails) Parameter<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The &quot;use_details&quot;=
 (key use details) member identifies<br>
&gt;<br>
&gt; &gt; &gt; fine-grained<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; details the intended use of=
 the key.&nbsp; Its value is an array<br>
&gt; &gt; of<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; key use details values.&nbs=
p; Values defined by this<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; specification<br>
&gt;<br>
&gt; &gt; &gt; are:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;sign&quot; (c=
ompute signature or MAC)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;verify&quot; =
(verify signature or MAC)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;encrypt&quot;=
 (encrypt content)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;decrypt&quot;=
 (decrypt content and verify decryption, if<br>
&gt;<br>
&gt; &gt; &gt; applicable)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;wrap&quot; (e=
ncrypt key)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;unwrap&quot; =
(decrypt key and verify decryption, if<br>
&gt; &gt; applicable)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;deriveKey&quo=
t; (derive key)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;deriveBits&qu=
ot; (derive bits not to be used as a key)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Other values MAY be used.&n=
bsp; Key Use Details values can be<br>
&gt;<br>
&gt; &gt; &gt; registered<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; in the IANA JSON Web Key Us=
e Details registry defined in<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Section<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; 7.3.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The use details values are =
case-sensitive strings.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Duplicate use details value=
s MUST NOT be present in the<br>
&gt; &gt; array.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Use of the &quot;use_detail=
s&quot; member is OPTIONAL, unless the<br>
&gt;<br>
&gt; &gt; &gt; application<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; requires use this member to=
 record fine-grained key usage<br>
&gt;<br>
&gt; &gt; &gt; details.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; (Note that the &quot;use_de=
tails&quot; values intentionally match the<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; values defined in the WebCr=
ypto [WebCrypto] specification.)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If both &quot;use&quot; and=
 &quot;use_details&quot; JWK members are present,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; the<br>
&gt;<br>
&gt; &gt; &gt; usages<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; specified by them MUST be c=
onsistent.&nbsp; In particular, the<br>
&gt; &gt; &quot;use&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; value<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;sig&quot; corresponds=
 to &quot;sign&quot; and/or &quot;verify&quot;.&nbsp; The &quot;use&quot; v=
alue<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;enc&quot; corresponds=
 to all other values defined above.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If &quot;use_details&quot; =
values corresponding to both &quot;sig&quot; and &quot;enc&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;use&quot; values are =
present, the &quot;use&quot; member SHOULD NOT be<br>
&gt;<br>
&gt; &gt; &gt; present,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; and if present, its value M=
UST NOT be either &quot;sig&quot; or &quot;enc&quot;.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing simp=
le applications<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; that want to distinguish between signing and =
encryption<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; operations to continue doing so as they do to=
day, while also<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage details fi=
eld to be used by<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; applications that want to record fine-grained=
 distinctions<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; among potential key usages, including disting=
uishing between<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>
&gt;<br>
&gt; &gt; &gt; operations.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; As I see it, while having two related key usa=
ge<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; representations isn't ideal, it's far better =
than having<br>
&gt; &gt; WebCrypto overload &quot;use&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in strings, =
such as<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I beli=
eve is their current plan<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; of<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; record.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Comments?<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&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; --<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Mike<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; P.S.&nbsp; This proposal was already discusse=
d on the WebCrypto<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; list in the thread<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/Publi=
c/public-webcrypto/2013Dec/0052">
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052</a>.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised there tha=
t I'm aware of.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; _____________________________________________=
__<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.=
org">mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listi=
nfo/jose">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; ____________________________________________=
___<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf=
.org">mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/list=
info/jose">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; _______________________________________________<b=
r>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org"=
>mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/listinfo/=
jose">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt;<br>
&gt; &gt; &gt; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org">mailto:jos=
e@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose">https=
://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; _______________________________________________<br>
&gt;<br>
&gt; &gt;&nbsp; jose mailing list<br>
&gt;<br>
&gt; &gt;&nbsp; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org">mailto:jo=
se@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/listinfo/jose">http=
s://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; _______________________________________________<br>
&gt;&nbsp; jose mailing list<br>
&gt;&nbsp; jose@ietf.org<br>
&gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/listinfo/jose">https://w=
ww.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
<br>
</div>
</span></font>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD801F0TK5EX14MBXC286r_--

From ryan-ietf@sleevi.com  Mon Dec 30 12:47:18 2013
Return-Path: <ryan-ietf@sleevi.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E197D1AE551 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 12:47:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pcXgvrkKc5z0 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 12:47:14 -0800 (PST)
Received: from homiemail-a111.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by ietfa.amsl.com (Postfix) with ESMTP id C1B561AE18E for <jose@ietf.org>; Mon, 30 Dec 2013 12:47:14 -0800 (PST)
Received: from homiemail-a111.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTP id E880B2005D907; Mon, 30 Dec 2013 12:47:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sleevi.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:reply-to :mime-version:content-type:content-transfer-encoding; s= sleevi.com; bh=KRiXMms1xCFXYjiG0jDYx+ZSa8U=; b=SUaZPKzzdgq63pyuj zvjcWi2F5d/LOZJ65ladxKQC8b1pIesCxVYuCMW3i6DRl6iG+f/+8DKjHONrkote S4+s1A+8MYR26Tk7ttwfGwzuvnZ9Q7V3lRiH9fs9l0ig0kDZyGH2T6N0VzqzHfQg cV0gHUyzOC/aG+7C7SCgujvq8w=
Received: from webmail.dreamhost.com (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: ryan@sleevi.com) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTPA id 88E782005D900; Mon, 30 Dec 2013 12:47:08 -0800 (PST)
Received: from 216.239.45.93 (proxying for 216.239.45.93) (SquirrelMail authenticated user ryan@sleevi.com) by webmail.dreamhost.com with HTTP; Mon, 30 Dec 2013 12:47:08 -0800
Message-ID: <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 30 Dec 2013 12:47:08 -0800
From: "Ryan Sleevi" <ryan-ietf@sleevi.com>
To: "Mike Jones" <Michael.Jones@microsoft.com>
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Mon, 30 Dec 2013 13:12:26 -0800
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, Richard Barnes <rlb@ipv.sx>, "jose@ietf.org" <jose@ietf.org>, John Bradley <ve7jtb@ve7jtb.com>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: ryan-ietf@sleevi.com
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 20:47:19 -0000

On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
>  As further background for the discussion, the current "use" definition=
 is
>  based on widely deployed existing practice - the SAML metadata
>  specification
>  (http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pd=
f),
>  which defines "use" as follows in section 2.4.1.1:
>  use [Optional]
>  Optional attribute specifying the purpose of the key being described.
>  Values are drawn from the
>
>  KeyTypes enumeration, and consist of the values encryption and signing=
.
>
>
>
>  This has been shown to be sufficient in practice for its intended purp=
ose,
>  as has the JWK "use" field.
>

Mike,

I feel like you're arguing all the more strongly for WebCrypto not to use
JWK, in that you're arguing that JWK's "intended purpose" is to match
SAML. I can understand where this fits within the JWT and OpenID Connect
workflows, but as a "JSON key description" format, it is unquestionably
much more restrictive and ill-suited.

If the goal is to continue to evolve JWK to parallel the SAML workflows,
then I don't see how WebCrypto can in good conscience encourage JWK.

There's nothing preventing authors from translating JWK into any sort of
API form that WebCrypto requires - much in the same way that they can
translate the composite JWA algorithms (which are suitable for transport)
into WebCrypto's broader, more generic algorithms (which are suitable for
an API targeting application development).

Arguably, the only reasons to use JWK are to prevent introducing "yet
another key format". While laudable, if JWK is trying to mirror SAML, the=
n
it would seem that JWK is not trying to be a key format, per se, and such
risk would be low.

Again, I'm perfectly fine if JOSE would rather that JWK be kept as minima=
l
and as specific for the JWT use case, and we can easily use a descriptive
WebIDL within WebCrypto to describe the key formats it operates with (in
addition to SPKI and PKCS#8). Comments so far from this WG give me the
sense that there's strong opposition by some to seeing JWK evolve to be a=
s
flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
extensibility that WebCrypto wants, and if JWK isn't it, we can use
something else. OpenID Connect and JWT can continue to use JWK as suited
for their needs, and if for some reason someone wants to use JS to
interact with these, they can use a translation shim, just as they would
for JWE/JWS or for *any other* cryptographic application, since WebCrypto
is "just" an API.

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



From Michael.Jones@microsoft.com  Mon Dec 30 13:29:56 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E2AD1AE53D for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:29:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1KnbgISShFI for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:29:49 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0186.outbound.protection.outlook.com [207.46.163.186]) by ietfa.amsl.com (Postfix) with ESMTP id B187D1AE541 for <jose@ietf.org>; Mon, 30 Dec 2013 13:29:48 -0800 (PST)
Received: from BY2PR03CA033.namprd03.prod.outlook.com (10.242.234.154) by BY2PR03MB057.namprd03.prod.outlook.com (10.255.241.149) with Microsoft SMTP Server (TLS) id 15.0.851.11; Mon, 30 Dec 2013 21:29:40 +0000
Received: from BN1BFFO11FD038.protection.gbl (2a01:111:f400:7c10::1:118) by BY2PR03CA033.outlook.office365.com (2a01:111:e400:2c2c::26) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Mon, 30 Dec 2013 21:29:40 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD038.mail.protection.outlook.com (10.58.144.101) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Mon, 30 Dec 2013 21:29:40 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC101.redmond.corp.microsoft.com ([157.54.7.153]) with mapi id 14.03.0158.002; Mon, 30 Dec 2013 21:29:08 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>, "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkIABRb8AgALUdoCAABBGYIAAF1AAgAAGxH2AAAT4/Q==
Date: Mon, 30 Dec 2013 21:29:08 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>, <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>, <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD81A44TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(52314003)(189002)(199002)(377454003)(243025003)(53754006)(51704005)(24454002)(35774003)(13464003)(63696002)(15202345003)(20776003)(85306002)(84326002)(81542001)(76786001)(71186001)(59766001)(16297215004)(74502001)(1511001)(47446002)(77982001)(76796001)(83072002)(55846006)(76482001)(85852003)(51856001)(53806001)(81342001)(54356001)(87936001)(77096001)(87266001)(14971765001)(2656002)(74366001)(46102001)(69226001)(6806004)(56776001)(47736001)(50986001)(16236675002)(85806002)(561944002)(4396001)(54316002)(19580405001)(47976001)(81816001)(44976005)(79102001)(49866001)(83322001)(19580395003)(33656001)(81686001)(56816005)(74662001)(74706001)(31966008)(74876001)(90146001)(15975445006)(80976001)(65816001)(80022001)(18265965002)(559001)(569005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB057; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0076F48C8A
X-OriginatorOrg: microsoft.com
Cc: Richard Barnes <rlb@ipv.sx>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 21:29:56 -0000

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

... and lest there be any confusion, the JWK spec doesn't require the use o=
f "use".  WebCrypto can specify that it not be used and require the use of =
"use_details" if that best meets the needs of your use case.
________________________________
From: Mike Jones<mailto:Michael.Jones@microsoft.com>
Sent: =FD12/=FD30/=FD2013 1:12 PM
To: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>
Cc: Richard Barnes<mailto:rlb@ipv.sx>; John Bradley<mailto:ve7jtb@ve7jtb.co=
m>; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

Ryan, this isn't an either-or situation. JWK is intended to be a general ke=
y representation format. It's extensible exactly so information for any use=
 cases that need info not in the base spec can add it.  I'm still puzzled w=
hy some in WebCrypo felt uncomfortable using this extensibility by defining=
 and registering a new field for WebCrypyo's representation of use info. Bu=
t observing that to be the case, I'm attempting to be as clear as possible =
(through spec actions!) that there's absolutely no reason for WebCrypto not=
 to use JWK.

There's no plans to "continue to evolve JWK to parallel the SAML workflows"=
 that I'm aware of. Rather, I believe the only further addition being consi=
dered before completing the spec is one motivated by WebCrypto's use case r=
ather than SAML - "use_details".

I believe that the current JWK spec already meets WebCrypto's needs as-is. =
 Is there any reason not to just use it and move on to addressing other iss=
ues needed to be resolved to complete both JOSE and WebCrypto, both of whic=
h I see as being complementary and important to the industry?

-- Mike
________________________________
From: Ryan Sleevi<mailto:ryan-ietf@sleevi.com>
Sent: =FD12/=FD30/=FD2013 12:47 PM
To: Mike Jones<mailto:Michael.Jones@microsoft.com>
Cc: ryan-ietf@sleevi.com<mailto:ryan-ietf@sleevi.com>; Richard Barnes<mailt=
o:rlb@ipv.sx>; John Bradley<mailto:ve7jtb@ve7jtb.com>; jose@ietf.org<mailto=
:jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto

On Mon, December 30, 2013 11:40 am, Mike Jones wrote:
>  As further background for the discussion, the current "use" definition i=
s
>  based on widely deployed existing practice - the SAML metadata
>  specification
>  (http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf)=
,
>  which defines "use" as follows in section 2.4.1.1:
>  use [Optional]
>  Optional attribute specifying the purpose of the key being described.
>  Values are drawn from the
>
>  KeyTypes enumeration, and consist of the values encryption and signing.
>
>
>
>  This has been shown to be sufficient in practice for its intended purpos=
e,
>  as has the JWK "use" field.
>

Mike,

I feel like you're arguing all the more strongly for WebCrypto not to use
JWK, in that you're arguing that JWK's "intended purpose" is to match
SAML. I can understand where this fits within the JWT and OpenID Connect
workflows, but as a "JSON key description" format, it is unquestionably
much more restrictive and ill-suited.

If the goal is to continue to evolve JWK to parallel the SAML workflows,
then I don't see how WebCrypto can in good conscience encourage JWK.

There's nothing preventing authors from translating JWK into any sort of
API form that WebCrypto requires - much in the same way that they can
translate the composite JWA algorithms (which are suitable for transport)
into WebCrypto's broader, more generic algorithms (which are suitable for
an API targeting application development).

Arguably, the only reasons to use JWK are to prevent introducing "yet
another key format". While laudable, if JWK is trying to mirror SAML, then
it would seem that JWK is not trying to be a key format, per se, and such
risk would be low.

Again, I'm perfectly fine if JOSE would rather that JWK be kept as minimal
and as specific for the JWT use case, and we can easily use a descriptive
WebIDL within WebCrypto to describe the key formats it operates with (in
addition to SPKI and PKCS#8). Comments so far from this WG give me the
sense that there's strong opposition by some to seeing JWK evolve to be as
flexible or generic as SPKI/PKCS#8. That's fine by me, but that's
extensibility that WebCrypto wants, and if JWK isn't it, we can use
something else. OpenID Connect and JWT can continue to use JWK as suited
for their needs, and if for some reason someone wants to use JS to
interact with these, they can use a translation shim, just as they would
for JWE/JWS or for *any other* cryptographic application, since WebCrypto
is "just" an API.

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



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

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
256">
<style>
<!--
.EmailQuote
	{margin-left:1pt;
	padding-left:4pt;
	border-left:#800000 2px solid}
-->
</style>
</head>
<body>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif">... and lest =
there be any confusion, the JWK spec doesn't require the use of &quot;use&q=
uot;.&nbsp; WebCrypto can specify that it not be used and require the use o=
f &quot;use_details&quot; if that best meets the needs of your
 use case.<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">From:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:Michael.Jones@microsoft.com">Mike Jones</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Sent:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">=FD12=
/=FD30/=FD2013 1:12 PM</span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">To:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf@sleevi.com</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Cc:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:rlb@ipv.sx">Richard Barnes</a>;
<a href=3D"mailto:ve7jtb@ve7jtb.com">John Bradley</a>; <a href=3D"mailto:jo=
se@ietf.org">
jose@ietf.org</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Subject:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">Re: [=
jose] Two proposed JOSE spec actions to more closely coordinate with WebCry=
pto</span><br>
<br>
</div>
<div>
<div>
<div>
<div style=3D"font-size:11pt; font-family:Calibri,sans-serif">Ryan, this is=
n't an either-or situation. JWK is intended to be a general key representat=
ion format. It's extensible exactly so information for any use cases that n=
eed info not in the base spec can
 add it.&nbsp; I'm still puzzled why some in WebCrypo felt uncomfortable us=
ing this extensibility by defining and registering a new field for WebCrypy=
o's representation of use info. But observing that to be the case, I'm atte=
mpting to be as clear as possible (through
 spec actions!) that there's absolutely no reason for WebCrypto not to use =
JWK.<br>
<br>
There's no plans to &quot;continue to evolve JWK to parallel the SAML workf=
lows&quot; that I'm aware of. Rather, I believe the only further addition b=
eing considered before completing the spec is one motivated by WebCrypto's =
use case rather than SAML - &quot;use_details&quot;.<br>
<br>
I believe that the current JWK spec already meets WebCrypto's needs as-is.&=
nbsp; Is there any reason not to just use it and move on to addressing othe=
r issues needed to be resolved to complete both JOSE and WebCrypto, both of=
 which I see as being complementary and
 important to the industry?<br>
<br>
-- Mike<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">From:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:ryan-ietf@sleevi.com">Ryan Sleevi</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Sent:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">=FD12=
/=FD30/=FD2013 12:47 PM</span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">To:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:Michael.Jones@microsoft.com">Mike Jones</a></span><br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Cc:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif"><a hr=
ef=3D"mailto:ryan-ietf@sleevi.com">ryan-ietf@sleevi.com</a>;
<a href=3D"mailto:rlb@ipv.sx">Richard Barnes</a>; <a href=3D"mailto:ve7jtb@=
ve7jtb.com">
John Bradley</a>; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a></span>=
<br>
<span style=3D"font-size:11pt; font-family:Calibri,sans-serif; font-weight:=
bold">Subject:
</span><span style=3D"font-size:11pt; font-family:Calibri,sans-serif">Re: [=
jose] Two proposed JOSE spec actions to more closely coordinate with WebCry=
pto</span><br>
<br>
</div>
</div>
<font size=3D"2"><span style=3D"font-size:10pt">
<div class=3D"PlainText">On Mon, December 30, 2013 11:40 am, Mike Jones wro=
te:<br>
&gt;&nbsp; As further background for the discussion, the current &quot;use&=
quot; definition is<br>
&gt;&nbsp; based on widely deployed existing practice - the SAML metadata<b=
r>
&gt;&nbsp; specification<br>
&gt;&nbsp; (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/saml-m=
etadata-2.0-os.pdf">http://docs.oasis-open.org/security/saml/v2.0/saml-meta=
data-2.0-os.pdf</a>),<br>
&gt;&nbsp; which defines &quot;use&quot; as follows in section 2.4.1.1:<br>
&gt;&nbsp; use [Optional]<br>
&gt;&nbsp; Optional attribute specifying the purpose of the key being descr=
ibed.<br>
&gt;&nbsp; Values are drawn from the<br>
&gt;<br>
&gt;&nbsp; KeyTypes enumeration, and consist of the values encryption and s=
igning.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; This has been shown to be sufficient in practice for its intende=
d purpose,<br>
&gt;&nbsp; as has the JWK &quot;use&quot; field.<br>
&gt;<br>
<br>
Mike,<br>
<br>
I feel like you're arguing all the more strongly for WebCrypto not to use<b=
r>
JWK, in that you're arguing that JWK's &quot;intended purpose&quot; is to m=
atch<br>
SAML. I can understand where this fits within the JWT and OpenID Connect<br=
>
workflows, but as a &quot;JSON key description&quot; format, it is unquesti=
onably<br>
much more restrictive and ill-suited.<br>
<br>
If the goal is to continue to evolve JWK to parallel the SAML workflows,<br=
>
then I don't see how WebCrypto can in good conscience encourage JWK.<br>
<br>
There's nothing preventing authors from translating JWK into any sort of<br=
>
API form that WebCrypto requires - much in the same way that they can<br>
translate the composite JWA algorithms (which are suitable for transport)<b=
r>
into WebCrypto's broader, more generic algorithms (which are suitable for<b=
r>
an API targeting application development).<br>
<br>
Arguably, the only reasons to use JWK are to prevent introducing &quot;yet<=
br>
another key format&quot;. While laudable, if JWK is trying to mirror SAML, =
then<br>
it would seem that JWK is not trying to be a key format, per se, and such<b=
r>
risk would be low.<br>
<br>
Again, I'm perfectly fine if JOSE would rather that JWK be kept as minimal<=
br>
and as specific for the JWT use case, and we can easily use a descriptive<b=
r>
WebIDL within WebCrypto to describe the key formats it operates with (in<br=
>
addition to SPKI and PKCS#8). Comments so far from this WG give me the<br>
sense that there's strong opposition by some to seeing JWK evolve to be as<=
br>
flexible or generic as SPKI/PKCS#8. That's fine by me, but that's<br>
extensibility that WebCrypto wants, and if JWK isn't it, we can use<br>
something else. OpenID Connect and JWT can continue to use JWK as suited<br=
>
for their needs, and if for some reason someone wants to use JS to<br>
interact with these, they can use a translation shim, just as they would<br=
>
for JWE/JWS or for *any other* cryptographic application, since WebCrypto<b=
r>
is &quot;just&quot; an API.<br>
<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; I understand your point, Ryan, that for the WebCrypto API use ca=
se, there<br>
&gt;&nbsp; is sometimes value in distinguishing between the producer and co=
nsumer<br>
&gt;&nbsp; operations for a key.&nbsp; That's part of why I proposed adding=
 &quot;use_details&quot;,<br>
&gt;&nbsp; so those distinctions can be made for the use cases where they d=
o make a<br>
&gt;&nbsp; difference.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; As for Richard's proposal, the problem with it is that it would =
be a<br>
&gt;&nbsp; breaking change, since if &quot;ku&quot; was present, his propos=
al would require<br>
&gt;&nbsp; different treatment of the &quot;use&quot; field (ignoring it).&=
nbsp; My proposal is not<br>
&gt;&nbsp; a breaking change, since &quot;use&quot; continues to mean what =
it always has.<br>
&gt;&nbsp; Furthermore, my proposal requires that &quot;use&quot; and &quot=
;use_details&quot; convey<br>
&gt;&nbsp; consistent information, if both are present.&nbsp; That seems si=
gnificantly<br>
&gt;&nbsp; simpler for consumers of JWKs use than requiring conditional beh=
aviors, as<br>
&gt;&nbsp; Richard's proposal does.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Best=
 wishes,<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- M=
ike<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; -----Original Message-----<br>
&gt;&nbsp; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com">mailt=
o:ryan-ietf@sleevi.com</a>]<br>
&gt;&nbsp; Sent: Monday, December 30, 2013 10:25 AM<br>
&gt;&nbsp; To: Richard Barnes<br>
&gt;&nbsp; Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.or=
g<br>
&gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec actions to more close=
ly<br>
&gt;&nbsp; coordinate with WebCrypto<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<br>
&gt;<br>
&gt; &gt;&nbsp; On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<br>
&gt;<br>
&gt; &gt;&nbsp; &lt;Michael.Jones@microsoft.com&lt;mailto:Michael.Jones@mic=
rosoft.com&gt;&gt;wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; It's my sense of the JOSE working group that most are strong=
ly<br>
&gt;<br>
&gt; &gt; &gt; opposed to breaking changes at this point.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; Please don't claim to represent the WG.&nbsp; There is a si=
gnificant<br>
&gt;<br>
&gt; &gt; contingent&nbsp; who care about breaking changes, but also a sign=
ificant<br>
&gt;<br>
&gt; &gt; group who would&nbsp; prefer the best, most usable spec we can ma=
ke,<br>
&gt;<br>
&gt; &gt; regardless of the sins of&nbsp; the past.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; However, I also believe that most JOSE participants share th=
e<br>
&gt;<br>
&gt; &gt; &gt; sentiment of many WebCrypto participants that it would be be=
tter for<br>
&gt;<br>
&gt; &gt; &gt; all for WebCrypto to use real JWKs, rather than something<br=
>
&gt;<br>
&gt; &gt; &gt; &quot;JWK-like&quot;.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp;&nbsp; How about this for a compromise proposal:<br>
&gt;<br>
&gt; &gt;&nbsp; -- Leave &quot;use&quot; in for backward compatibility.<br>
&gt;<br>
&gt; &gt;&nbsp; -- Define a new field &quot;ku&quot; (Key Usage, or somethi=
ng similar) that has<br>
&gt;<br>
&gt; &gt; detailed key usage information.<br>
&gt;<br>
&gt; &gt;&nbsp; -- Deprecate &quot;use&quot;, recommending that new applica=
tions use &quot;ku&quot;; if<br>
&gt;<br>
&gt; &gt; both&nbsp; are present, &quot;use&quot; MUST be ignored.<br>
&gt;<br>
&gt; &gt;&nbsp; -- Define the expansion of &quot;use&quot; values to &quot;=
ku&quot; values<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; That doesn't break backward compatibilty, but makes detaile=
d control<br>
&gt;<br>
&gt; &gt; the&nbsp; default going forward.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; --Richard<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; As I expressed within WebCrypto, this to me strikes a much more =
sensible<br>
&gt;&nbsp; balance of backwards compatibility and extensibility, and hopefu=
lly in a<br>
&gt;&nbsp; way that allows existing deployments to cleanly transition while=
 allowing<br>
&gt;&nbsp; new deployments to avoid the limitations of the current drafts.<=
br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; I very much prefer this over use_details for Web Crypto's use ca=
ses.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; I believe my proposal is the best-available solution, given=
 the<br>
&gt;<br>
&gt; &gt; current<br>
&gt;<br>
&gt; &gt; &gt; realistic constraints.&nbsp; It might have made better sense=
 for a<br>
&gt;<br>
&gt; &gt; &gt; WebCrypto spec to define &quot;use_details&quot; than JOSE, =
but if WebCrypto<br>
&gt;<br>
&gt; &gt; &gt; isn't going to do it, I believe that we'll all be better off=
 in the<br>
&gt;<br>
&gt; &gt; &gt; long run if JOSE then does and WebCrypto uses it.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;&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; Cheers,<br>
&gt;<br>
&gt; &gt; &gt;&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; -- Mike<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; -----Original Message-----<br>
&gt;<br>
&gt; &gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com">m=
ailto:ryan-ietf@sleevi.com</a>]<br>
&gt;<br>
&gt; &gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br>
&gt;<br>
&gt; &gt; &gt; To: Mike Jones<br>
&gt;<br>
&gt; &gt; &gt; Cc: ryan-ietf@sleevi.com&lt;mailto:ryan-ietf@sleevi.com&gt;;=
 John Bradley;<br>
&gt; &gt; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org">mailto:jose@iet=
f.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to more c=
losely<br>
&gt;<br>
&gt; &gt; &gt; coordinate with WebCrypto<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; I disagree that &quot;use&quot; allows multiple u=
ses.&nbsp; Sign/Verify both use<br>
&gt;<br>
&gt; &gt; &gt; &gt; the same&nbsp; algorithm with the same key - just in a =
producer/consumer<br>
&gt; &gt; role.<br>
&gt;<br>
&gt; &gt; &gt; &gt; There&nbsp; would only be a security problem if the sam=
e key was used<br>
&gt;<br>
&gt; &gt; &gt; &gt; with<br>
&gt;<br>
&gt; &gt; &gt; &gt; *different*&nbsp; algorithms.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; For symmetric keys, Sign/Verify operations are ac=
tually the same,<br>
&gt;<br>
&gt; &gt; &gt; &gt; so in&nbsp; that case, this is a distinction without a =
difference.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; You may consider the producer/consumer distinctio=
n to be multiple<br>
&gt;<br>
&gt; &gt; &gt; &gt; uses,&nbsp; but only in an academic sense.&nbsp; You ha=
ve to perform both<br>
&gt;<br>
&gt; &gt; &gt; &gt; with the same key&nbsp; pair or symmetric key for the e=
nd-to-end<br>
&gt;<br>
&gt; &gt; &gt; &gt; cryptography to<br>
&gt;<br>
&gt; &gt; &gt; be meaningful.<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Doing one without the other is incomplete.&nbsp; =
(What good is signing<br>
&gt;<br>
&gt; &gt; &gt; &gt; if the&nbsp; signature is never verified?)<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Hi Mike,<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I don't think it's fair to compare them as the same, and it'=
s very<br>
&gt;<br>
&gt; &gt; &gt; much a practical, and not an academic case.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; In a Sign() operation, the input is arbitrary plaintext and =
the<br>
&gt;<br>
&gt; &gt; &gt; output is a signature corresponding to that plaintext; an or=
acle, if<br>
&gt;<br>
&gt; &gt; &gt; you will - as you would want.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; In an API (although not necessarily in JWE/JWS, and understa=
ndably<br>
&gt;<br>
&gt; &gt; &gt; so), a<br>
&gt;<br>
&gt; &gt; &gt; Verify() operation permits arbitrary plaintext as the input,=
 but<br>
&gt;<br>
&gt; &gt; &gt; also requires the signature to be verified. The only output =
is a<br>
&gt;<br>
&gt; &gt; &gt; boolean - whether or not the signature is correct.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; The goal of &quot;restricting&quot; the uses here would be t=
o allow key<br>
&gt;<br>
&gt; &gt; &gt; storage not necessarily under the control of the caller. In<=
br>
&gt;<br>
&gt; &gt; &gt; WebCrypto, this is the distinction between the executing JS =
(served<br>
&gt;<br>
&gt; &gt; &gt; by the web page) and the UA implementation. It's a concept b=
orrowed<br>
&gt;<br>
&gt; &gt; &gt; from any number of other good cryptographic APIs (eg: those =
that are<br>
&gt;<br>
&gt; &gt; &gt; designed with the notion of opaque key storage)<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; With a symmetric key only permitted for a &quot;Verify&quot;=
 operation, the<br>
&gt;<br>
&gt; &gt; &gt; only way to generate a signature for an arbitrary message is=
<br>
&gt;<br>
&gt; &gt; &gt; a) Compromise the key storage<br>
&gt;<br>
&gt; &gt; &gt; b) Iterate through all possible signature combinations until=
 you get<br>
&gt;<br>
&gt; &gt; &gt; &quot;true&quot; as the Verify() result.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; b) may be aided by any number of implementation issues (eg:<=
br>
&gt;<br>
&gt; &gt; &gt; non-constant time comparisons, among others), but is ultimat=
ely<br>
&gt;<br>
&gt; &gt; &gt; &quot;tricky&quot;. a) is dependent on implementations, and =
can be aided or<br>
&gt;<br>
&gt; &gt; &gt; harmed through a variety of means.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Combining these two usages into a single use case - which, I=
 agree,<br>
&gt;<br>
&gt; &gt; &gt; is probably perfectly acceptable if imagining as a transport=
-only<br>
&gt;<br>
&gt; &gt; &gt; exchange<br>
&gt;<br>
&gt; &gt; &gt; -<br>
&gt;<br>
&gt; &gt; &gt; can thus have real and meaningful differences when used at a=
n API<br>
&gt; &gt; level.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Likewise, Encrypt/Decrypt and Wrap/Unwrap make pr=
oducer/consumer<br>
&gt;<br>
&gt; &gt; &gt; &gt; distinctions, but also only use a single key with a sin=
gle<br>
&gt;<br>
&gt; &gt; &gt; &gt; algorithm - therefore no security problem.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; =3D=3D=3D=3D<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; For what it's worth, I think the different key us=
e representation<br>
&gt;<br>
&gt; &gt; &gt; &gt; choices&nbsp; stems from JOSE being a high-level API th=
at tries to make<br>
&gt;<br>
&gt; &gt; &gt; &gt; simple things&nbsp; simple and WebCrypto being a low-le=
vel API that<br>
&gt;<br>
&gt; &gt; &gt; &gt; tries<br>
&gt;<br>
&gt; &gt; &gt; to<br>
&gt;<br>
&gt; &gt; &gt; be complete.<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Both are valid and useful.&nbsp; These difference=
s show up in lots of<br>
&gt;<br>
&gt; &gt; &gt; &gt; places&nbsp; besides just key usage representations.<br=
>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Absolutely agree here. This is why WebCrypto explored whethe=
r we<br>
&gt;<br>
&gt; &gt; &gt; should do something &quot;JWK-like&quot;, but suitable at an=
 API layer and for<br>
&gt;<br>
&gt; &gt; &gt; it's goals, and &quot;trivially&quot; convertable with JWK -=
 but by script<br>
&gt;<br>
&gt; &gt; &gt; authors. The WebCrypto WG wasn't fond of it, which is<br>
&gt;<br>
&gt; &gt; &gt; understandable, and why I'm here.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Anyway, the purpose of my proposal is to try to m=
ake things<br>
&gt;<br>
&gt; &gt; &gt; &gt; easier for&nbsp; WebCrypto.&nbsp; I hope people will ge=
t behind it.&nbsp; Yes,<br>
&gt;<br>
&gt; &gt; &gt; &gt; having both simple and&nbsp; detailed key usage represe=
ntations seems odd<br>
&gt; &gt; at first.<br>
&gt;<br>
&gt; &gt; &gt; &gt; But they're&nbsp; designed to address different goals f=
or different<br>
&gt;<br>
&gt; &gt; &gt; &gt; kinds<br>
&gt;<br>
&gt; &gt; &gt; of<br>
&gt;<br>
&gt; &gt; &gt; applications.<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; The alternatives (such as &quot;signOnly,verifyOn=
ly&quot;, etc.) that are<br>
&gt;<br>
&gt; &gt; &gt; &gt; currently&nbsp; being considered are much worse.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I agree that changing to an array will almost certainly brea=
k every<br>
&gt;<br>
&gt; &gt; &gt; implementation to date.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I agree that comma-separated is horribad and should be avoid=
ed, even<br>
&gt;<br>
&gt; &gt; &gt; if it &quot;solves&quot; the backwards compat issue.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I think your solution is a reasonable attempt to mediate the=
 issues<br>
&gt;<br>
&gt; &gt; &gt; of backwards compatibility with the use cases of WebCrypto. =
However,<br>
&gt;<br>
&gt; &gt; &gt; I'm still on the fence as to whether or not it really is<br>
&gt;<br>
&gt; &gt; &gt; unreasonable to &quot;break&quot;<br>
&gt;<br>
&gt; &gt; &gt; backwards compatibility here - there seems to be a compellin=
g case<br>
&gt;<br>
&gt; &gt; &gt; here as to why even something like [&quot;sign&quot;, &quot;=
verify&quot;] should be<br>
&gt;<br>
&gt; &gt; &gt; distinct usages.<br>
&gt;<br>
&gt; &gt; &gt; I<br>
&gt;<br>
&gt; &gt; &gt; know the bar is incredibly high right now, given JOSE's mome=
ntum,<br>
&gt;<br>
&gt; &gt; &gt; but I didn't think that JOSE was past the point of no return=
.<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; -----Original Message-----<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sl=
eevi.com">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Sent: Friday, December 27, 2013 2:13 PM<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; To: John Bradley<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Cc: Mike Jones; jose@ietf.org&lt;<a href=3D"mailt=
o:jose@ietf.org">mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Subject: Re: [jose] Two proposed JOSE spec action=
s to more<br>
&gt;<br>
&gt; &gt; &gt; &gt; closely coordinate with WebCrypto<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; I'm sorry, John, but by your logic, JOSE is not f=
ollowing your<br>
&gt;<br>
&gt; &gt; &gt; &gt; own<br>
&gt;<br>
&gt; &gt; &gt; advice.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; &quot;enc&quot; is already a multiple-use for a k=
ey - it allows for both<br>
&gt;<br>
&gt; &gt; &gt; &gt; encryption&nbsp; and decryption. For that matter, wrap =
and unwrap,<br>
&gt;<br>
&gt; &gt; &gt; &gt; which are supposed to be&nbsp; inferred based on algori=
thm, which is a<br>
&gt;<br>
&gt; &gt; &gt; &gt; JWE/JWS specific aspect, and not&nbsp; an intrinsic asp=
ect of<br>
&gt;<br>
&gt; &gt; &gt; JWK-as-key-representation.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Likewise, &quot;sig&quot; implies sign AND verify=
, which is meant to be<br>
&gt;<br>
&gt; &gt; &gt; &gt; unambiguous,&nbsp; because the assumption is always tha=
t you sign with<br>
&gt;<br>
&gt; &gt; &gt; &gt; a private key and&nbsp; verify with a public key, but a=
s a conceptual<br>
&gt;<br>
&gt; &gt; &gt; &gt; framework breaks down for&nbsp; schemes like HMAC, whic=
h ostensibly<br>
&gt;<br>
&gt; &gt; &gt; &gt; have sign and verify (or MAC and&nbsp; verify, if you p=
refer, but we're<br>
&gt;<br>
&gt; &gt; &gt; splitting<br>
&gt;<br>
&gt; &gt; &gt; hairs here).<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; WebCrypto desires to be *more* precise than JOSE'=
s imprecise and<br>
&gt;<br>
&gt; &gt; &gt; &gt; overly&nbsp; broad, implicitly multi-use syntax. That &=
quot;enc&quot; means four<br>
&gt;<br>
&gt; &gt; &gt; &gt; possible uses,&nbsp; or that &quot;sig&quot; means two =
, is a clear sign that<br>
&gt;<br>
&gt; &gt; &gt; &gt; JOSE is already actively&nbsp; encouraging multiple use=
s for the same<br>
&gt; &gt; key.<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; Mike's proposal is basically an admission that th=
e ship has<br>
&gt;<br>
&gt; &gt; &gt; &gt; sailed on this&nbsp; implicit, multi-valued usage seman=
tic - which, I<br>
&gt;<br>
&gt; &gt; &gt; &gt; can understand and&nbsp; sympathize with, in the name o=
f backwards<br>
&gt;<br>
&gt; &gt; &gt; &gt; compatibility for an in-draft&nbsp; spec, but let's rec=
ognize that as<br>
&gt;<br>
&gt; &gt; &gt; &gt; spec'd today, JOSE is preferring and&nbsp; encouraging =
multiple uses<br>
&gt;<br>
&gt; &gt; &gt; &gt; for the same key in ways that will&nbsp; unquestionably=
 encourage<br>
&gt;<br>
&gt; &gt; &gt; &gt; people to make bad mistakes (such as multiple&nbsp; par=
ties using the<br>
&gt;<br>
&gt; &gt; &gt; &gt; same encryption key for traffic in either direction -&n=
bsp; requiring<br>
&gt;<br>
&gt; &gt; &gt; &gt; some degree of IV sync)<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; On Tue, December 24, 2013 4:27 pm, John Bradley w=
rote:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; Having it be an array encourages multiple us=
es for the same<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; key.&nbsp; I have&nbsp; stated many times that enc=
ouraging people to do<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; that is not a good idea,&nbsp; and making it easy =
makes people think it<br>
&gt; &gt; is a good idea.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; You can use the single value field and have =
multiple entries<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; with different key containing the same or differen=
t keys to do<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; the same thing.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; On the practical side &quot;use_details&quot=
; is better than creating<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; crazy dot separated como uses.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; John B.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; On Dec 24, 2013, at 8:26 PM, Mike Jones<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &lt;Michael.Jones@microsoft.com&lt;mailto:Michael.=
Jones@microsoft.com&gt;&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; wrote:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Hi all,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among WebCr=
ypto and JOSE<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypto ove=
r the holidays,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; I'd like to propose the two JOSE spec actions=
 to more closely<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; coordinate<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; with WebCrypto:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 1.&nbsp; Change the JWA registry field name f=
rom &quot;Implementation<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Implementati=
on Requirements&quot; in the<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algorithms =
Registry (<br>
&gt;<br>
&gt; &gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-w=
eb-algorithms-18#se">
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se</a><br=
>
&gt;<br>
&gt; &gt; &gt; ction-7.1<br>
&gt;<br>
&gt; &gt; &gt; ).<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp; This will make it clearer that the Impl=
ementation<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE implem=
entations - and<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto).&nb=
sp; This changes only<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; non-normative text and is<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; non-breaking.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 2.&nbsp; Define the new JWK field &quot;use_d=
etails&quot; for recording<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; intended fine-grained key usage information.&=
nbsp; This would<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; (<a href=3D""></a>https://dvcs.w3.org/hg/webc=
rypto-api/raw-file/tip/spec/Overvi<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; tm<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used directly w=
ith JWK.&nbsp; The<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; proposed definition is:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 3.3.&nbsp; &quot;use_details&quot; (Key Use D=
etails) Parameter<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The &quot;use_details&quot;=
 (key use details) member identifies<br>
&gt;<br>
&gt; &gt; &gt; fine-grained<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; details the intended use of=
 the key.&nbsp; Its value is an array<br>
&gt; &gt; of<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; key use details values.&nbs=
p; Values defined by this<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; specification<br>
&gt;<br>
&gt; &gt; &gt; are:<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;sign&quot; (c=
ompute signature or MAC)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;verify&quot; =
(verify signature or MAC)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;encrypt&quot;=
 (encrypt content)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;decrypt&quot;=
 (decrypt content and verify decryption, if<br>
&gt;<br>
&gt; &gt; &gt; applicable)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;wrap&quot; (e=
ncrypt key)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;unwrap&quot; =
(decrypt key and verify decryption, if<br>
&gt; &gt; applicable)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;deriveKey&quo=
t; (derive key)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; o&nbsp; &quot;deriveBits&qu=
ot; (derive bits not to be used as a key)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Other values MAY be used.&n=
bsp; Key Use Details values can be<br>
&gt;<br>
&gt; &gt; &gt; registered<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; in the IANA JSON Web Key Us=
e Details registry defined in<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Section<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; 7.3.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; The use details values are =
case-sensitive strings.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Duplicate use details value=
s MUST NOT be present in the<br>
&gt; &gt; array.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Use of the &quot;use_detail=
s&quot; member is OPTIONAL, unless the<br>
&gt;<br>
&gt; &gt; &gt; application<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; requires use this member to=
 record fine-grained key usage<br>
&gt;<br>
&gt; &gt; &gt; details.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; (Note that the &quot;use_de=
tails&quot; values intentionally match the<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; values defined in the WebCr=
ypto [WebCrypto] specification.)<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If both &quot;use&quot; and=
 &quot;use_details&quot; JWK members are present,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; the<br>
&gt;<br>
&gt; &gt; &gt; usages<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; specified by them MUST be c=
onsistent.&nbsp; In particular, the<br>
&gt; &gt; &quot;use&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; value<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;sig&quot; corresponds=
 to &quot;sign&quot; and/or &quot;verify&quot;.&nbsp; The &quot;use&quot; v=
alue<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;enc&quot; corresponds=
 to all other values defined above.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; If &quot;use_details&quot; =
values corresponding to both &quot;sig&quot; and &quot;enc&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; &quot;use&quot; values are =
present, the &quot;use&quot; member SHOULD NOT be<br>
&gt;<br>
&gt; &gt; &gt; present,<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp; and if present, its value M=
UST NOT be either &quot;sig&quot; or &quot;enc&quot;.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing simp=
le applications<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; that want to distinguish between signing and =
encryption<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; operations to continue doing so as they do to=
day, while also<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage details fi=
eld to be used by<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; applications that want to record fine-grained=
 distinctions<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; among potential key usages, including disting=
uishing between<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>
&gt;<br>
&gt; &gt; &gt; operations.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; As I see it, while having two related key usa=
ge<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; representations isn't ideal, it's far better =
than having<br>
&gt; &gt; WebCrypto overload &quot;use&quot;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in strings, =
such as<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I beli=
eve is their current plan<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; of<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; record.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Comments?<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&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; --<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Mike<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; P.S.&nbsp; This proposal was already discusse=
d on the WebCrypto<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; list in the thread<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/Publi=
c/public-webcrypto/2013Dec/0052">
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052</a>.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised there tha=
t I'm aware of.<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; _____________________________________________=
__<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.=
org">mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listi=
nfo/jose">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; ____________________________________________=
___<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf=
.org">mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/list=
info/jose">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; _______________________________________________<b=
r>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org"=
>mailto:jose@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/listinfo/=
jose">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt;<br>
&gt; &gt; &gt; jose mailing list<br>
&gt;<br>
&gt; &gt; &gt; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org">mailto:jos=
e@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose">https=
://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;&nbsp; _______________________________________________<br>
&gt;<br>
&gt; &gt;&nbsp; jose mailing list<br>
&gt;<br>
&gt; &gt;&nbsp; jose@ietf.org&lt;<a href=3D"mailto:jose@ietf.org">mailto:jo=
se@ietf.org</a>&gt;<br>
&gt;<br>
&gt; &gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/listinfo/jose">http=
s://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; _______________________________________________<br>
&gt;&nbsp; jose mailing list<br>
&gt;&nbsp; jose@ietf.org<br>
&gt;&nbsp; <a href=3D"https://www.ietf.org/mailman/listinfo/jose">https://w=
ww.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
<br>
</div>
</span></font></div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739437CD81A44TK5EX14MBXC286r_--

From ve7jtb@ve7jtb.com  Mon Dec 30 13:55:58 2013
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A34381AE308 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:55:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CttEv-b6ukuC for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:55:51 -0800 (PST)
Received: from mail-qc0-f175.google.com (mail-qc0-f175.google.com [209.85.216.175]) by ietfa.amsl.com (Postfix) with ESMTP id 163E11AE2F5 for <jose@ietf.org>; Mon, 30 Dec 2013 13:55:50 -0800 (PST)
Received: by mail-qc0-f175.google.com with SMTP id e9so11194951qcy.6 for <jose@ietf.org>; Mon, 30 Dec 2013 13:55:44 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=OWesCVjKcbzS+bI5JDB8sPzfFoFKFIn8jkU34zNFm5Q=; b=XAesLyRTP90u4+okxTW4OWn6TlXK8MwWE0TwrQ0RUNGzyarqQMhONAQlj7bbO+V2mJ eoc35tVOYRbbw0Y3ss94GvkO1ecUWVfm2MdejolkltcDBnrfPBvqkZ2t/8FoAm26nUhs YqZYjXYOvjg/eK4rR/V22c+0WEPTOdcisqQxYFLnoDm8XfnCXqz1M+YUF8+q+PaEaL/i W86KNBkIxvSR2oSA1Ucz/AkuVAJ8u4TKDKKAoF20JhG3MxU1fuHKY87d4Mbb4vAEcxMU PfXV1EEZeDxDpGNAF4jxyYeya7s8fxaILI/a7FZ/uN+8ww7pDLqCXRvqFsmbByj4zkKD 71Jg==
X-Gm-Message-State: ALoCoQnTV29hn/PYMPSqfLXW85et9I0q2MTtEj7pNMRPuAHcNAOWTcTPeTjdSq9Ny2u1VfKf7lee
X-Received: by 10.224.26.71 with SMTP id d7mr77117624qac.99.1388440544796; Mon, 30 Dec 2013 13:55:44 -0800 (PST)
Received: from [192.168.1.216] (190-20-47-183.baf.movistar.cl. [190.20.47.183]) by mx.google.com with ESMTPSA id hb2sm71349523qeb.6.2013.12.30.13.55.24 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 13:55:43 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_8B4A5BAC-D557-4D75-94DA-DC605827B4C5"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 30 Dec 2013 18:55:05 -0300
Message-Id: <1D9E6611-A00E-42EC-9974-71A46050F400@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>, <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>, <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com>
To: Michael Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1827)
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, Richard Barnes <rlb@ipv.sx>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 21:55:58 -0000

--Apple-Mail=_8B4A5BAC-D557-4D75-94DA-DC605827B4C5
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_99260571-5302-49E9-91A8-98B7A8373987"


--Apple-Mail=_99260571-5302-49E9-91A8-98B7A8373987
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1256

Right,   I do think that they are quite different use cases.  and =
unlikely to be used together.=20

use is intended to disambiguate between public keys (generally publicly =
published or at-least not secret) that can be used for multiple =
operations such as signing or encryption.

use_details seems to be more meta data about keys that are transmitted =
confidentially (probably encrypted with some master key) to a HSM or =
secure storage device that will then use that meta-data to control what =
operations can be performed in the HSM environment and if the key can be =
extracted by the run time environment.   If the key is extractable then =
the limits are advisory as opposed to enforced by the storage.

The two seem quite different,  from experience we have a good handle on =
"use" I think.  Meta-data for key management and provisioning like KMIP =
http://en.wikipedia.org/wiki/Key_Management_Interoperability_Protocol is =
a large ball of wax that should not be underestimated. =20
I am assuming that the Web Crypto WG has worked through all the issues =
and has decided that a single element holding an array is going to work =
for them.

Re-using JWK seems like a perfectly fine idea.  However I don't think =
overloading the one element to do do both things is going help =
interoperability.

I would even suggest that use_details might be clearer if it were called =
secure_storeage_use or something along that line.

John B.

On Dec 30, 2013, at 6:29 PM, Mike Jones <Michael.Jones@microsoft.com> =
wrote:

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


--Apple-Mail=_99260571-5302-49E9-91A8-98B7A8373987
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1256

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

--Apple-Mail=_99260571-5302-49E9-91A8-98B7A8373987--

--Apple-Mail=_8B4A5BAC-D557-4D75-94DA-DC605827B4C5
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN8TCCBjQw
ggQcoAMCAQICASAwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAn
BgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3MTAyNDIxMDI1NVoX
DTE3MTAyNDIxMDI1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9T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T7JiQ1dmcYUjeBywynJm69e5a6ugo
bZIW23udXxXYqHV75ruDkAvOeOSBSwoIbJ1FpVDk80xDBmsxc7/VJZLojgEaQIk1Ablomu4aiuYn
uP5spBzKdNdkGp10gCklHzmEvJuujPqyVQfHIWTaBCxSPS+FZpGa7kB2wBamhNCh/RzYuqDz7Pda
75gbQLjvRKAxQETBC+d4QPUxwJYZySEsdEpGJkp5Ze/T5oqUbIuJBKl/NVRPCsJ6Zb6yC/P/pwAA
AAAAAA==

--Apple-Mail=_8B4A5BAC-D557-4D75-94DA-DC605827B4C5--

From Michael.Jones@microsoft.com  Mon Dec 30 14:35:26 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B15F71AE31B for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 14:35:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jQz-kUAz0HLm for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 14:35:18 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0188.outbound.protection.outlook.com [207.46.163.188]) by ietfa.amsl.com (Postfix) with ESMTP id 0FACF1AE307 for <jose@ietf.org>; Mon, 30 Dec 2013 14:35:17 -0800 (PST)
Received: from BY2PR03CA032.namprd03.prod.outlook.com (10.242.234.153) by BY2PR03MB142.namprd03.prod.outlook.com (10.242.35.147) with Microsoft SMTP Server (TLS) id 15.0.842.7; Mon, 30 Dec 2013 22:35:09 +0000
Received: from BN1AFFO11FD039.protection.gbl (2a01:111:f400:7c10::174) by BY2PR03CA032.outlook.office365.com (2a01:111:e400:2c2c::25) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Mon, 30 Dec 2013 22:35:09 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD039.mail.protection.outlook.com (10.58.52.243) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Mon, 30 Dec 2013 22:35:08 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.03.0158.002; Mon, 30 Dec 2013 22:34:19 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkIABRb8AgALUdoCAABBGYIAAF1AAgAAGxH2AAAT4/YAAB0KAgAAK9T0=
Date: Mon, 30 Dec 2013 22:34:19 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD81B45@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>, <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>, <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com>, <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com>
In-Reply-To: <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD81B45TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(243025003)(13464003)(199002)(189002)(35774003)(24454002)(52314003)(51704005)(53754006)(377454003)(47446002)(83072002)(53806001)(85852003)(4396001)(6806004)(51856001)(19580405001)(56776001)(54356001)(74502001)(19580395003)(74366001)(90146001)(561944002)(56816005)(74662001)(74876001)(59766001)(512874002)(74706001)(83322001)(44976005)(79102001)(77982001)(16236675002)(15202345003)(14971765001)(16297215004)(81542001)(55846006)(47736001)(81816001)(81686001)(49866001)(71186001)(81342001)(76482001)(20776003)(77096001)(84326002)(69226001)(63696002)(31966008)(47976001)(54316002)(85806002)(46102001)(50986001)(87266001)(85306002)(65816001)(15975445006)(80022001)(2656002)(87936001)(33656001)(76796001)(76786001)(80976001)(18265965002)(579004)(559001)(569005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB142; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0076F48C8A
X-OriginatorOrg: microsoft.com
Cc: Richard Barnes <rlb@ipv.sx>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 22:35:26 -0000

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

VGhlcmUncyBub3RoaW5nIHdyb25nIHdpdGggZGlmZmVyZW50IHVzZSBjYXNlcyB3aXRoIGRpZmZl
cmVudCBuZWVkcyBzdXBwbHlpbmcgZGlmZmVyZW50IGtleSBtZXRhZGF0YS4NCg0KVGhlIGFiaWxp
dHkgdG8gZG8gdGhhdCBpcyBhbiBpbmRpY2F0aW9uIG9mIHRoZSB2ZXJzYXRpbGl0eSBhbmQgdXNl
ZnVsbmVzcyBvZiB0aGUgSldLIGZvcm1hdCAtIG5vdCBhIGRlZmljaWVuY3kuDQpfX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fXw0KRnJvbTogUnlhbiBTbGVldmk8bWFpbHRvOnJ5YW4taWV0
ZkBzbGVldmkuY29tPg0KU2VudDog4oCOMTIv4oCOMzAv4oCOMjAxMyAxOjU1IFBNDQpUbzogTWlr
ZSB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ZndDs8YnI+DQomZ3Q7Jm5ic3A7IF9fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fPGJyPg0KJmd0OyZuYnNwOyBqb3NlIG1haWxpbmcg
bGlzdDxicj4NCiZndDsmbmJzcDsgam9zZUBpZXRmLm9yZzxicj4NCiZndDsmbmJzcDsgPGEgaHJl
Zj0iaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9qb3NlIj5odHRwczovL3d3
dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2pvc2U8L2E+PGJyPg0KJmd0Ozxicj4NCjxicj4N
Cjxicj4NCjwvZGl2Pg0KPC9zcGFuPjwvZm9udD4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_4E1F6AAD24975D4BA5B16804296739437CD81B45TK5EX14MBXC286r_--

From ryan-ietf@sleevi.com  Mon Dec 30 13:55:18 2013
Return-Path: <ryan-ietf@sleevi.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A89AD1AE566 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:55:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CaG-OwrbEOqc for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 13:55:13 -0800 (PST)
Received: from homiemail-a111.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by ietfa.amsl.com (Postfix) with ESMTP id 4F5F51AE308 for <jose@ietf.org>; Mon, 30 Dec 2013 13:55:13 -0800 (PST)
Received: from homiemail-a111.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTP id 79A172005D908; Mon, 30 Dec 2013 13:55:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sleevi.com; h=message-id :in-reply-to:references:date:subject:from:to:cc:reply-to :mime-version:content-type:content-transfer-encoding; s= sleevi.com; bh=lTPA1Lu5v0epHBP0jxKDkJx2ka0=; b=oCuhClzw4dcjAeQdg b6xswGkraQHtZ4sSSfyau2j8IBrYswO2jtAJK/TFz+X2YhZ8eb5mECPybUKmjtWu eC78iwndZCSofHFL88BB8wqn2VoC6I0TQ0XNwrN1Y7Hm95ZEkTew6s6iXfWrMbAJ 8AfyNEvafCZvW/TQC3G0fiuBo8=
Received: from webmail.dreamhost.com (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: ryan@sleevi.com) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTPA id 4421C2005D900; Mon, 30 Dec 2013 13:55:07 -0800 (PST)
Received: from 216.239.45.93 (proxying for 216.239.45.93) (SquirrelMail authenticated user ryan@sleevi.com) by webmail.dreamhost.com with HTTP; Mon, 30 Dec 2013 13:55:07 -0800
Message-ID: <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>, <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com>, <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Mon, 30 Dec 2013 13:55:07 -0800
From: "Ryan Sleevi" <ryan-ietf@sleevi.com>
To: "Mike Jones" <Michael.Jones@microsoft.com>
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Mon, 30 Dec 2013 15:20:30 -0800
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, Richard Barnes <rlb@ipv.sx>, Mike Jones <michael.jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>, John Bradley <ve7jtb@ve7jtb.com>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: ryan-ietf@sleevi.com
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 21:55:18 -0000

On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:
>  ... and lest there be any confusion, the JWK spec doesn't require the =
use
>  of "use".  WebCrypto can specify that it not be used and require the u=
se
>  of "use_details" if that best meets the needs of your use case.

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

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

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

Let me try to state the problem differently:

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

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

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

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



From Michael.Jones@microsoft.com  Mon Dec 30 16:53:18 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E439A1AE573 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 16:53:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T9304fRnxmkA for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 16:53:16 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0155.outbound.protection.outlook.com [207.46.163.155]) by ietfa.amsl.com (Postfix) with ESMTP id 0807E1AE352 for <jose@ietf.org>; Mon, 30 Dec 2013 16:53:15 -0800 (PST)
Received: from DM2PR03CA007.namprd03.prod.outlook.com (10.141.52.155) by BLUPR03MB151.namprd03.prod.outlook.com (10.255.212.25) with Microsoft SMTP Server (TLS) id 15.0.842.7; Tue, 31 Dec 2013 00:53:08 +0000
Received: from BY2FFO11FD044.protection.gbl (2a01:111:f400:7c0c::163) by DM2PR03CA007.outlook.office365.com (2a01:111:e400:2414::27) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Tue, 31 Dec 2013 00:53:08 +0000
Received: from mail.microsoft.com (131.107.125.37) by BY2FFO11FD044.mail.protection.outlook.com (10.1.14.229) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Tue, 31 Dec 2013 00:53:08 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0158.002; Tue, 31 Dec 2013 00:52:40 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "odonoghue@isoc.org" <odonoghue@isoc.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
Thread-Index: AQHPBXr7+3D/iJYHc0yzMz4ENC517ZptedVA
Date: Tue, 31 Dec 2013 00:52:39 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD82CBB@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com> <52C19D1F.7060407@isoc.org>
In-Reply-To: <52C19D1F.7060407@isoc.org>
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_4E1F6AAD24975D4BA5B16804296739437CD82CBBTK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(377454003)(199002)(189002)(16601075003)(63696002)(4396001)(77096001)(69226001)(46102001)(16799955002)(74366001)(49866001)(76482001)(76796001)(47976001)(47736001)(54356001)(74876001)(53806001)(50986001)(51856001)(65816001)(19300405004)(79102001)(87936001)(59766001)(90146001)(551544002)(44976005)(74706001)(83322001)(19580395003)(71186001)(77982001)(56776001)(19580405001)(2656002)(66066001)(15202345003)(55846006)(54316002)(84326002)(80022001)(85806002)(80976001)(512874002)(81542001)(16236675002)(15975445006)(85306002)(47446002)(83072002)(81342001)(20776003)(85852003)(76786001)(74662001)(81816001)(31966008)(74502001)(87266001)(33656001)(56816005)(6806004)(81686001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB151; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00770C4423
X-OriginatorOrg: microsoft.com
Subject: Re: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Dec 2013 00:53:19 -0000

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

V2h5IGRvZXMgdGhlIG1lZXRpbmcgaW5mb3JtYXRpb24gYmVsb3cgc2F5Og0KVGltZTogMTE6MTUg
YW0sIEVhc3Rlcm4gU3RhbmRhcmQgVGltZSAoTmV3IFlvcmssIEdNVC0w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nbyB0byBodHRw
czovL2lldGYud2ViZXguY29tL2lldGYvc3lzdGVtZGlhZ25vc2lzLnBocC4NCg0KaHR0cDovL3d3
dy53ZWJleC5jb20NCg0KQ0NNOisxNjUwNDc5MzIwOHg2NDc2NDIyMDAjDQoNCklNUE9SVEFOVCBO
T1RJQ0U6IFRoaXMgV2ViRXggc2VydmljZSBpbmNsdWRlcyBhIGZlYXR1cmUgdGhhdCBhbGxvd3Mg
YXVkaW8gYW5kIGFueSBkb2N1bWVudHMgYW5kIG90aGVyIG1hdGVyaWFscyBleGNoYW5nZWQgb3Ig
dmlld2VkIGR1cmluZyB0aGUgc2Vzc2lvbiB0byBiZSByZWNvcmRlZC4gWW91IHNob3VsZCBpbmZv
cm0gYWxsIG1lZXRpbmcgYXR0ZW5kZWVzIHByaW9yIHRvIHJlY29yZGluZyBpZiB5b3UgaW50ZW5k
IHRvIHJlY29yZCB0aGUgbWVldGluZy4gUGxlYXNlIG5vdGUgdGhhdCBhbnkgc3VjaCByZWNvcmRp
bmdzIG1heSBiZSBzdWJqZWN0IHRvIGRpc2NvdmVyeSBpbiB0aGUgZXZlbnQgb2YgbGl0aWdhdGlv
bi4NCg0K

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRh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C5jb20vaWV0Zi9zeXN0ZW1kaWFnbm9zaXMucGhwIj5odHRwczovL2lldGYud2Vi
ZXguY29tL2lldGYvc3lzdGVtZGlhZ25vc2lzLnBocDwvYT4uDQo8YnI+DQo8YnI+DQo8YSBocmVm
PSJodHRwOi8vd3d3LndlYmV4LmNvbSIgdGFyZ2V0PSJfYmxhbmsiPmh0dHA6Ly93d3cud2ViZXgu
Y29tPC9hPiA8YnI+DQo8YnI+DQpDQ006JiM0MzsxNjUwNDc5MzIwOHg2NDc2NDIyMDAjIDxicj4N
Cjxicj4NCklNUE9SVEFOVCBOT1RJQ0U6IFRoaXMgV2ViRXggc2VydmljZSBpbmNsdWRlcyBhIGZl
YXR1cmUgdGhhdCBhbGxvd3MgYXVkaW8gYW5kIGFueSBkb2N1bWVudHMgYW5kIG90aGVyIG1hdGVy
aWFscyBleGNoYW5nZWQgb3Igdmlld2VkIGR1cmluZyB0aGUgc2Vzc2lvbiB0byBiZSByZWNvcmRl
ZC4gWW91IHNob3VsZCBpbmZvcm0gYWxsIG1lZXRpbmcgYXR0ZW5kZWVzIHByaW9yIHRvIHJlY29y
ZGluZyBpZiB5b3UgaW50ZW5kIHRvIHJlY29yZCB0aGUgbWVldGluZy4NCiBQbGVhc2Ugbm90ZSB0
aGF0IGFueSBzdWNoIHJlY29yZGluZ3MgbWF5IGJlIHN1YmplY3QgdG8gZGlzY292ZXJ5IGluIHRo
ZSBldmVudCBvZiBsaXRpZ2F0aW9uLg0KPC9zcGFuPjxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8
cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9ib2R5
Pg0KPC9odG1sPg0K

--_000_4E1F6AAD24975D4BA5B16804296739437CD82CBBTK5EX14MBXC286r_--

From odonoghue@isoc.org  Mon Dec 30 18:18:13 2013
Return-Path: <odonoghue@isoc.org>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1951E1AE371 for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 18:18:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FU7GWikM4FEM for <jose@ietfa.amsl.com>; Mon, 30 Dec 2013 18:18:10 -0800 (PST)
Received: from smtp94.ord1c.emailsrvr.com (smtp94.ord1c.emailsrvr.com [108.166.43.94]) by ietfa.amsl.com (Postfix) with ESMTP id 8C5391AE2BD for <jose@ietf.org>; Mon, 30 Dec 2013 18:18:10 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 9375D140784; Mon, 30 Dec 2013 21:18:04 -0500 (EST)
X-Virus-Scanned: OK
Received: by smtp4.relay.ord1c.emailsrvr.com (Authenticated sender: odonoghue-AT-isoc.org) with ESMTPSA id 6B10F140776;  Mon, 30 Dec 2013 21:18:03 -0500 (EST)
References: <1042049696.6200.1388419508539.JavaMail.nobody@jva2tc110.webex.com> <52C19D1F.7060407@isoc.org> <4E1F6AAD24975D4BA5B16804296739437CD82CBB@TK5EX14MBXC286.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD82CBB@TK5EX14MBXC286.redmond.corp.microsoft.com>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary=Apple-Mail-05459B19-74D7-47AA-809C-9B4C80888382
Message-Id: <02A6E3B8-3949-4DA4-8D67-9C8D2849A28F@isoc.org>
X-Mailer: iPhone Mail (10B329)
From: Karen O'Donoghue <odonoghue@isoc.org>
Date: Mon, 30 Dec 2013 21:17:55 -0500
To: Mike Jones <Michael.Jones@microsoft.com>
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Dec 2013 02:18:13 -0000

--Apple-Mail-05459B19-74D7-47AA-809C-9B4C80888382
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I'm not sure. I'm basically offline until Thursday, but I'll check then and p=
ost an update.=20

Sent from my iPhone

On Dec 30, 2013, at 7:52 PM, Mike Jones <Michael.Jones@microsoft.com> wrote:=


> Why does the meeting information below say:
> Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)
> which is a quite different time than 7pm EDT / 4pm PDT?
> =20
> Will this lead to problems when we try to use the WebEx?
> =20
>                                                             -- Mike
> =20
> From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Karen O'Donoghue
> Sent: Monday, December 30, 2013 8:20 AM
> To: jose@ietf.org
> Subject: [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC
> =20
> The JOSE wg will hold a two hour virtual interim meeting on:
> Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)
>=20
> The purpose of the meeting will be to review the latest published wg draft=
s,=20
> discuss any remaining open issues, and discuss proceeding to WGLC.=20
>=20
> http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19
> http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19
> http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19
> http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19
>=20
> The webex details are below.=20
>=20
> Regards,
> Karen
>=20
>=20
> -------------------------------------------------------=20
> Meeting information=20
> -------------------------------------------------------=20
> Topic: jose=20
> Date: Monday, January 13, 2014=20
> Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)=20
> Meeting Number: 647 642 200=20
> Meeting Password: security=20
>=20
> -------------------------------------------------------=20
> To start or join the online meeting=20
> -------------------------------------------------------=20
> Go to https://ietf.webex.com/ietf/j.php?ED=3D259114027&UID=3D508402732&PW=3D=
NN2Y3MWEzNzA0&RT=3DMiMxMQ%3D%3D=20
>=20
> -------------------------------------------------------=20
> Audio conference information=20
> -------------------------------------------------------=20
> Call-in toll number (US/Canada): 1-650-479-3208=20
>=20
> Access code:647 642 200=20
>=20
> -------------------------------------------------------=20
> For assistance=20
> -------------------------------------------------------=20
> 1. Go to https://ietf.webex.com/ietf/mc=20
> 2. On the left navigation bar, click "Support".=20
> To add this meeting to your calendar program (for example Microsoft Outloo=
k), click this link:=20
> https://ietf.webex.com/ietf/j.php?ED=3D259114027&UID=3D508402732&ICS=3DMS&=
LD=3D1&RD=3D2&ST=3D1&SHA2=3DAAAAAowNSP8tWJuurFV1bVZm1a5WAIJt4ba6q1mWgj4wZtGN=
=20
>=20
> To check whether you have the appropriate players installed for UCF (Unive=
rsal Communications Format) rich media files, go to https://ietf.webex.com/i=
etf/systemdiagnosis.php.=20
>=20
> http://www.webex.com=20
>=20
> CCM:+16504793208x647642200#=20
>=20
> IMPORTANT NOTICE: This WebEx service includes a feature that allows audio a=
nd any documents and other materials exchanged or viewed during the session t=
o be recorded. You should inform all meeting attendees prior to recording if=
 you intend to record the meeting. Please note that any such recordings may b=
e subject to discovery in the event of litigation.
>=20
> =20

--Apple-Mail-05459B19-74D7-47AA-809C-9B4C80888382
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'm not sure. I'm basically offline until Thursday, but I'll check then and post an update.&nbsp;<br><br>Sent from my iPhone</div><div><br>On Dec 30, 2013, at 7:52 PM, Mike Jones &lt;<a href="mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-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="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Why does the meeting information below say:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00)</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">which is a quite different time than 7pm EDT / 4pm PDT?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Will this lead to problems when we try to use the WebEx?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> jose [<a href="mailto:jose-bounces@ietf.org">mailto:jose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Karen O'Donoghue<br>
<b>Sent:</b> Monday, December 30, 2013 8:20 AM<br>
<b>To:</b> <a href="mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b> [jose] JOSE WG virtual interim, Monday 13 January 2014, 2400 UTC<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">The JOSE wg will hold a two hour virtual interim meeting on:<br>
Monday, 13 January 2014 at 2400 UTC (1900 EDT, 1600 PDT)<br>
<br>
The purpose of the meeting will be to review the latest published wg drafts, <br>
discuss any remaining open issues, and discuss proceeding to WGLC. <br>
<br>
<a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-19</a><br>
<a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-19</a><br>
<a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-key-19</a><br>
<a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19">http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-19</a><br>
<br>
The webex details are below. <br>
<br>
Regards,<br>
Karen<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><br>
------------------------------------------------------- <br>
Meeting information <br>
------------------------------------------------------- <br>
Topic: jose <br>
Date: Monday, January 13, 2014 <br>
Time: 11:15 am, Eastern Standard Time (New York, GMT-05:00) <br>
Meeting Number: 647 642 200 <br>
Meeting Password: security <br>
<br>
------------------------------------------------------- <br>
To start or join the online meeting <br>
------------------------------------------------------- <br>
Go to <a href="https://ietf.webex.com/ietf/j.php?ED=259114027&amp;UID=508402732&amp;PW=NN2Y3MWEzNzA0&amp;RT=MiMxMQ%3D%3D" target="_blank">
https://ietf.webex.com/ietf/j.php?ED=259114027&amp;UID=508402732&amp;PW=NN2Y3MWEzNzA0&amp;RT=MiMxMQ%3D%3D</a>
<br>
<br>
------------------------------------------------------- <br>
Audio conference information <br>
------------------------------------------------------- <br>
Call-in toll number (US/Canada): 1-650-479-3208 <br>
<br>
Access code:647 642 200 <br>
<br>
------------------------------------------------------- <br>
For assistance <br>
------------------------------------------------------- <br>
1. Go to <a href="https://ietf.webex.com/ietf/mc" target="_blank">https://ietf.webex.com/ietf/mc</a>
<br>
2. On the left navigation bar, click "Support". <br>
To add this meeting to your calendar program (for example Microsoft Outlook), click this link:
<br>
<a href="https://ietf.webex.com/ietf/j.php?ED=259114027&amp;UID=508402732&amp;ICS=MS&amp;LD=1&amp;RD=2&amp;ST=1&amp;SHA2=AAAAAowNSP8tWJuurFV1bVZm1a5WAIJt4ba6q1mWgj4wZtGN" target="_blank">https://ietf.webex.com/ietf/j.php?ED=259114027&amp;UID=508402732&amp;ICS=MS&amp;LD=1&amp;RD=2&amp;ST=1&amp;SHA2=AAAAAowNSP8tWJuurFV1bVZm1a5WAIJt4ba6q1mWgj4wZtGN</a>
<br>
<br>
To check whether you have the appropriate players installed for UCF (Universal Communications Format) rich media files, go to
<a href="https://ietf.webex.com/ietf/systemdiagnosis.php">https://ietf.webex.com/ietf/systemdiagnosis.php</a>.
<br>
<br>
<a href="http://www.webex.com" target="_blank">http://www.webex.com</a> <br>
<br>
CCM:+16504793208x647642200# <br>
<br>
IMPORTANT NOTICE: This WebEx service includes a feature that allows audio and any documents and other materials exchanged or viewed during the session to be recorded. You should inform all meeting attendees prior to recording if you intend to record the meeting.
 Please note that any such recordings may be subject to discovery in the event of litigation.
</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>


</div></blockquote></body></html>
--Apple-Mail-05459B19-74D7-47AA-809C-9B4C80888382--

From rlb@ipv.sx  Tue Dec 31 09:03:26 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37C0D1AE1FE for <jose@ietfa.amsl.com>; Tue, 31 Dec 2013 09:03:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vFq8tsiJWL9H for <jose@ietfa.amsl.com>; Tue, 31 Dec 2013 09:03:18 -0800 (PST)
Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by ietfa.amsl.com (Postfix) with ESMTP id ED9E91AE1C3 for <jose@ietf.org>; Tue, 31 Dec 2013 09:03:17 -0800 (PST)
Received: by mail-ob0-f180.google.com with SMTP id wo20so12679082obc.25 for <jose@ietf.org>; Tue, 31 Dec 2013 09:03:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4XpAoP8mOngmw56z+LhSNWlgyBKraV3Fc8pv/r3+gMM=; b=alj3SSmyw3ryYyi/6VB/DNay6Ki85tYNm8PpUzk7oiiUFOROV1vNBxyhsm+YzXM86l N3NIO0yh7vYoaUzbpaalf0DGBFs4TzgUkBdFa7vmUixOs4RPp9hMCHitRT0Q19Rb5i71 owbXrcplI+vr60A3w8VlZqf38wzWMwcpwX5YsiYgu8j4mq4xscnLmr3a2SjRRpmC8vwq LrFC27I3CUe12yvGREkRTFaezsqnh7Y9JuXHJ8JojxP1q7bY+PSxK8/Z/kypjVaRiOms hu46E5DBOGe5XJQVChN7mDXBo7bPjOCFErUC4mVR8Cm4JMiPS7bPXwVWlTu60lgMQyO4 Z9CA==
X-Gm-Message-State: ALoCoQnk5kY2qNDKyTvmmePe7aA2zE8JjDwtr32E0jdCisG30RXxNrQDkAUNoog/gkk6QA9nG+JV
MIME-Version: 1.0
X-Received: by 10.60.99.8 with SMTP id em8mr23637910oeb.8.1388509391429; Tue, 31 Dec 2013 09:03:11 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Tue, 31 Dec 2013 09:03:11 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD81B45@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com> <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com> <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD81B45@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Tue, 31 Dec 2013 12:03:11 -0500
Message-ID: <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=047d7b33cad20b349904eed789bd
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Dec 2013 17:03:26 -0000

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

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

In other words, if a feature is going to be part of the JWK spec, then it
needs to meet the requirements that participants in this group put forth.
If we're choosing not to meet those requirements (as "use" does not), then
it needs to come out of the spec.

I think there's still room for compromise here (see my other reply on the
proposal directly).  But if there's no compromise, then there's no
consensus, and "use" needs to go.

--Richard





On Mon, Dec 30, 2013 at 5:34 PM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

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

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

<div dir=3D"ltr"><div><div><div>However, in advocating for two, parallel ex=
tensions to JWK for essentially the same purpose, you&#39;re basically argu=
ing that &quot;use&quot; is not generally applicable to JWK -- it applies t=
o OpenID/SAML-like stuff, but not much more broadly.=A0 (You can&#39;t real=
ly say the same thing about the more detailed version, since it&#39;s a sup=
erset.)=A0 But if &quot;use&quot; is not a generally useful feature of JWK,=
 then it shouldn&#39;t be part of the spec.<br>
</div><br></div>In other words, if a feature is going to be part of the JWK=
 spec, then it needs to meet the requirements that participants in this gro=
up put forth.=A0 If we&#39;re choosing not to meet those requirements (as &=
quot;use&quot; does not), then it needs to come out of the spec.<br>
<br></div><div>I think there&#39;s still room for compromise here (see my o=
ther reply on the proposal directly).=A0 But if there&#39;s no compromise, =
then there&#39;s no consensus, and &quot;use&quot; needs to go.<br></div>
<div><br></div>--Richard<br><div><div><br><br><br></div></div></div><div cl=
ass=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Mon, Dec 30, 2013=
 at 5:34 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=3D"mailto:Michael.Jon=
es@microsoft.com" target=3D"_blank">Michael.Jones@microsoft.com</a>&gt;</sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div>
<div>
<div>
<div style=3D"font-size:11pt;font-family:Calibri,sans-serif">There&#39;s no=
thing wrong with different use cases with different needs supplying differe=
nt key metadata.<br>
<br>
The ability to do that is an indication of the versatility and usefulness o=
f the JWK format - not a deficiency.<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;font-weight:bo=
ld">From:
</span><span style=3D"font-size:11pt;font-family:Calibri,sans-serif"><a hre=
f=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">Ryan Sleevi</a></span><=
br>
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;font-weight:bo=
ld">Sent:
</span><span style=3D"font-size:11pt;font-family:Calibri,sans-serif">12/30/=
2013 1:55 PM</span><br>
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;font-weight:bo=
ld">To:
</span><span style=3D"font-size:11pt;font-family:Calibri,sans-serif"><a hre=
f=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Mike Jones</a></=
span><br>
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;font-weight:bo=
ld">Cc:
</span><span style=3D"font-size:11pt;font-family:Calibri,sans-serif"><a hre=
f=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Mike Jones</a>;
<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">ryan-ietf@sleevi.=
com</a>; <a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">
Richard Barnes</a>; <a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank">=
John Bradley</a>; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">
jose@ietf.org</a></span><div><div class=3D"h5"><br>
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;font-weight:bo=
ld">Subject:
</span><span style=3D"font-size:11pt;font-family:Calibri,sans-serif">Re: [j=
ose] Two proposed JOSE spec actions to more closely coordinate with WebCryp=
to</span><br>
<br>
</div></div></div>
</div><div><div class=3D"h5">
<font><span style=3D"font-size:10pt">
<div>On Mon, December 30, 2013 1:29 pm, Mike Jones wrote:<br>
&gt;=A0 ... and lest there be any confusion, the JWK spec doesn&#39;t requi=
re the use<br>
&gt;=A0 of &quot;use&quot;.=A0 WebCrypto can specify that it not be used an=
d require the use<br>
&gt;=A0 of &quot;use_details&quot; if that best meets the needs of your use=
 case.<br>
<br>
So you&#39;re still arguing for two, incompatible ways of expressing use<br=
>
within the base spec. The current draft (-19) proposes that &quot;A &#39;us=
e&#39;<br>
member SHOULD be present, unless the application uses another means or<br>
convention to determine the intended key usage&quot;.<br>
<br>
That is, if draft-19 were pushed to WGLC, it would leave authors confused<b=
r>
as to when to use either. As specified, the language still strongly<br>
prefers &quot;use&quot;, and continues to suggest &quot;use_details&quot; a=
s a subset, when<br>
it&#39;s not really.<br>
<br>
Richard&#39;s solution is much more sensible, in that it makes it clear tha=
t<br>
there is a single clean way to communicate use going forward, and a<br>
deprecated way from existing specs. Existing keys can continue to be<br>
imported into new versions of the spec - it&#39;s only an issue when a new<=
br>
version of the spec is used to interoperate with an older version. I don&#3=
9;t<br>
think it&#39;s fair to suggest that&#39;s &quot;backwards compatibility&quo=
t; - that&#39;s an<br>
issue of &quot;forwards compatibility&quot;, and one that is far trickier t=
o get<br>
right, and arguably far less important here - and one that can be<br>
addressed in *new* implementations by choice or config.<br>
<br>
Let me try to state the problem differently:<br>
<br>
Is &quot;use&quot; generically suitable for use cases of JWK? Can you envis=
ion other<br>
scenarios where it can be gracefully extended?<br>
<br>
As I see it, the answer is clearly &quot;no&quot;, as already evidenced by<=
br>
WebCrypto&#39;s intended use, but also demonstrated by Axel&#39;s example o=
f &quot;do<br>
not want&quot; (which is X.509&#39;s &#39;extended key usages&#39; field). =
As such, we<br>
should try to fix that spec before finalizing, rather than bolt-on<br>
additions and try to rush things through WGLC, or we should accept that<br>
this is a problem the spec/spec authors are not interested in solving<br>
cleanly, and WebCrypto can move to a solution that does.<br>
<br>
Both specs are still in their infancy of both implementation and adoption<b=
r>
and we should try to do things right while we can.<br>
<br>
&gt;=A0 ________________________________<br>
&gt;=A0 From: Mike Jones&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank">mailto:Michael.Jones@microsoft.com</a>&gt;<br>
&gt;=A0 Sent: =FD12/=FD30/=FD2013 1:12 PM<br>
&gt;=A0 To: <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">ryan-=
ietf@sleevi.com</a>&lt;mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" targe=
t=3D"_blank">ryan-ietf@sleevi.com</a>&gt;<br>
&gt;=A0 Cc: Richard Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blan=
k">mailto:rlb@ipv.sx</a>&gt;; John<br>
&gt;=A0 Bradley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank">m=
ailto:ve7jtb@ve7jtb.com</a>&gt;; <a href=3D"mailto:jose@ietf.org" target=3D=
"_blank">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_b=
lank">mailto:jose@ietf.org</a>&gt;<br>

&gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>
&gt;=A0 coordinate with WebCrypto<br>
&gt;<br>
&gt;=A0 Ryan, this isn&#39;t an either-or situation. JWK is intended to be =
a general<br>
&gt;=A0 key representation format. It&#39;s extensible exactly so informati=
on for any<br>
&gt;=A0 use cases that need info not in the base spec can add it.=A0 I&#39;=
m still<br>
&gt;=A0 puzzled why some in WebCrypo felt uncomfortable using this extensib=
ility<br>
&gt;=A0 by defining and registering a new field for WebCrypyo&#39;s represe=
ntation of<br>
&gt;=A0 use info. But observing that to be the case, I&#39;m attempting to =
be as clear<br>
&gt;=A0 as possible (through spec actions!) that there&#39;s absolutely no =
reason for<br>
&gt;=A0 WebCrypto not to use JWK.<br>
&gt;<br>
&gt;=A0 There&#39;s no plans to &quot;continue to evolve JWK to parallel th=
e SAML<br>
&gt;=A0 workflows&quot; that I&#39;m aware of. Rather, I believe the only f=
urther addition<br>
&gt;=A0 being considered before completing the spec is one motivated by<br>
&gt;=A0 WebCrypto&#39;s use case rather than SAML - &quot;use_details&quot;=
.<br>
&gt;<br>
&gt;=A0 I believe that the current JWK spec already meets WebCrypto&#39;s n=
eeds as-is.<br>
&gt;=A0=A0 Is there any reason not to just use it and move on to addressing=
 other<br>
&gt;=A0 issues needed to be resolved to complete both JOSE and WebCrypto, b=
oth of<br>
&gt;=A0 which I see as being complementary and important to the industry?<b=
r>
&gt;<br>
&gt;=A0 -- Mike<br>
&gt;=A0 ________________________________<br>
&gt;=A0 From: Ryan Sleevi&lt;<a href=3D"mailto:ryan-ietf@sleevi.com" target=
=3D"_blank">mailto:ryan-ietf@sleevi.com</a>&gt;<br>
&gt;=A0 Sent: =FD12/=FD30/=FD2013 12:47 PM<br>
&gt;=A0 To: Mike Jones&lt;<a href=3D"mailto:Michael.Jones@microsoft.com" ta=
rget=3D"_blank">mailto:Michael.Jones@microsoft.com</a>&gt;<br>
&gt;=A0 Cc: <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">ryan-=
ietf@sleevi.com</a>&lt;mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" targe=
t=3D"_blank">ryan-ietf@sleevi.com</a>&gt;; Richard<br>
&gt;=A0 Barnes&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">mailto:rl=
b@ipv.sx</a>&gt;; John Bradley&lt;<a href=3D"mailto:ve7jtb@ve7jtb.com" targ=
et=3D"_blank">mailto:ve7jtb@ve7jtb.com</a>&gt;;<br>
&gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a=
>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank">mailto:jose@ietf.or=
g</a>&gt;<br>
&gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more closely<=
br>
&gt;=A0 coordinate with WebCrypto<br>
&gt;<br>
&gt;=A0 On Mon, December 30, 2013 11:40 am, Mike Jones wrote:<br>
&gt; &gt;=A0 As further background for the discussion, the current &quot;us=
e&quot; definition<br>
&gt; &gt; is<br>
&gt; &gt;=A0 based on widely deployed existing practice - the SAML metadata=
<br>
&gt; &gt;=A0 specification<br>
&gt; &gt;=A0 (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/saml=
-metadata-2.0-os.pdf" target=3D"_blank">http://docs.oasis-open.org/security=
/saml/v2.0/saml-metadata-2.0-os.pdf</a>),<br>
&gt; &gt;=A0 which defines &quot;use&quot; as follows in section <a href=3D=
"http://2.4.1.1" target=3D"_blank">2.4.1.1</a>:<br>
&gt; &gt;=A0 use [Optional]<br>
&gt; &gt;=A0 Optional attribute specifying the purpose of the key being des=
cribed.<br>
&gt; &gt;=A0 Values are drawn from the<br>
&gt; &gt;<br>
&gt; &gt;=A0 KeyTypes enumeration, and consist of the values encryption and=
 signing.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 This has been shown to be sufficient in practice for its inten=
ded<br>
&gt; &gt; purpose,<br>
&gt; &gt;=A0 as has the JWK &quot;use&quot; field.<br>
&gt; &gt;<br>
&gt;<br>
&gt;=A0 Mike,<br>
&gt;<br>
&gt;=A0 I feel like you&#39;re arguing all the more strongly for WebCrypto =
not to use<br>
&gt;=A0 JWK, in that you&#39;re arguing that JWK&#39;s &quot;intended purpo=
se&quot; is to match<br>
&gt;=A0 SAML. I can understand where this fits within the JWT and OpenID Co=
nnect<br>
&gt;=A0 workflows, but as a &quot;JSON key description&quot; format, it is =
unquestionably<br>
&gt;=A0 much more restrictive and ill-suited.<br>
&gt;<br>
&gt;=A0 If the goal is to continue to evolve JWK to parallel the SAML workf=
lows,<br>
&gt;=A0 then I don&#39;t see how WebCrypto can in good conscience encourage=
 JWK.<br>
&gt;<br>
&gt;=A0 There&#39;s nothing preventing authors from translating JWK into an=
y sort of<br>
&gt;=A0 API form that WebCrypto requires - much in the same way that they c=
an<br>
&gt;=A0 translate the composite JWA algorithms (which are suitable for tran=
sport)<br>
&gt;=A0 into WebCrypto&#39;s broader, more generic algorithms (which are su=
itable for<br>
&gt;=A0 an API targeting application development).<br>
&gt;<br>
&gt;=A0 Arguably, the only reasons to use JWK are to prevent introducing &q=
uot;yet<br>
&gt;=A0 another key format&quot;. While laudable, if JWK is trying to mirro=
r SAML, then<br>
&gt;=A0 it would seem that JWK is not trying to be a key format, per se, an=
d such<br>
&gt;=A0 risk would be low.<br>
&gt;<br>
&gt;=A0 Again, I&#39;m perfectly fine if JOSE would rather that JWK be kept=
 as minimal<br>
&gt;=A0 and as specific for the JWT use case, and we can easily use a descr=
iptive<br>
&gt;=A0 WebIDL within WebCrypto to describe the key formats it operates wit=
h (in<br>
&gt;=A0 addition to SPKI and PKCS#8). Comments so far from this WG give me =
the<br>
&gt;=A0 sense that there&#39;s strong opposition by some to seeing JWK evol=
ve to be as<br>
&gt;=A0 flexible or generic as SPKI/PKCS#8. That&#39;s fine by me, but that=
&#39;s<br>
&gt;=A0 extensibility that WebCrypto wants, and if JWK isn&#39;t it, we can=
 use<br>
&gt;=A0 something else. OpenID Connect and JWT can continue to use JWK as s=
uited<br>
&gt;=A0 for their needs, and if for some reason someone wants to use JS to<=
br>
&gt;=A0 interact with these, they can use a translation shim, just as they =
would<br>
&gt;=A0 for JWE/JWS or for *any other* cryptographic application, since Web=
Crypto<br>
&gt;=A0 is &quot;just&quot; an API.<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 I understand your point, Ryan, that for the WebCrypto API use =
case,<br>
&gt; &gt; there<br>
&gt; &gt;=A0 is sometimes value in distinguishing between the producer and =
consumer<br>
&gt; &gt;=A0 operations for a key.=A0 That&#39;s part of why I proposed add=
ing<br>
&gt; &gt; &quot;use_details&quot;,<br>
&gt; &gt;=A0 so those distinctions can be made for the use cases where they=
 do make<br>
&gt; &gt; a<br>
&gt; &gt;=A0 difference.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 As for Richard&#39;s proposal, the problem with it is that it =
would be a<br>
&gt; &gt;=A0 breaking change, since if &quot;ku&quot; was present, his prop=
osal would require<br>
&gt; &gt;=A0 different treatment of the &quot;use&quot; field (ignoring it)=
.=A0 My proposal is<br>
&gt; &gt; not<br>
&gt; &gt;=A0 a breaking change, since &quot;use&quot; continues to mean wha=
t it always has.<br>
&gt; &gt;=A0 Furthermore, my proposal requires that &quot;use&quot; and &qu=
ot;use_details&quot; convey<br>
&gt; &gt;=A0 consistent information, if both are present.=A0 That seems sig=
nificantly<br>
&gt; &gt;=A0 simpler for consumers of JWKs use than requiring conditional b=
ehaviors,<br>
&gt; &gt; as<br>
&gt; &gt;=A0 Richard&#39;s proposal does.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Best<br>
&gt; &gt; wishes,<br>
&gt; &gt;<br>
&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 -----Original Message-----<br>
&gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com" tar=
get=3D"_blank">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt; &gt;=A0 Sent: Monday, December 30, 2013 10:25 AM<br>
&gt; &gt;=A0 To: Richard Barnes<br>
&gt; &gt;=A0 Cc: Mike Jones; <a href=3D"mailto:ryan-ietf@sleevi.com" target=
=3D"_blank">ryan-ietf@sleevi.com</a>; John Bradley; <a href=3D"mailto:jose@=
ietf.org" target=3D"_blank">jose@ietf.org</a><br>
&gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to more clo=
sely<br>
&gt; &gt;=A0 coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=
=3D"_blank">Michael.Jones@microsoft.com</a>&lt;mailto:<a href=3D"mailto:Mic=
hael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@microsoft.com</a>=
&gt;&gt;wrote:<br>

&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; It&#39;s my sense of the JOSE working group that most a=
re strongly<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; opposed to breaking changes at this point.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 Please don&#39;t claim to represent the WG.=A0 There is a=
 significant<br>
&gt; &gt;<br>
&gt; &gt; &gt; contingent=A0 who care about breaking changes, but also a si=
gnificant<br>
&gt; &gt;<br>
&gt; &gt; &gt; group who would=A0 prefer the best, most usable spec we can =
make,<br>
&gt; &gt;<br>
&gt; &gt; &gt; regardless of the sins of=A0 the past.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; However, I also believe that most JOSE participants sha=
re the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; sentiment of many WebCrypto participants that it would =
be better for<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; all for WebCrypto to use real JWKs, rather than somethi=
ng<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;JWK-like&quot;.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0=A0 How about this for a compromise proposal:<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Leave &quot;use&quot; in for backward compatibility.<b=
r>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Define a new field &quot;ku&quot; (Key Usage, or somet=
hing similar) that has<br>
&gt; &gt;<br>
&gt; &gt; &gt; detailed key usage information.<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Deprecate &quot;use&quot;, recommending that new appli=
cations use &quot;ku&quot;; if<br>
&gt; &gt;<br>
&gt; &gt; &gt; both=A0 are present, &quot;use&quot; MUST be ignored.<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 -- Define the expansion of &quot;use&quot; values to &quo=
t;ku&quot; values<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 That doesn&#39;t break backward compatibilty, but makes d=
etailed control<br>
&gt; &gt;<br>
&gt; &gt; &gt; the=A0 default going forward.<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 --Richard<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 As I expressed within WebCrypto, this to me strikes a much mor=
e<br>
&gt; &gt; sensible<br>
&gt; &gt;=A0 balance of backwards compatibility and extensibility, and hope=
fully in<br>
&gt; &gt; a<br>
&gt; &gt;=A0 way that allows existing deployments to cleanly transition whi=
le<br>
&gt; &gt; allowing<br>
&gt; &gt;=A0 new deployments to avoid the limitations of the current drafts=
.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 I very much prefer this over use_details for Web Crypto&#39;s =
use cases.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 I believe my proposal is the best-available solution, giv=
en the<br>
&gt; &gt;<br>
&gt; &gt; &gt; current<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; realistic constraints.=A0 It might have made better sen=
se for a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; WebCrypto spec to define &quot;use_details&quot; than J=
OSE, but if WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; isn&#39;t going to do it, I believe that we&#39;ll all =
be better off in the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; long run if JOSE then does and WebCrypto uses it.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Cheers,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.c=
om" target=3D"_blank">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; To: Mike Jones<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Cc: <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_=
blank">ryan-ietf@sleevi.com</a>&lt;mailto:<a href=3D"mailto:ryan-ietf@sleev=
i.com" target=3D"_blank">ryan-ietf@sleevi.com</a>&gt;; John Bradley;<br>
&gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf=
.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank">mailto:jose@=
ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to m=
ore closely<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 I disagree that &quot;use&quot; allows multiple=
 uses.=A0 Sign/Verify both use<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; the same=A0 algorithm with the same key - just in =
a<br>
&gt; &gt; producer/consumer<br>
&gt; &gt; &gt; role.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; There=A0 would only be a security problem if the s=
ame key was used<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; with<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; *different*=A0 algorithms.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 For symmetric keys, Sign/Verify operations are =
actually the same,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; so in=A0 that case, this is a distinction without =
a difference.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 You may consider the producer/consumer distinct=
ion to be multiple<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; uses,=A0 but only in an academic sense.=A0 You hav=
e to perform both<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; with the same key=A0 pair or symmetric key for the=
 end-to-end<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; cryptography to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; be meaningful.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Doing one without the other is incomplete.=A0 (=
What good is signing<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; if the=A0 signature is never verified?)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Mike,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I don&#39;t think it&#39;s fair to compare them as the =
same, and it&#39;s very<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; much a practical, and not an academic case.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; In a Sign() operation, the input is arbitrary plaintext=
 and the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; output is a signature corresponding to that plaintext; =
an oracle, if<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; you will - as you would want.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; In an API (although not necessarily in JWE/JWS, and und=
erstandably<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; so), a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Verify() operation permits arbitrary plaintext as the i=
nput, but<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; also requires the signature to be verified. The only ou=
tput is a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; boolean - whether or not the signature is correct.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; The goal of &quot;restricting&quot; the uses here would=
 be to allow key<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; storage not necessarily under the control of the caller=
. In<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; WebCrypto, this is the distinction between the executin=
g JS (served<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; by the web page) and the UA implementation. It&#39;s a =
concept borrowed<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; from any number of other good cryptographic APIs (eg: t=
hose that are<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; designed with the notion of opaque key storage)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; With a symmetric key only permitted for a &quot;Verify&=
quot; operation, the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; only way to generate a signature for an arbitrary messa=
ge is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; a) Compromise the key storage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; b) Iterate through all possible signature combinations =
until you get<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;true&quot; as the Verify() result.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; b) may be aided by any number of implementation issues =
(eg:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; non-constant time comparisons, among others), but is ul=
timately<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;tricky&quot;. a) is dependent on implementations,=
 and can be aided or<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; harmed through a variety of means.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Combining these two usages into a single use case - whi=
ch, I agree,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; is probably perfectly acceptable if imagining as a tran=
sport-only<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; exchange<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; -<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; can thus have real and meaningful differences when used=
 at an API<br>
&gt; &gt; &gt; level.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Likewise, Encrypt/Decrypt and Wrap/Unwrap make =
producer/consumer<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; distinctions, but also only use a single key with =
a single<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; algorithm - therefore no security problem.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 =3D=3D=3D=3D<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 For what it&#39;s worth, I think the different =
key use representation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; choices=A0 stems from JOSE being a high-level API =
that tries to make<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; simple things=A0 simple and WebCrypto being a low-=
level API that<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; tries<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; be complete.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Both are valid and useful.=A0 These differences=
 show up in lots of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; places=A0 besides just key usage representations.<=
br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Absolutely agree here. This is why WebCrypto explored w=
hether we<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; should do something &quot;JWK-like&quot;, but suitable =
at an API layer and for<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; it&#39;s goals, and &quot;trivially&quot; convertable w=
ith JWK - but by script<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; authors. The WebCrypto WG wasn&#39;t fond of it, which =
is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; understandable, and why I&#39;m here.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Anyway, the purpose of my proposal is to try to=
 make things<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; easier for=A0 WebCrypto.=A0 I hope people will get=
 behind it.=A0 Yes,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; having both simple and=A0 detailed key usage repre=
sentations seems<br>
&gt; &gt; odd<br>
&gt; &gt; &gt; at first.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; But they&#39;re=A0 designed to address different g=
oals for different<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; kinds<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; applications.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 The alternatives (such as &quot;signOnly,verify=
Only&quot;, etc.) that are<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; currently=A0 being considered are much worse.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I agree that changing to an array will almost certainly=
 break every<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; implementation to date.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I agree that comma-separated is horribad and should be =
avoided, even<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; if it &quot;solves&quot; the backwards compat issue.<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I think your solution is a reasonable attempt to mediat=
e the issues<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; of backwards compatibility with the use cases of WebCry=
pto. However,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I&#39;m still on the fence as to whether or not it real=
ly is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; unreasonable to &quot;break&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; backwards compatibility here - there seems to be a comp=
elling case<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; here as to why even something like [&quot;sign&quot;, &=
quot;verify&quot;] should be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; distinct usages.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; I<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; know the bar is incredibly high right now, given JOSE&#=
39;s momentum,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; but I didn&#39;t think that JOSE was past the point of =
no return.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 -----Original Message-----<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@=
sleevi.com" target=3D"_blank">mailto:ryan-ietf@sleevi.com</a>]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Sent: Friday, December 27, 2013 2:13 PM<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 To: John Bradley<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Cc: Mike Jones; <a href=3D"mailto:jose@ietf.org=
" target=3D"_blank">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" t=
arget=3D"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec acti=
ons to more<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; closely coordinate with WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 I&#39;m sorry, John, but by your logic, JOSE is=
 not following your<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; own<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; advice.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 &quot;enc&quot; is already a multiple-use for a=
 key - it allows for both<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; encryption=A0 and decryption. For that matter, wra=
p and unwrap,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; which are supposed to be=A0 inferred based on algo=
rithm, which is a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; JWE/JWS specific aspect, and not=A0 an intrinsic a=
spect of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; JWK-as-key-representation.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Likewise, &quot;sig&quot; implies sign AND veri=
fy, which is meant to be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; unambiguous,=A0 because the assumption is always t=
hat you sign with<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; a private key and=A0 verify with a public key, but=
 as a conceptual<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; framework breaks down for=A0 schemes like HMAC, wh=
ich ostensibly<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; have sign and verify (or MAC and=A0 verify, if you=
 prefer, but we&#39;re<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; splitting<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; hairs here).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 WebCrypto desires to be *more* precise than JOS=
E&#39;s imprecise and<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; overly=A0 broad, implicitly multi-use syntax. That=
 &quot;enc&quot; means four<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; possible uses,=A0 or that &quot;sig&quot; means tw=
o , is a clear sign that<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; JOSE is already actively=A0 encouraging multiple u=
ses for the same<br>
&gt; &gt; &gt; key.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 Mike&#39;s proposal is basically an admission t=
hat the ship has<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; sailed on this=A0 implicit, multi-valued usage sem=
antic - which, I<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; can understand and=A0 sympathize with, in the name=
 of backwards<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; compatibility for an in-draft=A0 spec, but let&#39=
;s recognize that as<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; spec&#39;d today, JOSE is preferring and=A0 encour=
aging multiple uses<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; for the same key in ways that will=A0 unquestionab=
ly encourage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; people to make bad mistakes (such as multiple=A0 p=
arties using the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; same encryption key for traffic in either directio=
n -=A0 requiring<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; some degree of IV sync)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 On Tue, December 24, 2013 4:27 pm, John Bradley=
 wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 Having it be an array encourages multiple =
uses for the same<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; key.=A0 I have=A0 stated many times that enco=
uraging people to do<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; that is not a good idea,=A0 and making it eas=
y makes people think<br>
&gt; &gt; it<br>
&gt; &gt; &gt; is a good idea.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 You can use the single value field and hav=
e multiple entries<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with different key containing the same or dif=
ferent keys to do<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; the same thing.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 On the practical side &quot;use_details&qu=
ot; is better than creating<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; crazy dot separated como uses.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 John B.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 On Dec 24, 2013, at 8:26 PM, Mike Jones<br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft=
.com" target=3D"_blank">Michael.Jones@microsoft.com</a>&lt;mailto:<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt;&gt;<br>

&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among =
WebCrypto and JOSE<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypt=
o over the holidays,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; I&#39;d like to propose the two JOSE spe=
c actions to more closely<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; coordinate<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; with WebCrypto:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 1.=A0 Change the JWA registry field name=
 from &quot;Implementation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Impleme=
ntation Requirements&quot; in the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algori=
thms Registry (<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-j=
son-web-algorithms-18#se" target=3D"_blank">
http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se</a><br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; ction-7.1<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; ).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0 This will make it clearer that the Im=
plementation<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE i=
mplementations - and<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto=
).=A0 This changes only<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; non-normative text and is<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; non-breaking.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 2.=A0 Define the new JWK field &quot;use=
_details&quot; for recording<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; intended fine-grained key usage informat=
ion.=A0 This would<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; (<a></a><a href=3D"https://dvcs.w3.org/h=
g/webcrypto-api/raw-file/tip/spec/Overvi" target=3D"_blank">https://dvcs.w3=
.org/hg/webcrypto-api/raw-file/tip/spec/Overvi</a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ew.h<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; tm<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used direc=
tly with JWK.=A0 The<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; proposed definition is:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 3.3.=A0 &quot;use_details&quot; (Key Use=
 Details) Parameter<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The &quot;use_details&quot; (ke=
y use details) member identifies<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; fine-grained<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 details the intended use of the=
 key.=A0 Its value is an array<br>
&gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 key use details values.=A0 Valu=
es defined by this<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; specification<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; are:<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;sign&quot; (compute =
signature or MAC)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;verify&quot; (verify=
 signature or MAC)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;encrypt&quot; (encry=
pt content)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;decrypt&quot; (decry=
pt content and verify decryption, if<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; applicable)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;wrap&quot; (encrypt =
key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;unwrap&quot; (decryp=
t key and verify decryption, if<br>
&gt; &gt; &gt; applicable)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveKey&quot; (der=
ive key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveBits&quot; (de=
rive bits not to be used as a key)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Other values MAY be used.=A0 Ke=
y Use Details values can be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; registered<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 in the IANA JSON Web Key Use De=
tails registry defined in<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Section<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; 7.3.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The use details values are case=
-sensitive strings.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Duplicate use details values MU=
ST NOT be present in the<br>
&gt; &gt; &gt; array.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Use of the &quot;use_details&qu=
ot; member is OPTIONAL, unless the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; application<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 requires use this member to rec=
ord fine-grained key usage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; details.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 (Note that the &quot;use_detail=
s&quot; values intentionally match the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 values defined in the WebCrypto=
 [WebCrypto] specification.)<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If both &quot;use&quot; and &qu=
ot;use_details&quot; JWK members are present,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; usages<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 specified by them MUST be consi=
stent.=A0 In particular, the<br>
&gt; &gt; &gt; &quot;use&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; value<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;sig&quot; corresponds to =
&quot;sign&quot; and/or &quot;verify&quot;.=A0 The &quot;use&quot;<br>
&gt; &gt; value<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;enc&quot; corresponds to =
all other values defined above.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If &quot;use_details&quot; valu=
es corresponding to both &quot;sig&quot; and<br>
&gt; &gt; &quot;enc&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;use&quot; values are pres=
ent, the &quot;use&quot; member SHOULD NOT be<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; present,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0 and if present, its value MUST =
NOT be either &quot;sig&quot; or<br>
&gt; &gt; &quot;enc&quot;.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing=
 simple applications<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; that want to distinguish between signing=
 and encryption<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; operations to continue doing so as they =
do today, while also<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage detai=
ls field to be used by<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; applications that want to record fine-gr=
ained distinctions<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; among potential key usages, including di=
stinguishing between<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; producer and consumer<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; operations.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; As I see it, while having two related ke=
y usage<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; representations isn&#39;t ideal, it&#39;=
s far better than having<br>
&gt; &gt; &gt; WebCrypto overload &quot;use&quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in stri=
ngs, such as<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I=
 believe is their current plan<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; of<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; record.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Comments?<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Mike<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; P.S.=A0 This proposal was already discus=
sed on the WebCrypto<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; list in the thread<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/=
Public/public-webcrypto/2013Dec/0052" target=3D"_blank">
http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052</a>.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised ther=
e that I&#39;m aware of.<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ________________________________________=
_______<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org" target=
=3D"_blank">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D=
"_blank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/=
listinfo/jose" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose=
</a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 __________________________________________=
_____<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D=
"_blank">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_b=
lank">mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/li=
stinfo/jose" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</=
a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 _______________________________________________=
<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_bla=
nk">jose@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank"=
>mailto:jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinf=
o/jose" target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br=
>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose=
@ietf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank">mailto:=
jose@ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 jose mailing list<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@i=
etf.org</a>&lt;<a href=3D"mailto:jose@ietf.org" target=3D"_blank">mailto:jo=
se@ietf.org</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;=A0 _______________________________________________<br>
&gt; &gt;=A0 jose mailing list<br>
&gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.o=
rg</a><br>
&gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;=A0 _______________________________________________<br>
&gt;=A0 jose mailing list<br>
&gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a=
><br>
&gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_b=
lank">https://www.ietf.org/mailman/listinfo/jose</a><br>
&gt;<br>
<br>
<br>
</div>
</span></font>
</div></div></div>

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

--047d7b33cad20b349904eed789bd--

From rlb@ipv.sx  Tue Dec 31 09:08:24 2013
Return-Path: <rlb@ipv.sx>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D89D1AE348 for <jose@ietfa.amsl.com>; Tue, 31 Dec 2013 09:08:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EeA60Evbd_ib for <jose@ietfa.amsl.com>; Tue, 31 Dec 2013 09:08:17 -0800 (PST)
Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by ietfa.amsl.com (Postfix) with ESMTP id A35061AE1FE for <jose@ietf.org>; Tue, 31 Dec 2013 09:08:17 -0800 (PST)
Received: by mail-ob0-f181.google.com with SMTP id uy5so12594828obc.26 for <jose@ietf.org>; Tue, 31 Dec 2013 09:08:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7bnJu2wy7ERl/UrmFaYqafEgfQxQsgEval94ONhhJDk=; b=Q1qpjmm7Qr+BbLVSufC6NpYy0FiX/4bvGegeb/34Fcx87ICHK9RRIae3Q1FKojSdyL wDwDRqEfNdTejoq8/vHgA4GAOc044F0sf5Dn7DJ80qzn7afVIXfgTN4vuGXSe2rA8w0W 9LopBJRcx/P0VcBIZ4ZtKdmoYAxDbnRKIPKEGMKR89KC0BOasWhNk7Y32p2DxK+dhKyI rKyNh9X2Pap1+HOYkSYeuuDhShk1a3lK2J306Kr0hx5HlGstXbSrTHOmwnGCMSqJfRoB 52TKdkF8rp1RXYR/sSop+QjQmYknNWJMGP6Kv0OXJ5RNYVh0PUpTZk8gxfA5oZJG+TwW U0PA==
X-Gm-Message-State: ALoCoQnE7R6tXMNjs5UHcckWmIXPlOEWmE0aoGElN8fF+4bWrqN5jDcPUK1vpZI8MCmBmXQ2pEb2
MIME-Version: 1.0
X-Received: by 10.182.78.68 with SMTP id z4mr49534287obw.29.1388509691193; Tue, 31 Dec 2013 09:08:11 -0800 (PST)
Received: by 10.60.54.65 with HTTP; Tue, 31 Dec 2013 09:08:11 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com>
Date: Tue, 31 Dec 2013 12:08:11 -0500
Message-ID: <CAL02cgRT+JOqtG46jZNcD3bQTkDQuF73xPe240aurYpkdauz6A@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=047d7b2e4d52e9422504eed79af7
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Dec 2013 17:08:24 -0000

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

On Mon, Dec 30, 2013 at 2:40 PM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

>  As further background for the discussion, the current "use" definition
> is based on widely deployed existing practice - the SAML metadata
> specification (
> http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf),
> which defines "use" as follows in section 2.4.1.1:
>
> use [Optional]
>
> Optional attribute specifying the purpose of the key being described.
> Values are drawn from the
>
> *KeyTypes *enumeration, and consist of the values encryption and signing.
>
>
>
> This has been shown to be sufficient in practice for its intended purpose=
,
> as has the JWK =93use=94 field.
>
>
>
> I understand your point, Ryan, that for the WebCrypto API use case, there
> is sometimes value in distinguishing between the producer and consumer
> operations for a key.  That=92s part of why I proposed adding =93use_deta=
ils=94,
> so those distinctions can be made for the use cases where they do make a
> difference.
>
>
>
> As for Richard's proposal, the problem with it is that it would be a
> breaking change, since if "ku" was present, his proposal would require
> different treatment of the "use" field (ignoring it).
>
Fair enough.  This revised proposal is not a breaking change:
 -- Leave "use" in for backward compatibility.
-- Define a new field "ku" (Key Usage, or something similar) that has
detailed key usage information.
-- Deprecate "use", recommending that new applications use "ku"
-- Define the expansion of "use" values to "ku" values
** If both "ku" and "use" are present, then recipients use the union of the
two

That way, both "ku" and "use" are positive grants of permission, and they
combine.  This solution "fails safe" in the sense that if a recipient
doesn't support one or the other, then at worst it will not allow a key to
be used for a given purpose.

My proposal is not a breaking change, since "use" continues to mean what it
> always has.  Furthermore, my proposal requires that "use" and "use_detail=
s"
> convey consistent information, if both are present.  That seems
> significantly simpler for consumers of JWKs use than requiring conditiona=
l
> behaviors, as Richard=92s proposal does.
>
Nope nope nope.  Requiring consistent behavior is a terrible idea, because
then you have to specify what a recipient does if they're not consistent.
The above revised proposal is deterministic (not conditional; just take the
union), not a breaking change, and doesn't have this brittleness.

--Richard



>
>
>                                                             Best wishes,
>
>                                                             -- Mike
>
>
>
> -----Original Message-----
> From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
> Sent: Monday, December 30, 2013 10:25 AM
> To: Richard Barnes
> Cc: Mike Jones; ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
> Subject: Re: [jose] Two proposed JOSE spec actions to more closely
> coordinate with WebCrypto
>
>
>
> On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:
>
> >  On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones
>
> >  <Michael.Jones@microsoft.com>wrote:
>
> >
>
> > > It's my sense of the JOSE working group that most are strongly
>
> > > opposed to breaking changes at this point.
>
> >
>
> >
>
> >  Please don't claim to represent the WG.  There is a significant
>
> > contingent  who care about breaking changes, but also a significant
>
> > group who would  prefer the best, most usable spec we can make,
>
> > regardless of the sins of  the past.
>
> >
>
> >
>
> >
>
> > > However, I also believe that most JOSE participants share the
>
> > > sentiment of many WebCrypto participants that it would be better for
>
> > > all for WebCrypto to use real JWKs, rather than something
>
> > > "JWK-like".
>
> > >
>
> >
>
> >   How about this for a compromise proposal:
>
> >  -- Leave "use" in for backward compatibility.
>
> >  -- Define a new field "ku" (Key Usage, or something similar) that has
>
> > detailed key usage information.
>
> >  -- Deprecate "use", recommending that new applications use "ku"; if
>
> > both  are present, "use" MUST be ignored.
>
> >  -- Define the expansion of "use" values to "ku" values
>
> >
>
> >  That doesn't break backward compatibilty, but makes detailed control
>
> > the  default going forward.
>
> >
>
> >  --Richard
>
>
>
> As I expressed within WebCrypto, this to me strikes a much more sensible
> balance of backwards compatibility and extensibility, and hopefully in a
> way that allows existing deployments to cleanly transition while allowing
> new deployments to avoid the limitations of the current drafts.
>
>
>
> I very much prefer this over use_details for Web Crypto's use cases.
>
>
>
> >
>
> >  I believe my proposal is the best-available solution, given the
>
> > current
>
> > > realistic constraints.  It might have made better sense for a
>
> > > WebCrypto spec to define "use_details" than JOSE, but if WebCrypto
>
> > > isn't going to do it, I believe that we'll all be better off in the
>
> > > long run if JOSE then does and WebCrypto uses it.
>
> > >
>
> > >                                 Cheers,
>
> > >                                 -- Mike
>
> > >
>
> > > -----Original Message-----
>
> > > From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com <ryan-ietf@sleevi.com>=
]
>
> > > Sent: Friday, December 27, 2013 6:46 PM
>
> > > To: Mike Jones
>
> > > Cc: ryan-ietf@sleevi.com; John Bradley; jose@ietf.org
>
> > > Subject: Re: [jose] Two proposed JOSE spec actions to more closely
>
> > > coordinate with WebCrypto
>
> > >
>
> > > On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:
>
> > > >  I disagree that "use" allows multiple uses.  Sign/Verify both use
>
> > > > the same  algorithm with the same key - just in a producer/consumer
> role.
>
> > > > There  would only be a security problem if the same key was used
>
> > > > with
>
> > > > *different*  algorithms.
>
> > > >
>
> > > >  For symmetric keys, Sign/Verify operations are actually the same,
>
> > > > so in  that case, this is a distinction without a difference.
>
> > > >
>
> > > >  You may consider the producer/consumer distinction to be multiple
>
> > > > uses,  but only in an academic sense.  You have to perform both
>
> > > > with the same key  pair or symmetric key for the end-to-end
>
> > > > cryptography to
>
> > > be meaningful.
>
> > > >  Doing one without the other is incomplete.  (What good is signing
>
> > > > if the  signature is never verified?)
>
> > >
>
> > > Hi Mike,
>
> > >
>
> > > I don't think it's fair to compare them as the same, and it's very
>
> > > much a practical, and not an academic case.
>
> > >
>
> > > In a Sign() operation, the input is arbitrary plaintext and the
>
> > > output is a signature corresponding to that plaintext; an oracle, if
>
> > > you will - as you would want.
>
> > >
>
> > > In an API (although not necessarily in JWE/JWS, and understandably
>
> > > so), a
>
> > > Verify() operation permits arbitrary plaintext as the input, but
>
> > > also requires the signature to be verified. The only output is a
>
> > > boolean - whether or not the signature is correct.
>
> > >
>
> > > The goal of "restricting" the uses here would be to allow key
>
> > > storage not necessarily under the control of the caller. In
>
> > > WebCrypto, this is the distinction between the executing JS (served
>
> > > by the web page) and the UA implementation. It's a concept borrowed
>
> > > from any number of other good cryptographic APIs (eg: those that are
>
> > > designed with the notion of opaque key storage)
>
> > >
>
> > > With a symmetric key only permitted for a "Verify" operation, the
>
> > > only way to generate a signature for an arbitrary message is
>
> > > a) Compromise the key storage
>
> > > b) Iterate through all possible signature combinations until you get
>
> > > "true" as the Verify() result.
>
> > >
>
> > > b) may be aided by any number of implementation issues (eg:
>
> > > non-constant time comparisons, among others), but is ultimately
>
> > > "tricky". a) is dependent on implementations, and can be aided or
>
> > > harmed through a variety of means.
>
> > >
>
> > > Combining these two usages into a single use case - which, I agree,
>
> > > is probably perfectly acceptable if imagining as a transport-only
>
> > > exchange
>
> > > -
>
> > > can thus have real and meaningful differences when used at an API
> level.
>
> > >
>
> > > >
>
> > > >  Likewise, Encrypt/Decrypt and Wrap/Unwrap make producer/consumer
>
> > > > distinctions, but also only use a single key with a single
>
> > > > algorithm - therefore no security problem.
>
> > > >
>
> > > >  =3D=3D=3D=3D
>
> > > >
>
> > > >  For what it's worth, I think the different key use representation
>
> > > > choices  stems from JOSE being a high-level API that tries to make
>
> > > > simple things  simple and WebCrypto being a low-level API that
>
> > > > tries
>
> > > to
>
> > > be complete.
>
> > > >  Both are valid and useful.  These differences show up in lots of
>
> > > > places  besides just key usage representations.
>
> > >
>
> > > Absolutely agree here. This is why WebCrypto explored whether we
>
> > > should do something "JWK-like", but suitable at an API layer and for
>
> > > it's goals, and "trivially" convertable with JWK - but by script
>
> > > authors. The WebCrypto WG wasn't fond of it, which is
>
> > > understandable, and why I'm here.
>
> > >
>
> > > >
>
> > > >  Anyway, the purpose of my proposal is to try to make things
>
> > > > easier for  WebCrypto.  I hope people will get behind it.  Yes,
>
> > > > having both simple and  detailed key usage representations seems od=
d
> at first.
>
> > > > But they're  designed to address different goals for different
>
> > > > kinds
>
> > > of
>
> > > applications.
>
> > > >  The alternatives (such as "signOnly,verifyOnly", etc.) that are
>
> > > > currently  being considered are much worse.
>
> > > >
>
> > > >                               -- Mike
>
> > >
>
> > > I agree that changing to an array will almost certainly break every
>
> > > implementation to date.
>
> > >
>
> > > I agree that comma-separated is horribad and should be avoided, even
>
> > > if it "solves" the backwards compat issue.
>
> > >
>
> > > I think your solution is a reasonable attempt to mediate the issues
>
> > > of backwards compatibility with the use cases of WebCrypto. However,
>
> > > I'm still on the fence as to whether or not it really is
>
> > > unreasonable to "break"
>
> > > backwards compatibility here - there seems to be a compelling case
>
> > > here as to why even something like ["sign", "verify"] should be
>
> > > distinct usages.
>
> > > I
>
> > > know the bar is incredibly high right now, given JOSE's momentum,
>
> > > but I didn't think that JOSE was past the point of no return.
>
> > >
>
> > > >
>
> > > >  -----Original Message-----
>
> > > >  From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com<ryan-ietf@sleevi.co=
m>
> ]
>
> > > >  Sent: Friday, December 27, 2013 2:13 PM
>
> > > >  To: John Bradley
>
> > > >  Cc: Mike Jones; jose@ietf.org
>
> > > >  Subject: Re: [jose] Two proposed JOSE spec actions to more
>
> > > > closely coordinate with WebCrypto
>
> > > >
>
> > > >  I'm sorry, John, but by your logic, JOSE is not following your
>
> > > > own
>
> > > advice.
>
> > > >
>
> > > >  "enc" is already a multiple-use for a key - it allows for both
>
> > > > encryption  and decryption. For that matter, wrap and unwrap,
>
> > > > which are supposed to be  inferred based on algorithm, which is a
>
> > > > JWE/JWS specific aspect, and not  an intrinsic aspect of
>
> > > JWK-as-key-representation.
>
> > > >
>
> > > >  Likewise, "sig" implies sign AND verify, which is meant to be
>
> > > > unambiguous,  because the assumption is always that you sign with
>
> > > > a private key and  verify with a public key, but as a conceptual
>
> > > > framework breaks down for  schemes like HMAC, which ostensibly
>
> > > > have sign and verify (or MAC and  verify, if you prefer, but we're
>
> > > splitting
>
> > > hairs here).
>
> > > >
>
> > > >  WebCrypto desires to be *more* precise than JOSE's imprecise and
>
> > > > overly  broad, implicitly multi-use syntax. That "enc" means four
>
> > > > possible uses,  or that "sig" means two , is a clear sign that
>
> > > > JOSE is already actively  encouraging multiple uses for the same ke=
y.
>
> > > >
>
> > > >  Mike's proposal is basically an admission that the ship has
>
> > > > sailed on this  implicit, multi-valued usage semantic - which, I
>
> > > > can understand and  sympathize with, in the name of backwards
>
> > > > compatibility for an in-draft  spec, but let's recognize that as
>
> > > > spec'd today, JOSE is preferring and  encouraging multiple uses
>
> > > > for the same key in ways that will  unquestionably encourage
>
> > > > people to make bad mistakes (such as multiple  parties using the
>
> > > > same encryption key for traffic in either direction -  requiring
>
> > > > some degree of IV sync)
>
> > > >
>
> > > >  On Tue, December 24, 2013 4:27 pm, John Bradley wrote:
>
> > > > >  Having it be an array encourages multiple uses for the same
>
> > > > > key.  I have  stated many times that encouraging people to do
>
> > > > > that is not a good idea,  and making it easy makes people think i=
t
> is a good idea.
>
> > > > >
>
> > > > >  You can use the single value field and have multiple entries
>
> > > > > with different key containing the same or different keys to do
>
> > > > > the same thing.
>
> > > > >
>
> > > > >  On the practical side "use_details" is better than creating
>
> > > > > crazy dot separated como uses.
>
> > > > >
>
> > > > >  John B.
>
> > > > >
>
> > > > >  On Dec 24, 2013, at 8:26 PM, Mike Jones
>
> > > > > <Michael.Jones@microsoft.com>
>
> > > > >  wrote:
>
> > > > >
>
> > > > > > Hi all,
>
> > > > > >
>
> > > > > > Having reflected upon discussions among WebCrypto and JOSE
>
> > > > > > participants about JWK usage by WebCrypto over the holidays,
>
> > > > > > I'd like to propose the two JOSE spec actions to more closely
>
> > > > > > coordinate
>
> > > > > with WebCrypto:
>
> > > > > >
>
> > > > > > 1.  Change the JWA registry field name from "Implementation
>
> > > > > > Requirements" to "JOSE Implementation Requirements" in the
>
> > > > > > JSON Web Signature and Encryption Algorithms Registry (
>
> > > http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-18#se
>
> > > ction-7.1
>
> > > ).
>
> > > > > >  This will make it clearer that the Implementation
>
> > > > > > Requirements apply only to JWS and JWE implementations - and
>
> > > > > > not other uses of JWK (such as WebCrypto).  This changes only
>
> > > > > > non-normative text and is
>
> > > > > non-breaking.
>
> > > > > >
>
> > > > > > 2.  Define the new JWK field "use_details" for recording
>
> > > > > > intended fine-grained key usage information.  This would
>
> > > > > > enable WebCrypto KeyUsage
>
> > > > > > (https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overvi
>
> > > > > > ew.h
>
> > > > > > tm
>
> > > > > > l#key-interface) values to be used directly with JWK.  The
>
> > > > > > proposed definition is:
>
> > > > > >
>
> > > > > > 3.3.  "use_details" (Key Use Details) Parameter
>
> > > > > >    The "use_details" (key use details) member identifies
>
> > > fine-grained
>
> > > > > >    details the intended use of the key.  Its value is an array =
of
>
> > > > > >    key use details values.  Values defined by this
>
> > > > > > specification
>
> > > are:
>
> > > > > >
>
> > > > > >    o  "sign" (compute signature or MAC)
>
> > > > > >    o  "verify" (verify signature or MAC)
>
> > > > > >    o  "encrypt" (encrypt content)
>
> > > > > >    o  "decrypt" (decrypt content and verify decryption, if
>
> > > applicable)
>
> > > > > >    o  "wrap" (encrypt key)
>
> > > > > >    o  "unwrap" (decrypt key and verify decryption, if applicabl=
e)
>
> > > > > >    o  "deriveKey" (derive key)
>
> > > > > >    o  "deriveBits" (derive bits not to be used as a key)
>
> > > > > >
>
> > > > > >    Other values MAY be used.  Key Use Details values can be
>
> > > registered
>
> > > > > >    in the IANA JSON Web Key Use Details registry defined in
>
> > > > > > Section
>
> > > > > 7.3.
>
> > > > > >    The use details values are case-sensitive strings.
>
> > > > > >    Duplicate use details values MUST NOT be present in the arra=
y.
>
> > > > > >    Use of the "use_details" member is OPTIONAL, unless the
>
> > > application
>
> > > > > >    requires use this member to record fine-grained key usage
>
> > > details.
>
> > > > > >    (Note that the "use_details" values intentionally match the
>
> > > > > > "KeyUsage"
>
> > > > > >    values defined in the WebCrypto [WebCrypto] specification.)
>
> > > > > >
>
> > > > > >    If both "use" and "use_details" JWK members are present,
>
> > > > > > the
>
> > > usages
>
> > > > > >    specified by them MUST be consistent.  In particular, the
> "use"
>
> > > > > value
>
> > > > > >    "sig" corresponds to "sign" and/or "verify".  The "use" valu=
e
>
> > > > > >    "enc" corresponds to all other values defined above.
>
> > > > > >    If "use_details" values corresponding to both "sig" and "enc=
"
>
> > > > > >    "use" values are present, the "use" member SHOULD NOT be
>
> > > present,
>
> > > > > >    and if present, its value MUST NOT be either "sig" or "enc".
>
> > > > > >
>
> > > > > > This is a non-breaking change - allowing simple applications
>
> > > > > > that want to distinguish between signing and encryption
>
> > > > > > operations to continue doing so as they do today, while also
>
> > > > > > providing a multi-valued key usage details field to be used by
>
> > > > > > applications that want to record fine-grained distinctions
>
> > > > > > among potential key usages, including distinguishing between
>
> > > > > > producer and consumer
>
> > > operations.
>
> > > > > >
>
> > > > > > As I see it, while having two related key usage
>
> > > > > > representations isn't ideal, it's far better than having
> WebCrypto overload "use"
>
> > > > > > with multi-valued values encoded in strings, such as
>
> > > > > > "signOnly,verifyOnly", which I believe is their current plan
>
> > > > > > of
>
> > > > > record.
>
> > > > > >
>
> > > > > > Comments?
>
> > > > > >
>
> > > > > >                                                             --
>
> > > > > > Mike
>
> > > > > >
>
> > > > > > P.S.  This proposal was already discussed on the WebCrypto
>
> > > > > > list in the thread
>
> > > > > >
> http://lists.w3.org/Archives/Public/public-webcrypto/2013Dec/0052.
>
> > > > > > ht ml and no objections were raised there that I'm aware of.
>
> > > > > >
>
> > > > > > _______________________________________________
>
> > > > > > jose mailing list
>
> > > > > > jose@ietf.org
>
> > > > > > https://www.ietf.org/mailman/listinfo/jose
>
> > > > >
>
> > > > >  _______________________________________________
>
> > > > >  jose mailing list
>
> > > > >  jose@ietf.org
>
> > > > >  https://www.ietf.org/mailman/listinfo/jose
>
> > > > >
>
> > > >
>
> > > >
>
> > > >  _______________________________________________
>
> > > >  jose mailing list
>
> > > >  jose@ietf.org
>
> > > >  https://www.ietf.org/mailman/listinfo/jose
>
> > > >
>
> > >
>
> > > _______________________________________________
>
> > > jose mailing list
>
> > > jose@ietf.org
>
> > > https://www.ietf.org/mailman/listinfo/jose
>
> > >
>
> >  _______________________________________________
>
> >  jose mailing list
>
> >  jose@ietf.org
>
> >  https://www.ietf.org/mailman/listinfo/jose
>
> >
>
>
>
>
>

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Mon, Dec 30, 2013 at 2:40 PM, Mike Jones <span dir=3D"ltr">&lt;<=
a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jon=
es@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div>
<p>As further background for the discussion, the current &quot;use&quot; de=
finition is based on widely deployed existing practice - the SAML metadata =
specification (<a href=3D"http://docs.oasis-open.org/security/saml/v2.0/sam=
l-metadata-2.0-os.pdf" target=3D"_blank">http://docs.oasis-open.org/securit=
y/saml/v2.0/saml-metadata-2.0-os.pdf</a>),
 which defines &quot;use&quot; as follows in section <a href=3D"http://2.4.=
1.1" target=3D"_blank">2.4.1.1</a>:<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:0.5in"><span style=3D"font-size=
:10pt;font-family:CourierNewPSMT">use
</span><span style=3D"font-size:10pt;font-family:ArialMT">[Optional]<u></u>=
<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:1in"><span style=3D"font-size:1=
0pt;font-family:ArialMT">Optional attribute specifying the purpose of the k=
ey being described. Values are drawn from the<u></u><u></u></span></p>
<p style=3D"margin-left:1in"><b><span style=3D"font-size:10pt;font-family:A=
rial-BoldMT">KeyTypes
</span></b><span style=3D"font-size:10pt;font-family:ArialMT">enumeration, =
and consist of the values
</span><span style=3D"font-size:10pt;font-family:CourierNewPSMT">encryption=
 </span>
<span style=3D"font-size:10pt;font-family:ArialMT">and </span><span style=
=3D"font-size:10pt;font-family:CourierNewPSMT">signing</span><span style=3D=
"font-size:10pt;font-family:ArialMT">.</span><u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>This has been shown to be sufficient in practice for its intended purpos=
e, as has the JWK =93use=94 field.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>I understand your point, Ryan, that for the WebCrypto API use case, ther=
e is sometimes value in distinguishing between the producer and consumer op=
erations for a key.=A0 That=92s part of why I proposed adding =93use_detail=
s=94, so those distinctions
 can be made for the use cases where they do make a difference.<u></u><u></=
u></p>
<p><u></u>=A0<u></u></p>
<p>As for Richard&#39;s proposal, the problem with it is that it would be a=
 breaking change, since if &quot;ku&quot; was present, his proposal would r=
equire different treatment of the &quot;use&quot; field (ignoring it).=A0 <=
/p>
</div></div></blockquote><div>Fair enough.=A0 This revised proposal is not =
a breaking change:<br></div><div>=A0-- Leave &quot;use&quot; in for backwar=
d compatibility.<br><div>-- Define a new field &quot;ku&quot; (Key Usage, o=
r something similar) that has detailed key usage information.<br>

</div><div>-- Deprecate &quot;use&quot;, recommending that new applications=
 use &quot;ku&quot;<br>-- Define the expansion of &quot;use&quot; values to=
 &quot;ku&quot; values<br></div>** If both &quot;ku&quot; and &quot;use&quo=
t; are present, then recipients use the union of the two<br>
<br></div><div>That way, both &quot;ku&quot; and &quot;use&quot; are positi=
ve grants of permission, and they combine.=A0 This solution &quot;fails saf=
e&quot; in the sense that if a recipient doesn&#39;t support one or the oth=
er, then at worst it will not allow a key to be used for a given purpose.<b=
r>
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link=3D"bl=
ue" vlink=3D"purple" lang=3D"EN-US"><div><p>My proposal is not a breaking c=
hange,
 since &quot;use&quot; continues to mean what it always has.=A0 Furthermore=
, my proposal requires that &quot;use&quot; and &quot;use_details&quot; con=
vey consistent information, if both are present.=A0 That seems significantl=
y simpler for consumers of JWKs use than requiring conditional behaviors,
 as Richard=92s proposal does.</p></div></div></blockquote>Nope nope nope.=
=A0 Requiring consistent behavior is a terrible idea, because then you have=
 to specify what a recipient does if they&#39;re not consistent.=A0 The abo=
ve revised proposal is deterministic (not conditional; just take the union)=
, not a breaking change, and doesn&#39;t have this brittleness.<br>
<br></div><div class=3D"gmail_quote">--Richard<br></div><div class=3D"gmail=
_quote"><div><br>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div><p><u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Best wishes,<u></u><u></u></p>
<p>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p></p><div class=3D"im">-----Original Message-----<br>
From: Ryan Sleevi [mailto:<a href=3D"mailto:ryan-ietf@sleevi.com" target=3D=
"_blank">ryan-ietf@sleevi.com</a>] <br></div><div><div class=3D"h5">
Sent: Monday, December 30, 2013 10:25 AM<br>
To: Richard Barnes<br>
Cc: Mike Jones; <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">r=
yan-ietf@sleevi.com</a>; John Bradley; <a href=3D"mailto:jose@ietf.org" tar=
get=3D"_blank">jose@ietf.org</a><br>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordina=
te with WebCrypto</div></div><p></p><div><div class=3D"h5">
<p><u></u>=A0<u></u></p>
<p>On Sat, December 28, 2013 3:12 pm, Richard Barnes wrote:<u></u><u></u></=
p>
<p>&gt;=A0 On Fri, Dec 27, 2013 at 10:50 PM, Mike Jones<u></u><u></u></p>
<p>&gt;=A0 &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" target=3D"_bl=
ank"><span style=3D"color:windowtext;text-decoration:none">Michael.Jones@mi=
crosoft.com</span></a>&gt;wrote:<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt; &gt; It&#39;s my sense of the JOSE working group that most are stro=
ngly
<u></u><u></u></p>
<p>&gt; &gt; opposed to breaking changes at this point.<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 Please don&#39;t claim to represent the WG.=A0 There is a signif=
icant
<u></u><u></u></p>
<p>&gt; contingent=A0 who care about breaking changes, but also a significa=
nt
<u></u><u></u></p>
<p>&gt; group who would=A0 prefer the best, most usable spec we can make,
<u></u><u></u></p>
<p>&gt; regardless of the sins of=A0 the past.<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt; &gt; However, I also believe that most JOSE participants share the
<u></u><u></u></p>
<p>&gt; &gt; sentiment of many WebCrypto participants that it would be bett=
er for
<u></u><u></u></p>
<p>&gt; &gt; all for WebCrypto to use real JWKs, rather than something
<u></u><u></u></p>
<p>&gt; &gt; &quot;JWK-like&quot;.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0=A0 How about this for a compromise proposal:<u></u><u></u></p>
<p>&gt;=A0 -- Leave &quot;use&quot; in for backward compatibility.<u></u><u=
></u></p>
<p>&gt;=A0 -- Define a new field &quot;ku&quot; (Key Usage, or something si=
milar) that has=A0
<u></u><u></u></p>
<p>&gt; detailed key usage information.<u></u><u></u></p>
<p>&gt;=A0 -- Deprecate &quot;use&quot;, recommending that new applications=
 use &quot;ku&quot;; if
<u></u><u></u></p>
<p>&gt; both=A0 are present, &quot;use&quot; MUST be ignored.<u></u><u></u>=
</p>
<p>&gt;=A0 -- Define the expansion of &quot;use&quot; values to &quot;ku&qu=
ot; values<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 That doesn&#39;t break backward compatibilty, but makes detailed=
 control
<u></u><u></u></p>
<p>&gt; the=A0 default going forward.<u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 --Richard<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>As I expressed within WebCrypto, this to me strikes a much more sensible=
 balance of backwards compatibility and extensibility, and hopefully in a w=
ay that allows existing deployments to cleanly transition while allowing ne=
w deployments
 to avoid the limitations of the current drafts.<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>I very much prefer this over use_details for Web Crypto&#39;s use cases.=
<u></u><u></u></p>
<p><u></u>=A0<u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p>&gt;=A0 I believe my proposal is the best-available solution, given the
<u></u><u></u></p>
<p>&gt; current<u></u><u></u></p>
<p>&gt; &gt; realistic constraints.=A0 It might have made better sense for =
a
<u></u><u></u></p>
<p>&gt; &gt; WebCrypto spec to define &quot;use_details&quot; than JOSE, bu=
t if WebCrypto
<u></u><u></u></p>
<p>&gt; &gt; isn&#39;t going to do it, I believe that we&#39;ll all be bett=
er off in the
<u></u><u></u></p>
<p>&gt; &gt; long run if JOSE then does and WebCrypto uses it.<u></u><u></u=
></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Cheers,<u></u><u></u></p>
<p>&gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; -----Original Message-----<u></u><u></u></p>
<p>&gt; &gt; From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.com" tar=
get=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">mailto=
:ryan-ietf@sleevi.com</span></a>]<u></u><u></u></p>
<p>&gt; &gt; Sent: Friday, December 27, 2013 6:46 PM<u></u><u></u></p>
<p>&gt; &gt; To: Mike Jones<u></u><u></u></p>
<p>&gt; &gt; Cc: <a href=3D"mailto:ryan-ietf@sleevi.com" target=3D"_blank">=
<span style=3D"color:windowtext;text-decoration:none">ryan-ietf@sleevi.com<=
/span></a>; John Bradley;
<a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=3D"color:win=
dowtext;text-decoration:none">jose@ietf.org</span></a><u></u><u></u></p>
<p>&gt; &gt; Subject: Re: [jose] Two proposed JOSE spec actions to more clo=
sely
<u></u><u></u></p>
<p>&gt; &gt; coordinate with WebCrypto<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; On Fri, December 27, 2013 5:58 pm, Mike Jones wrote:<u></u><u>=
</u></p>
<p>&gt; &gt; &gt;=A0 I disagree that &quot;use&quot; allows multiple uses.=
=A0 Sign/Verify both use
<u></u><u></u></p>
<p>&gt; &gt; &gt; the same=A0 algorithm with the same key - just in a produ=
cer/consumer role.<u></u><u></u></p>
<p>&gt; &gt; &gt; There=A0 would only be a security problem if the same key=
 was used
<u></u><u></u></p>
<p>&gt; &gt; &gt; with<u></u><u></u></p>
<p>&gt; &gt; &gt; *different*=A0 algorithms.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 For symmetric keys, Sign/Verify operations are actuall=
y the same,
<u></u><u></u></p>
<p>&gt; &gt; &gt; so in=A0 that case, this is a distinction without a diffe=
rence.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 You may consider the producer/consumer distinction to =
be multiple
<u></u><u></u></p>
<p>&gt; &gt; &gt; uses,=A0 but only in an academic sense.=A0 You have to pe=
rform both
<u></u><u></u></p>
<p>&gt; &gt; &gt; with the same key=A0 pair or symmetric key for the end-to=
-end
<u></u><u></u></p>
<p>&gt; &gt; &gt; cryptography to<u></u><u></u></p>
<p>&gt; &gt; be meaningful.<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Doing one without the other is incomplete.=A0 (What go=
od is signing
<u></u><u></u></p>
<p>&gt; &gt; &gt; if the=A0 signature is never verified?)<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; Hi Mike,<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I don&#39;t think it&#39;s fair to compare them as the same, a=
nd it&#39;s very
<u></u><u></u></p>
<p>&gt; &gt; much a practical, and not an academic case.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; In a Sign() operation, the input is arbitrary plaintext and th=
e
<u></u><u></u></p>
<p>&gt; &gt; output is a signature corresponding to that plaintext; an orac=
le, if
<u></u><u></u></p>
<p>&gt; &gt; you will - as you would want.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; In an API (although not necessarily in JWE/JWS, and understand=
ably
<u></u><u></u></p>
<p>&gt; &gt; so), a<u></u><u></u></p>
<p>&gt; &gt; Verify() operation permits arbitrary plaintext as the input, b=
ut
<u></u><u></u></p>
<p>&gt; &gt; also requires the signature to be verified. The only output is=
 a
<u></u><u></u></p>
<p>&gt; &gt; boolean - whether or not the signature is correct.<u></u><u></=
u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; The goal of &quot;restricting&quot; the uses here would be to =
allow key
<u></u><u></u></p>
<p>&gt; &gt; storage not necessarily under the control of the caller. In
<u></u><u></u></p>
<p>&gt; &gt; WebCrypto, this is the distinction between the executing JS (s=
erved
<u></u><u></u></p>
<p>&gt; &gt; by the web page) and the UA implementation. It&#39;s a concept=
 borrowed
<u></u><u></u></p>
<p>&gt; &gt; from any number of other good cryptographic APIs (eg: those th=
at are
<u></u><u></u></p>
<p>&gt; &gt; designed with the notion of opaque key storage)<u></u><u></u><=
/p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; With a symmetric key only permitted for a &quot;Verify&quot; o=
peration, the
<u></u><u></u></p>
<p>&gt; &gt; only way to generate a signature for an arbitrary message is<u=
></u><u></u></p>
<p>&gt; &gt; a) Compromise the key storage<u></u><u></u></p>
<p>&gt; &gt; b) Iterate through all possible signature combinations until y=
ou get
<u></u><u></u></p>
<p>&gt; &gt; &quot;true&quot; as the Verify() result.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; b) may be aided by any number of implementation issues (eg:
<u></u><u></u></p>
<p>&gt; &gt; non-constant time comparisons, among others), but is ultimatel=
y
<u></u><u></u></p>
<p>&gt; &gt; &quot;tricky&quot;. a) is dependent on implementations, and ca=
n be aided or
<u></u><u></u></p>
<p>&gt; &gt; harmed through a variety of means.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; Combining these two usages into a single use case - which, I a=
gree,
<u></u><u></u></p>
<p>&gt; &gt; is probably perfectly acceptable if imagining as a transport-o=
nly
<u></u><u></u></p>
<p>&gt; &gt; exchange<u></u><u></u></p>
<p>&gt; &gt; -<u></u><u></u></p>
<p>&gt; &gt; can thus have real and meaningful differences when used at an =
API level.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Likewise, Encrypt/Decrypt and Wrap/Unwrap make produce=
r/consumer
<u></u><u></u></p>
<p>&gt; &gt; &gt; distinctions, but also only use a single key with a singl=
e
<u></u><u></u></p>
<p>&gt; &gt; &gt; algorithm - therefore no security problem.<u></u><u></u><=
/p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 =3D=3D=3D=3D<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 For what it&#39;s worth, I think the different key use=
 representation
<u></u><u></u></p>
<p>&gt; &gt; &gt; choices=A0 stems from JOSE being a high-level API that tr=
ies to make
<u></u><u></u></p>
<p>&gt; &gt; &gt; simple things=A0 simple and WebCrypto being a low-level A=
PI that
<u></u><u></u></p>
<p>&gt; &gt; &gt; tries<u></u><u></u></p>
<p>&gt; &gt; to<u></u><u></u></p>
<p>&gt; &gt; be complete.<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Both are valid and useful.=A0 These differences show u=
p in lots of
<u></u><u></u></p>
<p>&gt; &gt; &gt; places=A0 besides just key usage representations.<u></u><=
u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; Absolutely agree here. This is why WebCrypto explored whether =
we
<u></u><u></u></p>
<p>&gt; &gt; should do something &quot;JWK-like&quot;, but suitable at an A=
PI layer and for
<u></u><u></u></p>
<p>&gt; &gt; it&#39;s goals, and &quot;trivially&quot; convertable with JWK=
 - but by script
<u></u><u></u></p>
<p>&gt; &gt; authors. The WebCrypto WG wasn&#39;t fond of it, which is
<u></u><u></u></p>
<p>&gt; &gt; understandable, and why I&#39;m here.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Anyway, the purpose of my proposal is to try to make t=
hings
<u></u><u></u></p>
<p>&gt; &gt; &gt; easier for=A0 WebCrypto.=A0 I hope people will get behind=
 it.=A0 Yes,
<u></u><u></u></p>
<p>&gt; &gt; &gt; having both simple and=A0 detailed key usage representati=
ons seems odd at first.<u></u><u></u></p>
<p>&gt; &gt; &gt; But they&#39;re=A0 designed to address different goals fo=
r different
<u></u><u></u></p>
<p>&gt; &gt; &gt; kinds<u></u><u></u></p>
<p>&gt; &gt; of<u></u><u></u></p>
<p>&gt; &gt; applications.<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 The alternatives (such as &quot;signOnly,verifyOnly&qu=
ot;, etc.) that are
<u></u><u></u></p>
<p>&gt; &gt; &gt; currently=A0 being considered are much worse.<u></u><u></=
u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -- Mike<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I agree that changing to an array will almost certainly break =
every
<u></u><u></u></p>
<p>&gt; &gt; implementation to date.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I agree that comma-separated is horribad and should be avoided=
, even
<u></u><u></u></p>
<p>&gt; &gt; if it &quot;solves&quot; the backwards compat issue.<u></u><u>=
</u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; I think your solution is a reasonable attempt to mediate the i=
ssues
<u></u><u></u></p>
<p>&gt; &gt; of backwards compatibility with the use cases of WebCrypto. Ho=
wever,
<u></u><u></u></p>
<p>&gt; &gt; I&#39;m still on the fence as to whether or not it really is
<u></u><u></u></p>
<p>&gt; &gt; unreasonable to &quot;break&quot;<u></u><u></u></p>
<p>&gt; &gt; backwards compatibility here - there seems to be a compelling =
case
<u></u><u></u></p>
<p>&gt; &gt; here as to why even something like [&quot;sign&quot;, &quot;ve=
rify&quot;] should be
<u></u><u></u></p>
<p>&gt; &gt; distinct usages.<u></u><u></u></p>
<p>&gt; &gt; I<u></u><u></u></p>
<p>&gt; &gt; know the bar is incredibly high right now, given JOSE&#39;s mo=
mentum,
<u></u><u></u></p>
<p>&gt; &gt; but I didn&#39;t think that JOSE was past the point of no retu=
rn.<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 -----Original Message-----<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 From: Ryan Sleevi [<a href=3D"mailto:ryan-ietf@sleevi.=
com" target=3D"_blank"><span style=3D"color:windowtext;text-decoration:none=
">mailto:ryan-ietf@sleevi.com</span></a>]<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Sent: Friday, December 27, 2013 2:13 PM<u></u><u></u><=
/p>
<p>&gt; &gt; &gt;=A0 To: John Bradley<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Cc: Mike Jones; <a href=3D"mailto:jose@ietf.org" targe=
t=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">jose@iet=
f.org</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Subject: Re: [jose] Two proposed JOSE spec actions to =
more
<u></u><u></u></p>
<p>&gt; &gt; &gt; closely coordinate with WebCrypto<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 I&#39;m sorry, John, but by your logic, JOSE is not fo=
llowing your
<u></u><u></u></p>
<p>&gt; &gt; &gt; own<u></u><u></u></p>
<p>&gt; &gt; advice.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 &quot;enc&quot; is already a multiple-use for a key - =
it allows for both
<u></u><u></u></p>
<p>&gt; &gt; &gt; encryption=A0 and decryption. For that matter, wrap and u=
nwrap,
<u></u><u></u></p>
<p>&gt; &gt; &gt; which are supposed to be=A0 inferred based on algorithm, =
which is a
<u></u><u></u></p>
<p>&gt; &gt; &gt; JWE/JWS specific aspect, and not=A0 an intrinsic aspect o=
f<u></u><u></u></p>
<p>&gt; &gt; JWK-as-key-representation.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Likewise, &quot;sig&quot; implies sign AND verify, whi=
ch is meant to be
<u></u><u></u></p>
<p>&gt; &gt; &gt; unambiguous,=A0 because the assumption is always that you=
 sign with
<u></u><u></u></p>
<p>&gt; &gt; &gt; a private key and=A0 verify with a public key, but as a c=
onceptual
<u></u><u></u></p>
<p>&gt; &gt; &gt; framework breaks down for=A0 schemes like HMAC, which ost=
ensibly
<u></u><u></u></p>
<p>&gt; &gt; &gt; have sign and verify (or MAC and=A0 verify, if you prefer=
, but we&#39;re<u></u><u></u></p>
<p>&gt; &gt; splitting<u></u><u></u></p>
<p>&gt; &gt; hairs here).<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 WebCrypto desires to be *more* precise than JOSE&#39;s=
 imprecise and
<u></u><u></u></p>
<p>&gt; &gt; &gt; overly=A0 broad, implicitly multi-use syntax. That &quot;=
enc&quot; means four
<u></u><u></u></p>
<p>&gt; &gt; &gt; possible uses,=A0 or that &quot;sig&quot; means two , is =
a clear sign that
<u></u><u></u></p>
<p>&gt; &gt; &gt; JOSE is already actively=A0 encouraging multiple uses for=
 the same key.<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 Mike&#39;s proposal is basically an admission that the=
 ship has
<u></u><u></u></p>
<p>&gt; &gt; &gt; sailed on this=A0 implicit, multi-valued usage semantic -=
 which, I
<u></u><u></u></p>
<p>&gt; &gt; &gt; can understand and=A0 sympathize with, in the name of bac=
kwards
<u></u><u></u></p>
<p>&gt; &gt; &gt; compatibility for an in-draft=A0 spec, but let&#39;s reco=
gnize that as
<u></u><u></u></p>
<p>&gt; &gt; &gt; spec&#39;d today, JOSE is preferring and=A0 encouraging m=
ultiple uses
<u></u><u></u></p>
<p>&gt; &gt; &gt; for the same key in ways that will=A0 unquestionably enco=
urage
<u></u><u></u></p>
<p>&gt; &gt; &gt; people to make bad mistakes (such as multiple=A0 parties =
using the
<u></u><u></u></p>
<p>&gt; &gt; &gt; same encryption key for traffic in either direction -=A0 =
requiring
<u></u><u></u></p>
<p>&gt; &gt; &gt; some degree of IV sync)<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 On Tue, December 24, 2013 4:27 pm, John Bradley wrote:=
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 Having it be an array encourages multiple uses fo=
r the same
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; key.=A0 I have=A0 stated many times that encouraging=
 people to do
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; that is not a good idea,=A0 and making it easy makes=
 people think it is a good idea.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 You can use the single value field and have multi=
ple entries
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; with different key containing the same or different =
keys to do
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; the same thing.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 On the practical side &quot;use_details&quot; is =
better than creating
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; crazy dot separated como uses.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 John B.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 On Dec 24, 2013, at 8:26 PM, Mike Jones <u></u><u=
></u></p>
<p>&gt; &gt; &gt; &gt; &lt;<a href=3D"mailto:Michael.Jones@microsoft.com" t=
arget=3D"_blank"><span style=3D"color:windowtext;text-decoration:none">Mich=
ael.Jones@microsoft.com</span></a>&gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 wrote:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Hi all,<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Having reflected upon discussions among WebCryp=
to and JOSE
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; participants about JWK usage by WebCrypto over =
the holidays,
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; I&#39;d like to propose the two JOSE spec actio=
ns to more closely
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; coordinate<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; with WebCrypto:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; 1.=A0 Change the JWA registry field name from &=
quot;Implementation
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Requirements&quot; to &quot;JOSE Implementation=
 Requirements&quot; in the
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; JSON Web Signature and Encryption Algorithms Re=
gistry (<u></u><u></u></p>
<p>&gt; &gt; <a href=3D"http://tools.ietf.org/html/draft-ietf-jose-json-web=
-algorithms-18#se" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">http://tools.ietf.org=
/html/draft-ietf-jose-json-web-algorithms-18#se</span></a><u></u><u></u></p=
>
<p>&gt; &gt; ction-7.1<u></u><u></u></p>
<p>&gt; &gt; ).<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0 This will make it clearer that the Implement=
ation
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Requirements apply only to JWS and JWE implemen=
tations - and
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; not other uses of JWK (such as WebCrypto).=A0 T=
his changes only
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; non-normative text and is<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; non-breaking.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; 2.=A0 Define the new JWK field &quot;use_detail=
s&quot; for recording
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; intended fine-grained key usage information.=A0=
 This would
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; enable WebCrypto KeyUsage <u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; (<a href=3D"https://dvcs.w3.org/hg/webcrypto-ap=
i/raw-file/tip/spec/Overvi" target=3D"_blank"><span style=3D"color:windowte=
xt;text-decoration:none">https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/=
spec/Overvi</span></a><u></u><u></u></p>

<p>&gt; &gt; &gt; &gt; &gt; ew.h<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; tm<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; l#key-interface) values to be used directly wit=
h JWK.=A0 The
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; proposed definition is:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; 3.3.=A0 &quot;use_details&quot; (Key Use Detail=
s) Parameter<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The &quot;use_details&quot; (key use d=
etails) member identifies<u></u><u></u></p>
<p>&gt; &gt; fine-grained<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 details the intended use of the key.=
=A0 Its value is an array of<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 key use details values.=A0 Values defi=
ned by this
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; specification<u></u><u></u></p>
<p>&gt; &gt; are:<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;sign&quot; (compute signatu=
re or MAC)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;verify&quot; (verify signat=
ure or MAC)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;encrypt&quot; (encrypt cont=
ent)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;decrypt&quot; (decrypt cont=
ent and verify decryption, if<u></u><u></u></p>
<p>&gt; &gt; applicable)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;wrap&quot; (encrypt key)<u>=
</u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;unwrap&quot; (decrypt key a=
nd verify decryption, if applicable)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveKey&quot; (derive key=
)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 o=A0 &quot;deriveBits&quot; (derive bi=
ts not to be used as a key)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Other values MAY be used.=A0 Key Use D=
etails values can be<u></u><u></u></p>
<p>&gt; &gt; registered<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 in the IANA JSON Web Key Use Details r=
egistry defined in
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Section<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; 7.3.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 The use details values are case-sensit=
ive strings.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Duplicate use details values MUST NOT =
be present in the array.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 Use of the &quot;use_details&quot; mem=
ber is OPTIONAL, unless the<u></u><u></u></p>
<p>&gt; &gt; application<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 requires use this member to record fin=
e-grained key usage<u></u><u></u></p>
<p>&gt; &gt; details.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 (Note that the &quot;use_details&quot;=
 values intentionally match the
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; &quot;KeyUsage&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 values defined in the WebCrypto [WebCr=
ypto] specification.)<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If both &quot;use&quot; and &quot;use_=
details&quot; JWK members are present,
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; the<u></u><u></u></p>
<p>&gt; &gt; usages<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 specified by them MUST be consistent.=
=A0 In particular, the &quot;use&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; value<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;sig&quot; corresponds to &quot;s=
ign&quot; and/or &quot;verify&quot;.=A0 The &quot;use&quot; value<u></u><u>=
</u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;enc&quot; corresponds to all oth=
er values defined above.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 If &quot;use_details&quot; values corr=
esponding to both &quot;sig&quot; and &quot;enc&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 &quot;use&quot; values are present, th=
e &quot;use&quot; member SHOULD NOT be<u></u><u></u></p>
<p>&gt; &gt; present,<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0 and if present, its value MUST NOT be =
either &quot;sig&quot; or &quot;enc&quot;.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; This is a non-breaking change - allowing simple=
 applications
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; that want to distinguish between signing and en=
cryption
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; operations to continue doing so as they do toda=
y, while also
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; providing a multi-valued key usage details fiel=
d to be used by
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; applications that want to record fine-grained d=
istinctions
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; among potential key usages, including distingui=
shing between
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; producer and consumer<u></u><u></u></p>
<p>&gt; &gt; operations.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; As I see it, while having two related key usage
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; representations isn&#39;t ideal, it&#39;s far b=
etter than having WebCrypto overload &quot;use&quot;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; with multi-valued values encoded in strings, su=
ch as
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; &quot;signOnly,verifyOnly&quot;, which I believ=
e is their current plan
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; of<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; record.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Comments?<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; Mike<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; P.S.=A0 This proposal was already discussed on =
the WebCrypto
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; list in the thread <u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; <a href=3D"http://lists.w3.org/Archives/Public/=
public-webcrypto/2013Dec/0052" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">http://lists.w3.org/A=
rchives/Public/public-webcrypto/2013Dec/0052</span></a>.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; ht ml and no objections were raised there that =
I&#39;m aware of.<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; _______________________________________________=
<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; jose mailing list<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_bla=
nk"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.org</sp=
an></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinf=
o/jose" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 _______________________________________________<u=
></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 jose mailing list<u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank=
"><span style=3D"color:windowtext;text-decoration:none">jose@ietf.org</span=
></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/=
jose" target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 _______________________________________________<u></u>=
<u></u></p>
<p>&gt; &gt; &gt;=A0 jose mailing list<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank"><sp=
an style=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a>=
<u></u><u></u></p>
<p>&gt; &gt; &gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose"=
 target=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt; &gt;<u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt; &gt; _______________________________________________<u></u><u></u><=
/p>
<p>&gt; &gt; jose mailing list<u></u><u></u></p>
<p>&gt; &gt; <a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=
=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a><u></u><=
u></u></p>
<p>&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=
=3D"_blank">
<span style=3D"color:windowtext;text-decoration:none">https://www.ietf.org/=
mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt; &gt;<u></u><u></u></p>
<p>&gt;=A0 _______________________________________________<u></u><u></u></p=
>
<p>&gt;=A0 jose mailing list<u></u><u></u></p>
<p>&gt;=A0 <a href=3D"mailto:jose@ietf.org" target=3D"_blank"><span style=
=3D"color:windowtext;text-decoration:none">jose@ietf.org</span></a><u></u><=
u></u></p>
<p>&gt;=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D=
"_blank"><span style=3D"color:windowtext;text-decoration:none">https://www.=
ietf.org/mailman/listinfo/jose</span></a><u></u><u></u></p>
<p>&gt;<u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
<p><u></u>=A0<u></u></p>
</div></div></div>
</div>

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

--047d7b2e4d52e9422504eed79af7--

From Michael.Jones@microsoft.com  Tue Dec 31 11:19:01 2013
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 436BB1AE2F4 for <jose@ietfa.amsl.com>; Tue, 31 Dec 2013 11:19:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xlrk56wMw1se for <jose@ietfa.amsl.com>; Tue, 31 Dec 2013 11:18:50 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0205.outbound.protection.outlook.com [207.46.163.205]) by ietfa.amsl.com (Postfix) with ESMTP id F2F171AE2EA for <jose@ietf.org>; Tue, 31 Dec 2013 11:18:49 -0800 (PST)
Received: from BL2PR03MB209.namprd03.prod.outlook.com (10.255.230.140) by BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) with Microsoft SMTP Server (TLS) id 15.0.842.7; Tue, 31 Dec 2013 19:18:36 +0000
Received: from DM2PR03CA006.namprd03.prod.outlook.com (10.141.52.154) by BL2PR03MB209.namprd03.prod.outlook.com (10.255.230.140) with Microsoft SMTP Server (TLS) id 15.0.842.7; Tue, 31 Dec 2013 19:18:34 +0000
Received: from BN1AFFO11FD020.protection.gbl (2a01:111:f400:7c10::125) by DM2PR03CA006.outlook.office365.com (2a01:111:e400:2414::26) with Microsoft SMTP Server (TLS) id 15.0.842.7 via Frontend Transport; Tue, 31 Dec 2013 19:18:34 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD020.mail.protection.outlook.com (10.58.52.80) with Microsoft SMTP Server (TLS) id 15.0.837.10 via Frontend Transport; Tue, 31 Dec 2013 19:18:33 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.67]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.03.0158.002; Tue, 31 Dec 2013 19:18:05 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Richard Barnes <rlb@ipv.sx>
Thread-Topic: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
Thread-Index: AQHPA1Dx6L6LBqGWlE+4T7dnGrTOlZpo1unAgAAQVgCAABDwkIABRb8AgALUdoCAABBGYIAAF1AAgAAGxH2AAAT4/YAAB0KAgAAK9T2AATXPgIAAHmFg
Date: Tue, 31 Dec 2013 19:18:03 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739437CD86718@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739437CD547AD@TK5EX14MBXC286.redmond.corp.microsoft.com> <DF679DE2-BA51-417D-BA62-FE44A63273B4@ve7jtb.com> <9a000deb4c505a5a3ab26e415723e4b2.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6B973@TK5EX14MBXC287.redmond.corp.microsoft.com> <27c2629097883c22d4a4475b0f65e4df.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD6BBD2@TK5EX14MBXC287.redmond.corp.microsoft.com> <CAL02cgTD-XxAULAFTGPh=H-3wx-FzCmpsbpwJShF101378UBKg@mail.gmail.com> <126495f6b64d2a99906cdbd3a722e415.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD80072@TK5EX14MBXC286.redmond.corp.microsoft.com> <f073306531f58c91388f6f3b04617243.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD801F0@TK5EX14MBXC286.redmond.corp.microsoft.com> <4E1F6AAD24975D4BA5B16804296739437CD81A44@TK5EX14MBXC286.redmond.corp.microsoft.com> <4efdd964d3f6999c768f53aa6e53cc7c.squirrel@webmail.dreamhost.com> <4E1F6AAD24975D4BA5B16804296739437CD81B45@TK5EX14MBXC286.redmond.corp.microsoft.com> <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com>
In-Reply-To: <CAL02cgRHbHR7JJRLqOxQJE1e1nHHtw4q_-bs80i30rqrsCa5JQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739437CD86718TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(189002)(35774003)(199002)(24454002)(52314003)(243025003)(13464003)(51704005)(377454003)(479174003)(53754006)(53806001)(85852003)(83072002)(54356001)(51856001)(6806004)(46102001)(74502001)(56816005)(16236675002)(512934002)(4396001)(81342001)(47976001)(19580395003)(19580405001)(44976005)(77982001)(56776001)(83322001)(59766001)(81542001)(74876001)(55846006)(47736001)(79102001)(54316002)(90146001)(81816001)(76786001)(50986001)(81686001)(15975445006)(561944002)(76482001)(69226001)(77096001)(71186001)(87936001)(74662001)(14971765001)(31966008)(74706001)(16297215004)(47446002)(19300405004)(49866001)(74366001)(84326002)(63696002)(2656002)(20776003)(66066001)(85806002)(15202345003)(65816001)(80976001)(85306002)(80022001)(87266001)(33656001)(76796001)(559001)(579004)(569005); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB209; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 00770C4423
X-OriginatorOrg: microsoft.com
Cc: "ryan-ietf@sleevi.com" <ryan-ietf@sleevi.com>, John Bradley <ve7jtb@ve7jtb.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Two proposed JOSE spec actions to more closely coordinate with WebCrypto
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Dec 2013 19:19:01 -0000

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

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

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

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

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

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

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

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

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

--Richard



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

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

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

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

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

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

Let me try to state the problem differently:

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

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

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

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



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

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

--_000_4E1F6AAD24975D4BA5B16804296739437CD86718TK5EX14MBXC286r_--

