
From fluffy@cisco.com  Sun Nov  6 15:01:38 2011
Return-Path: <fluffy@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9469F21F84CB for <jose@ietfa.amsl.com>; Sun,  6 Nov 2011 15:01:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.403
X-Spam-Level: 
X-Spam-Status: No, score=-106.403 tagged_above=-999 required=5 tests=[AWL=0.196, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EMR7Btl6Ry8v for <jose@ietfa.amsl.com>; Sun,  6 Nov 2011 15:01:37 -0800 (PST)
Received: from mtv-iport-4.cisco.com (mtv-iport-4.cisco.com [173.36.130.15]) by ietfa.amsl.com (Postfix) with ESMTP id C9EA621F84C2 for <jose@ietf.org>; Sun,  6 Nov 2011 15:01:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=fluffy@cisco.com; l=212; q=dns/txt; s=iport; t=1320620497; x=1321830097; h=from:content-transfer-encoding:subject:date:message-id: to:mime-version; bh=H0IjpTgvvDeNUnM3uCBnAYyK4JJLjpwXVDvwb7lQ3wU=; b=nK6LZS1p2ulpY8D5k3h3KA0e9SwCfo73BLQjyUZ6lmdGs7KRnTHcqnHT /KdFXue6t0DOp+RQbDrT80FlOWToeUQsRLbKkJPfAMPxO7qs7MVJS5q8k e2pYgM2L5lnsKsUwLaGggRdON7aZzr8uf5fiL3YQDeuj34mIfOf5EO710 g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsITAGgRt06rRDoJ/2dsb2JhbAAiIZpPjzGBBYILASeCMp1IgSYBnUKISGMEiAuMFoUxjFs
X-IronPort-AV: E=Sophos;i="4.69,465,1315180800"; d="scan'208";a="12606414"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-4.cisco.com with ESMTP; 06 Nov 2011 23:01:36 +0000
Received: from [192.168.4.100] (sjc-fluffy-8914.cisco.com [10.20.249.165]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id pA6N1aFq026539 for <jose@ietf.org>; Sun, 6 Nov 2011 23:01:36 GMT
From: Cullen Jennings <fluffy@cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sun, 6 Nov 2011 16:01:35 -0700
Message-Id: <F27751ED-3F3B-4EDD-B3D3-0B5D4AC800ED@cisco.com>
To: jose@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
Subject: [jose] Agenda for JOSE
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Nov 2011 23:01:38 -0000

The way the draft names are in the agenda breaks the script that =
generates the tar ball for printing - not a a big deal but be sort of =
nice to just makes these be the actually draft names so that works.



From ietf@augustcellars.com  Sat Nov 12 00:52:34 2011
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61CF421F85C7 for <jose@ietfa.amsl.com>; Sat, 12 Nov 2011 00:52:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.38
X-Spam-Level: 
X-Spam-Status: No, score=-2.38 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_LOW=-1, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id an27FvyY05ZF for <jose@ietfa.amsl.com>; Sat, 12 Nov 2011 00:52:33 -0800 (PST)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 6250A21F84ED for <jose@ietf.org>; Sat, 12 Nov 2011 00:52:33 -0800 (PST)
Received: from Tobias (unknown [210.229.158.64]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id DED3A2CA13; Sat, 12 Nov 2011 00:52:31 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <draft-jones-json-web-signature@tools.ietf.org>
Date: Sat, 12 Nov 2011 17:51:58 +0900
Message-ID: <017201cca118$5883ee30$098bca90$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AcydAC1ZyMCYdH1nSHiQnx6fNbxIaQ==
Cc: jose@ietf.org
Subject: [jose] Comments on the -03 JSON Web Signature document
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Nov 2011 08:52:34 -0000

The following comments are personal and do not necessarily reflect the
opinions of the chairs.

I just started at the front and started reading so there are probably
duplicates with section 9

1.  I have a personal problem with the fact that the draft is still named
"JSON Web Signature" rather than something like "JSON Integrity Objects".  I
doubt that I am the only person who has this issue given the number of
people who gave opinions during the charter discussion and the resulting
charter description "JSON-structured integrity protection to data".  This
becomes a major re-write of the document internally as well.

2. As per the charter description, I expect that section 6 is moving to a
new document.  When should this be expected?

3.   In Section 2, why not describe the JWS Header as the JSON object rather
than as the string containing the object.  Additionally I would note that
the integrity protection is applied to the Encoded JWS Header and the
Encoded JWS Payload in the current document.

4. Please re-write the term "Digital Signature" in section 2 to reflect
charter consensus.

5. In section 2 - Base64url Encoding - s/to the he/to the/

6.  In section 3 (pre 3.1), this does not seem to be a reasonable place to
put a MUST - it would go better in the description of the header itself.

7.  In section 3 para #1 - I don't know why there should be a reference at
this point to JWTs.  JWTs should become a profile of this document and the
encryption document.  At most it is a driving reason for doing this document
and not the other way around.  (i.e. lose the text from 'as is done' on)

8.  In section 3 para #2 - The second sentence does not flow from the first.
Either you are describing what the Payload is in a basic thing - or you need
to describe the fact that the JWS header is signed in the previous sentence
so that the "A portion of" clause makes sense.

9.  Is "member names" considered to be a normal method to refer to the
elements in an object?    If so then no objections, if not then I would
rationalize the string.  I normally see something like name/value pairs so I
don't know where "member" came from.

10.  In section 3.1 - you need to respect the limit on number of columns in
your example.

11. In section 3.1 - you have not completed the example as you have not
shown the final JWS encoding.

12.  In section 4 - Is JWS being rejected for processing the same as saying
the integrity protection failed or is it a different error?  Is this
protocol dependent in terms of what type of errors are to be returned by the
surrounding protocol?

13.  Section 4.1 - I find the table version to be difficult to read given
the amount of text in the semantics field.  Having this many really short
lines inhibits readability.

14.  'alg' says both that the parameter is required and that "if present".
If it is required then the "if present" would seem to be incorrect.

15.  The values in table 3 are not reserved but defined (i.e. we are not
reserving them for future use)

16.  The text states that the key must be associated with the signer of the
content.   The current document for json keys does not have any way of
associating a key with the signer.  What does this requirement really mean?

17.  I would suggest that the text reference the fact that an IANA table is
going exist with a set of publicly defined values for the alg header
parameter.

18.  It would be useful to know if there was going to be any registry for
the "typ" header.  If not, then it would be useful to state that the values
of the "typ" header are based on agreement between the parties.  It would
also be useful to state the expected behavior in the case the the value of
the typ field is either unknown, does not match the expected value or is
missing.  Are values of the "typ" field supposed to have the same type of
public/private values as does algorithm?  If not what happens when a
collision exists between two different applications?

19.  'kid' parameter - I want to write a library to deal with this
specification I don't know what to do with the kid parameter.  It would be
more useful if you specified what would go in this value if the jku or x5u
fields were used.  Why would I not use the kid field rather than the x5t
parameter using the same value?  Why is this parameter even defined if one
does not know how to use it.

20. 'x5u' parameter - I think you want to be able to allow for a bare x509
certificate w/ no packaging.  This is a very common method of having
pointers to certificates as well.  This would not be pulling a certificate
chain (which would require a CMS degenerate signed data blob) but a single
certificate.

21. 'x5t' parameter - there may be push back from the security ADs on the
IESG about the fact that this is not an algorithm agnostic manner of doing
this.  What would the correct way be for using the SHA-256 hash rather than
the SHA-1 hash as a thumbprint for the certificate?   One way would be to do
an <algorithm>:<value> pair and saying that the "sha1:" can be omitted.

22.  Please give me a test that I can use to validate the following protocol
requirement from section 4.2:
In each case, the definer
   of the name or value MUST take reasonable precautions to make sure
   they are in control of the part of the namespace they use to define
   the header parameter name.
This is a case where I believe that the MUST should not be a protocol
requirement.

23.  Having done a much more detailed read.  The last para in section 4.2
can be expanded as follows:

New header parameters should be introduced sparingly, an implementation
which does not understand a newly introduced parameter will fail validate of
the JWS.  However, uses which use the JWS structure but define additional
semantics, such as the JSON Web Token usage, are expected to define
additional public header parameters.

24.  Why MUST I do the following steps (since to me this implies an order of
operations).  Is there a reason that I cannot do things in the order of 3,
4, 5, 1, 2, 6, 7?

25.  In section 5,create step 3 - I am confused because when you say create
the object I think of the code
	Obj = {"alg": "RSA-SHA256"}
Given that, I don't understand what the text dealing with canonicalization
and white space is about.  This would deal with the serialized object rather
than the object itself.  But you have not said create and serialize the
object.  In my mind an object is a blob and a serialized object is one
representation of  the object, but it is not the actual object.

26. Reverse steps 1 and 2 in the validation process.  That is the more
likely order to be dealing with things.  I would also move steps 3 and 5 to
before the current step 2. It makes more sense to completely deal with the
header and then move the body rather than jumping back and forth.  If you
make the result prescriptive rather than the steps it will allow people to
do things in any order desired.

27.  There is a lack of flow between the paragraph that says see section 8
because comparing Unicode strings is hard and the text in that says this is
how to do it.

28.  It would be good at this point to say if the normal methods of looking
up an field name are going to work according to the text you have outlined.
i.e. should one expect that aobj.alg is going to return the right answer?

29.  Add reference to RFC 4868

30.  Section 6.1 - step 2 - it was not immediately clear to me which was the
previously generated HMAC - i.e. the one from step 1 or the one from the
previous step 1.

31.  Section 6.1 - is there a reason to compare the values as base64url
encoded rather than in the native binary values?

21, Section 6.1 - The last para states that there is a correspondingly
longer key and result.  While the result is going to be longer, there is no
requirement that the key be longer unless you are going to make a statement
to that effect.  One could use a 512 bit key for all of the algorithms.

22. section 6.2 - I don't consider the header parameter methods to
necessarily be retrieval methods - i.e. hash of cert does not tell you how
to find it.  

23.  Section 6.4 - I would have a recommendation that the the xml digsig
(and the mime?) ones would not be permittable if there is a different one
defined here.  Also you do not say what should be done if I wanted to use
the RSA PSS XML Digsig url in terms of setting paraemters - do I put the xml
encoding into the parameters?

24. Section 8.1 - can JSON names include strings outside of the Basic
Multlingual plane?







From jimsch@augustcellars.com  Sat Nov 12 00:52:34 2011
Return-Path: <jimsch@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 139C921F86AA for <jose@ietfa.amsl.com>; Sat, 12 Nov 2011 00:52:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.98
X-Spam-Level: 
X-Spam-Status: No, score=-2.98 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JtmHlL5OifTn for <jose@ietfa.amsl.com>; Sat, 12 Nov 2011 00:52:33 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 6256621F85C7 for <jose@ietf.org>; Sat, 12 Nov 2011 00:52:33 -0800 (PST)
Received: from Tobias (unknown [210.229.158.64]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 00D3238F0E; Sat, 12 Nov 2011 00:52:31 -0800 (PST)
From: "Jim Schaad" <jimsch@augustcellars.com>
To: <jose@ietf.org>, <draft-jones-json-web-encryption@ietf.org>
Date: Sat, 12 Nov 2011 17:51:58 +0900
Message-ID: <017101cca118$5883ee30$098bca90$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: Acyg0zPto4vE/gwcRJiEJOYEK7bXJA==
X-Mailman-Approved-At: Sat, 12 Nov 2011 22:26:12 -0800
Subject: [jose] Comments on the JSON Web Encryption document
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Nov 2011 08:52:34 -0000

Here are a set of comments on the web encryption document.  These comments
reflect my personal opinions and not necessarily those of the chairs.

1.  In section 3 - I would reference the JSON Integrity draft rather than
the JSON Web Token draft.

2. The example in section 3 makes me interested in the following question.
When I do a ToString on a binary value in JSON, what is the output.  Is this
going to be better than using the base64 encoding of binary values to get
text values followed by doing the base64 encoding again.

3. Given the amount of overlap.  Is there a reason for having different IANA
registries for the encryption and signature header parameter names?

4.  Is there a reason for not supporting the "zip" header for signature?





From tony@att.com  Sun Nov 13 20:49:06 2011
Return-Path: <tony@att.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3015E11E8142 for <jose@ietfa.amsl.com>; Sun, 13 Nov 2011 20:49:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.598
X-Spam-Level: 
X-Spam-Status: No, score=-106.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Y+pp5edxE5l for <jose@ietfa.amsl.com>; Sun, 13 Nov 2011 20:49:05 -0800 (PST)
Received: from mail120.messagelabs.com (mail120.messagelabs.com [216.82.250.83]) by ietfa.amsl.com (Postfix) with ESMTP id 8199E11E80F2 for <jose@ietf.org>; Sun, 13 Nov 2011 20:49:05 -0800 (PST)
X-Env-Sender: tony@att.com
X-Msg-Ref: server-4.tower-120.messagelabs.com!1321246143!49140256!1
X-Originating-IP: [144.160.20.145]
X-StarScan-Version: 6.3.6; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17747 invoked from network); 14 Nov 2011 04:49:04 -0000
Received: from sbcsmtp6.sbc.com (HELO mlpd192.enaf.sfdc.sbc.com) (144.160.20.145) by server-4.tower-120.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 14 Nov 2011 04:49:04 -0000
Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.4/8.14.4) with ESMTP id pAE4nVjc002613 for <jose@ietf.org>; Sun, 13 Nov 2011 23:49:31 -0500
Received: from alpd052.aldc.att.com (alpd052.aldc.att.com [130.8.42.31]) by mlpd192.enaf.sfdc.sbc.com (8.14.4/8.14.4) with ESMTP id pAE4nRBN002579 for <jose@ietf.org>; Sun, 13 Nov 2011 23:49:28 -0500
Received: from aldc.att.com (localhost.localdomain [127.0.0.1]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id pAE4mxcG000925 for <jose@ietf.org>; Sun, 13 Nov 2011 23:48:59 -0500
Received: from dns.maillennium.att.com (dns.maillennium.att.com [135.25.114.99]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id pAE4mp7W000798 for <jose@ietf.org>; Sun, 13 Nov 2011 23:48:56 -0500
Received: from [130.10.101.23] (vpn-130-10-101-23.vpn.swst.att.com[130.10.101.23]) by maillennium.att.com (mailgw1) with ESMTP id <20111114044754gw100e4l7qe> (Authid: tony); Mon, 14 Nov 2011 04:47:55 +0000
X-Originating-IP: [130.10.101.23]
Message-ID: <4EC09DB0.50101@att.com>
Date: Sun, 13 Nov 2011 23:48:48 -0500
From: Tony Hansen <tony@att.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: jose@ietf.org
Content-Type: multipart/alternative; boundary="------------010608010803010301090501"
Subject: [jose] jose meeting information for IETF 82
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Nov 2011 04:49:06 -0000

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

Here are pointers to various meeting-related information for today's 
JOSE meeting.

Agenda:
http://tools.ietf.org/wg/jose/agenda?item=agenda82.html

Materials:
https://datatracker.ietf.org/meeting/82/materials.html#wg-jose

Chatroom:
xmpp:jose@jabber.ietf.org?join

Audio:
http://ietf82streaming.dnsalias.net/ietf/ietf828.m3u

     Tony Hansen
     co-chair

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

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <link href="chrome://translator/skin/floatingPanel.css"
      type="text/css" rel="stylesheet">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Here are pointers to various meeting-related information for today's
    JOSE meeting.<br>
    <br>
    Agenda:<br>
    <a class="moz-txt-link-freetext" href="http://tools.ietf.org/wg/jose/agenda?item=agenda82.html">http://tools.ietf.org/wg/jose/agenda?item=agenda82.html</a><br>
    <br>
    Materials:<br>
    <a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/meeting/82/materials.html#wg-jose">https://datatracker.ietf.org/meeting/82/materials.html#wg-jose</a><br>
    <br>
    Chatroom:<br>
    <a class="moz-txt-link-abbreviated" href="mailto:xmpp:jose@jabber.ietf.org?join">xmpp:jose@jabber.ietf.org?join</a><br>
    <br>
    Audio:<br>
    <a class="moz-txt-link-freetext" href="http://ietf82streaming.dnsalias.net/ietf/ietf828.m3u">http://ietf82streaming.dnsalias.net/ietf/ietf828.m3u</a><br>
    <br>
    &nbsp;&nbsp;&nbsp; Tony Hansen<br>
    &nbsp;&nbsp;&nbsp; co-chair<br>
    <div style="bottom: auto; left: 447px; right: auto; top: 159px;
      display: none;" class="translator-theme-default"
      id="translator-floating-panel">
      <div title="Click to translate"
        id="translator-floating-panel-button"></div>
    </div>
  </body>
</html>

--------------010608010803010301090501--

From Jeff.Hodges@KingsMountain.com  Sun Nov 13 23:15:19 2011
Return-Path: <Jeff.Hodges@KingsMountain.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A27211E8095 for <jose@ietfa.amsl.com>; Sun, 13 Nov 2011 23:15:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.218
X-Spam-Level: 
X-Spam-Status: No, score=-100.218 tagged_above=-999 required=5 tests=[AWL=0.277, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bsIJq1Ra3c-O for <jose@ietfa.amsl.com>; Sun, 13 Nov 2011 23:15:18 -0800 (PST)
Received: from oproxy6-pub.bluehost.com (oproxy6.bluehost.com [IPv6:2605:dc00:100:2::a6]) by ietfa.amsl.com (Postfix) with SMTP id 2F30811E80B3 for <jose@ietf.org>; Sun, 13 Nov 2011 23:15:18 -0800 (PST)
Received: (qmail 9143 invoked by uid 0); 14 Nov 2011 07:15:17 -0000
Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by cpoproxy3.bluehost.com with SMTP; 14 Nov 2011 07:15:17 -0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kingsmountain.com; s=default;  h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=xtYlGldBby7L0Amw5JQHF8NXMhMV5UlMu7cD+LVvjbA=;  b=xWclJmdxT95LfvwJJ1+sywYZAdipdnrQeIpSxyl3/k+E7M0nH43dVNWS6QyuEOH2rXTotJbeFpkiV/CyL88qZscUlME1ZxgQ3bhZV7gmN/1e648v6sf+WiXM/cIq8rp7;
Received: from dhcp-67bb.meeting.ietf.org ([130.129.103.187]) by box514.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1RPqlB-0004hz-BE for jose@ietf.org; Mon, 14 Nov 2011 00:15:17 -0700
Message-ID: <4EC0C003.7010204@KingsMountain.com>
Date: Sun, 13 Nov 2011 23:15:15 -0800
From: =JeffH <Jeff.Hodges@KingsMountain.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15
MIME-Version: 1.0
To: IETF JOSE WG <jose@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Identified-User: {11025:box514.bluehost.com:kingsmou:kingsmountain.com} {sentby:smtp auth 130.129.103.187 authed with jeff.hodges+kingsmountain.com}
Subject: [jose] fyi: Next Steps for W3C Web Cryptography API and Identity work
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Nov 2011 07:15:19 -0000

Subject: Next Steps for Web Cryptography API and Identity work
From: Harry Halpin <hhalpin@w3.org>
Date: Fri, 11 Nov 2011 11:45:04 +0100
To: "public-identity@w3.org" <public-identity@w3.org>

Hope everyone enjoyed TPAC and the discussion so far - as you can tell,
things have been moving.

Here's the plan:

1) Web Cryptography API: The draft charter will remain in the wiki one
more week to allow more discussion, and then I will move it over to HTML
(perhaps calling for another AC update). We will also want external
review of this charter from the IETF (in particular JOSE WG),  all major
browser vendors, and other AC members. Then we will move to AC review
the first week of January.

So I need help with the following:

- Let's settle scoping this week
- Chair candidates by end of the month
- Who all should be part of the review?

2) Identity WG should go to a Community Group for the time being until
the scope, requirements, and APIs are more mature and have more
cross-vendor support. Again, we will not 'rubber-stamp' any existing
work :) In fact, we will do the opposite, making sure things have time
to mature. However, the W3C is committed to improving the security of
user-centric identity. We just will do the Web Cryptography work first
until industry consensus develops more around identity.

       cheers,
        harry

From mcgrew@cisco.com  Tue Nov 15 04:40:15 2011
Return-Path: <mcgrew@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1821711E8125 for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 04:40:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.049
X-Spam-Level: 
X-Spam-Status: No, score=-106.049 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zsNzW3-U5hNT for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 04:40:14 -0800 (PST)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 476E411E811F for <jose@ietf.org>; Tue, 15 Nov 2011 04:40:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mcgrew@cisco.com; l=4103; q=dns/txt; s=iport; t=1321360814; x=1322570414; h=message-id:from:to:content-transfer-encoding: mime-version:subject:date; bh=lFh3knzOz19gCHqexNbbpeu0qesWWc3COlycxZeaSRQ=; b=SD5eHKfzSo5pZ1t3HfUz++Lt69L0SZvlreXT6H9h5SIvq7CWAfP+jjgm 34gOX7yrzvx9waks7kFrTjrR6mT6nk785TVq7Hpxe6xIMBxyBV3YuXI9y VTcnIH9j7GIhD68FrhrHA+0Ae6JMGtA1kgXB4U/qNYHniHeC/JBTG/+dC c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EAIxcwk6rRDoH/2dsb2JhbABDhQGkbIEFggsBEAQRMEYCJgKBFKFHgSYBjFmSMIEwh0szYwSIE4wfhTuMYA
X-IronPort-AV: E=Sophos;i="4.69,514,1315180800"; d="scan'208";a="14316355"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-3.cisco.com with ESMTP; 15 Nov 2011 12:40:14 +0000
Received: from [10.32.254.210] ([10.32.254.210]) by mtv-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id pAFCeDla006432 for <jose@ietf.org>; Tue, 15 Nov 2011 12:40:13 GMT
Message-Id: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: jose@ietf.org
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v936)
Date: Tue, 15 Nov 2011 04:40:12 -0800
X-Mailer: Apple Mail (2.936)
X-Mailman-Approved-At: Tue, 15 Nov 2011 04:52:58 -0800
Subject: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Nov 2011 12:40:15 -0000

Hi

I would like to contribute the following comments.  I have not been =20
closely following the WG, so apologies in advance if I'm rehashing =20
something.

The json-web-signature draft should be changed by using the more =20
generic "authentication" instead of "signature", as suggested in =20
Section 9.   HMAC is a (symmetric) message authentication code, and =20
not an (asymmetric) digital signature algorithm.  See RFC 4949 for =20
instance for the appropriate definitions.  Calling HMAC a signature =20
method will confuse readers going forward and potentially set =20
incorrect expectations. I suggest the following changes (not because I =20=

think these are the only good alternatives, but because I want to be =20
constructive):

"JSON Web Signature" -> "JSON Web Authentication"
"sign" -> "authenticate"
"signing" -> "authenticating"
"signature" -> "authentication data"

The security considerations of json-web-signature should explain the =20
difference between symmetric and asymmetric encryption.

Section 9 mentions the possibility of including an unkeyed checksum =20
based on SHA-256.  If that is done, then that will potentially confuse =20=

the issue further.  What would the value of that checksum be, and =20
would it be a security mechanism?   If it is defined, I suggest that =20
it be done in a different draft.

Why are we allowing unauthenticated encryption in draft-jones-json-web-=20=

encryption?   Authenticated Encryption with Associated Data (AEAD) is =20=

recommended (in the form of AES-GCM) in the draft, and it avoids all =20
sorts of security issues that are present with unauthenticated =20
encryption (besides being theoretically vulnerable, it has fallen =20
victim to practical attacks [1][2][3][4][5][6][7][8]).  Note that some =20=

of these attacks apply when encryption is loosely bound to =20
authentication.  I suggest that AEAD be the only encryption method, =20
and that an RFC 5116 interface be included.  Since GCM is recommended, =20=

the interface is already there, but not called out.  Omitting =20
unauthenticated encryption will simplify the spec, and improve =20
security.  If there is some percieved issue with AES-GCM, there are =20
other AEAD algorithms that can be used, AES-SIV (synthetic IV mode) =20
for instance, or a generic CBC+HMAC composition.   In any case, I =20
offer to help craft and/or review this text.

A minor point: JWE recommends AES-GCM; why not have json-web-signature =20=

recommend AES-GMAC?

json-web-signature says that "Related encryption capabilities are =20
described in the separate JSON Web Encryption (JWE) specification".  =20
The JWE specification says that "In general, senders SHOULD sign the =20
message and then encrypt the result (thus encrypting the =20
signature)".   There ought to be better recommendations for security.  =20=

For instance, encryption without authentication should be disallowed.

regards,

David

--


[1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to =20
SSL, IPSEC, WTLS...", EUROCRYPT 2002.

[2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat =20
Europe, 2010.

[3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM =20
Conference on Computer and Communications Security (CCS), 2011.

[4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the =20
SSH authenticated encryption scheme: A case study of the Encode-then-=20
Encrypt-and-MAC paradigm", ACM Transactions on Information and System =20=

Security, May 2004.

[5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS", =20
Ekoparty, 2011.

[6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=9D=
, Sixth =20
Usenix Unix Security Symposium, 1996.

[7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The =
case of =20
encryption in IPsec=E2=80=9D, EUROCRYPT 2006,

[8] Degabriele, Paterson, "Attacking the IPsec Standards in Encryption-=20=

only Con=EF=AC=81gurations", IEEE Symposium on Security and Privacy, =
2007.





From ietf@meetecho.com  Tue Nov 15 06:03:43 2011
Return-Path: <ietf@meetecho.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA37D11E808A for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 06:03:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.719
X-Spam-Level: 
X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nafwWc64rN+P for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 06:03:43 -0800 (PST)
Received: from smtpw2.aruba.it (smtpipvs3.aruba.it [62.149.128.188]) by ietfa.amsl.com (Postfix) with SMTP id E121711E8073 for <jose@ietf.org>; Tue, 15 Nov 2011 06:03:42 -0800 (PST)
Received: (qmail 21109 invoked by uid 89); 15 Nov 2011 13:57:01 -0000
Received: from unknown (HELO aruba.it) (62.149.158.90) by smtpw2.ad.aruba.it with SMTP; 15 Nov 2011 13:57:01 -0000
Date: Tue, 15 Nov 2011 14:57:01 +0100
Message-Id: <LUPG31$BE4F461618E6CCFFBAC463796984636D@aruba.it>
MIME-Version: 1.0
X-Sensitivity: 3
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
From: "Meetecho IETF support" <ietf@meetecho.com>
To: jose@ietf.org
X-XaM3-API-Version: V3(R2)
X-SenderIP: 130.129.21.177
X-Spam-Rating: smtpw2.ad.aruba.it 1.6.2 0/1000/N
Subject: [jose] JOSE session recording available
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Nov 2011 14:03:43 -0000

Dear all,=0A=0Athe full recording (synchronized video, audio, slides and =
jabber room)=0Aof yesterday's JOSE session is available.=0A=0AYou can wat=
ch it by either clicking the proper link on the remote participation page=
 (http://www.ietf.org/meeting/82/remote-participation.html#Meetecho), or =
by directly accessing the following URL:=0Ahttp://www.meetecho.com/ietf82=
/recordings=0A=0AFor the chair(s): please feel free to put the link to th=
e recording in the minutes, if you think this might be useful.=0A=0AIn ca=
se of problems with the playout, just drop an e-mail to=0Aietf-support@me=
etecho.com.=0A=0ACheers,=0Athe Meetecho Team=0A=C2=A0=0A--=0AMeetecho s.r=
.l.=0AWeb Conferencing and Collaboration Tools=0Awww.meetecho.com=0A=C2=A0=



From hallam@gmail.com  Tue Nov 15 08:27:16 2011
Return-Path: <hallam@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DB0E1F0C4F for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 08:27:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.452
X-Spam-Level: 
X-Spam-Status: No, score=-3.452 tagged_above=-999 required=5 tests=[AWL=0.146,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R-c3C6NP3wJw for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 08:27:12 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by ietfa.amsl.com (Postfix) with ESMTP id F09B61F0C3F for <jose@ietf.org>; Tue, 15 Nov 2011 08:27:08 -0800 (PST)
Received: by faap16 with SMTP id p16so709735faa.31 for <jose@ietf.org>; Tue, 15 Nov 2011 08:27:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=dJAtmy7KyZpagvorEKCZn87N22GlJDQ/l8ZmxwSJnSA=; b=IpyU5/0tZn9hfYoB31ojTpmBeO92cS883Dh7lqxl879zloh/6SKzB3gBCqtIw1tKky OEYfYZJgxlLl5UbJReYpuqfKQZxyLkYQbdIExgIIcQxh09A/wQfwRbqDLK6vn2MqNrov yDASkluSovcJ/7QR5hfKluEdafJRFgIl2jOhg=
MIME-Version: 1.0
Received: by 10.182.147.4 with SMTP id tg4mr6188180obb.60.1321374426150; Tue, 15 Nov 2011 08:27:06 -0800 (PST)
Received: by 10.182.42.99 with HTTP; Tue, 15 Nov 2011 08:27:06 -0800 (PST)
Date: Tue, 15 Nov 2011 11:27:06 -0500
Message-ID: <CAMm+LwjsH8Cyd-7QztZx+5B=LwXj0=1StqvMD5+fyRBJwpnvSA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: jose@ietf.org
Content-Type: multipart/alternative; boundary=f46d0444006649381204b1c87549
Subject: [jose] Cryptographic Algorithms Registry
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Nov 2011 16:27:16 -0000

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

One of the issues that was raised was the need for yet another crypto algs
registry.

We had a side discussion on this in chat. It seems to me that there is at
the very least support for the positions that :

1) The current state of crypto algorithm registries is a mess.
2) We should have consistency at an IETF wide level.

In parallel there is a discussion in the EFF observatory mailing list on
the problem of 512 bit certificates. I believe that the core problem there
was that everyone involved was assuming that we all knew what the right
thing to do was and that someone else would take care of it.

There are two potential candidates for someone to take charge of this.
Ideally the IETF will do it. Otherwise CABForum will end up having to do
it. Which is problematic as their official remit does not extend to IPSEC
or S/MIME or many of the other protocols CAs support, let alone non-PKIX
ones.


So my proposal for Jose is that this is something that the WG pushes back
to the Security Area as a whole.

For the sake of getting the WG completed, Jose should proceed on an
independent track and act as if it is going to use a separate registry just
like the 16 or so other IETF protocols have done before.

The only impact this proposal would have on Jose is that the Jose WG would
not have to spend time justifying the absurdity of yet another separate
registry and would not have to spend too much time thinking about the
maintenance issues.


I will post the actual concrete proposal to the SAAG list later on today.

[Yes, the same issue comes up in DECADE with the ni proposal]
-- 
Website: http://hallambaker.com/

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

One of the issues that was raised was the need for yet another crypto algs =
registry.<div><br></div><div>We had a side discussion on this in chat. It s=
eems to me that there is at the very least support for the positions that :=
</div>
<div><br></div><div>1) The current state of crypto algorithm registries is =
a mess.</div><div>2) We should have consistency at an IETF wide level.</div=
><div><br></div><div>In parallel there is a discussion in the EFF observato=
ry mailing list on the problem of 512 bit certificates. I believe that the =
core problem there was that everyone involved was assuming that we all knew=
 what the right thing to do was and that someone else would take care of it=
.</div>
<div><br></div><div>There are two potential candidates for someone to take =
charge of this. Ideally the IETF will do it. Otherwise CABForum will end up=
 having to do it. Which is problematic as their official remit does not ext=
end to IPSEC or S/MIME or many of the other protocols CAs support, let alon=
e non-PKIX ones.</div>
<div><br></div><div><br></div><div>So my proposal for Jose is that this is =
something that the WG pushes back to the Security Area as a whole.=A0</div>=
<div><br></div><div>For the sake of getting the WG completed, Jose should p=
roceed on an independent track and act as if it is going to use a separate =
registry just like the 16 or so other IETF protocols have done before.</div=
>
<div><br></div><div>The only impact this proposal would have on Jose is tha=
t the Jose WG would not have to spend time justifying the absurdity of yet =
another separate registry and would not have to spend too much time thinkin=
g about the maintenance issues.</div>
<div><br clear=3D"all"><div><br></div><div>I will post the actual concrete =
proposal to the SAAG list later on today.</div><div><br></div><div>[Yes, th=
e same issue comes up in DECADE with the ni proposal]</div>-- <br>Website: =
<a href=3D"http://hallambaker.com/">http://hallambaker.com/</a><br>
<br>
</div>

--f46d0444006649381204b1c87549--

From tonynad@microsoft.com  Tue Nov 15 17:50:25 2011
Return-Path: <tonynad@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB20D11E8166 for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 17:50:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.167
X-Spam-Level: 
X-Spam-Status: No, score=-7.167 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 73AdIcptEHfB for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 17:50:21 -0800 (PST)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 0169A11E815E for <jose@ietf.org>; Tue, 15 Nov 2011 17:50:20 -0800 (PST)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (157.54.80.25) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 15 Nov 2011 17:50:20 -0800
Received: from TX2EHSOBE004.bigfish.com (157.54.51.113) by mail.microsoft.com (157.54.80.25) with Microsoft SMTP Server (TLS) id 14.1.355.3; Tue, 15 Nov 2011 17:50:20 -0800
Received: from mail19-tx2-R.bigfish.com (10.9.14.247) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.22; Wed, 16 Nov 2011 01:49:47 +0000
Received: from mail19-tx2 (localhost.localdomain [127.0.0.1])	by mail19-tx2-R.bigfish.com (Postfix) with ESMTP id AFD7B4E01A3	for <jose@ietf.org.FOPE.CONNECTOR.OVERRIDE>; Wed, 16 Nov 2011 01:50:05 +0000 (UTC)
X-SpamScore: -19
X-BigFish: PS-19(z1725nz9371Kc89bh542Mzz1202h1082kzz1033IL8275dhz31h2a8h668h839h93fh61h)
X-Spam-TCS-SCL: 0:0
X-Forefront-Antispam-Report: CIP:157.55.157.141; KIP:(null); UIP:(null); IPV:SKI; H:SN2PRD0304HT003.namprd03.prod.outlook.com; R:internal; EFV:INT
Received-SPF: softfail (mail19-tx2: transitioning domain of microsoft.com does not designate 157.55.157.141 as permitted sender) client-ip=157.55.157.141; envelope-from=tonynad@microsoft.com; helo=SN2PRD0304HT003.namprd03.prod.outlook.com ; .outlook.com ; 
Received: from mail19-tx2 (localhost.localdomain [127.0.0.1]) by mail19-tx2 (MessageSwitch) id 1321408205470106_16882; Wed, 16 Nov 2011 01:50:05 +0000 (UTC)
Received: from TX2EHSMHS039.bigfish.com (unknown [10.9.14.251])	by mail19-tx2.bigfish.com (Postfix) with ESMTP id 68891170004F; Wed, 16 Nov 2011 01:50:05 +0000 (UTC)
Received: from SN2PRD0304HT003.namprd03.prod.outlook.com (157.55.157.141) by TX2EHSMHS039.bigfish.com (10.9.99.139) with Microsoft SMTP Server (TLS) id 14.1.225.22; Wed, 16 Nov 2011 01:49:47 +0000
Received: from SN2PRD0304MB235.namprd03.prod.outlook.com ([169.254.10.245]) by SN2PRD0304HT003.namprd03.prod.outlook.com ([10.111.196.122]) with mapi id 14.16.0082.000; Wed, 16 Nov 2011 01:50:18 +0000
From: Anthony Nadalin <tonynad@microsoft.com>
To: David McGrew <mcgrew@cisco.com>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
Thread-Index: AQHMo5WGmAGphJhNsEmOTNiaIK6swpWuvFLg
Date: Wed, 16 Nov 2011 01:50:16 +0000
Message-ID: <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com>
In-Reply-To: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.111.196.26]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0304HT003.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%CISCO.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IETF.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-OriginatorOrg: microsoft.com
X-CrossPremisesHeadersPromoted: TK5EX14HUBC104.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC104.redmond.corp.microsoft.com
Subject: Re: [jose] comments on draft-jones-json-web-signature and	draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 01:50:25 -0000

QXQgdGhlIHNhbWUgdGltZSB3ZSBkb24ndCB3YW50IHRvIGNvbmZ1c2UgZm9sa3MgdGhlIG90aGVy
IHdheSB0byBoYXZlIHRoZW0gdGhpbmsgd2UgYXJlIG5vdCBh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MgZm9yIHRoZSBJUCBTZWN1cml0eSBQcm90b2NvbHPigJ0sIFNpeHRoIFVzZW5peCBVbml4
IFNlY3VyaXR5IFN5bXBvc2l1bSwgMTk5Ni4NCg0KWzddIFBhdGVyc29uLCBZYXUsIOKAnENyeXB0
b2dyYXBoeSBpbiB0aGVvcnkgYW5kIHByYWN0aWNlOiBUaGUgY2FzZSBvZiBlbmNyeXB0aW9uIGlu
IElQc2Vj4oCdLCBFVVJPQ1JZUFQgMjAwNiwNCg0KWzhdIERlZ2FicmllbGUsIFBhdGVyc29uLCAi
QXR0YWNraW5nIHRoZSBJUHNlYyBTdGFuZGFyZHMgaW4gRW5jcnlwdGlvbi0gb25seSBDb27vrIFn
dXJhdGlvbnMiLCBJRUVFIFN5bXBvc2l1bSBvbiBTZWN1cml0eSBhbmQgUHJpdmFjeSwgMjAwNy4N
Cg0KDQoNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18N
Cmpvc2UgbWFpbGluZyBsaXN0DQpqb3NlQGlldGYub3JnDQpodHRwczovL3d3dy5pZXRmLm9yZy9t
YWlsbWFuL2xpc3RpbmZvL2pvc2UNCg==


From Michael.Jones@microsoft.com  Tue Nov 15 17:57:41 2011
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD25C11E816B for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 17:57:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.004
X-Spam-Level: 
X-Spam-Status: No, score=-10.004 tagged_above=-999 required=5 tests=[AWL=-0.005, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hAQ5-x2cZTZg for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 17:57:38 -0800 (PST)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id DD63611E8139 for <jose@ietf.org>; Tue, 15 Nov 2011 17:57:37 -0800 (PST)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 15 Nov 2011 17:57:37 -0800
Received: from TK5EX14MBXC285.redmond.corp.microsoft.com ([169.254.3.172]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.01.0355.003; Tue, 15 Nov 2011 17:57:37 -0800
From: Mike Jones <Michael.Jones@microsoft.com>
To: Anthony Nadalin <tonynad@microsoft.com>, David McGrew <mcgrew@cisco.com>,  "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] comments on draft-jones-json-web-signature	and draft-jones-json-web-encryption
Thread-Index: AQHMpAIfEH/FU8AJIk6rpxJXNbgsj5WuvGlA
Date: Wed, 16 Nov 2011 01:57:37 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com>
In-Reply-To: <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Subject: Re: [jose] comments on draft-jones-json-web-signature	and	draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 01:57:42 -0000

VXBvbiByZWZsZWN0aW9uIHNpbmNlIE1vbmRheSdzIG1lZXRpbmcsIEkgYmVsaWV2ZSB0aGF0IHRo
ZSBkcmFmdCB0aXRsZSBzaG91bGQgc3RheSAiSlNPTiBXZWIgU2lnbmF0dXJlIiAoYXMgVG9ueSBw
b2ludGVkIG91dCwgIlNpZ25pbmciIGlzIGluIHRoZSBXRydzIG5hbWUhKSBidXQgdGhlIHRleHQg
c2hvdWxkIGJlIGNsZWFyIHRoYXQgdGhlIHNwZWMgZGVzY3JpYmVzIGJvdGggaG93IHRvIHBlcmZv
cm0gZGlnaXRhbCBzaWduYXR1cmVzIGFuZCBob3cgdG8gcGVyZm9ybSBITUFDIG9wZXJhdGlvbnMp
LiAgSXQgd2lsbCBubyBsb25nZXIgdXNlIHRoZSB0ZXJtICJzaWduaW5nIiB3aGVuIHJlZmVycmlu
ZyB0byBITUFDIG9wZXJhdGlvbnMuDQoNCkFzIEVyaWMgUmVzY29ybGEgcG9pbnRlZCBvdXQgZHVy
aW5nIHRoZSBtZWV0aW5nLCB0aGUgcHJvYmxlbSB3aXRoIHNwbGl0dGluZyBvdXQgSE1BQyBpbnRv
IGEgZGlmZmVyZW50IHNwZWMgaXMgdGhhdCB0aGUgcHJlcGFyYXRpb24gb2YgdGhlIGNvbnRlbnQg
aXMgZXNzZW50aWFsbHkgaWRlbnRpY2FsIGJldHdlZW4gdGhlIHR3byBraW5kcyBvZiBvcGVyYXRp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ucyIsIElFRUUgU3ltcG9zaXVtIG9uIFNlY3VyaXR5IGFuZCBQcml2YWN5
LCAyMDA3Lg0KDQoNCg0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fXw0Kam9zZSBtYWlsaW5nIGxpc3QNCmpvc2VAaWV0Zi5vcmcNCmh0dHBzOi8vd3d3Lmll
dGYub3JnL21haWxtYW4vbGlzdGluZm8vam9zZQ0KX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18NCmpvc2UgbWFpbGluZyBsaXN0DQpqb3NlQGlldGYub3JnDQpo
dHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2pvc2UNCg==

From sakimura@gmail.com  Tue Nov 15 20:14:41 2011
Return-Path: <sakimura@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A1C811E80AA for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 20:14:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.09
X-Spam-Level: 
X-Spam-Status: No, score=-3.09 tagged_above=-999 required=5 tests=[AWL=-0.092,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vlmdoZSvIIV for <jose@ietfa.amsl.com>; Tue, 15 Nov 2011 20:14:37 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by ietfa.amsl.com (Postfix) with ESMTP id 80C491F0C47 for <jose@ietf.org>; Tue, 15 Nov 2011 20:14:36 -0800 (PST)
Received: by faap16 with SMTP id p16so1270912faa.31 for <jose@ietf.org>; Tue, 15 Nov 2011 20:14:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Xpmh/lWLi92wP9qddsioQEaXgP+MCd87qUsR/ve2eOE=; b=GUmbVYBHSqBe+KzrJ0ot08T3oCa50AORi6+aimoey3DLbcCRZfGtT9mIUg2Vacbwuk OcQZMPT4LwojjAU9oWmVvteihPnY3atfd8WN7CLGv/44WOEJgXFcboEoue0QuOs82rGv aAe9kx61p/3Z6KcG95946/Tgc2TWE3bQb1CP8=
MIME-Version: 1.0
Received: by 10.152.104.130 with SMTP id ge2mr19292715lab.43.1321416874310; Tue, 15 Nov 2011 20:14:34 -0800 (PST)
Received: by 10.152.4.34 with HTTP; Tue, 15 Nov 2011 20:14:34 -0800 (PST)
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com>
Date: Wed, 16 Nov 2011 12:14:34 +0800
Message-ID: <CABzCy2C15cytLubOBEGd2+Zc4Qz4MzMY2wB5xxyUdPOq6VWsBg@mail.gmail.com>
From: Nat Sakimura <sakimura@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d0408d3c164bac804b1d25728
Cc: Anthony Nadalin <tonynad@microsoft.com>, David McGrew <mcgrew@cisco.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 04:14:41 -0000

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

+1

Also, Re:David's proposal for use of word "Authentication": I am ok with
"Message Authentication" but against just using stand alone
"Authentication". It is a way too overloaded word and causes unnecessary
confusion.

On Wed, Nov 16, 2011 at 9:57 AM, Mike Jones <Michael.Jones@microsoft.com>wr=
ote:

> Upon reflection since Monday's meeting, I believe that the draft title
> should stay "JSON Web Signature" (as Tony pointed out, "Signing" is in th=
e
> WG's name!) but the text should be clear that the spec describes both how
> to perform digital signatures and how to perform HMAC operations).  It wi=
ll
> no longer use the term "signing" when referring to HMAC operations.
>
> As Eric Rescorla pointed out during the meeting, the problem with
> splitting out HMAC into a different spec is that the preparation of the
> content is essentially identical between the two kinds of operations.  Th=
e
> amount of duplication resulting wouldn't be doing the users of the specs
> any favors.
>
>                                -- Mike
>
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Anthony Nadalin
> Sent: Tuesday, November 15, 2011 5:50 PM
> To: David McGrew; jose@ietf.org
> Subject: Re: [jose] comments on draft-jones-json-web-signature and
> draft-jones-json-web-encryption
>
> At the same time we don't want to confuse folks the other way to have the=
m
> think we are not addressing signature. The WG name does have signing in i=
t.
> One option would be to split out the MAC from the signing
>
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> David McGrew
> Sent: Tuesday, November 15, 2011 4:40 AM
> To: jose@ietf.org
> Subject: [jose] comments on draft-jones-json-web-signature and
> draft-jones-json-web-encryption
>
> Hi
>
> I would like to contribute the following comments.  I have not been
> closely following the WG, so apologies in advance if I'm rehashing
> something.
>
> The json-web-signature draft should be changed by using the more generic
> "authentication" instead of "signature", as suggested in
> Section 9.   HMAC is a (symmetric) message authentication code, and
> not an (asymmetric) digital signature algorithm.  See RFC 4949 for
> instance for the appropriate definitions.  Calling HMAC a signature metho=
d
> will confuse readers going forward and potentially set incorrect
> expectations. I suggest the following changes (not because I think these
> are the only good alternatives, but because I want to be
> constructive):
>
> "JSON Web Signature" -> "JSON Web Authentication"
> "sign" -> "authenticate"
> "signing" -> "authenticating"
> "signature" -> "authentication data"
>
> The security considerations of json-web-signature should explain the
> difference between symmetric and asymmetric encryption.
>
> Section 9 mentions the possibility of including an unkeyed checksum based
> on SHA-256.  If that is done, then that will potentially confuse the issu=
e
> further.  What would the value of that checksum be, and
> would it be a security mechanism?   If it is defined, I suggest that
> it be done in a different draft.
>
> Why are we allowing unauthenticated encryption in draft-jones-json-web-
> encryption?   Authenticated Encryption with Associated Data (AEAD) is
> recommended (in the form of AES-GCM) in the draft, and it avoids all sort=
s
> of security issues that are present with unauthenticated encryption
> (besides being theoretically vulnerable, it has fallen victim to practica=
l
> attacks [1][2][3][4][5][6][7][8]).  Note that some of these attacks apply
> when encryption is loosely bound to authentication.  I suggest that AEAD =
be
> the only encryption method, and that an RFC 5116 interface be included.
>  Since GCM is recommended, the interface is already there, but not called
> out.  Omitting unauthenticated encryption will simplify the spec, and
> improve security.  If there is some percieved issue with AES-GCM, there a=
re
> other AEAD algorithms that can be used, AES-SIV (synthetic IV mode)
> for instance, or a generic CBC+HMAC composition.   In any case, I
> offer to help craft and/or review this text.
>
> A minor point: JWE recommends AES-GCM; why not have json-web-signature
> recommend AES-GMAC?
>
> json-web-signature says that "Related encryption capabilities are
> described in the separate JSON Web Encryption (JWE) specification".
> The JWE specification says that "In general, senders SHOULD sign the
> message and then encrypt the result (thus encrypting the
> signature)".   There ought to be better recommendations for security.
> For instance, encryption without authentication should be disallowed.
>
> regards,
>
> David
>
> --
>
>
> [1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to SSL,
> IPSEC, WTLS...", EUROCRYPT 2002.
>
> [2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat Europe,
> 2010.
>
> [3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM Conference
> on Computer and Communications Security (CCS), 2011.
>
> [4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the SSH
> authenticated encryption scheme: A case study of the Encode-then-
> Encrypt-and-MAC paradigm", ACM Transactions on Information and System
> Security, May 2004.
>
> [5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS",
> Ekoparty, 2011.
>
> [6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=
=9D, Sixth Usenix
> Unix Security Symposium, 1996.
>
> [7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The case=
 of
> encryption in IPsec=E2=80=9D, EUROCRYPT 2006,
>
> [8] Degabriele, Paterson, "Attacking the IPsec Standards in Encryption-
> only Con=EF=AC=81gurations", IEEE Symposium on Security and Privacy, 2007=
.
>
>
>
>
> _______________________________________________
> 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
>



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

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

+1<div><br></div><div>Also, Re:David&#39;s proposal for use of word &quot;A=
uthentication&quot;: I am ok with &quot;Message Authentication&quot; but ag=
ainst just using stand alone &quot;Authentication&quot;. It is a way too ov=
erloaded word and causes unnecessary confusion.=C2=A0<br>
<br><div class=3D"gmail_quote">On Wed, Nov 16, 2011 at 9:57 AM, Mike Jones =
<span dir=3D"ltr">&lt;<a href=3D"mailto:Michael.Jones@microsoft.com">Michae=
l.Jones@microsoft.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x;">
Upon reflection since Monday&#39;s meeting, I believe that the draft title =
should stay &quot;JSON Web Signature&quot; (as Tony pointed out, &quot;Sign=
ing&quot; is in the WG&#39;s name!) but the text should be clear that the s=
pec describes both how to perform digital signatures and how to perform HMA=
C operations). =C2=A0It will no longer use the term &quot;signing&quot; whe=
n referring to HMAC operations.<br>

<br>
As Eric Rescorla pointed out during the meeting, the problem with splitting=
 out HMAC into a different spec is that the preparation of the content is e=
ssentially identical between the two kinds of operations. =C2=A0The amount =
of duplication resulting wouldn&#39;t be doing the users of the specs any f=
avors.<br>

<font color=3D"#888888"><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>
</font><div><div></div><div class=3D"h5"><br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a> [m=
ailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a>] O=
n Behalf Of Anthony Nadalin<br>
Sent: Tuesday, November 15, 2011 5:50 PM<br>
To: David McGrew; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jo=
nes-json-web-encryption<br>
<br>
At the same time we don&#39;t want to confuse folks the other way to have t=
hem think we are not addressing signature. The WG name does have signing in=
 it. One option would be to split out the MAC from the signing<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a> [m=
ailto:<a href=3D"mailto:jose-bounces@ietf.org">jose-bounces@ietf.org</a>] O=
n Behalf Of David McGrew<br>
Sent: Tuesday, November 15, 2011 4:40 AM<br>
To: <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
Subject: [jose] comments on draft-jones-json-web-signature and draft-jones-=
json-web-encryption<br>
<br>
Hi<br>
<br>
I would like to contribute the following comments. =C2=A0I have not been cl=
osely following the WG, so apologies in advance if I&#39;m rehashing someth=
ing.<br>
<br>
The json-web-signature draft should be changed by using the more generic &q=
uot;authentication&quot; instead of &quot;signature&quot;, as suggested in<=
br>
Section 9. =C2=A0 HMAC is a (symmetric) message authentication code, and<br=
>
not an (asymmetric) digital signature algorithm. =C2=A0See RFC 4949 for ins=
tance for the appropriate definitions. =C2=A0Calling HMAC a signature metho=
d will confuse readers going forward and potentially set incorrect expectat=
ions. I suggest the following changes (not because I think these are the on=
ly good alternatives, but because I want to be<br>

constructive):<br>
<br>
&quot;JSON Web Signature&quot; -&gt; &quot;JSON Web Authentication&quot;<br=
>
&quot;sign&quot; -&gt; &quot;authenticate&quot;<br>
&quot;signing&quot; -&gt; &quot;authenticating&quot;<br>
&quot;signature&quot; -&gt; &quot;authentication data&quot;<br>
<br>
The security considerations of json-web-signature should explain the differ=
ence between symmetric and asymmetric encryption.<br>
<br>
Section 9 mentions the possibility of including an unkeyed checksum based o=
n SHA-256. =C2=A0If that is done, then that will potentially confuse the is=
sue further. =C2=A0What would the value of that checksum be, and<br>
would it be a security mechanism? =C2=A0 If it is defined, I suggest that<b=
r>
it be done in a different draft.<br>
<br>
Why are we allowing unauthenticated encryption in draft-jones-json-web-<br>
encryption? =C2=A0 Authenticated Encryption with Associated Data (AEAD) is<=
br>
recommended (in the form of AES-GCM) in the draft, and it avoids all sorts =
of security issues that are present with unauthenticated encryption (beside=
s being theoretically vulnerable, it has fallen victim to practical attacks=
 [1][2][3][4][5][6][7][8]). =C2=A0Note that some of these attacks apply whe=
n encryption is loosely bound to authentication. =C2=A0I suggest that AEAD =
be the only encryption method, and that an RFC 5116 interface be included. =
=C2=A0Since GCM is recommended, the interface is already there, but not cal=
led out. =C2=A0Omitting unauthenticated encryption will simplify the spec, =
and improve security. =C2=A0If there is some percieved issue with AES-GCM, =
there are other AEAD algorithms that can be used, AES-SIV (synthetic IV mod=
e)<br>

for instance, or a generic CBC+HMAC composition. =C2=A0 In any case, I<br>
offer to help craft and/or review this text.<br>
<br>
A minor point: JWE recommends AES-GCM; why not have json-web-signature reco=
mmend AES-GMAC?<br>
<br>
json-web-signature says that &quot;Related encryption capabilities are<br>
described in the separate JSON Web Encryption (JWE) specification&quot;.<br=
>
The JWE specification says that &quot;In general, senders SHOULD sign the m=
essage and then encrypt the result (thus encrypting the<br>
signature)&quot;. =C2=A0 There ought to be better recommendations for secur=
ity.<br>
For instance, encryption without authentication should be disallowed.<br>
<br>
regards,<br>
<br>
David<br>
<br>
--<br>
<br>
<br>
[1] Vaudenay, &quot;Security Flaws Induced by CBC Padding Applications to S=
SL, IPSEC, WTLS...&quot;, EUROCRYPT 2002.<br>
<br>
[2] Rizzo, Duong, &quot;Practical Padding Oracle Attacks&quot;, Black Hat E=
urope, 2010.<br>
<br>
[3] Jager, Somorovsky, &quot;How To Break XML Encryption&quot;, 18th ACM Co=
nference on Computer and Communications Security (CCS), 2011.<br>
<br>
[4] Bellare, Kohno, Namprempre, &quot;Breaking and provably repairing the S=
SH authenticated encryption scheme: A case study of the Encode-then- Encryp=
t-and-MAC paradigm&quot;, ACM Transactions on Information and System Securi=
ty, May 2004.<br>

<br>
[5] Rizzo, Thai, &quot;BEAST: Surprising crypto attack against HTTPS&quot;,=
 Ekoparty, 2011.<br>
<br>
[6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=9D=
, Sixth Usenix Unix Security Symposium, 1996.<br>
<br>
[7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The case o=
f encryption in IPsec=E2=80=9D, EUROCRYPT 2006,<br>
<br>
[8] Degabriele, Paterson, &quot;Attacking the IPsec Standards in Encryption=
- only Con=EF=AC=81gurations&quot;, IEEE Symposium on Security and Privacy,=
 2007.<br>
<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>
_______________________________________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/jose</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
Nat Sakimura (=3Dnat)<div>Chairman, OpenID Foundation<br><a href=3D"http://=
nat.sakimura.org/" target=3D"_blank">http://nat.sakimura.org/</a><br>@_nat_=
en</div>
<br>
</div>

--f46d0408d3c164bac804b1d25728--

From ietf@augustcellars.com  Tue Nov 15 20:14:46 2011
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0761C11E80AA; Tue, 15 Nov 2011 20:14:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Byx3IxH2pUpr; Tue, 15 Nov 2011 20:14:45 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4A01F0C4B; Tue, 15 Nov 2011 20:14:45 -0800 (PST)
Received: from Tobias (dhcp-10a6.meeting.ietf.org [130.129.16.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id D44FF38F0C; Tue, 15 Nov 2011 20:14:44 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <saag@ietf.org>
Date: Wed, 16 Nov 2011 12:14:12 +0800
Message-ID: <039b01cca416$339d3bc0$9ad7b340$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AcykFRgfJsYbIQjZRJi0Q7ME09xAGA==
Cc: jose@ietf.org
Subject: [jose] JOSE Report
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 04:14:46 -0000

JOSE met in the 1:00 slot on Monday for its first meeting as a newly formed
working group.

We were presented with three documents which are intended to be
re-structured into the four documents that are called for by the charter.
These documents are the result of work done outside of the IETF which are
now being brought here for additional work.  There were no objections in the
meeting to using these documents as the basis for charter documents.  New
versions of the documents are expected within the next month which will be
adopted as WG work items.

An additional presentation followed by discussion in the room occurred in
terms of the set of features that need to be supported by the JOSE work.
Requests for features came from the floor from the XMPP and the ALTO working
groups which are not presently supported.



From mcgrew@cisco.com  Wed Nov 16 04:25:50 2011
Return-Path: <mcgrew@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 714B221F9481 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 04:25:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.119
X-Spam-Level: 
X-Spam-Status: No, score=-106.119 tagged_above=-999 required=5 tests=[AWL=-0.120, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vpS9-V6E+3t6 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 04:25:49 -0800 (PST)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id A71D221F947B for <jose@ietf.org>; Wed, 16 Nov 2011 04:25:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mcgrew@cisco.com; l=7310; q=dns/txt; s=iport; t=1321446349; x=1322655949; h=cc:message-id:from:to:in-reply-to: content-transfer-encoding:mime-version:subject:date: references; bh=jJHGIdWdXDg0Td3aR0w07SfnIBrLWXZGh1Vshf1RXHI=; b=F1kg9Emql2yyLl/AYr6lDubx9LBT9po6Ocq3OQpE+pXfB5FQJjRwXeuM rbfzMVbu9GssRQmM24GBQwCdeISnGB+fNWFzcu4SXqYJN4yjBdQE383Xg /8GGiMszp7k2Z4la11JxVSXeGWHueBe7MP4AekNBEbpumaaRY12pOTLdp M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoAANaqw06rRDoH/2dsb2JhbABDhQGUcZAFgQWBcgEBAQMBAQEBDwEQBBEwBgsFBwQLDgMEAQEDAiMDAgInHwkIBhMih2AImk0BjFmSDASBMIdRM2MEiBSMIIU7jGI
X-IronPort-AV: E=Sophos;i="4.69,520,1315180800"; d="scan'208";a="14536527"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-2.cisco.com with ESMTP; 16 Nov 2011 12:25:49 +0000
Received: from [10.32.254.210] ([10.32.254.210]) by mtv-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id pAGCPmHT016188; Wed, 16 Nov 2011 12:25:48 GMT
Message-Id: <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: Mike Jones <Michael.Jones@microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com>
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v936)
Date: Wed, 16 Nov 2011 04:25:46 -0800
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com>
X-Mailer: Apple Mail (2.936)
X-Mailman-Approved-At: Wed, 16 Nov 2011 04:52:31 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] comments on draft-jones-json-web-signature	and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 12:25:50 -0000

Hi Mike,

On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:

> Upon reflection since Monday's meeting, I believe that the draft =20
> title should stay "JSON Web Signature" (as Tony pointed out, =20
> "Signing" is in the WG's name!)

we should not be concerned about consistency with the WG name, but =20
instead about the perceptions of the reader.  We can't blame the =20
reader for expecting an RFC with "signatures" in its name to provide =20
asymmetric authentication.  Will implementations that include the =20
symmetric message authentication code, but lack any actual signature =20
mechanisms, be able to claim conformance to the specification?

> but the text should be clear that the spec describes both how to =20
> perform digital signatures and how to perform HMAC operations).  It =20=

> will no longer use the term "signing" when referring to HMAC =20
> operations.
>

Great, that's a key point.

> As Eric Rescorla pointed out during the meeting, the problem with =20
> splitting out HMAC into a different spec is that the preparation of =20=

> the content is essentially identical between the two kinds of =20
> operations.  The amount of duplication resulting wouldn't be doing =20
> the users of the specs any favors.

Avoiding duplication is a good goal.  Another way to achieve it, while =20=

being more clear about what conformance to the spec means, is to have =20=

two drafts, with the MAC draft using definitions from the Signature =20
draft.  Say, the Signature draft could have a section or two that =20
applies to both, and the MAC draft references those sections.

If there is only going to be one draft, then I strongly encourage the =20=

WG to use a generic term like "authentication" in the title, or to =20
have the title describe both security mechanisms: "JSON Web Signature =20=

and Message Authentication".

David

>
> 				-- Mike
>
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =20=

> Of Anthony Nadalin
> Sent: Tuesday, November 15, 2011 5:50 PM
> To: David McGrew; jose@ietf.org
> Subject: Re: [jose] comments on draft-jones-json-web-signature and =20
> draft-jones-json-web-encryption
>
> At the same time we don't want to confuse folks the other way to =20
> have them think we are not addressing signature. The WG name does =20
> have signing in it. One option would be to split out the MAC from =20
> the signing
>
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =20=

> Of David McGrew
> Sent: Tuesday, November 15, 2011 4:40 AM
> To: jose@ietf.org
> Subject: [jose] comments on draft-jones-json-web-signature and draft-=20=

> jones-json-web-encryption
>
> Hi
>
> I would like to contribute the following comments.  I have not been =20=

> closely following the WG, so apologies in advance if I'm rehashing =20
> something.
>
> The json-web-signature draft should be changed by using the more =20
> generic "authentication" instead of "signature", as suggested in
> Section 9.   HMAC is a (symmetric) message authentication code, and
> not an (asymmetric) digital signature algorithm.  See RFC 4949 for =20
> instance for the appropriate definitions.  Calling HMAC a signature =20=

> method will confuse readers going forward and potentially set =20
> incorrect expectations. I suggest the following changes (not because =20=

> I think these are the only good alternatives, but because I want to be
> constructive):
>
> "JSON Web Signature" -> "JSON Web Authentication"
> "sign" -> "authenticate"
> "signing" -> "authenticating"
> "signature" -> "authentication data"
>
> The security considerations of json-web-signature should explain the =20=

> difference between symmetric and asymmetric encryption.
>
> Section 9 mentions the possibility of including an unkeyed checksum =20=

> based on SHA-256.  If that is done, then that will potentially =20
> confuse the issue further.  What would the value of that checksum =20
> be, and
> would it be a security mechanism?   If it is defined, I suggest that
> it be done in a different draft.
>
> Why are we allowing unauthenticated encryption in draft-jones-json-=20
> web-
> encryption?   Authenticated Encryption with Associated Data (AEAD) is
> recommended (in the form of AES-GCM) in the draft, and it avoids all =20=

> sorts of security issues that are present with unauthenticated =20
> encryption (besides being theoretically vulnerable, it has fallen =20
> victim to practical attacks [1][2][3][4][5][6][7][8]).  Note that =20
> some of these attacks apply when encryption is loosely bound to =20
> authentication.  I suggest that AEAD be the only encryption method, =20=

> and that an RFC 5116 interface be included.  Since GCM is =20
> recommended, the interface is already there, but not called out.  =20
> Omitting unauthenticated encryption will simplify the spec, and =20
> improve security.  If there is some percieved issue with AES-GCM, =20
> there are other AEAD algorithms that can be used, AES-SIV (synthetic =20=

> IV mode)
> for instance, or a generic CBC+HMAC composition.   In any case, I
> offer to help craft and/or review this text.
>
> A minor point: JWE recommends AES-GCM; why not have json-web-=20
> signature recommend AES-GMAC?
>
> json-web-signature says that "Related encryption capabilities are
> described in the separate JSON Web Encryption (JWE) specification".
> The JWE specification says that "In general, senders SHOULD sign the =20=

> message and then encrypt the result (thus encrypting the
> signature)".   There ought to be better recommendations for security.
> For instance, encryption without authentication should be disallowed.
>
> regards,
>
> David
>
> --
>
>
> [1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to =20=

> SSL, IPSEC, WTLS...", EUROCRYPT 2002.
>
> [2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat =20
> Europe, 2010.
>
> [3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM =20
> Conference on Computer and Communications Security (CCS), 2011.
>
> [4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the =20=

> SSH authenticated encryption scheme: A case study of the Encode-=20
> then- Encrypt-and-MAC paradigm", ACM Transactions on Information and =20=

> System Security, May 2004.
>
> [5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS", =20
> Ekoparty, 2011.
>
> [6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=
=9D, =20
> Sixth Usenix Unix Security Symposium, 1996.
>
> [7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The =
case =20
> of encryption in IPsec=E2=80=9D, EUROCRYPT 2006,
>
> [8] Degabriele, Paterson, "Attacking the IPsec Standards in =20
> Encryption- only Con=EF=AC=81gurations", IEEE Symposium on Security =
and =20
> Privacy, 2007.
>
>
>
>
> _______________________________________________
> 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 sakimura@gmail.com  Wed Nov 16 06:50:29 2011
Return-Path: <sakimura@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D79421F9616 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 06:50:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.239
X-Spam-Level: 
X-Spam-Status: No, score=-2.239 tagged_above=-999 required=5 tests=[AWL=-0.906, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-1, SARE_HTML_USL_OBFU=1.666]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cLJ2gJvylg2e for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 06:50:28 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by ietfa.amsl.com (Postfix) with ESMTP id E877621F9613 for <jose@ietf.org>; Wed, 16 Nov 2011 06:50:27 -0800 (PST)
Received: by faap16 with SMTP id p16so1880259faa.31 for <jose@ietf.org>; Wed, 16 Nov 2011 06:50:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I4Tx/E9/IzIsqP20v8fRwdeSktKhXyb8xfxfQWBi4WI=; b=AmBqBJz0PKj3GoEzhbTRPRKSdvBQJ8dzIDnyDZziRd0DxNxv/gwMVKyzZeTiPk9iqd 4+LPZr3yegFwhAOHB+YvAp64bYfnLY5XMsRXYOHnzs7ODGicIuTqQquFTYkgiNozMVBO y/fLnqUixvTCPdeGqDBfymCfpgMPZls8VearY=
MIME-Version: 1.0
Received: by 10.152.144.2 with SMTP id si2mr20376032lab.8.1321455022221; Wed, 16 Nov 2011 06:50:22 -0800 (PST)
Received: by 10.152.4.34 with HTTP; Wed, 16 Nov 2011 06:50:22 -0800 (PST)
In-Reply-To: <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com> <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com>
Date: Wed, 16 Nov 2011 22:50:22 +0800
Message-ID: <CABzCy2Ag0vWp-G9WiDEiEfaQNYjVWhcThQME4xLnzxWySxLGAQ@mail.gmail.com>
From: Nat Sakimura <sakimura@gmail.com>
To: David McGrew <mcgrew@cisco.com>
Content-Type: multipart/alternative; boundary=e89a8f22bfb52fa7aa04b1db39d2
Cc: Anthony Nadalin <tonynad@microsoft.com>, Mike Jones <Michael.Jones@microsoft.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 14:50:29 -0000

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

"JSON Web Signature and Message Authentication" is a bit verbose, but
accurate so I like it.

=3Dnat

On Wed, Nov 16, 2011 at 8:25 PM, David McGrew <mcgrew@cisco.com> wrote:

> Hi Mike,
>
>
> On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:
>
>  Upon reflection since Monday's meeting, I believe that the draft title
>> should stay "JSON Web Signature" (as Tony pointed out, "Signing" is in t=
he
>> WG's name!)
>>
>
> we should not be concerned about consistency with the WG name, but instea=
d
> about the perceptions of the reader.  We can't blame the reader for
> expecting an RFC with "signatures" in its name to provide asymmetric
> authentication.  Will implementations that include the symmetric message
> authentication code, but lack any actual signature mechanisms, be able to
> claim conformance to the specification?
>
>
>  but the text should be clear that the spec describes both how to perform
>> digital signatures and how to perform HMAC operations).  It will no long=
er
>> use the term "signing" when referring to HMAC operations.
>>
>>
> Great, that's a key point.
>
>
>  As Eric Rescorla pointed out during the meeting, the problem with
>> splitting out HMAC into a different spec is that the preparation of the
>> content is essentially identical between the two kinds of operations.  T=
he
>> amount of duplication resulting wouldn't be doing the users of the specs
>> any favors.
>>
>
> Avoiding duplication is a good goal.  Another way to achieve it, while
> being more clear about what conformance to the spec means, is to have two
> drafts, with the MAC draft using definitions from the Signature draft.
>  Say, the Signature draft could have a section or two that applies to bot=
h,
> and the MAC draft references those sections.
>
> If there is only going to be one draft, then I strongly encourage the WG
> to use a generic term like "authentication" in the title, or to have the
> title describe both security mechanisms: "JSON Web Signature and Message
> Authentication".
>
> David
>
>
>
>>                                -- Mike
>>
>> -----Original Message-----
>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
>> Anthony Nadalin
>> Sent: Tuesday, November 15, 2011 5:50 PM
>> To: David McGrew; jose@ietf.org
>> Subject: Re: [jose] comments on draft-jones-json-web-signature and
>> draft-jones-json-web-**encryption
>>
>> At the same time we don't want to confuse folks the other way to have
>> them think we are not addressing signature. The WG name does have signin=
g
>> in it. One option would be to split out the MAC from the signing
>>
>> -----Original Message-----
>> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
>> David McGrew
>> Sent: Tuesday, November 15, 2011 4:40 AM
>> To: jose@ietf.org
>> Subject: [jose] comments on draft-jones-json-web-signature and
>> draft-jones-json-web-**encryption
>>
>> Hi
>>
>> I would like to contribute the following comments.  I have not been
>> closely following the WG, so apologies in advance if I'm rehashing
>> something.
>>
>> The json-web-signature draft should be changed by using the more generic
>> "authentication" instead of "signature", as suggested in
>> Section 9.   HMAC is a (symmetric) message authentication code, and
>> not an (asymmetric) digital signature algorithm.  See RFC 4949 for
>> instance for the appropriate definitions.  Calling HMAC a signature meth=
od
>> will confuse readers going forward and potentially set incorrect
>> expectations. I suggest the following changes (not because I think these
>> are the only good alternatives, but because I want to be
>> constructive):
>>
>> "JSON Web Signature" -> "JSON Web Authentication"
>> "sign" -> "authenticate"
>> "signing" -> "authenticating"
>> "signature" -> "authentication data"
>>
>> The security considerations of json-web-signature should explain the
>> difference between symmetric and asymmetric encryption.
>>
>> Section 9 mentions the possibility of including an unkeyed checksum base=
d
>> on SHA-256.  If that is done, then that will potentially confuse the iss=
ue
>> further.  What would the value of that checksum be, and
>> would it be a security mechanism?   If it is defined, I suggest that
>> it be done in a different draft.
>>
>> Why are we allowing unauthenticated encryption in draft-jones-json-web-
>> encryption?   Authenticated Encryption with Associated Data (AEAD) is
>> recommended (in the form of AES-GCM) in the draft, and it avoids all
>> sorts of security issues that are present with unauthenticated encryptio=
n
>> (besides being theoretically vulnerable, it has fallen victim to practic=
al
>> attacks [1][2][3][4][5][6][7][8]).  Note that some of these attacks appl=
y
>> when encryption is loosely bound to authentication.  I suggest that AEAD=
 be
>> the only encryption method, and that an RFC 5116 interface be included.
>>  Since GCM is recommended, the interface is already there, but not calle=
d
>> out.  Omitting unauthenticated encryption will simplify the spec, and
>> improve security.  If there is some percieved issue with AES-GCM, there =
are
>> other AEAD algorithms that can be used, AES-SIV (synthetic IV mode)
>> for instance, or a generic CBC+HMAC composition.   In any case, I
>> offer to help craft and/or review this text.
>>
>> A minor point: JWE recommends AES-GCM; why not have json-web-signature
>> recommend AES-GMAC?
>>
>> json-web-signature says that "Related encryption capabilities are
>> described in the separate JSON Web Encryption (JWE) specification".
>> The JWE specification says that "In general, senders SHOULD sign the
>> message and then encrypt the result (thus encrypting the
>> signature)".   There ought to be better recommendations for security.
>> For instance, encryption without authentication should be disallowed.
>>
>> regards,
>>
>> David
>>
>> --
>>
>>
>> [1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to SSL=
,
>> IPSEC, WTLS...", EUROCRYPT 2002.
>>
>> [2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat Europe,
>> 2010.
>>
>> [3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM Conferenc=
e
>> on Computer and Communications Security (CCS), 2011.
>>
>> [4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the SSH
>> authenticated encryption scheme: A case study of the Encode-then-
>> Encrypt-and-MAC paradigm", ACM Transactions on Information and System
>> Security, May 2004.
>>
>> [5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS",
>> Ekoparty, 2011.
>>
>> [6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=
=9D, Sixth Usenix
>> Unix Security Symposium, 1996.
>>
>> [7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The cas=
e of
>> encryption in IPsec=E2=80=9D, EUROCRYPT 2006,
>>
>> [8] Degabriele, Paterson, "Attacking the IPsec Standards in Encryption-
>> only Con=EF=AC=81gurations", IEEE Symposium on Security and Privacy, 200=
7.
>>
>>
>>
>>
>> ______________________________**_________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/**listinfo/jose<https://www.ietf.org/mailma=
n/listinfo/jose>
>> ______________________________**_________________
>> jose mailing list
>> jose@ietf.org
>> https://www.ietf.org/mailman/**listinfo/jose<https://www.ietf.org/mailma=
n/listinfo/jose>
>>
>
> ______________________________**_________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/**listinfo/jose<https://www.ietf.org/mailman=
/listinfo/jose>
>



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

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

<span class=3D"Apple-style-span" style=3D"color: rgb(34, 34, 34); font-fami=
ly: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255=
); ">&quot;JSON Web Signature and Message Authentication&quot; is a bit ver=
bose, but accurate so I like it.=C2=A0</span><div>
<font class=3D"Apple-style-span" color=3D"#222222" face=3D"arial, sans-seri=
f"><br></font></div><div><font class=3D"Apple-style-span" color=3D"#222222"=
 face=3D"arial, sans-serif">=3Dnat<br></font><br><div class=3D"gmail_quote"=
>On Wed, Nov 16, 2011 at 8:25 PM, David McGrew <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hi Mike,<div class=3D"im"><br>
<br>
On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Upon reflection since Monday&#39;s meeting, I believe that the draft title =
should stay &quot;JSON Web Signature&quot; (as Tony pointed out, &quot;Sign=
ing&quot; is in the WG&#39;s name!)<br>
</blockquote>
<br></div>
we should not be concerned about consistency with the WG name, but instead =
about the perceptions of the reader. =C2=A0We can&#39;t blame the reader fo=
r expecting an RFC with &quot;signatures&quot; in its name to provide asymm=
etric authentication. =C2=A0Will implementations that include the symmetric=
 message authentication code, but lack any actual signature mechanisms, be =
able to claim conformance to the specification?<div class=3D"im">
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
but the text should be clear that the spec describes both how to perform di=
gital signatures and how to perform HMAC operations). =C2=A0It will no long=
er use the term &quot;signing&quot; when referring to HMAC operations.<br>
<br>
</blockquote>
<br></div>
Great, that&#39;s a key point.<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
As Eric Rescorla pointed out during the meeting, the problem with splitting=
 out HMAC into a different spec is that the preparation of the content is e=
ssentially identical between the two kinds of operations. =C2=A0The amount =
of duplication resulting wouldn&#39;t be doing the users of the specs any f=
avors.<br>

</blockquote>
<br></div>
Avoiding duplication is a good goal. =C2=A0Another way to achieve it, while=
 being more clear about what conformance to the spec means, is to have two =
drafts, with the MAC draft using definitions from the Signature draft. =C2=
=A0Say, the Signature draft could have a section or two that applies to bot=
h, and the MAC draft references those sections.<br>

<br>
If there is only going to be one draft, then I strongly encourage the WG to=
 use a generic term like &quot;authentication&quot; in the title, or to hav=
e the title describe both security mechanisms: &quot;JSON Web Signature and=
 Message Authentication&quot;.<br>
<font color=3D"#888888">
<br>
David</font><div><div></div><div class=3D"h5"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<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>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-bounc=
es@ietf.org</a> [mailto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"=
_blank">jose-bounces@ietf.org</a>] On Behalf Of Anthony Nadalin<br>
Sent: Tuesday, November 15, 2011 5:50 PM<br>
To: David McGrew; <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@i=
etf.org</a><br>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jo=
nes-json-web-<u></u>encryption<br>
<br>
At the same time we don&#39;t want to confuse folks the other way to have t=
hem think we are not addressing signature. The WG name does have signing in=
 it. One option would be to split out the MAC from the signing<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org" target=3D"_blank">jose-bounc=
es@ietf.org</a> [mailto:<a href=3D"mailto:jose-bounces@ietf.org" target=3D"=
_blank">jose-bounces@ietf.org</a>] On Behalf Of David McGrew<br>
Sent: Tuesday, November 15, 2011 4:40 AM<br>
To: <a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br=
>
Subject: [jose] comments on draft-jones-json-web-signature and draft-jones-=
json-web-<u></u>encryption<br>
<br>
Hi<br>
<br>
I would like to contribute the following comments. =C2=A0I have not been cl=
osely following the WG, so apologies in advance if I&#39;m rehashing someth=
ing.<br>
<br>
The json-web-signature draft should be changed by using the more generic &q=
uot;authentication&quot; instead of &quot;signature&quot;, as suggested in<=
br>
Section 9. =C2=A0 HMAC is a (symmetric) message authentication code, and<br=
>
not an (asymmetric) digital signature algorithm. =C2=A0See RFC 4949 for ins=
tance for the appropriate definitions. =C2=A0Calling HMAC a signature metho=
d will confuse readers going forward and potentially set incorrect expectat=
ions. I suggest the following changes (not because I think these are the on=
ly good alternatives, but because I want to be<br>

constructive):<br>
<br>
&quot;JSON Web Signature&quot; -&gt; &quot;JSON Web Authentication&quot;<br=
>
&quot;sign&quot; -&gt; &quot;authenticate&quot;<br>
&quot;signing&quot; -&gt; &quot;authenticating&quot;<br>
&quot;signature&quot; -&gt; &quot;authentication data&quot;<br>
<br>
The security considerations of json-web-signature should explain the differ=
ence between symmetric and asymmetric encryption.<br>
<br>
Section 9 mentions the possibility of including an unkeyed checksum based o=
n SHA-256. =C2=A0If that is done, then that will potentially confuse the is=
sue further. =C2=A0What would the value of that checksum be, and<br>
would it be a security mechanism? =C2=A0 If it is defined, I suggest that<b=
r>
it be done in a different draft.<br>
<br>
Why are we allowing unauthenticated encryption in draft-jones-json-web-<br>
encryption? =C2=A0 Authenticated Encryption with Associated Data (AEAD) is<=
br>
recommended (in the form of AES-GCM) in the draft, and it avoids all sorts =
of security issues that are present with unauthenticated encryption (beside=
s being theoretically vulnerable, it has fallen victim to practical attacks=
 [1][2][3][4][5][6][7][8]). =C2=A0Note that some of these attacks apply whe=
n encryption is loosely bound to authentication. =C2=A0I suggest that AEAD =
be the only encryption method, and that an RFC 5116 interface be included. =
=C2=A0Since GCM is recommended, the interface is already there, but not cal=
led out. =C2=A0Omitting unauthenticated encryption will simplify the spec, =
and improve security. =C2=A0If there is some percieved issue with AES-GCM, =
there are other AEAD algorithms that can be used, AES-SIV (synthetic IV mod=
e)<br>

for instance, or a generic CBC+HMAC composition. =C2=A0 In any case, I<br>
offer to help craft and/or review this text.<br>
<br>
A minor point: JWE recommends AES-GCM; why not have json-web-signature reco=
mmend AES-GMAC?<br>
<br>
json-web-signature says that &quot;Related encryption capabilities are<br>
described in the separate JSON Web Encryption (JWE) specification&quot;.<br=
>
The JWE specification says that &quot;In general, senders SHOULD sign the m=
essage and then encrypt the result (thus encrypting the<br>
signature)&quot;. =C2=A0 There ought to be better recommendations for secur=
ity.<br>
For instance, encryption without authentication should be disallowed.<br>
<br>
regards,<br>
<br>
David<br>
<br>
--<br>
<br>
<br>
[1] Vaudenay, &quot;Security Flaws Induced by CBC Padding Applications to S=
SL, IPSEC, WTLS...&quot;, EUROCRYPT 2002.<br>
<br>
[2] Rizzo, Duong, &quot;Practical Padding Oracle Attacks&quot;, Black Hat E=
urope, 2010.<br>
<br>
[3] Jager, Somorovsky, &quot;How To Break XML Encryption&quot;, 18th ACM Co=
nference on Computer and Communications Security (CCS), 2011.<br>
<br>
[4] Bellare, Kohno, Namprempre, &quot;Breaking and provably repairing the S=
SH authenticated encryption scheme: A case study of the Encode-then- Encryp=
t-and-MAC paradigm&quot;, ACM Transactions on Information and System Securi=
ty, May 2004.<br>

<br>
[5] Rizzo, Thai, &quot;BEAST: Surprising crypto attack against HTTPS&quot;,=
 Ekoparty, 2011.<br>
<br>
[6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=9D=
, Sixth Usenix Unix Security Symposium, 1996.<br>
<br>
[7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The case o=
f encryption in IPsec=E2=80=9D, EUROCRYPT 2006,<br>
<br>
[8] Degabriele, Paterson, &quot;Attacking the IPsec Standards in Encryption=
- only Con=EF=AC=81gurations&quot;, IEEE Symposium on Security and Privacy,=
 2007.<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
Nat Sakimura (=3Dnat)<div>Chairman, OpenID Foundation<br><a href=3D"http://=
nat.sakimura.org/" target=3D"_blank">http://nat.sakimura.org/</a><br>@_nat_=
en</div>
<br>
</div>

--e89a8f22bfb52fa7aa04b1db39d2--

From ve7jtb@ve7jtb.com  Wed Nov 16 12:46:51 2011
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C90421F9419 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 12:46:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.421
X-Spam-Level: 
X-Spam-Status: No, score=-2.421 tagged_above=-999 required=5 tests=[AWL=-1.089, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-1, SARE_HTML_USL_OBFU=1.666]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wsu4kjpIPsO4 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 12:46:44 -0800 (PST)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id 9078D21F941F for <jose@ietf.org>; Wed, 16 Nov 2011 12:46:44 -0800 (PST)
Received: by yenq4 with SMTP id q4so164683yen.31 for <jose@ietf.org>; Wed, 16 Nov 2011 12:46:43 -0800 (PST)
Received: by 10.101.8.2 with SMTP id l2mr10777289ani.79.1321476402987; Wed, 16 Nov 2011 12:46:42 -0800 (PST)
Received: from [192.168.1.2] ([190.22.28.142]) by mx.google.com with ESMTPS id y1sm42818820anj.18.2011.11.16.12.46.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Nov 2011 12:46:42 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: multipart/alternative; boundary="Apple-Mail=_CEB0F769-6379-478D-946A-CDD1B670AB37"
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CABzCy2Ag0vWp-G9WiDEiEfaQNYjVWhcThQME4xLnzxWySxLGAQ@mail.gmail.com>
Date: Wed, 16 Nov 2011 17:46:33 -0300
Message-Id: <1B79A6CD-E6AE-4010-8152-5E83DA0CA003@ve7jtb.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com> <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com> <CABzCy2Ag0vWp-G9WiDEiEfaQNYjVWhcThQME4xLnzxWySxLGAQ@mail.gmail.com>
To: Nat Sakimura <sakimura@gmail.com>
X-Mailer: Apple Mail (2.1251.1)
Cc: Anthony Nadalin <tonynad@microsoft.com>, Mike Jones <Michael.Jones@microsoft.com>, David McGrew <mcgrew@cisco.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 20:46:51 -0000

--Apple-Mail=_CEB0F769-6379-478D-946A-CDD1B670AB37
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

+1
On 2011-11-16, at 11:50 AM, Nat Sakimura wrote:

> "JSON Web Signature and Message Authentication" is a bit verbose, but =
accurate so I like it.=20
>=20
> =3Dnat
>=20
> On Wed, Nov 16, 2011 at 8:25 PM, David McGrew <mcgrew@cisco.com> =
wrote:
> Hi Mike,
>=20
>=20
> On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:
>=20
> Upon reflection since Monday's meeting, I believe that the draft title =
should stay "JSON Web Signature" (as Tony pointed out, "Signing" is in =
the WG's name!)
>=20
> we should not be concerned about consistency with the WG name, but =
instead about the perceptions of the reader.  We can't blame the reader =
for expecting an RFC with "signatures" in its name to provide asymmetric =
authentication.  Will implementations that include the symmetric message =
authentication code, but lack any actual signature mechanisms, be able =
to claim conformance to the specification?
>=20
>=20
> but the text should be clear that the spec describes both how to =
perform digital signatures and how to perform HMAC operations).  It will =
no longer use the term "signing" when referring to HMAC operations.
>=20
>=20
> Great, that's a key point.
>=20
>=20
> As Eric Rescorla pointed out during the meeting, the problem with =
splitting out HMAC into a different spec is that the preparation of the =
content is essentially identical between the two kinds of operations.  =
The amount of duplication resulting wouldn't be doing the users of the =
specs any favors.
>=20
> Avoiding duplication is a good goal.  Another way to achieve it, while =
being more clear about what conformance to the spec means, is to have =
two drafts, with the MAC draft using definitions from the Signature =
draft.  Say, the Signature draft could have a section or two that =
applies to both, and the MAC draft references those sections.
>=20
> If there is only going to be one draft, then I strongly encourage the =
WG to use a generic term like "authentication" in the title, or to have =
the title describe both security mechanisms: "JSON Web Signature and =
Message Authentication".
>=20
> David
>=20
>=20
>=20
>                                -- Mike
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of Anthony Nadalin
> Sent: Tuesday, November 15, 2011 5:50 PM
> To: David McGrew; jose@ietf.org
> Subject: Re: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-encryption
>=20
> At the same time we don't want to confuse folks the other way to have =
them think we are not addressing signature. The WG name does have =
signing in it. One option would be to split out the MAC from the signing
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of David McGrew
> Sent: Tuesday, November 15, 2011 4:40 AM
> To: jose@ietf.org
> Subject: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-encryption
>=20
> Hi
>=20
> I would like to contribute the following comments.  I have not been =
closely following the WG, so apologies in advance if I'm rehashing =
something.
>=20
> The json-web-signature draft should be changed by using the more =
generic "authentication" instead of "signature", as suggested in
> Section 9.   HMAC is a (symmetric) message authentication code, and
> not an (asymmetric) digital signature algorithm.  See RFC 4949 for =
instance for the appropriate definitions.  Calling HMAC a signature =
method will confuse readers going forward and potentially set incorrect =
expectations. I suggest the following changes (not because I think these =
are the only good alternatives, but because I want to be
> constructive):
>=20
> "JSON Web Signature" -> "JSON Web Authentication"
> "sign" -> "authenticate"
> "signing" -> "authenticating"
> "signature" -> "authentication data"
>=20
> The security considerations of json-web-signature should explain the =
difference between symmetric and asymmetric encryption.
>=20
> Section 9 mentions the possibility of including an unkeyed checksum =
based on SHA-256.  If that is done, then that will potentially confuse =
the issue further.  What would the value of that checksum be, and
> would it be a security mechanism?   If it is defined, I suggest that
> it be done in a different draft.
>=20
> Why are we allowing unauthenticated encryption in =
draft-jones-json-web-
> encryption?   Authenticated Encryption with Associated Data (AEAD) is
> recommended (in the form of AES-GCM) in the draft, and it avoids all =
sorts of security issues that are present with unauthenticated =
encryption (besides being theoretically vulnerable, it has fallen victim =
to practical attacks [1][2][3][4][5][6][7][8]).  Note that some of these =
attacks apply when encryption is loosely bound to authentication.  I =
suggest that AEAD be the only encryption method, and that an RFC 5116 =
interface be included.  Since GCM is recommended, the interface is =
already there, but not called out.  Omitting unauthenticated encryption =
will simplify the spec, and improve security.  If there is some =
percieved issue with AES-GCM, there are other AEAD algorithms that can =
be used, AES-SIV (synthetic IV mode)
> for instance, or a generic CBC+HMAC composition.   In any case, I
> offer to help craft and/or review this text.
>=20
> A minor point: JWE recommends AES-GCM; why not have json-web-signature =
recommend AES-GMAC?
>=20
> json-web-signature says that "Related encryption capabilities are
> described in the separate JSON Web Encryption (JWE) specification".
> The JWE specification says that "In general, senders SHOULD sign the =
message and then encrypt the result (thus encrypting the
> signature)".   There ought to be better recommendations for security.
> For instance, encryption without authentication should be disallowed.
>=20
> regards,
>=20
> David
>=20
> --
>=20
>=20
> [1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to =
SSL, IPSEC, WTLS...", EUROCRYPT 2002.
>=20
> [2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat =
Europe, 2010.
>=20
> [3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM =
Conference on Computer and Communications Security (CCS), 2011.
>=20
> [4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the =
SSH authenticated encryption scheme: A case study of the Encode-then- =
Encrypt-and-MAC paradigm", ACM Transactions on Information and System =
Security, May 2004.
>=20
> [5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS", =
Ekoparty, 2011.
>=20
> [6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=
=9D, Sixth Usenix Unix Security Symposium, 1996.
>=20
> [7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The =
case of encryption in IPsec=E2=80=9D, EUROCRYPT 2006,
>=20
> [8] Degabriele, Paterson, "Attacking the IPsec Standards in =
Encryption- only Con=EF=AC=81gurations", IEEE Symposium on Security and =
Privacy, 2007.
>=20
>=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
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>=20
>=20
>=20
> --=20
> Nat Sakimura (=3Dnat)
> Chairman, OpenID Foundation
> http://nat.sakimura.org/
> @_nat_en
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_CEB0F769-6379-478D-946A-CDD1B670AB37
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">+1<br><div><div>On 2011-11-16, at 11:50 AM, Nat Sakimura =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"color: rgb(34, =
34, 34); font-family: arial, sans-serif; font-size: 13px; =
background-color: rgb(255, 255, 255); ">"JSON Web Signature and Message =
Authentication" is a bit verbose, but accurate so I like =
it.&nbsp;</span><div>
<font class=3D"Apple-style-span" color=3D"#222222" face=3D"arial, =
sans-serif"><br></font></div><div><font class=3D"Apple-style-span" =
color=3D"#222222" face=3D"arial, sans-serif">=3Dnat<br></font><br><div =
class=3D"gmail_quote">On Wed, Nov 16, 2011 at 8:25 PM, David McGrew =
<span dir=3D"ltr">&lt;<a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.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;">Hi Mike,<div =
class=3D"im"><br>
<br>
On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Upon reflection since Monday's meeting, I believe that the draft title =
should stay "JSON Web Signature" (as Tony pointed out, "Signing" is in =
the WG's name!)<br>
</blockquote>
<br></div>
we should not be concerned about consistency with the WG name, but =
instead about the perceptions of the reader. &nbsp;We can't blame the =
reader for expecting an RFC with "signatures" in its name to provide =
asymmetric authentication. &nbsp;Will implementations that include the =
symmetric message authentication code, but lack any actual signature =
mechanisms, be able to claim conformance to the specification?<div =
class=3D"im">
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
but the text should be clear that the spec describes both how to perform =
digital signatures and how to perform HMAC operations). &nbsp;It will no =
longer use the term "signing" when referring to HMAC operations.<br>
<br>
</blockquote>
<br></div>
Great, that's a key point.<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
As Eric Rescorla pointed out during the meeting, the problem with =
splitting out HMAC into a different spec is that the preparation of the =
content is essentially identical between the two kinds of operations. =
&nbsp;The amount of duplication resulting wouldn't be doing the users of =
the specs any favors.<br>

</blockquote>
<br></div>
Avoiding duplication is a good goal. &nbsp;Another way to achieve it, =
while being more clear about what conformance to the spec means, is to =
have two drafts, with the MAC draft using definitions from the Signature =
draft. &nbsp;Say, the Signature draft could have a section or two that =
applies to both, and the MAC draft references those sections.<br>

<br>
If there is only going to be one draft, then I strongly encourage the WG =
to use a generic term like "authentication" in the title, or to have the =
title describe both security mechanisms: "JSON Web Signature and Message =
Authentication".<br>
<font color=3D"#888888">
<br>
David</font><div><div></div><div class=3D"h5"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- Mike<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a> [mailto:<a =
href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a>] On Behalf Of Anthony =
Nadalin<br>
Sent: Tuesday, November 15, 2011 5:50 PM<br>
To: David McGrew; <a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br>
Subject: Re: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-<u></u>encryption<br>
<br>
At the same time we don't want to confuse folks the other way to have =
them think we are not addressing signature. The WG name does have =
signing in it. One option would be to split out the MAC from the =
signing<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a> [mailto:<a =
href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a>] On Behalf Of David =
McGrew<br>
Sent: Tuesday, November 15, 2011 4:40 AM<br>
To: <a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br>
Subject: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-<u></u>encryption<br>
<br>
Hi<br>
<br>
I would like to contribute the following comments. &nbsp;I have not been =
closely following the WG, so apologies in advance if I'm rehashing =
something.<br>
<br>
The json-web-signature draft should be changed by using the more generic =
"authentication" instead of "signature", as suggested in<br>
Section 9. &nbsp; HMAC is a (symmetric) message authentication code, =
and<br>
not an (asymmetric) digital signature algorithm. &nbsp;See RFC 4949 for =
instance for the appropriate definitions. &nbsp;Calling HMAC a signature =
method will confuse readers going forward and potentially set incorrect =
expectations. I suggest the following changes (not because I think these =
are the only good alternatives, but because I want to be<br>

constructive):<br>
<br>
"JSON Web Signature" -&gt; "JSON Web Authentication"<br>
"sign" -&gt; "authenticate"<br>
"signing" -&gt; "authenticating"<br>
"signature" -&gt; "authentication data"<br>
<br>
The security considerations of json-web-signature should explain the =
difference between symmetric and asymmetric encryption.<br>
<br>
Section 9 mentions the possibility of including an unkeyed checksum =
based on SHA-256. &nbsp;If that is done, then that will potentially =
confuse the issue further. &nbsp;What would the value of that checksum =
be, and<br>
would it be a security mechanism? &nbsp; If it is defined, I suggest =
that<br>
it be done in a different draft.<br>
<br>
Why are we allowing unauthenticated encryption in =
draft-jones-json-web-<br>
encryption? &nbsp; Authenticated Encryption with Associated Data (AEAD) =
is<br>
recommended (in the form of AES-GCM) in the draft, and it avoids all =
sorts of security issues that are present with unauthenticated =
encryption (besides being theoretically vulnerable, it has fallen victim =
to practical attacks [1][2][3][4][5][6][7][8]). &nbsp;Note that some of =
these attacks apply when encryption is loosely bound to authentication. =
&nbsp;I suggest that AEAD be the only encryption method, and that an RFC =
5116 interface be included. &nbsp;Since GCM is recommended, the =
interface is already there, but not called out. &nbsp;Omitting =
unauthenticated encryption will simplify the spec, and improve security. =
&nbsp;If there is some percieved issue with AES-GCM, there are other =
AEAD algorithms that can be used, AES-SIV (synthetic IV mode)<br>

for instance, or a generic CBC+HMAC composition. &nbsp; In any case, =
I<br>
offer to help craft and/or review this text.<br>
<br>
A minor point: JWE recommends AES-GCM; why not have json-web-signature =
recommend AES-GMAC?<br>
<br>
json-web-signature says that "Related encryption capabilities are<br>
described in the separate JSON Web Encryption (JWE) specification".<br>
The JWE specification says that "In general, senders SHOULD sign the =
message and then encrypt the result (thus encrypting the<br>
signature)". &nbsp; There ought to be better recommendations for =
security.<br>
For instance, encryption without authentication should be =
disallowed.<br>
<br>
regards,<br>
<br>
David<br>
<br>
--<br>
<br>
<br>
[1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to =
SSL, IPSEC, WTLS...", EUROCRYPT 2002.<br>
<br>
[2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat Europe, =
2010.<br>
<br>
[3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM =
Conference on Computer and Communications Security (CCS), 2011.<br>
<br>
[4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the SSH =
authenticated encryption scheme: A case study of the Encode-then- =
Encrypt-and-MAC paradigm", ACM Transactions on Information and System =
Security, May 2004.<br>

<br>
[5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS", =
Ekoparty, 2011.<br>
<br>
[6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=9D=
, Sixth Usenix Unix Security Symposium, 1996.<br>
<br>
[7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The =
case of encryption in IPsec=E2=80=9D, EUROCRYPT 2006,<br>
<br>
[8] Degabriele, Paterson, "Attacking the IPsec Standards in Encryption- =
only Con=EF=AC=81gurations", IEEE Symposium on Security and Privacy, =
2007.<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br=
>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br=
>
</blockquote>
<br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br=
>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- =
<br>Nat Sakimura (=3Dnat)<div>Chairman, OpenID Foundation<br><a =
href=3D"http://nat.sakimura.org/" =
target=3D"_blank">http://nat.sakimura.org/</a><br>@_nat_en</div>
<br>
</div>
_______________________________________________<br>jose mailing =
list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>https://www.ietf.org/ma=
ilman/listinfo/jose<br></blockquote></div><br></body></html>=

--Apple-Mail=_CEB0F769-6379-478D-946A-CDD1B670AB37--

From jlaurens@cisco.com  Wed Nov 16 12:53:08 2011
Return-Path: <jlaurens@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C7D321F91E1 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 12:53:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.332
X-Spam-Level: 
X-Spam-Status: No, score=-4.332 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_MED=-4, SARE_HTML_USL_OBFU=1.666]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SkvbzvNwuJ65 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 12:53:07 -0800 (PST)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id B686E21F9145 for <jose@ietf.org>; Wed, 16 Nov 2011 12:53:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=jlaurens@cisco.com; l=25435; q=dns/txt; s=iport; t=1321476786; x=1322686386; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=1V9RuhtG6EJpOd/yDIRWyTm8E5EI9zjEGiGLVj4h//0=; b=S9Cxzlm0l7bkww72xGJ3pgf6iuJGKhaiPcmyX+ltf1i1D3ROsWhzXkp2 rjb6AFtqOvrFCEJJrw72ogW/Dh3FpHViM0+DQBKDIM5C+3xqKRJPZL321 qSCLJ1tfnDjzxBD6+k0J9R1W5lOTc5cVO+sRaHTPDXF9N3TLsLqF0er49 w=;
X-Files: smime.p7s : 4391
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: At8AAPIhxE6tJXG+/2dsb2JhbABDgk2CNJR0iBUBh3h+B4FyAQEBBAEBAQ8BEARBBhcEAgEIEQQBAQEnAwICAiULFAkIAgQTDhSHaJo9AYxZkg2JATNjBI8BhTOQUYEr
X-IronPort-AV: E=Sophos;i="4.69,523,1315180800";  d="p7s'?scan'208,217";a="36686460"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-1.cisco.com with ESMTP; 16 Nov 2011 20:53:06 +0000
Received: from xht-rcd-x02-p.cisco.com (xht-rcd-x02-p.cisco.com [173.37.178.213]) by rcdn-core2-3.cisco.com (8.14.3/8.14.3) with ESMTP id pAGKr6JT032628 for <jose@ietf.org>; Wed, 16 Nov 2011 20:53:06 GMT
Received: from xmb-rcd-x01-p.cisco.com ([169.254.3.186]) by xht-rcd-x02-p.cisco.com ([173.37.178.213]) with mapi id 14.01.0339.001; Wed, 16 Nov 2011 12:53:05 -0800
From: "Jeremy Laurenson (jlaurens)" <jlaurens@cisco.com>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
Thread-Index: AQHMpG8aZzLU4CpLAEKWbgJEKFjWYpWwgLYA
Date: Wed, 16 Nov 2011 20:53:05 +0000
Message-ID: <43151656-5D9C-4876-83FC-5070FE5155F7@cisco.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com> <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com> <CABzCy2Ag0vWp-G9WiDEiEfaQNYjVWhcThQME4xLnzxWySxLGAQ@mail.gmail.com>
In-Reply-To: <CABzCy2Ag0vWp-G9WiDEiEfaQNYjVWhcThQME4xLnzxWySxLGAQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [173.37.178.200]
x-tm-as-product-ver: SMEX-10.0.0.4211-6.800.1017-18522.005
x-tm-as-result: No--58.645900-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/signed; boundary="Apple-Mail=_0F1653A0-23E7-44B2-9694-B57758D34DA1"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
Subject: Re: [jose] comments on draft-jones-json-web-signature and	draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 20:53:08 -0000

--Apple-Mail=_0F1653A0-23E7-44B2-9694-B57758D34DA1
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_C52CF3F2-F501-4F22-B8BF-DDC95BB217CD"


--Apple-Mail=_C52CF3F2-F501-4F22-B8BF-DDC95BB217CD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

+1

On Nov 16, 2011, at 9:50 AM, Nat Sakimura wrote:

> "JSON Web Signature and Message Authentication" is a bit verbose, but =
accurate so I like it.=20
>=20
> =3Dnat
>=20
> On Wed, Nov 16, 2011 at 8:25 PM, David McGrew <mcgrew@cisco.com> =
wrote:
> Hi Mike,
>=20
>=20
> On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:
>=20
> Upon reflection since Monday's meeting, I believe that the draft title =
should stay "JSON Web Signature" (as Tony pointed out, "Signing" is in =
the WG's name!)
>=20
> we should not be concerned about consistency with the WG name, but =
instead about the perceptions of the reader.  We can't blame the reader =
for expecting an RFC with "signatures" in its name to provide asymmetric =
authentication.  Will implementations that include the symmetric message =
authentication code, but lack any actual signature mechanisms, be able =
to claim conformance to the specification?
>=20
>=20
> but the text should be clear that the spec describes both how to =
perform digital signatures and how to perform HMAC operations).  It will =
no longer use the term "signing" when referring to HMAC operations.
>=20
>=20
> Great, that's a key point.
>=20
>=20
> As Eric Rescorla pointed out during the meeting, the problem with =
splitting out HMAC into a different spec is that the preparation of the =
content is essentially identical between the two kinds of operations.  =
The amount of duplication resulting wouldn't be doing the users of the =
specs any favors.
>=20
> Avoiding duplication is a good goal.  Another way to achieve it, while =
being more clear about what conformance to the spec means, is to have =
two drafts, with the MAC draft using definitions from the Signature =
draft.  Say, the Signature draft could have a section or two that =
applies to both, and the MAC draft references those sections.
>=20
> If there is only going to be one draft, then I strongly encourage the =
WG to use a generic term like "authentication" in the title, or to have =
the title describe both security mechanisms: "JSON Web Signature and =
Message Authentication".
>=20
> David
>=20
>=20
>=20
>                                -- Mike
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of Anthony Nadalin
> Sent: Tuesday, November 15, 2011 5:50 PM
> To: David McGrew; jose@ietf.org
> Subject: Re: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-encryption
>=20
> At the same time we don't want to confuse folks the other way to have =
them think we are not addressing signature. The WG name does have =
signing in it. One option would be to split out the MAC from the signing
>=20
> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf =
Of David McGrew
> Sent: Tuesday, November 15, 2011 4:40 AM
> To: jose@ietf.org
> Subject: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-encryption
>=20
> Hi
>=20
> I would like to contribute the following comments.  I have not been =
closely following the WG, so apologies in advance if I'm rehashing =
something.
>=20
> The json-web-signature draft should be changed by using the more =
generic "authentication" instead of "signature", as suggested in
> Section 9.   HMAC is a (symmetric) message authentication code, and
> not an (asymmetric) digital signature algorithm.  See RFC 4949 for =
instance for the appropriate definitions.  Calling HMAC a signature =
method will confuse readers going forward and potentially set incorrect =
expectations. I suggest the following changes (not because I think these =
are the only good alternatives, but because I want to be
> constructive):
>=20
> "JSON Web Signature" -> "JSON Web Authentication"
> "sign" -> "authenticate"
> "signing" -> "authenticating"
> "signature" -> "authentication data"
>=20
> The security considerations of json-web-signature should explain the =
difference between symmetric and asymmetric encryption.
>=20
> Section 9 mentions the possibility of including an unkeyed checksum =
based on SHA-256.  If that is done, then that will potentially confuse =
the issue further.  What would the value of that checksum be, and
> would it be a security mechanism?   If it is defined, I suggest that
> it be done in a different draft.
>=20
> Why are we allowing unauthenticated encryption in =
draft-jones-json-web-
> encryption?   Authenticated Encryption with Associated Data (AEAD) is
> recommended (in the form of AES-GCM) in the draft, and it avoids all =
sorts of security issues that are present with unauthenticated =
encryption (besides being theoretically vulnerable, it has fallen victim =
to practical attacks [1][2][3][4][5][6][7][8]).  Note that some of these =
attacks apply when encryption is loosely bound to authentication.  I =
suggest that AEAD be the only encryption method, and that an RFC 5116 =
interface be included.  Since GCM is recommended, the interface is =
already there, but not called out.  Omitting unauthenticated encryption =
will simplify the spec, and improve security.  If there is some =
percieved issue with AES-GCM, there are other AEAD algorithms that can =
be used, AES-SIV (synthetic IV mode)
> for instance, or a generic CBC+HMAC composition.   In any case, I
> offer to help craft and/or review this text.
>=20
> A minor point: JWE recommends AES-GCM; why not have json-web-signature =
recommend AES-GMAC?
>=20
> json-web-signature says that "Related encryption capabilities are
> described in the separate JSON Web Encryption (JWE) specification".
> The JWE specification says that "In general, senders SHOULD sign the =
message and then encrypt the result (thus encrypting the
> signature)".   There ought to be better recommendations for security.
> For instance, encryption without authentication should be disallowed.
>=20
> regards,
>=20
> David
>=20
> --
>=20
>=20
> [1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to =
SSL, IPSEC, WTLS...", EUROCRYPT 2002.
>=20
> [2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat =
Europe, 2010.
>=20
> [3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM =
Conference on Computer and Communications Security (CCS), 2011.
>=20
> [4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the =
SSH authenticated encryption scheme: A case study of the Encode-then- =
Encrypt-and-MAC paradigm", ACM Transactions on Information and System =
Security, May 2004.
>=20
> [5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS", =
Ekoparty, 2011.
>=20
> [6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=
=9D, Sixth Usenix Unix Security Symposium, 1996.
>=20
> [7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The =
case of encryption in IPsec=E2=80=9D, EUROCRYPT 2006,
>=20
> [8] Degabriele, Paterson, "Attacking the IPsec Standards in =
Encryption- only Con=EF=AC=81gurations", IEEE Symposium on Security and =
Privacy, 2007.
>=20
>=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
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>=20
>=20
>=20
> --=20
> Nat Sakimura (=3Dnat)
> Chairman, OpenID Foundation
> http://nat.sakimura.org/
> @_nat_en
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--Apple-Mail=_C52CF3F2-F501-4F22-B8BF-DDC95BB217CD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">+1<div><br><div><div>On Nov 16, 2011, at 9:50 AM, Nat Sakimura =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"><span class=3D"Apple-style-span" style=3D"color: =
rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; =
background-color: rgb(255, 255, 255); ">"JSON Web Signature and Message =
Authentication" is a bit verbose, but accurate so I like =
it.&nbsp;</span><div>
<font class=3D"Apple-style-span" color=3D"#222222" face=3D"arial, =
sans-serif"><br></font></div><div><font class=3D"Apple-style-span" =
color=3D"#222222" face=3D"arial, sans-serif">=3Dnat<br></font><br><div =
class=3D"gmail_quote">On Wed, Nov 16, 2011 at 8:25 PM, David McGrew =
<span dir=3D"ltr">&lt;<a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.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;">Hi Mike,<div =
class=3D"im"><br>
<br>
On Nov 15, 2011, at 5:57 PM, Mike Jones wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Upon reflection since Monday's meeting, I believe that the draft title =
should stay "JSON Web Signature" (as Tony pointed out, "Signing" is in =
the WG's name!)<br>
</blockquote>
<br></div>
we should not be concerned about consistency with the WG name, but =
instead about the perceptions of the reader. &nbsp;We can't blame the =
reader for expecting an RFC with "signatures" in its name to provide =
asymmetric authentication. &nbsp;Will implementations that include the =
symmetric message authentication code, but lack any actual signature =
mechanisms, be able to claim conformance to the specification?<div =
class=3D"im">
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
but the text should be clear that the spec describes both how to perform =
digital signatures and how to perform HMAC operations). &nbsp;It will no =
longer use the term "signing" when referring to HMAC operations.<br>
<br>
</blockquote>
<br></div>
Great, that's a key point.<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
As Eric Rescorla pointed out during the meeting, the problem with =
splitting out HMAC into a different spec is that the preparation of the =
content is essentially identical between the two kinds of operations. =
&nbsp;The amount of duplication resulting wouldn't be doing the users of =
the specs any favors.<br>

</blockquote>
<br></div>
Avoiding duplication is a good goal. &nbsp;Another way to achieve it, =
while being more clear about what conformance to the spec means, is to =
have two drafts, with the MAC draft using definitions from the Signature =
draft. &nbsp;Say, the Signature draft could have a section or two that =
applies to both, and the MAC draft references those sections.<br>

<br>
If there is only going to be one draft, then I strongly encourage the WG =
to use a generic term like "authentication" in the title, or to have the =
title describe both security mechanisms: "JSON Web Signature and Message =
Authentication".<br>
<font color=3D"#888888">
<br>
David</font><div><div></div><div class=3D"h5"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- Mike<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a> [mailto:<a =
href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a>] On Behalf Of Anthony =
Nadalin<br>
Sent: Tuesday, November 15, 2011 5:50 PM<br>
To: David McGrew; <a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br>
Subject: Re: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-<u></u>encryption<br>
<br>
At the same time we don't want to confuse folks the other way to have =
them think we are not addressing signature. The WG name does have =
signing in it. One option would be to split out the MAC from the =
signing<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a> [mailto:<a =
href=3D"mailto:jose-bounces@ietf.org" =
target=3D"_blank">jose-bounces@ietf.org</a>] On Behalf Of David =
McGrew<br>
Sent: Tuesday, November 15, 2011 4:40 AM<br>
To: <a href=3D"mailto:jose@ietf.org" =
target=3D"_blank">jose@ietf.org</a><br>
Subject: [jose] comments on draft-jones-json-web-signature and =
draft-jones-json-web-<u></u>encryption<br>
<br>
Hi<br>
<br>
I would like to contribute the following comments. &nbsp;I have not been =
closely following the WG, so apologies in advance if I'm rehashing =
something.<br>
<br>
The json-web-signature draft should be changed by using the more generic =
"authentication" instead of "signature", as suggested in<br>
Section 9. &nbsp; HMAC is a (symmetric) message authentication code, =
and<br>
not an (asymmetric) digital signature algorithm. &nbsp;See RFC 4949 for =
instance for the appropriate definitions. &nbsp;Calling HMAC a signature =
method will confuse readers going forward and potentially set incorrect =
expectations. I suggest the following changes (not because I think these =
are the only good alternatives, but because I want to be<br>

constructive):<br>
<br>
"JSON Web Signature" -&gt; "JSON Web Authentication"<br>
"sign" -&gt; "authenticate"<br>
"signing" -&gt; "authenticating"<br>
"signature" -&gt; "authentication data"<br>
<br>
The security considerations of json-web-signature should explain the =
difference between symmetric and asymmetric encryption.<br>
<br>
Section 9 mentions the possibility of including an unkeyed checksum =
based on SHA-256. &nbsp;If that is done, then that will potentially =
confuse the issue further. &nbsp;What would the value of that checksum =
be, and<br>
would it be a security mechanism? &nbsp; If it is defined, I suggest =
that<br>
it be done in a different draft.<br>
<br>
Why are we allowing unauthenticated encryption in =
draft-jones-json-web-<br>
encryption? &nbsp; Authenticated Encryption with Associated Data (AEAD) =
is<br>
recommended (in the form of AES-GCM) in the draft, and it avoids all =
sorts of security issues that are present with unauthenticated =
encryption (besides being theoretically vulnerable, it has fallen victim =
to practical attacks [1][2][3][4][5][6][7][8]). &nbsp;Note that some of =
these attacks apply when encryption is loosely bound to authentication. =
&nbsp;I suggest that AEAD be the only encryption method, and that an RFC =
5116 interface be included. &nbsp;Since GCM is recommended, the =
interface is already there, but not called out. &nbsp;Omitting =
unauthenticated encryption will simplify the spec, and improve security. =
&nbsp;If there is some percieved issue with AES-GCM, there are other =
AEAD algorithms that can be used, AES-SIV (synthetic IV mode)<br>

for instance, or a generic CBC+HMAC composition. &nbsp; In any case, =
I<br>
offer to help craft and/or review this text.<br>
<br>
A minor point: JWE recommends AES-GCM; why not have json-web-signature =
recommend AES-GMAC?<br>
<br>
json-web-signature says that "Related encryption capabilities are<br>
described in the separate JSON Web Encryption (JWE) specification".<br>
The JWE specification says that "In general, senders SHOULD sign the =
message and then encrypt the result (thus encrypting the<br>
signature)". &nbsp; There ought to be better recommendations for =
security.<br>
For instance, encryption without authentication should be =
disallowed.<br>
<br>
regards,<br>
<br>
David<br>
<br>
--<br>
<br>
<br>
[1] Vaudenay, "Security Flaws Induced by CBC Padding Applications to =
SSL, IPSEC, WTLS...", EUROCRYPT 2002.<br>
<br>
[2] Rizzo, Duong, "Practical Padding Oracle Attacks", Black Hat Europe, =
2010.<br>
<br>
[3] Jager, Somorovsky, "How To Break XML Encryption", 18th ACM =
Conference on Computer and Communications Security (CCS), 2011.<br>
<br>
[4] Bellare, Kohno, Namprempre, "Breaking and provably repairing the SSH =
authenticated encryption scheme: A case study of the Encode-then- =
Encrypt-and-MAC paradigm", ACM Transactions on Information and System =
Security, May 2004.<br>

<br>
[5] Rizzo, Thai, "BEAST: Surprising crypto attack against HTTPS", =
Ekoparty, 2011.<br>
<br>
[6] Bellovin, =E2=80=9CProblem Areas for the IP Security Protocols=E2=80=9D=
, Sixth Usenix Unix Security Symposium, 1996.<br>
<br>
[7] Paterson, Yau, =E2=80=9CCryptography in theory and practice: The =
case of encryption in IPsec=E2=80=9D, EUROCRYPT 2006,<br>
<br>
[8] Degabriele, Paterson, "Attacking the IPsec Standards in Encryption- =
only Con=EF=AC=81gurations", IEEE Symposium on Security and Privacy, =
2007.<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br=
>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br=
>
</blockquote>
<br>
______________________________<u></u>_________________<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/<u></u>listinfo/jose</a><br=
>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- =
<br>Nat Sakimura (=3Dnat)<div>Chairman, OpenID Foundation<br><a =
href=3D"http://nat.sakimura.org/" =
target=3D"_blank">http://nat.sakimura.org/</a><br>@_nat_en</div>
<br>
</div>
_______________________________________________<br>jose mailing =
list<br><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>https://www.ietf.org/ma=
ilman/listinfo/jose<br></blockquote></div><br></div></body></html>=

--Apple-Mail=_C52CF3F2-F501-4F22-B8BF-DDC95BB217CD--

--Apple-Mail=_0F1653A0-23E7-44B2-9694-B57758D34DA1
Content-Disposition: attachment; filename="smime.p7s"
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Enco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pU2lnbiBUcnVz
dCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2UgYXQgaHR0cHM6Ly93d3cudmVyaXNpZ24u
Y29tL3JwYSAoYykwOTEeMBwGA1UECxMVUGVyc29uYSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5W
ZXJpU2lnbiBDbGFzcyAxIEluZGl2aWR1YWwgU3Vic2NyaWJlciBDQSAtIEczAhAoFgT91AsmH2K8
M+37GdIAMA0GCSqGSIb3DQEBAQUABIIBAHkj/y7tNkLIPqSsMXGo6qlePJ+9qtBlgcyAkLJXGhT5
+y/c8UXhlK/U+GTOxXqYZ8940DmokEi2th6nuhM1l8ypqfBOe+HUr7JEWtr/be/72qwOLLUqtIjq
XAOWM2jmJFZhBLZoXR7UFxXNulITdNkzyXQW/9xn/xhkjznNw2jNrlsdoE1EK8Dt8pJL6nP+3SOu
QQ9PzPM1eqkTqb4WUioNWWoGGyqaU7ZVCgOKZjfQUMUXTnmwEvLtggqeo7y/RPrUSp/Wn/tz4uLY
2JywOhhuSdGv+ES5FTBSqTa2VgdZyOMJ4/CBMu0roa7++nQlBbdnf/9vsNsCxwNHPedK3FMAAAAA
AAA=

--Apple-Mail=_0F1653A0-23E7-44B2-9694-B57758D34DA1--

From hallam@gmail.com  Wed Nov 16 12:59:45 2011
Return-Path: <hallam@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D22FA1F0C60 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 12:59:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.478
X-Spam-Level: 
X-Spam-Status: No, score=-3.478 tagged_above=-999 required=5 tests=[AWL=0.120,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UNzH0nU8IyI7 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 12:59:45 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0E6F81F0C38 for <jose@ietf.org>; Wed, 16 Nov 2011 12:59:44 -0800 (PST)
Received: by faap16 with SMTP id p16so2470978faa.31 for <jose@ietf.org>; Wed, 16 Nov 2011 12:59:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KmYyfEbSQbcBzlZrUs3hX9kdHbUoZ0qbVppjoWi/KDY=; b=PRlL5YTovFyCGzCNzXnzBAQlQ5m3mz2pjoWF6QE3vJva9z7KI0RLJpm83fOLQTj7aG EAsXtdAuMP/Mt6HSH8j5v7dWK8YuwQXpOO4jxFaQJzqE6AUb8irn/WthGBV1sR0QMRpi 5iCx1ZsM31X2H5gIshR1xB5bFvAFrPS/w5XLU=
MIME-Version: 1.0
Received: by 10.182.111.8 with SMTP id ie8mr8592497obb.50.1321477172101; Wed, 16 Nov 2011 12:59:32 -0800 (PST)
Received: by 10.182.42.99 with HTTP; Wed, 16 Nov 2011 12:59:32 -0800 (PST)
In-Reply-To: <1B79A6CD-E6AE-4010-8152-5E83DA0CA003@ve7jtb.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com> <B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com> <4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com> <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com> <CABzCy2Ag0vWp-G9WiDEiEfaQNYjVWhcThQME4xLnzxWySxLGAQ@mail.gmail.com> <1B79A6CD-E6AE-4010-8152-5E83DA0CA003@ve7jtb.com>
Date: Wed, 16 Nov 2011 15:59:32 -0500
Message-ID: <CAMm+Lwg-qFazTcYStssbO9jjH7iBKViHG3u_kTxQACuh8_v3kA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary=14dae9399c996c026b04b1e06174
Cc: Anthony Nadalin <tonynad@microsoft.com>, Mike Jones <Michael.Jones@microsoft.com>, David McGrew <mcgrew@cisco.com>, Nat Sakimura <sakimura@gmail.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2011 20:59:45 -0000

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

As a legal matter, the US has legislation that recognizes someone saying
'Yes' into a telephone handset as an 'Electronic Signature'.

MACs are not digital signatures but they are clearly an acceptable
electronic signature under that act. So I don't see that there is really a
problem including MACs in a 'signature document' provided that users
understand this.


The term 'signature' has several meanings in and out of the field. A legal
signature has five or six different significances and digital signatures
only provide equivalents for some of them.


I would rather just keep the term as it is rather than rathole on it. The
terms Authentication and Integrity are not synonymous either, as some
people seem to be suggesting. Trying to make this wording more accurate
seems to be having the opposite effect to me.

A MAC and a Digital Signature always provide an integrity check but they
only provide a proof of authenticity if the provenance of the verification
key is established.


If I buy a Ming Vase, the integrity of the vase is demonstrated by checking
that it is not chipped, the authenticity of the vase depends on it actually
being Ming Dynasty.

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

As a legal matter, the US has legislation that recognizes someone saying &#=
39;Yes&#39; into a telephone handset as an &#39;Electronic Signature&#39;.
<div><br></div><div>MACs are not digital signatures but they are clearly an=
 acceptable electronic signature under that act. So I don&#39;t see that th=
ere is really a problem including MACs in a &#39;signature document&#39; pr=
ovided that users understand this.</div>
<div><br></div><div><br></div><div>The term &#39;signature&#39; has several=
 meanings in and out of the field. A legal signature has five or six differ=
ent significances and digital signatures only provide equivalents for some =
of them.=A0</div>
<div><br></div><div><br></div><div>I would rather just keep the term as it =
is rather than rathole on it. The terms Authentication and Integrity are no=
t synonymous either, as some people seem to be suggesting. Trying to make t=
his wording more accurate seems to be having the opposite effect to me.</di=
v>
<div><br></div><div>A MAC and a Digital Signature always provide an integri=
ty check but they only provide a proof of authenticity if the provenance of=
 the verification key is established.</div><div><br></div><div><br></div>
<div>If I buy a Ming Vase, the integrity of the vase is demonstrated by che=
cking that it is not chipped, the authenticity of the vase depends on it ac=
tually being Ming Dynasty.</div>

--14dae9399c996c026b04b1e06174--

From ietf@augustcellars.com  Wed Nov 16 16:55:29 2011
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F19511E8098 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 16:55:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lq4Tif4IwFfX for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 16:55:29 -0800 (PST)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) by ietfa.amsl.com (Postfix) with ESMTP id 19F9011E8086 for <jose@ietf.org>; Wed, 16 Nov 2011 16:55:29 -0800 (PST)
Received: from Tobias (dhcp-450f.meeting.ietf.org [130.129.69.15]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 39A2E2CA14; Wed, 16 Nov 2011 16:55:28 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'David McGrew'" <mcgrew@cisco.com>, "'Mike Jones'" <Michael.Jones@microsoft.com>
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com>	<B26C1EF377CB694EAB6BDDC8E624B6E73A8BEDC2@SN2PRD0304MB235.namprd03.prod.outlook.com>	<4E1F6AAD24975D4BA5B16804296739435F7113A8@TK5EX14MBXC285.redmond.corp.microsoft.com> <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com>
In-Reply-To: <109CDA9B-7427-4FB5-ADFD-4A72E82E4CAA@cisco.com>
Date: Thu, 17 Nov 2011 08:54:55 +0800
Message-ID: <045101cca4c3$87a77b60$96f67220$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQIfXWiGz+BYDGrCkc9B4MZ2d8XmRgGqxNXOAcOgPqsBrEMyFpTh6hAA
Cc: jose@ietf.org
Subject: Re: [jose] comments on draft-jones-json-web-signature	and	draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Nov 2011 00:55:29 -0000

Mike,

I think that while the structures for JWS might need to undergo some =
changes that will mean that while the MAC and Digital Signature =
structures.  As I mentioned at the F2F meeting, I know of someone is =
doing some small device work where they are sending messages from the =
devices to more central locations.  In this case there is not a =
pre-existing shared secret generally between the two entities and they =
are not using TLS so they could not derive one from the session key.  =
Mapping what they do into the current JWS work would require some =
changes. Specifically

Header Object
   - contains a MAC algorithm to be used - generally AES-GMAC
   - contains a key wrapping algorithm - generally AES key wrap
   - contains a key agreement algorithm - generally EC-DH
Key Exchange Value - the CEK wrapped by the KEK where the KEK came from =
the static-static EC-DH algorithm
Body
MAC value

In this case we have four not three items that need to be placed in the =
sequence of items to be sent between the originator and the verifier.  I =
would still compute the MAC value in much the same way, only I would =
compute the MAC over the first three elements instead of the two =
elements.

This is the sort of thing that is used in a more store and forward =
environment or one where the answer is going to be pre-computed or where =
it needs to last longer than just the current session (i.e. later =
validation).

The same type of thing can be used for a long term shared KEK value on =
both the sender and recipient, where a unique CEK is generated for each =
message and wrapped.  David would be a better person than I am to =
address the question of security.  -"Do you have more security by doing =
an indirection and have a fresh key for doing the MAC on each operation =
rather than using the long term key for doing the MAC." =20

If we did the above change, then I would say that the "Key Exchange =
Value" would become and empty string if you have a key derivied from the =
TLS session that you are using - but this would still lead to having =
four not three elements in the MAC case.

Jim



From Michael.Jones@microsoft.com  Wed Nov 16 17:28:27 2011
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D32EC1F0C69 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 17:28:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.304
X-Spam-Level: 
X-Spam-Status: No, score=-10.304 tagged_above=-999 required=5 tests=[AWL=0.295, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K3odGYqE0Ufx for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 17:28:27 -0800 (PST)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by ietfa.amsl.com (Postfix) with ESMTP id 239441F0C68 for <jose@ietf.org>; Wed, 16 Nov 2011 17:28:27 -0800 (PST)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (157.54.79.159) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 16 Nov 2011 17:28:27 -0800
Received: from TK5EX14MBXC285.redmond.corp.microsoft.com ([169.254.3.172]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.01.0355.003; Wed, 16 Nov 2011 17:28:26 -0800
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'David McGrew' <mcgrew@cisco.com>
Thread-Topic: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
Thread-Index: AcykyCvDGK943AyCQbqMBco8NF/3Ow==
Date: Thu, 17 Nov 2011 01:28:25 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739435F7211B0@TK5EX14MBXC285.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: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Cc: "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Nov 2011 01:28:27 -0000

VGhhbmtzIGZvciB3cml0aW5nIHRoaXMgdXAsIEppbS4NCg0KQ29uc2lkZXJpbmcgdGhpcyBhdCBh
IG1ldGEtbGV2ZWwsIEkgYmVsaWV2ZSB0aGF0IG9uZSBvZiB0aGUgbW9zdCBpbXBvcnRhbnQgdGhp
bmdzIGZvciB0aGUgd29ya2luZyBncm91cCB0byBiZSBkb2luZyBhdCBwcmVzZW50IGlzIGNvbGxl
Y3RpbmcgcG90ZW50aWFsIHNjZW5hcmlvIGRlc2NyaXB0aW9ucyBhbmQgdXNlIGNhc2VzIGFuZCBz
eXN0ZW1hdGljYWxseSBkZXRlcm1pbmluZyB3aGF0IGZlYXR1cmVzIGFyZSBuZWVkZWQgdG8gc3Vw
cG9ydCB0aG9zZSB1c2UgY2FzZXMuICBEb25lIHdlbGwsIHRoYXQgd2lsbCBnaXZlIHVzIGEgZmFp
cmx5IGNvbXByZWhlbnNpdmUgdmlldyBvZiB0aGUgc3BhY2Ugb2YgY2hvaWNlcyBhdmFpbGFibGUg
dG8gdXMuICBUaGVuIHRoZSB3b3JraW5nIGdyb3VwIGNhbiBtYWtlIGluZm9ybWVkIGRlY2lzaW9u
cyBhYm91dCB3aGljaCBzY2VuYXJpb3MgaXQgZGVjaWRlcyB0byBlbmFibGUsIHdoaWNoIG5vdCB0
bywgYW5kIGhvdyB0byBmYWN0b3IgdGhlI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2VkIGZvciBhIGxvbmcgdGVybSBzaGFyZWQgS0VLIHZhbHVlIG9uIGJvdGggdGhlIHNl
bmRlciBhbmQgcmVjaXBpZW50LCB3aGVyZSBhIHVuaXF1ZSBDRUsgaXMgZ2VuZXJhdGVkIGZvciBl
YWNoIG1lc3NhZ2UgYW5kIHdyYXBwZWQuICBEYXZpZCB3b3VsZCBiZSBhIGJldHRlciBwZXJzb24g
dGhhbiBJIGFtIHRvIGFkZHJlc3MgdGhlIHF1ZXN0aW9uIG9mIHNlY3VyaXR5LiAgLSJEbyB5b3Ug
aGF2ZSBtb3JlIHNlY3VyaXR5IGJ5IGRvaW5nIGFuIGluZGlyZWN0aW9uIGFuZCBoYXZlIGEgZnJl
c2gga2V5IGZvciBkb2luZyB0aGUgTUFDIG9uIGVhY2ggb3BlcmF0aW9uIHJhdGhlciB0aGFuIHVz
aW5nIHRoZSBsb25nIHRlcm0ga2V5IGZvciBkb2luZyB0aGUgTUFDLiIgIA0KDQpJZiB3ZSBkaWQg
dGhlIGFib3ZlIGNoYW5nZSwgdGhlbiBJIHdvdWxkIHNheSB0aGF0IHRoZSAiS2V5IEV4Y2hhbmdl
IFZhbHVlIiB3b3VsZCBiZWNvbWUgYW5kIGVtcHR5IHN0cmluZyBpZiB5b3UgaGF2ZSBhIGtleSBk
ZXJpdmllZCBmcm9tIHRoZSBUTFMgc2Vzc2lvbiB0aGF0IHlvdSBhcmUgdXNpbmcgLSBidXQgdGhp
cyB3b3VsZCBzdGlsbCBsZWFkIHRvIGhhdmluZyBmb3VyIG5vdCB0aHJlZSBlbGVtZW50cyBpbiB0
aGUgTUFDIGNhc2UuDQoNCkppbQ0KDQoNCg0K

From leifj@mnt.se  Wed Nov 16 17:55:12 2011
Return-Path: <leifj@mnt.se>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02B051F0C69 for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 17:55:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.357
X-Spam-Level: 
X-Spam-Status: No, score=-3.357 tagged_above=-999 required=5 tests=[AWL=-0.758, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BvhTH9si65Fk for <jose@ietfa.amsl.com>; Wed, 16 Nov 2011 17:55:11 -0800 (PST)
Received: from backup-server.nordu.net (backup-server.nordu.net [IPv6:2001:948:4:1::66]) by ietfa.amsl.com (Postfix) with ESMTP id 143C21F0C48 for <jose@ietf.org>; Wed, 16 Nov 2011 17:55:10 -0800 (PST)
Received: from [130.129.8.54] (dhcp-9036.meeting.ietf.org [130.129.8.54]) (authenticated bits=0) by backup-server.nordu.net (8.14.3/8.14.3) with ESMTP id pAH1t2xD027682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <jose@ietf.org>; Thu, 17 Nov 2011 02:55:08 +0100 (CET)
Message-ID: <4EC46975.50301@mnt.se>
Date: Thu, 17 Nov 2011 02:55:01 +0100
From: Leif Johansson <leifj@mnt.se>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: jose@ietf.org
References: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com>
In-Reply-To: <9509AB72-10CC-4BA6-A61C-AD9C4AC7944A@cisco.com>
X-Enigmail-Version: 1.3.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Nov 2011 01:55:12 -0000

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


> "JSON Web Signature" -> "JSON Web Authentication" "sign" ->
> "authenticate" "signing" -> "authenticating" "signature" ->
> "authentication data"

I don't think this is quite right. Signature != public key signature
so I don't think the terminology issue is that serous. However saying
authentication carries other connotations that would be confusing.

I suggest leave the terms as they are.

	Cheers Leif

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7EaXUACgkQ8Jx8FtbMZndMkQCdHVITzlYOhgdAzNLC13SnXlNk
s+cAoIpVIlw7w4rA+YLKWQ2hUHGxt0uT
=wP1B
-----END PGP SIGNATURE-----

From mamille2@cisco.com  Thu Nov 17 01:08:57 2011
Return-Path: <mamille2@cisco.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D70D921F94B4 for <jose@ietfa.amsl.com>; Thu, 17 Nov 2011 01:08:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aDT+Y2L7YHU5 for <jose@ietfa.amsl.com>; Thu, 17 Nov 2011 01:08:47 -0800 (PST)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 50F7A21F99F8 for <jose@ietf.org>; Thu, 17 Nov 2011 01:08:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mamille2@cisco.com; l=5214; q=dns/txt; s=iport; t=1321520927; x=1322730527; h=from:subject:date:message-id:to:mime-version; bh=UbkZHj8S2UQ+XIJ8nPvlYDrbSnuxP6rqkYFZ2UNmJ5g=; b=jgz6n3doFUH3mzVjalEaWwpZfBwLwtcOIVAcOsBlufr1ptU7VHpKhmT4 Gi9pX7AZceoSEROnLjMa2ZcZ/1AJjZ46KXwkQ3SmgNTOhXlDgMrtza0Sh uxHXNRpt7Ec1dRZBrI4NgYWuVz80p2INEOE177WJYIH1ckQKHVgQW6eD0 g=;
X-Files: smime.p7s : 2214
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkcFAGjOxE6rRDoJ/2dsb2JhbAA5CacZgmaBBYILAYEuG24im1qBJgGeOYZkEgyCMmMEiBOMIoU7jE4
X-IronPort-AV: E=Sophos;i="4.69,525,1315180800";  d="p7s'?scan'208";a="14741345"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-3.cisco.com with ESMTP; 17 Nov 2011 09:08:47 +0000
Received: from [10.21.76.31] ([10.21.76.31]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id pAH98kqP032060 for <jose@ietf.org>; Thu, 17 Nov 2011 09:08:46 GMT
From: Matt Miller <mamille2@cisco.com>
Content-Type: multipart/signed; boundary=Apple-Mail-3--383657430; protocol="application/pkcs7-signature"; micalg=sha1
Date: Thu, 17 Nov 2011 17:08:46 +0800
Message-Id: <C50E4C20-762B-4B91-BB2C-1202FF3BBD4B@cisco.com>
To: jose@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
Subject: [jose] Some requirements and non-requirements
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Nov 2011 09:08:58 -0000

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

A number of us had a short discussion in the hall in Taipei not-too-long =
ago, and came up with some needs (and non-needs) that differ from the =
current proposals.  Some of this was stated in the meeting, some may not =
have been.  My explanation and requirements/non-requirements follow; =
I'll let the others send their own comments.

We (XMPP) have an asynchronous protocol that involves multiple hops =
(most often no more than 3), and have a need to protect this information =
end-to-end.  However, the end-points are not guaranteed to be singular; =
the protocol allows for a single account or bare JID to have multiple =
simultaneous resources involved.  It is possible that the sender will =
not know precisely which resource will ultimately receive a stanza, but =
it is possible that such a sender will know of all the possible =
recipients, and have asymmetric keys for each of these recipient =
end-points.  Since one of our stanza kinds is intended for =
conversations, it would be desired (but not absolutely necessary) to be =
able to reuse a session key across multiple discreet payloads.

Further, authenticity or integrity of the data is not always important.  =
For various reasons, there is assurance in the asserted identity of each =
entity.  That's not to say it's *never* important, but that there exists =
other factors that make it less important in a lot (I would say most) =
cases.

With all of that, we have the following requirements:

* Support multiple known recipients
* data needs to be standalone XML safe

And the following non-requirements:

* data need not always be signed
* data need not be URL safe
* data need not be tightly coupled/interleaved with the meta-data


- m&m

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




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

MIAGCSqGSIb3DQEHAqCAMIACA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IwYJKoZIhvcNAQkEMRYEFJpOX2jtM942tt6E4gnSwfmK35gTMIGRBgkrBgEEAYI3EAQxgYMw
gYAweTEQMA4GA1UEChMHUm9vdCBDQTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIw
IAYDVQQDExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0
QGNhY2VydC5vcmcCAwmYMjCBkwYLKoZIhvcNAQkQAgsxgYOggYAweTEQMA4GA1UEChMHUm9vdCBD
QTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNpZ25p
bmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcCAwmYMjANBgkq
hkiG9w0BAQEFAASCAQBF2XC1XWYen4zhewsC1/YXM9vKHHXj2NEVfO36r7CWe26S3OZ/Qa2I6nf7
eIM6Uo8xHk+ji4e2t1NFzdz5bTdvkxzF4SEMX/JQiDZORzhzCOIZtf9nwm9NR9/JO3DE9ywb2sGx
TvIQ2SQJ/kqGQ5HrlCepiNaC0QEzIzcMce9MgL0IH/sZ6KwzgGiEHqboXWtMdS1CeHUqi33bsmVM
6A52p8Uq9FBBoRCcEVD1a9KWupvQq79aMUpGaBfUCjCuwLgnEooDVhkb5lEpQJ6MJMeitXEhG8e3
wBOisn88GgiyCX8NGDXRrGRy1Gb4NuNExJ5PF5CngqWaMRJnwcM97Lw4AAAAAAAA

--Apple-Mail-3--383657430--

From richard.alimi@gmail.com  Sat Nov 19 06:18:26 2011
Return-Path: <richard.alimi@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDD5621F84F5 for <jose@ietfa.amsl.com>; Sat, 19 Nov 2011 06:18:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.93
X-Spam-Level: 
X-Spam-Status: No, score=-2.93 tagged_above=-999 required=5 tests=[AWL=0.047,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8jpRu7VGjdFw for <jose@ietfa.amsl.com>; Sat, 19 Nov 2011 06:18:26 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by ietfa.amsl.com (Postfix) with ESMTP id 30C4E21F84F8 for <jose@ietf.org>; Sat, 19 Nov 2011 06:18:26 -0800 (PST)
Received: by iaeo4 with SMTP id o4so6094928iae.31 for <jose@ietf.org>; Sat, 19 Nov 2011 06:18:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=RyHXaxiEfvBe6SbkKUW8REyeVZiTFV7SHdeS3SG1KWY=; b=O2WKlE0PHTNGzyzTzm4yd6+Ko9oTJjkrdptx1b5sR9TSlxXcshqyt5wHNxwQ9guIDC 03WZ3zIFpamgwZaC0iyK2uQMPEiKOPZc6rIotwnGrNTG71uzP8tN+w4Z1ZIpehezxtIK wdnGd+DMqRvkOjntgS3HY02SgP3Xd369LwoRo=
Received: by 10.42.117.193 with SMTP id u1mr7012090icq.24.1321712301226; Sat, 19 Nov 2011 06:18:21 -0800 (PST)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.231.217.94 with HTTP; Sat, 19 Nov 2011 06:18:00 -0800 (PST)
In-Reply-To: <C50E4C20-762B-4B91-BB2C-1202FF3BBD4B@cisco.com>
References: <C50E4C20-762B-4B91-BB2C-1202FF3BBD4B@cisco.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Sat, 19 Nov 2011 06:18:00 -0800
X-Google-Sender-Auth: qSBSmv1_Zys4uzvtz8p_M9jEfMM
Message-ID: <CA+cvDaY_C91n681KPh7Fk3a=i_xhKh6g+Ga8ixp0nnQ8cu3D8w@mail.gmail.com>
To: Matt Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: jose@ietf.org
Subject: Re: [jose] Some requirements and non-requirements
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Nov 2011 14:18:27 -0000

Hi All,

Thanks Matt for adding the first one.  I'll add information from
ALTO's perspective as well.  Again, some of this was discussed in the
meeting but I'll add it here just for the sake of documenting it and
moving forwards.

What is this "ALTO" thing?

ALTO is a protocol that allows network providers to provide
information about their network and preferences for applications
deciding how traffic transits that network.  It has applications in
the CDN and P2P worlds.

Use Case for JOSE:

The current draft of the ALTO Protocol provides a mode in which
responses from ALTO Server may be redistributed by clients. The
protocol itself does not define a protocol that ALTO Clients use
amongst themselves, but it does document how responses from an ALTO
Server are signed such that ALTO Clients can verify the received
message is intact. Put another way, we use SSL/TLS to provide
integrity on the ALTO Server -> ALTO Client hop, but we use signatures
to provide integrity when sent over ALTO Server -> ALTO Client -> ...
-> ALTO Client paths.

Currently we have a scheme documented in Section 8 of
draft-ietf-alto-protocol-10:
  http://tools.ietf.org/html/draft-ietf-alto-protocol-10#section-8
However, we are nearing completion of the protocol draft and we don't
wish to block publication on JOSE by introducing a normative
dependency. We will be splitting this section into a separate document
so we can move ahead with the remainder of the protocol.

Technically speaking, the current signing mechanism would work today
for us - it is just a bit more wasteful due to the existing
requirement for being URL-safe.  ALTO may have large-ish content
(e.g., a few MB, but up to 100's MB if someone really goes overboard)
that would be signed.  We do care about one-pass encoding and
decoding.  We do not require it to be Base64-encoded or URL-safe.

Requirements:
- One-pass encoding (more important)
- One-pass decoding (slightly-less important, but still important)

Non-Requirements:
- Base64-encoding
- URL-safe

Thanks,
Rich

On Thu, Nov 17, 2011 at 1:08 AM, Matt Miller <mamille2@cisco.com> wrote:
> A number of us had a short discussion in the hall in Taipei not-too-long =
ago, and came up with some needs (and non-needs) that differ from the curre=
nt proposals. =A0Some of this was stated in the meeting, some may not have =
been. =A0My explanation and requirements/non-requirements follow; I'll let =
the others send their own comments.
>
> We (XMPP) have an asynchronous protocol that involves multiple hops (most=
 often no more than 3), and have a need to protect this information end-to-=
end. =A0However, the end-points are not guaranteed to be singular; the prot=
ocol allows for a single account or bare JID to have multiple simultaneous =
resources involved. =A0It is possible that the sender will not know precise=
ly which resource will ultimately receive a stanza, but it is possible that=
 such a sender will know of all the possible recipients, and have asymmetri=
c keys for each of these recipient end-points. =A0Since one of our stanza k=
inds is intended for conversations, it would be desired (but not absolutely=
 necessary) to be able to reuse a session key across multiple discreet payl=
oads.
>
> Further, authenticity or integrity of the data is not always important. =
=A0For various reasons, there is assurance in the asserted identity of each=
 entity. =A0That's not to say it's *never* important, but that there exists=
 other factors that make it less important in a lot (I would say most) case=
s.
>
> With all of that, we have the following requirements:
>
> * Support multiple known recipients
> * data needs to be standalone XML safe
>
> And the following non-requirements:
>
> * data need not always be signed
> * data need not be URL safe
> * data need not be tightly coupled/interleaved with the meta-data
>
>
> - m&m
>
> Matt Miller - <mamille2@cisco.com>
> Collaboration Software Group - Cisco Systems, Inc.
>
>
>
>
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

From ietf@augustcellars.com  Sat Nov 19 11:47:40 2011
Return-Path: <ietf@augustcellars.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CE2221F86A6 for <jose@ietfa.amsl.com>; Sat, 19 Nov 2011 11:47:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cn6TG8LC+2wZ for <jose@ietfa.amsl.com>; Sat, 19 Nov 2011 11:47:39 -0800 (PST)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) by ietfa.amsl.com (Postfix) with ESMTP id 9AFC721F85A7 for <jose@ietf.org>; Sat, 19 Nov 2011 11:47:39 -0800 (PST)
Received: from Tobias (mda0f36d0.tmodns.net [208.54.15.218]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: schaad@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 1EFDF2CA7C; Sat, 19 Nov 2011 11:47:37 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Matt Miller'" <mamille2@cisco.com>, <jose@ietf.org>
References: <C50E4C20-762B-4B91-BB2C-1202FF3BBD4B@cisco.com>
In-Reply-To: <C50E4C20-762B-4B91-BB2C-1202FF3BBD4B@cisco.com>
Date: Sat, 19 Nov 2011 11:46:52 -0800
Message-ID: <00ff01cca6f4$063bdfc0$12b39f40$@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: AQHFnyfb4mEgy7lNTOHSAldN8UoFSZXCqIPA
Content-Language: en-us
Subject: Re: [jose] Some requirements and non-requirements
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Nov 2011 19:47:40 -0000

Which of the encryption algorithms do you already have specified in XMPP and
thus would probably prefer.  Do you use the GCM modes and if so do you use
them in AEAD (authenticated encryption with associated data) or just as AE?

Jim


> -----Original Message-----
> From: jose-bounces@ietf.org [mailto:jose-bounces@ietf.org] On Behalf Of
> Matt Miller
> Sent: Thursday, November 17, 2011 1:09 AM
> To: jose@ietf.org
> Subject: [jose] Some requirements and non-requirements
> 
> A number of us had a short discussion in the hall in Taipei not-too-long
ago,
> and came up with some needs (and non-needs) that differ from the current
> proposals.  Some of this was stated in the meeting, some may not have
> been.  My explanation and requirements/non-requirements follow; I'll let
> the others send their own comments.
> 
> We (XMPP) have an asynchronous protocol that involves multiple hops (most
> often no more than 3), and have a need to protect this information end-to-
> end.  However, the end-points are not guaranteed to be singular; the
> protocol allows for a single account or bare JID to have multiple
simultaneous
> resources involved.  It is possible that the sender will not know
precisely
> which resource will ultimately receive a stanza, but it is possible that
such a
> sender will know of all the possible recipients, and have asymmetric keys
for
> each of these recipient end-points.  Since one of our stanza kinds is
intended
> for conversations, it would be desired (but not absolutely necessary) to
be
> able to reuse a session key across multiple discreet payloads.
> 
> Further, authenticity or integrity of the data is not always important.
For
> various reasons, there is assurance in the asserted identity of each
entity.
> That's not to say it's *never* important, but that there exists other
factors
> that make it less important in a lot (I would say most) cases.
> 
> With all of that, we have the following requirements:
> 
> * Support multiple known recipients
> * data needs to be standalone XML safe
> 
> And the following non-requirements:
> 
> * data need not always be signed
> * data need not be URL safe
> * data need not be tightly coupled/interleaved with the meta-data
> 
> 
> - m&m
> 
> Matt Miller - <mamille2@cisco.com>
> Collaboration Software Group - Cisco Systems, Inc.
> 
> 



From stpeter@stpeter.im  Sat Nov 26 10:28:47 2011
Return-Path: <stpeter@stpeter.im>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D34721F8B65; Sat, 26 Nov 2011 10:28:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SSK0QQISSuDK; Sat, 26 Nov 2011 10:28:46 -0800 (PST)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id A631C21F8A56; Sat, 26 Nov 2011 10:28:46 -0800 (PST)
Received: from squire.local (unknown [216.17.140.216]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 4A4F9421BB; Sat, 26 Nov 2011 11:35:27 -0700 (MST)
Message-ID: <4ED12FD8.9080003@stpeter.im>
Date: Sat, 26 Nov 2011 11:28:40 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: "apps-discuss@ietf.org" <apps-discuss@ietf.org>,  IETF Security Area Advisory Group <saag@ietf.org>, jose@ietf.org, IETF WebSec WG <websec@ietf.org>
X-Enigmail-Version: 1.3.3
OpenPGP: url=https://stpeter.im/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [jose] W3C Web Cryptography Working Group Charter
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Nov 2011 18:28:47 -0000

Of interest to apps and security folks at the IETF...

http://www.w3.org/2011/11/webcryptography-charter.html

Provide comments on the public-identity@w3.org list (subscribe by
emailing public-identity-request@w3.org with subject "subscribe").

Peter

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


